Przeglądaj źródła

feat: (package) update package.json using pnpm

gemercheung 2 lat temu
rodzic
commit
4b5c669d63

+ 9 - 9
package.json

@@ -72,7 +72,7 @@
   "devDependencies": {
     "@commitlint/cli": "^16.3.0",
     "@commitlint/config-conventional": "^16.2.4",
-    "@iconify/json": "^2.1.104",
+    "@iconify/json": "^2.1.109",
     "@purge-icons/generated": "^0.7.0",
     "@types/codemirror": "^5.60.5",
     "@types/crypto-js": "^4.1.1",
@@ -87,20 +87,20 @@
     "@types/qrcode": "^1.5.0",
     "@types/qs": "^6.9.7",
     "@types/showdown": "^1.9.4",
-    "@types/sortablejs": "^1.13.0",
-    "@typescript-eslint/eslint-plugin": "^5.36.2",
-    "@typescript-eslint/parser": "^5.36.2",
+    "@types/sortablejs": "^1.15.0",
+    "@typescript-eslint/eslint-plugin": "^5.37.0",
+    "@typescript-eslint/parser": "^5.37.0",
     "@vitejs/plugin-legacy": "^1.8.2",
     "@vitejs/plugin-vue": "^2.3.4",
     "@vitejs/plugin-vue-jsx": "^1.3.10",
     "@vue/compiler-sfc": "3.2.26",
     "@vue/test-utils": "^2.0.2",
-    "autoprefixer": "^10.4.8",
+    "autoprefixer": "^10.4.11",
     "commitizen": "^4.2.5",
     "conventional-changelog-cli": "^2.2.2",
     "cross-env": "^7.0.3",
     "dotenv": "^10.0.0",
-    "eslint": "^8.23.0",
+    "eslint": "^8.23.1",
     "eslint-config-prettier": "^8.5.0",
     "eslint-define-config": "^1.7.0",
     "eslint-plugin-jest": "^25.7.0",
@@ -120,7 +120,7 @@
     "prettier": "^2.7.1",
     "rimraf": "^3.0.2",
     "rollup-plugin-visualizer": "^5.8.1",
-    "stylelint": "^14.11.0",
+    "stylelint": "^14.12.0",
     "stylelint-config-html": "^1.1.0",
     "stylelint-config-prettier": "^9.0.3",
     "stylelint-config-recommended": "^6.0.0",
@@ -128,7 +128,7 @@
     "stylelint-order": "^5.0.0",
     "ts-jest": "^27.1.5",
     "ts-node": "^10.9.1",
-    "typescript": "^4.8.2",
+    "typescript": "^4.8.3",
     "vite": "^2.9.15",
     "vite-plugin-compression": "^0.4.0",
     "vite-plugin-html": "^2.1.2",
@@ -141,7 +141,7 @@
     "vite-plugin-svg-icons": "^1.1.0",
     "vite-plugin-theme": "^0.8.6",
     "vite-plugin-vue-setup-extend": "^0.3.0",
-    "vite-plugin-windicss": "^1.8.7",
+    "vite-plugin-windicss": "^1.8.8",
     "vue-eslint-parser": "^8.3.0",
     "vue-tsc": "^0.30.6"
   },

Plik diff jest za duży
+ 719 - 693
pnpm-lock.yaml


+ 1 - 1
src/locales/lang/zh_CN.ts

@@ -7,5 +7,5 @@ export default {
     ...genMessage(modules, 'zh-CN'),
     antdLocale,
   },
-  momentLocaleName: 'zh-cn',
+  // momentLocaleName: 'zh-cn',
 };

+ 4 - 1
src/views/dashboard/analysis/enterprise.vue

