Skip to content

Commit 0dc7648

Browse files
author
LongYinan
committed
chore: upgrade dependencies
1 parent aba32e1 commit 0dc7648

File tree

14 files changed

+3199
-4260
lines changed

14 files changed

+3199
-4260
lines changed

examples/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.parcel-cache

examples/.parcelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "@parcel/config-default",
3+
"transformers": {
4+
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
5+
}
6+
}

examples/package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": "https://github.com/sigi-framework/sigi",
66
"author": "lynweklm@gmail.com",
77
"license": "MIT",
8-
"workspaces": ["../packages/*", "./packages/*"],
8+
"workspaces": ["./packages/*"],
99
"private": true,
1010
"scripts": {
1111
"start": "node ./cli.js",
@@ -14,12 +14,11 @@
1414
"dependencies": {
1515
"@abraham/reflection": "^0.8.0",
1616
"antd": "^4.15.6",
17-
"react": "^17.0.2",
18-
"react-dom": "^17.0.2",
1917
"reflect-metadata": "^0.1.13"
2018
},
2119
"devDependencies": {
20+
"@parcel/transformer-typescript-tsc": "^2.0.0-beta.3.1",
2221
"@types/parcel-env": "^0.0.0",
23-
"parcel": "^1.12.4"
22+
"parcel": "^2.0.0-beta.3.1"
2423
}
2524
}

examples/packages/dynamic-import/package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,10 @@
66
"author": "LongYinan <lynweklm@gmail.com>",
77
"homepage": "https://github.com/sigi-framework/sigi",
88
"license": "MIT",
9-
"main": "lib/dynamic-import.js",
10-
"directories": {
11-
"lib": "lib",
12-
"test": "__tests__"
13-
},
14-
"files": ["lib"],
159
"repository": {
1610
"type": "git",
1711
"url": "git+https://github.com/sigi-framework/sigi.git"
1812
},
19-
"scripts": {
20-
"test": "echo \"Error: run tests from root\" && exit 1"
21-
},
2213
"bugs": {
2314
"url": "https://github.com/sigi-framework/sigi/issues"
2415
}

examples/packages/faq-effects-callback/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
"type": "git",
1111
"url": "git+https://github.com/sigi-framework/sigi.git"
1212
},
13-
"scripts": {
14-
"test": "echo \"Error: run tests from root\" && exit 1"
15-
},
1613
"bugs": {
1714
"url": "https://github.com/sigi-framework/sigi/issues"
1815
}

examples/packages/recipes-writing-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
"devDependencies": {
2626
"@types/jest": "^26.0.23",
27-
"jest": "^26.6.3",
28-
"ts-jest": "^26.5.6"
27+
"jest": "^27.0.1",
28+
"ts-jest": "^27.0.0"
2929
}
3030
}

examples/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"jsx": "react",
5+
"target": "ESNext",
56
"allowSyntheticDefaultImports": true,
67
"esModuleInterop": true,
78
"emitDecoratorMetadata": true,

examples/yarn.lock

Lines changed: 2304 additions & 2673 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
"@types/node": "^15.6.1",
3636
"@types/react-dom": "^17.0.5",
3737
"@types/react-test-renderer": "^17.0.1",
38-
"@types/sinon": "^10.0.0",
39-
"@typescript-eslint/eslint-plugin": "^4.24.0",
40-
"@typescript-eslint/parser": "^4.24.0",
38+
"@types/sinon": "^10.0.1",
39+
"@typescript-eslint/eslint-plugin": "^4.25.0",
40+
"@typescript-eslint/parser": "^4.25.0",
4141
"codecov": "^3.8.2",
4242
"eslint": "^7.27.0",
4343
"eslint-config-prettier": "^8.3.0",
@@ -48,7 +48,7 @@
4848
"eslint-plugin-sonarjs": "^0.7.0",
4949
"husky": "^6.0.0",
5050
"immer": "^9.0.2",
51-
"jest": "^26.6.3",
51+
"jest": "^27.0.1",
5252
"lerna": "^4.0.0",
5353
"lint-staged": "^11.0.0",
5454
"lodash": "^4.17.21",
@@ -58,12 +58,12 @@
5858
"react-dom": "^17.0.2",
5959
"react-test-renderer": "^17.0.2",
6060
"reflect-metadata": "^0.1.13",
61-
"rollup": "^2.49.0",
61+
"rollup": "^2.50.0",
6262
"rollup-plugin-sourcemaps": "^0.6.3",
6363
"rxjs": "^7.1.0",
6464
"shx": "^0.3.3",
65-
"sinon": "^10.0.0",
66-
"ts-jest": "^26.5.6",
65+
"sinon": "^11.1.0",
66+
"ts-jest": "^27.0.0",
6767
"ts-node": "^10.0.0",
6868
"tslib": "^2.2.0",
6969
"typescript": "^4.2.4",

packages/core/src/metadata.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import type { EffectOptions } from './decorators'
12
import {
23
DEFINE_ACTION_DECORATOR_SYMBOL,
34
REDUCER_DECORATOR_SYMBOL,
@@ -7,8 +8,6 @@ import {
78
ACTION_TO_SKIP_SYMBOL,
89
} from './symbols'
910

10-
import type { EffectOptions } from './decorators'
11-
1211
const actionEnum = {
1312
DefineAction: DEFINE_ACTION_DECORATOR_SYMBOL,
1413
Reducer: REDUCER_DECORATOR_SYMBOL,

0 commit comments

Comments
 (0)