-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
faker를 빌드할 때 export = faker; 구문에서 에러가 나서 라이브러리 수정 후 patch-package로 해결 yarn berry에서 patch-package가 제대로 실행이 되지않아서 하기 이슈 참고하여 해결 - npm 기반 프로젝트에서 patch-package 실행 후 patch 파일 옮겨서 진행 - ds300/patch-package#272 ref #29
- Loading branch information
Showing
12 changed files
with
109 additions
and
3 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.43 KB
.yarn/cache/find-yarn-workspace-root-npm-2.0.0-e58a501607-fa5ca8f9d0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+2.35 KB
.yarn/cache/postinstall-postinstall-npm-2.1.0-42587988a7-e1d34252cf.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/node_modules/@faker-js/faker/index.ts b/node_modules/@faker-js/faker/index.ts | ||
index fd90f2b..831d2fe 100644 | ||
--- a/node_modules/@faker-js/faker/index.ts | ||
+++ b/node_modules/@faker-js/faker/index.ts | ||
@@ -1,4 +1,4 @@ | ||
// since we are requiring the top level of faker, load all locales by default | ||
import { Faker } from './lib'; | ||
const faker: Faker = new Faker({ locales: require('./lib/locales') }); | ||
-export = faker; | ||
+export default faker; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2767,6 +2767,13 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"@yarnpkg/lockfile@npm:^1.1.0": | ||
version: 1.1.0 | ||
resolution: "@yarnpkg/lockfile@npm:1.1.0" | ||
checksum: 05b881b4866a3546861fee756e6d3812776ea47fa6eb7098f983d6d0eefa02e12b66c3fff931574120f196286a7ad4879ce02743c8bb2be36c6a576c7852083a | ||
languageName: node | ||
linkType: hard | ||
|
||
"abab@npm:^2.0.3, abab@npm:^2.0.5": | ||
version: 2.0.5 | ||
resolution: "abab@npm:2.0.5" | ||
|
@@ -4123,6 +4130,13 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"ci-info@npm:^2.0.0": | ||
version: 2.0.0 | ||
resolution: "ci-info@npm:2.0.0" | ||
checksum: 3b374666a85ea3ca43fa49aa3a048d21c9b475c96eb13c133505d2324e7ae5efd6a454f41efe46a152269e9b6a00c9edbe63ec7fa1921957165aae16625acd67 | ||
languageName: node | ||
linkType: hard | ||
|
||
"ci-info@npm:^3.1.1, ci-info@npm:^3.2.0": | ||
version: 3.2.0 | ||
resolution: "ci-info@npm:3.2.0" | ||
|
@@ -6352,6 +6366,15 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"find-yarn-workspace-root@npm:^2.0.0": | ||
version: 2.0.0 | ||
resolution: "find-yarn-workspace-root@npm:2.0.0" | ||
dependencies: | ||
micromatch: ^4.0.2 | ||
checksum: fa5ca8f9d08fe7a54ce7c0a5931ff9b7e36f9ee7b9475fb13752bcea80ec6b5f180fa5102d60b376d5526ce924ea3fc6b19301262efa0a5d248dd710f3644242 | ||
languageName: node | ||
linkType: hard | ||
|
||
"flat-cache@npm:^3.0.4": | ||
version: 3.0.4 | ||
resolution: "flat-cache@npm:3.0.4" | ||
|
@@ -7370,6 +7393,17 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"is-ci@npm:^2.0.0": | ||
version: 2.0.0 | ||
resolution: "is-ci@npm:2.0.0" | ||
dependencies: | ||
ci-info: ^2.0.0 | ||
bin: | ||
is-ci: bin.js | ||
checksum: 77b869057510f3efa439bbb36e9be429d53b3f51abd4776eeea79ab3b221337fe1753d1e50058a9e2c650d38246108beffb15ccfd443929d77748d8c0cc90144 | ||
languageName: node | ||
linkType: hard | ||
|
||
"is-core-module@npm:^2.2.0, is-core-module@npm:^2.6.0": | ||
version: 2.7.0 | ||
resolution: "is-core-module@npm:2.7.0" | ||
|
@@ -8581,6 +8615,15 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"klaw-sync@npm:^6.0.0": | ||
version: 6.0.0 | ||
resolution: "klaw-sync@npm:6.0.0" | ||
dependencies: | ||
graceful-fs: ^4.1.11 | ||
checksum: 0da397f8961313c3ef8f79fb63af9002cde5a8fb2aeb1a37351feff0dd6006129c790400c3f5c3b4e757bedcabb13d21ec0a5eaef5a593d59515d4f2c291e475 | ||
languageName: node | ||
linkType: hard | ||
|
||
"kleur@npm:^3.0.3": | ||
version: 3.0.3 | ||
resolution: "kleur@npm:3.0.3" | ||
|
@@ -8990,7 +9033,7 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"micromatch@npm:^4.0.4": | ||
"micromatch@npm:^4.0.2, micromatch@npm:^4.0.4": | ||
version: 4.0.4 | ||
resolution: "micromatch@npm:4.0.4" | ||
dependencies: | ||
|
@@ -10121,6 +10164,29 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"patch-package@npm:^6.4.7": | ||
version: 6.4.7 | ||
resolution: "patch-package@npm:6.4.7" | ||
dependencies: | ||
"@yarnpkg/lockfile": ^1.1.0 | ||
chalk: ^2.4.2 | ||
cross-spawn: ^6.0.5 | ||
find-yarn-workspace-root: ^2.0.0 | ||
fs-extra: ^7.0.1 | ||
is-ci: ^2.0.0 | ||
klaw-sync: ^6.0.0 | ||
minimist: ^1.2.0 | ||
open: ^7.4.2 | ||
rimraf: ^2.6.3 | ||
semver: ^5.6.0 | ||
slash: ^2.0.0 | ||
tmp: ^0.0.33 | ||
bin: | ||
patch-package: index.js | ||
checksum: f36d5324da3b69ee635e7cd2c68f4d3dd89dc91d60ffdaad3b602fd953277f4da901c91033683bf6ff31c14799bc049849af3a389455c25d0435fe9cfb0d4088 | ||
languageName: node | ||
linkType: hard | ||
|
||
"path-browserify@npm:0.0.1": | ||
version: 0.0.1 | ||
resolution: "path-browserify@npm:0.0.1" | ||
|
@@ -10358,6 +10424,13 @@ __metadata: | |
languageName: node | ||
linkType: hard | ||
|
||
"postinstall-postinstall@npm:^2.1.0": | ||
version: 2.1.0 | ||
resolution: "postinstall-postinstall@npm:2.1.0" | ||
checksum: e1d34252cf8d2c5641c7d2db7426ec96e3d7a975f01c174c68f09ef5b8327bc8d5a9aa2001a45e693db2cdbf69577094d3fe6597b564ad2d2202b65fba76134b | ||
languageName: node | ||
linkType: hard | ||
|
||
"prebuild-install@npm:5.3.0": | ||
version: 5.3.0 | ||
resolution: "prebuild-install@npm:5.3.0" | ||
|
@@ -11244,6 +11317,17 @@ resolve@^2.0.0-next.3: | |
languageName: node | ||
linkType: hard | ||
|
||
"rimraf@npm:^2.6.3": | ||
version: 2.7.1 | ||
resolution: "rimraf@npm:2.7.1" | ||
dependencies: | ||
glob: ^7.1.3 | ||
bin: | ||
rimraf: ./bin.js | ||
checksum: cdc7f6eacb17927f2a075117a823e1c5951792c6498ebcce81ca8203454a811d4cf8900314154d3259bb8f0b42ab17f67396a8694a54cae3283326e57ad250cd | ||
languageName: node | ||
linkType: hard | ||
|
||
"ripemd160@npm:^2.0.0, ripemd160@npm:^2.0.1": | ||
version: 2.0.2 | ||
resolution: "ripemd160@npm:2.0.2" | ||
|
@@ -11377,7 +11461,7 @@ resolve@^2.0.0-next.3: | |
languageName: node | ||
linkType: hard | ||
|
||
"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.4.1, semver@npm:^5.5.0": | ||
"semver@npm:2 || 3 || 4 || 5, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.6.0": | ||
version: 5.7.1 | ||
resolution: "semver@npm:5.7.1" | ||
bin: | ||
|
@@ -11640,6 +11724,13 @@ resolve@^2.0.0-next.3: | |
languageName: node | ||
linkType: hard | ||
|
||
"slash@npm:^2.0.0": | ||
version: 2.0.0 | ||
resolution: "slash@npm:2.0.0" | ||
checksum: 512d4350735375bd11647233cb0e2f93beca6f53441015eea241fe784d8068281c3987fbaa93e7ef1c38df68d9c60013045c92837423c69115297d6169aa85e6 | ||
languageName: node | ||
linkType: hard | ||
|
||
"slash@npm:^3.0.0": | ||
version: 3.0.0 | ||
resolution: "slash@npm:3.0.0" | ||
|
@@ -13393,6 +13484,8 @@ [email protected]: | |
jest: ^27.3.1 | ||
msw: ^0.36.3 | ||
next: 11.1.2 | ||
patch-package: ^6.4.7 | ||
postinstall-postinstall: ^2.1.0 | ||
prettier: ^2.5.1 | ||
qs: ^6.10.3 | ||
react: 17.0.2 | ||
|