@@ -166,7 +166,7 @@
         },
       },
       {
-        field: 'time',
+        field: '[startTime, endTime]',
         label: '时间段',
         component: 'RangePicker',
         colProps: {
@@ -176,6 +176,9 @@
           xxl: 12,
         },
         componentProps: {
+          format: 'YYYY-MM-DD HH:mm:ss',
+          placeholder: ['开始时间', '结束时间'],
+          // showTime: { format: 'HH:mm:ss' },
           disabledDate(current) {
             // console.log('current', current, date);
             return current && current > dayjs().endOf('day');

+ 5 - 4
src/views/dashboard/analysis/index.vue

@@ -127,14 +127,15 @@
           xxl: 16,
         },
         componentProps: {
-          // mode: 'date',
+          format: 'YYYY-MM-DD',
+          placeholder: ['开始时间', '结束时间'],
           disabledDate(current) {
             // console.log('current', current, date);
             return current && current > dateUtil().endOf('day');
           },
-          onChange: (value) => {
-            console.log('onchange', value);
-          },
+          // onChange: (value) => {
+          //   console.log('onchange', value);
+          // },
         },
       },
     ],

+ 3 - 3
tests/server/package.json

@@ -24,13 +24,13 @@
     "@types/koa": "^2.13.5",
     "@types/koa-bodyparser": "^5.0.2",
     "@types/koa-router": "^7.4.4",
-    "@types/node": "^16.11.58",
-    "nodemon": "^2.0.19",
+    "@types/node": "^16.11.59",
+    "nodemon": "^2.0.20",
     "pm2": "^5.2.0",
     "rimraf": "^3.0.2",
     "ts-node": "^10.9.1",
     "tsconfig-paths": "^3.14.1",
     "tsup": "^5.12.9",
-    "typescript": "^4.8.2"
+    "typescript": "^4.8.3"
   }
 }

+ 51 - 51
tests/server/pnpm-lock.yaml

@@ -4,7 +4,7 @@ specifiers:
   '@types/koa': ^2.13.5
   '@types/koa-bodyparser': ^5.0.2
   '@types/koa-router': ^7.4.4
-  '@types/node': ^16.11.58
+  '@types/node': ^16.11.59
   fs-extra: ^10.1.0
   koa: ^2.13.4
   koa-body: ^4.2.0
@@ -14,13 +14,13 @@ specifiers:
   koa-static: ^5.0.0
   koa-websocket: ^6.0.0
   koa2-cors: ^2.0.6
-  nodemon: ^2.0.19
+  nodemon: ^2.0.20
   pm2: ^5.2.0
   rimraf: ^3.0.2
   ts-node: ^10.9.1
   tsconfig-paths: ^3.14.1
   tsup: ^5.12.9
-  typescript: ^4.8.2
+  typescript: ^4.8.3
 
 dependencies:
   fs-extra: 10.1.0
@@ -37,14 +37,14 @@ devDependencies:
   '@types/koa': 2.13.5
   '@types/koa-bodyparser': 5.0.2
   '@types/koa-router': 7.4.4
-  '@types/node': 16.11.58
-  nodemon: 2.0.19
+  '@types/node': 16.11.59
+  nodemon: 2.0.20
   pm2: 5.2.0
   rimraf: 3.0.2
-  ts-node: 10.9.1_peo6hx7wu7rhrmavg66olfxwea
+  ts-node: 10.9.1_ao52im6kiihokc7tdj7weudhra
   tsconfig-paths: 3.14.1
-  tsup: 5.12.9_s5ojjbx2isjkawqptqpitvy25q
-  typescript: 4.8.2
+  tsup: 5.12.9_qv3zdqwr5cvvfboiktsp7a3dfa
+  typescript: 4.8.3
 
 packages:
 
@@ -161,7 +161,7 @@ packages:
       '@opencensus/propagation-b3': 0.0.8
       async: 2.6.4
       debug: 4.3.4
-      eventemitter2: 6.4.8
+      eventemitter2: 6.4.9
       require-in-the-middle: 5.2.0
       semver: 6.3.0
       shimmer: 1.2.1
@@ -178,7 +178,7 @@ packages:
       async: 2.6.4
       axios: 0.21.4_debug@4.3.4
       debug: 4.3.4
-      eventemitter2: 6.4.8
+      eventemitter2: 6.4.9
       ws: 7.5.9
     transitivePeerDependencies:
       - bufferutil
