Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 127d516

Browse files
committed
fix: include "gitignore" file in dist bundle
build: add "copy-files" as dev dep build: upgrade dev deps build: upgrade to yarn v3.1.0
1 parent fa2d277 commit 127d516

File tree

5 files changed

+1754
-1610
lines changed

5 files changed

+1754
-1610
lines changed

.yarn/releases/yarn-3.0.2.cjs

Lines changed: 0 additions & 631 deletions
This file was deleted.

.yarn/releases/yarn-3.1.0.cjs

Lines changed: 768 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ plugins:
44
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
55
spec: "@yarnpkg/plugin-interactive-tools"
66

7-
yarnPath: .yarn/releases/yarn-3.0.2.cjs
7+
yarnPath: .yarn/releases/yarn-3.1.0.cjs

package.json

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,48 +17,49 @@
1717
}
1818
],
1919
"devDependencies": {
20-
"@commitlint/cli": "^13.1.0",
21-
"@commitlint/config-conventional": "^13.1.0",
22-
"@commitlint/config-lerna-scopes": "^13.1.0",
23-
"@jest/globals": "^27.2.0",
24-
"@octokit/request": "^5.6.1",
20+
"@commitlint/cli": "^13.2.1",
21+
"@commitlint/config-conventional": "^13.2.0",
22+
"@commitlint/config-lerna-scopes": "^13.2.0",
23+
"@jest/globals": "^27.3.1",
24+
"@octokit/request": "^5.6.2",
2525
"@types/cross-spawn": "^6.0.2",
26-
"@types/fs-extra": "^9.0.12",
26+
"@types/fs-extra": "^9.0.13",
2727
"@types/got": "9.6.12",
28-
"@types/jest": "^27.0.1",
28+
"@types/jest": "^27.0.3",
2929
"@types/jest-when": "^2.7.3",
30-
"@types/node": "^16.9.1",
31-
"@types/prompts": "2.0.14",
30+
"@types/node": "^16.11.9",
31+
"@types/prompts": "2.4.0",
3232
"@types/tar": "4.0.5",
33-
"@typescript-eslint/eslint-plugin": "^4.31.0",
34-
"@typescript-eslint/parser": "^4.31.0",
35-
"@vercel/ncc": "^0.31.1",
33+
"@typescript-eslint/eslint-plugin": "^4.33.0",
34+
"@typescript-eslint/parser": "^4.33.0",
35+
"@vercel/ncc": "^0.32.0",
3636
"chalk": "^4.1.2",
37-
"commander": "^8.2.0",
37+
"commander": "^8.3.0",
3838
"commitizen": "^4.2.4",
39+
"copyfiles": "^2.4.1",
3940
"cross-spawn": "^7.0.3",
4041
"dir-compare": "^3.3.0",
4142
"eslint": "^7.32.0",
4243
"eslint-config-prettier": "^8.3.0",
4344
"fs-extra": "^10.0.0",
44-
"got": "^11.8.2",
45+
"got": "^11.8.3",
4546
"handlebars": "^4.7.7",
46-
"husky": "^7.0.2",
47+
"husky": "^7.0.4",
4748
"import-sort-parser-typescript": "^6.0.0",
4849
"import-sort-style-module": "^6.0.0",
49-
"jest": "27.2.0",
50-
"jest-when": "^3.3.1",
50+
"jest": "27.3.1",
51+
"jest-when": "^3.4.2",
5152
"lerna": "^4.0.0",
52-
"lint-staged": "^11.1.2",
53+
"lint-staged": "^11.2.6",
5354
"pinst": "^2.1.6",
54-
"prettier": "^2.4.0",
55+
"prettier": "^2.4.1",
5556
"promisepipe": "^3.0.0",
56-
"prompts": "^2.4.1",
57+
"prompts": "^2.4.2",
5758
"shx": "^0.3.3",
5859
"tar": "^6.1.11",
5960
"tempy": "1.0.1",
60-
"ts-jest": "27.0.5",
61-
"typescript": "^4.4.3",
61+
"ts-jest": "27.0.7",
62+
"typescript": "~4.5.0",
6263
"update-check": "^1.5.4",
6364
"url-exist": "2.0.2",
6465
"validate-npm-package-name": "^3.0.0"
@@ -94,8 +95,9 @@
9495
"url": "https://github.com/paulrberg/create-eth-app"
9596
},
9697
"scripts": {
97-
"build": "ncc build ./src/index.ts --out dist/",
98+
"build": "ncc build ./src/index.ts --out dist/ && yarn copy-files",
9899
"clean": "shx rm -rf ./coverage ./dist",
100+
"copy-files": "copyfiles --up 1 \"src/gitignore\" dist/",
99101
"lint": "yarn run lint:ts && yarn run prettier:check",
100102
"lint:ts": "eslint --config ./.eslintrc.yaml --ignore-path ./.eslintignore --ext .js,.jsx,.ts,.tsx .",
101103
"postinstall": "husky install",
@@ -107,5 +109,6 @@
107109
"test:integration": "jest test/integration",
108110
"test:unit": "jest test/unit",
109111
"watch": "ncc build ./src/index.ts --out dist/ --watch"
110-
}
112+
},
113+
"packageManager": "yarn@3.1.0"
111114
}

0 commit comments

Comments
 (0)