@dao42/d42paas-front 0.7.57 → 0.7.60

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dao42/d42paas-front",
3
- "version": "0.7.57",
3
+ "version": "0.7.60",
4
4
  "description": "> TODO: description",
5
5
  "author": "eric183 <kk297466058@gmail.com>",
6
6
  "homepage": "https://github.com/dao42/d42paas_frontend#readme",
@@ -31,7 +31,7 @@
31
31
  "build-storybook": "build-storybook -o .storybook/dist",
32
32
  "dev:disble": "cross-env TS_NODE_PROJECT=\"tsconfig.dev.json\" webpack serve --open --config ./config/webpack.dev.config.ts",
33
33
  "analyse": "cross-env NODE_ENV=production TS_NODE_PROJECT=\"tsconfig.json\" webpack --config ./config/webpack.analytics.config.js",
34
- "dev": "vite serve --host --config ./config/vite.config.ts",
34
+ "dev": "vite serve --force --host --config ./config/vite.config.ts",
35
35
  "dev:patch": "vite serve --host --config ./config/vite.dev.config.ts",
36
36
  "vite": "cross-env NODE_ENV=production vite build --config ./config/vite.config.ts && yarn run copyTS",
37
37
  "typedoc": "npx typedoc --tsconfig ./doc.tsconfig.json",
@@ -163,7 +163,13 @@
163
163
  "xterm": "^4.13.0",
164
164
  "xterm-addon-attach": "^0.6.0",
165
165
  "xterm-addon-fit": "^0.5.0",
166
- "zustand": "^3.7.0"
166
+ "zustand": "^3.7.0",
167
+ "@testing-library/jest-dom": "^5.16.2",
168
+ "@testing-library/react": "^12.1.4",
169
+ "@types/ip": "^1.1.0",
170
+ "identity-obj-proxy": "^3.0.0",
171
+ "msw": "^0.39.2",
172
+ "whatwg-fetch": "^3.6.2"
167
173
  },
168
174
  "files": [
169
175
  "dist"
@@ -175,30 +181,8 @@
175
181
  "bugs": {
176
182
  "url": "https://github.com/dao42/d42paas_frontend/issues"
177
183
  },
178
- "jest": {
179
- "globals": {
180
- "ts-jest": {
181
- "tsConfig": "tsconfig.json"
182
- }
183
- },
184
- "preset": "ts-jest",
185
- "testMatch": [
186
- "**/__tests__/**/*.ts?(x)",
187
- "**/?(*.)+(spec|test).ts?(x)"
188
- ],
189
- "moduleNameMapper": {
190
- "^.+\\.css$": "identity-obj-proxy",
191
- "^(app/.+)$": "<rootDir>/src/$1/",
192
- "^(components/.+)$": "<rootDir>/src/$1/",
193
- "^(stores/.+)$": "<rootDir>/src/$1/",
194
- "^(views/.+)$": "<rootDir>/src/$1/",
195
- "^(assets/.+)$": "<rootDir>/src/$1/",
196
- "^(models/.+)$": "<rootDir>/src/$1/",
197
- "^~/(.*)$": "<rootDir>/src/$1"
198
- },
199
- "setupFiles": [
200
- "<rootDir>/__test__/globals-test.ts"
201
- ]
184
+ "msw": {
185
+ "workerDirectory": "src"
202
186
  },
203
187
  "gitHead": "492b228acbf6f7bc309984755a8dd948ea6fb0e2"
204
188
  }