@zeniai/client-epic-state 5.1.35 → 5.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +7 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.36",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"eslint-plugin-prettier": "^5.2.3",
|
|
73
73
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
74
74
|
"globals": "^16.0.0",
|
|
75
|
+
"madge": "^8.0.0",
|
|
75
76
|
"prettier": "^3.5.3",
|
|
76
77
|
"prettier-plugin-import-sort": "^0.0.7",
|
|
77
78
|
"rimraf": "^6.0.1",
|
|
@@ -107,9 +108,9 @@
|
|
|
107
108
|
"scripts": {
|
|
108
109
|
"clean": "rimraf lib",
|
|
109
110
|
"test:typecheck": "echo 'Typechecking test files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.typecheck.json",
|
|
110
|
-
"test:typecheck-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=
|
|
111
|
+
"test:typecheck-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.typecheck.json",
|
|
111
112
|
"test:typecheck-mocks": "echo 'Typechecking mock files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.mocks.json",
|
|
112
|
-
"test:typecheck-mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=
|
|
113
|
+
"test:typecheck-mocks-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && SINCE_DAYS=30 ./scripts/tsc-modified-files.sh master tsconfig.mocks.json",
|
|
113
114
|
"test": "pnpm lint-modified-files && pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
114
115
|
"test:full": "pnpm test:typecheck-modified-files && pnpm test:typecheck-mocks-modified-files && vitest run --typecheck",
|
|
115
116
|
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0 --fix",
|
|
@@ -117,14 +118,14 @@
|
|
|
117
118
|
"lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",
|
|
118
119
|
"tsc-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh",
|
|
119
120
|
"typecheck": "tsc --noEmit",
|
|
120
|
-
"find-dead-code": "
|
|
121
|
+
"find-dead-code": "bash ./scripts/run-find-dead-code.sh",
|
|
121
122
|
"find-unused-exports": "ts-unused-exports ./tsconfig.json",
|
|
122
|
-
"circular-dependency": "
|
|
123
|
+
"circular-dependency": "madge --circular --extensions ts ./src",
|
|
123
124
|
"build": "concurrently --kill-others-on-fail --handle-input \"echo 'TypeScript build in progress...' && time tsc && echo 'ESM build...' && tsc -p tsconfig.esm.json\" \"echo 'Running tests and typecheck (incl. lint-modified-files)...' && pnpm test\" && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
124
125
|
"only-build": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc && tsc -p tsconfig.esm.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
125
126
|
"only-build-dev": "eslint . --ext .js,.jsx,.ts,.tsx && time tsc -p tsconfig.dev.json && tsc -p tsconfig.esm.dev.json && rimraf \"lib/**/__mocks__\" \"lib/**/__testHelpers__\"",
|
|
126
127
|
"format": "prettier --write --ignore-unknown \"src/**/*\" && pnpm lint",
|
|
127
|
-
"format-watch": "
|
|
128
|
+
"format-watch": "bash ./scripts/run-format-watch.sh",
|
|
128
129
|
"check-version": "node ./scripts/check_version.js",
|
|
129
130
|
"version": "git add -A src",
|
|
130
131
|
"postversion": "git push && git push --tags",
|