Skip to content

Commit a78ccf8

Browse files
committed
chore: upgrade tooling
1 parent 92a4817 commit a78ccf8

File tree

7 files changed

+190
-253
lines changed

7 files changed

+190
-253
lines changed

.eslintignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
type-tests
2+
node_modules
3+
dist-test
4+
core
5+
.config
6+
.github
7+
/index.d.ts
8+
./reflect.*
9+
./scope.*
10+
./ssr.*

package.json

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"test": "pnpm test:code && pnpm test:types",
6262
"test:code:build": "jest ./dist-test",
6363
"test-build": "pnpm test:code:build",
64-
"build": "pnpm clear-build && pnpm rollup --config ./rollup.config.js && cp index.d.ts reflect.d.ts",
64+
"build": "pnpm clear-build && pnpm rollup --config rollup.config.cjs && cp index.d.ts reflect.d.ts",
6565
"clear-build": "rm -f index.* && rm -f reflect.* && rm -f ssr.* && rm -f scope.* && rm -rf dist && rm -rf core",
6666
"prepublishOnly": "pnpm build"
6767
},
@@ -71,8 +71,10 @@
7171
"@babel/preset-env": "^7.12.7",
7272
"@babel/preset-react": "^7.12.7",
7373
"@babel/preset-typescript": "^7.12.7",
74-
"@rollup/plugin-commonjs": "^21.0.1",
75-
"@rollup/plugin-node-resolve": "^13.1.1",
74+
"@rollup/plugin-babel": "^6.0.3",
75+
"@rollup/plugin-commonjs": "^24.0.1",
76+
"@rollup/plugin-node-resolve": "^15.0.1",
77+
"@rollup/plugin-terser": "^0.4.0",
7678
"@testing-library/dom": "^7.21.4",
7779
"@testing-library/react": "^11.2.2",
7880
"@testing-library/user-event": "^12.2.2",
@@ -85,30 +87,22 @@
8587
"eslint": "^8.22.0",
8688
"eslint-kit": "^6.11.0",
8789
"fs-extra": "^9.0.1",
88-
"husky": "^4.3.0",
8990
"jest": "^26.6.3",
9091
"prettier": "^2.2.0",
9192
"react": "^17.0.1",
9293
"react-dom": "^17.0.1",
93-
"rollup": "^2.59.0",
94-
"rollup-plugin-babel": "^4.4.0",
94+
"rollup": "^3.18.0",
9595
"rollup-plugin-multi-input": "^1.1.1",
96-
"rollup-plugin-terser": "^7.0.2",
97-
"rollup-plugin-typescript2": "^0.29.0",
96+
"rollup-plugin-typescript2": "^0.34.1",
9897
"svelte": "^3.2.0",
9998
"ts-jest": "^26.4.4",
10099
"tsd": "^0.19.0",
101-
"typescript": "^4.1.2",
102-
"uglify-es": "^3.3.9"
100+
"typescript": "^4.9.5",
101+
"uglify-js": "^3.17.4"
103102
},
104103
"peerDependencies": {
105104
"effector": "^22.0.0",
106105
"effector-react": "^22.1.0",
107106
"react": ">=16.8.0 <19.0.0"
108-
},
109-
"husky": {
110-
"hooks": {
111-
"pre-commit": "pnpm eslint ./src"
112-
}
113107
}
114108
}

0 commit comments

Comments
 (0)