@@ -218,20 +218,20 @@ packages:
   /@types/accepts/1.3.5:
     resolution: {integrity: sha512-jOdnI/3qTpHABjM5cx1Hc0sKsPoYCp+DP/GJRGtDlPd7fiV9oXGGIcjW/ZOxLIvjGz8MA+uMZI9metHlgqbgwQ==}
     dependencies:
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
   /@types/body-parser/1.19.2:
     resolution: {integrity: sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g==}
     dependencies:
       '@types/connect': 3.4.35
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
   /@types/connect/3.4.35:
     resolution: {integrity: sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ==}
     dependencies:
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
   /@types/content-disposition/0.5.5:
@@ -242,24 +242,24 @@ packages:
     resolution: {integrity: sha512-h7BcvPUogWbKCzBR2lY4oqaZbO3jXZksexYJVFvkrFeLgbZjQkU4x8pRq6eg2MHXQhY0McQdqmmsxRWlVAHooA==}
     dependencies:
       '@types/connect': 3.4.35
-      '@types/express': 4.17.13
+      '@types/express': 4.17.14
       '@types/keygrip': 1.0.2
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
-  /@types/express-serve-static-core/4.17.30:
-    resolution: {integrity: sha512-gstzbTWro2/nFed1WXtf+TtrpwxH7Ggs4RLYTLbeVgIkUQOI3WG/JKjgeOU1zXDvezllupjrf8OPIdvTbIaVOQ==}
+  /@types/express-serve-static-core/4.17.31:
+    resolution: {integrity: sha512-DxMhY+NAsTwMMFHBTtJFNp5qiHKJ7TeqOo23zVEM9alT1Ml27Q3xcTH0xwxn7Q0BbMcVEJOs/7aQtUWupUQN3Q==}
     dependencies:
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
       '@types/qs': 6.9.7
       '@types/range-parser': 1.2.4
     dev: true
 
-  /@types/express/4.17.13:
-    resolution: {integrity: sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA==}
+  /@types/express/4.17.14:
+    resolution: {integrity: sha512-TEbt+vaPFQ+xpxFLFssxUDXj5cWCxZJjIcB7Yg0k0GMHGtgtQgpvx/MUQUeAkNbA9AAGrwkAsoeItdTgS7FMyg==}
     dependencies:
       '@types/body-parser': 1.19.2
-      '@types/express-serve-static-core': 4.17.30
+      '@types/express-serve-static-core': 4.17.31
       '@types/qs': 6.9.7
       '@types/serve-static': 1.15.0
     dev: true
@@ -267,7 +267,7 @@ packages:
   /@types/formidable/1.2.5:
     resolution: {integrity: sha512-zu3mQJa4hDNubEMViSj937602XdDGzK7Q5pJ5QmLUbNxclbo9tZGt5jtwM352ssZ+pqo5V4H14TBvT/ALqQQcA==}
     dependencies:
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: false
 
   /@types/http-assert/1.5.3:
@@ -314,15 +314,15 @@ packages:
       '@types/http-errors': 1.8.2
       '@types/keygrip': 1.0.2
       '@types/koa-compose': 3.2.5
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
   /@types/mime/3.0.1:
     resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==}
     dev: true
 
-  /@types/node/16.11.58:
-    resolution: {integrity: sha512-uMVxJ111wpHzkx/vshZFb6Qni3BOMnlWLq7q9jrwej7Yw/KvjsEbpxCCxw+hLKxexFMc8YmpG8J9tnEe/rKsIg==}
+  /@types/node/16.11.59:
+    resolution: {integrity: sha512-6u+36Dj3aDzhfBVUf/mfmc92OEdzQ2kx2jcXGdigfl70E/neV21ZHE6UCz4MDzTRcVqGAM27fk+DLXvyDsn3Jw==}
 
   /@types/qs/6.9.7:
     resolution: {integrity: sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==}
@@ -336,7 +336,7 @@ packages:
     resolution: {integrity: sha512-z5xyF6uh8CbjAu9760KDKsH2FcDxZ2tFCsA4HIMWE6IkiYMXfVoa+4f9KX+FN0ZLsaMw1WNG2ETLA6N+/YA+cg==}
     dependencies:
       '@types/mime': 3.0.1
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
     dev: true
 
   /abbrev/1.1.1:
@@ -448,7 +448,7 @@ packages:
   /axios/0.21.4_debug@4.3.4:
     resolution: {integrity: sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==}
     dependencies:
-      follow-redirects: 1.15.1_debug@4.3.4
+      follow-redirects: 1.15.2_debug@4.3.4
     transitivePeerDependencies:
       - debug
     dev: true
@@ -521,7 +521,7 @@ packages:
     resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==}
     dependencies:
       function-bind: 1.1.1
-      get-intrinsic: 1.1.2
+      get-intrinsic: 1.1.3
     dev: false
 
   /chalk/3.0.0:
@@ -1028,8 +1028,8 @@ packages:
     resolution: {integrity: sha512-5EM1GHXycJBS6mauYAbVKT1cVs7POKWb2NXD4Vyt8dDqeZa7LaDK1/sjtL+Zb0lzTpSNil4596Dyu97hz37QLg==}
     dev: true
 
-  /eventemitter2/6.4.8:
-    resolution: {integrity: sha512-pAJurPyD+Nj/pfz8m0usKF1RW0E9gfY4Dfdem2l6jZbqcZlK8SP93qUMCv9V9FgOn+GSZEW6qeaglpf/vQ9D5A==}
+  /eventemitter2/6.4.9:
+    resolution: {integrity: sha512-JEPTiaOt9f04oa6NOkc4aH+nVp5I3wEjpHbIPqfgCdD5v5bUzy7xQqwcVO2aDQgOWhI28da57HksMrzK9HlRxg==}
     dev: true
 
   /execa/5.1.1:
@@ -1047,8 +1047,8 @@ packages:
       strip-final-newline: 2.0.0
     dev: true
 
-  /fast-glob/3.2.11:
-    resolution: {integrity: sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew==}
+  /fast-glob/3.2.12:
+    resolution: {integrity: sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==}
     engines: {node: '>=8.6.0'}
     dependencies:
       '@nodelib/fs.stat': 2.0.5
@@ -1088,8 +1088,8 @@ packages:
       to-regex-range: 5.0.1
     dev: true
 
-  /follow-redirects/1.15.1_debug@4.3.4:
-    resolution: {integrity: sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==}
+  /follow-redirects/1.15.2_debug@4.3.4:
+    resolution: {integrity: sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==}
     engines: {node: '>=4.0'}
     peerDependencies:
       debug: '*'
@@ -1151,8 +1151,8 @@ packages:
   /function-bind/1.1.1:
     resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}
 
-  /get-intrinsic/1.1.2:
-    resolution: {integrity: sha512-Jfm3OyCxHh9DJyc28qGk+JmfkpO41A4XkneDSujN9MDXrm4oDKdHvndhZ2dN94+ERNfkYJWDclW6k2L/ZGHjXA==}
+  /get-intrinsic/1.1.3:
+    resolution: {integrity: sha512-QJVz1Tj7MS099PevUG5jvnt9tSkXN8K14dxQlikJuPt4uD9hHAHjLyLBiLR5zELelBdD9QNRAXZzsJx0WaDL9A==}
     dependencies:
       function-bind: 1.1.1
       has: 1.0.3
@@ -1228,7 +1228,7 @@ packages:
     dependencies:
       array-union: 2.1.0
       dir-glob: 3.0.1
-      fast-glob: 3.2.11
+      fast-glob: 3.2.12
       ignore: 5.2.0
       merge2: 1.4.1
       slash: 3.0.0
@@ -1754,8 +1754,8 @@ packages:
     engines: {node: '>= 0.4.0'}
     dev: true
 
-  /nodemon/2.0.19:
-    resolution: {integrity: sha512-4pv1f2bMDj0Eeg/MhGqxrtveeQ5/G/UVe9iO6uTZzjnRluSA4PVWf8CW99LUPwGB3eNIA7zUFoP77YuI7hOc0A==}
+  /nodemon/2.0.20:
+    resolution: {integrity: sha512-Km2mWHKKY5GzRg6i1j5OxOHQtuvVsgskLfigG25yTtbyfRGn/GNvIbRyOf1PSCKJ2aT/58TiuUsuOU5UToVViw==}
     engines: {node: '>=8.10.0'}
     hasBin: true
     requiresBuild: true
@@ -2036,7 +2036,7 @@ packages:
         optional: true
     dependencies:
       lilconfig: 2.0.6
-      ts-node: 10.9.1_peo6hx7wu7rhrmavg66olfxwea
+      ts-node: 10.9.1_ao52im6kiihokc7tdj7weudhra
       yaml: 1.10.2
     dev: true
 
@@ -2252,7 +2252,7 @@ packages:
     resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==}
     dependencies:
       call-bind: 1.0.2
-      get-intrinsic: 1.1.2
+      get-intrinsic: 1.1.3
       object-inspect: 1.12.2
     dev: false
 
@@ -2346,8 +2346,8 @@ packages:
     engines: {node: '>=6'}
     dev: true
 
-  /sucrase/3.25.0:
-    resolution: {integrity: sha512-WxTtwEYXSmZArPGStGBicyRsg5TBEFhT5b7N+tF+zauImP0Acy+CoUK0/byJ8JNPK/5lbpWIVuFagI4+0l85QQ==}
+  /sucrase/3.27.0:
+    resolution: {integrity: sha512-IjpEeFzOWCGrB/e2DnPawkFajW6ONFFgs+lQT1+Ts5Z5ZM9gPnxpDh0q8tu7HVLt6IfRiUTbSsjfhqjHOP/cwQ==}
     engines: {node: '>=8'}
     hasBin: true
     dependencies:
@@ -2432,7 +2432,7 @@ packages:
     resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}
     dev: true
 
-  /ts-node/10.9.1_peo6hx7wu7rhrmavg66olfxwea:
+  /ts-node/10.9.1_ao52im6kiihokc7tdj7weudhra:
     resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==}
     hasBin: true
     peerDependencies:
@@ -2451,14 +2451,14 @@ packages:
       '@tsconfig/node12': 1.0.11
       '@tsconfig/node14': 1.0.3
       '@tsconfig/node16': 1.0.3
-      '@types/node': 16.11.58
+      '@types/node': 16.11.59
       acorn: 8.8.0
       acorn-walk: 8.2.0
       arg: 4.1.3
       create-require: 1.1.1
       diff: 4.0.2
       make-error: 1.3.6
-      typescript: 4.8.2
+      typescript: 4.8.3
       v8-compile-cache-lib: 3.0.1
       yn: 3.1.1
     dev: true
@@ -2485,7 +2485,7 @@ packages:
     engines: {node: '>=0.6.x'}
     dev: false
 
-  /tsup/5.12.9_s5ojjbx2isjkawqptqpitvy25q:
+  /tsup/5.12.9_qv3zdqwr5cvvfboiktsp7a3dfa:
     resolution: {integrity: sha512-dUpuouWZYe40lLufo64qEhDpIDsWhRbr2expv5dHEMjwqeKJS2aXA/FPqs1dxO4T6mBojo7rvo3jP9NNzaKyDg==}
     hasBin: true
     peerDependencies:
@@ -2512,9 +2512,9 @@ packages:
       resolve-from: 5.0.0
       rollup: 2.79.0
       source-map: 0.8.0-beta.0
-      sucrase: 3.25.0
+      sucrase: 3.27.0
       tree-kill: 1.2.2
-      typescript: 4.8.2
+      typescript: 4.8.3
     transitivePeerDependencies:
       - supports-color
       - ts-node
@@ -2547,8 +2547,8 @@ packages:
       mime-types: 2.1.35
     dev: false
 
-  /typescript/4.8.2:
-    resolution: {integrity: sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==}
+  /typescript/4.8.3:
+    resolution: {integrity: sha512-goMHfm00nWPa8UvR/CPSvykqf6dVV8x/dp0c5mFTMTIu0u0FlGWRioyy7Nn0PGAdHxpJZnuO/ut+PpQ8UiHAig==}
     engines: {node: '>=4.2.0'}
     hasBin: true
     dev: true