刘忠健 hace 1 año
padre
commit
64796ad83c
Se han modificado 3 ficheros con 4 adiciones y 88 borrados
  1. 0 85
      excel/package-lock.json
  2. 1 1
      excel/package.json
  3. 3 2
      excel/tsconfig.json

+ 0 - 85
excel/package-lock.json

@@ -1,85 +0,0 @@
-{
-  "name": "@ycxxkj/uniapp",
-  "version": "1.0.30",
-  "lockfileVersion": 2,
-  "requires": true,
-  "packages": {
-    "": {
-      "name": "@ycxxkj/uniapp",
-      "version": "1.0.30",
-      "license": "ISC",
-      "dependencies": {
-        "await-to-js": "^3.0.0"
-      },
-      "devDependencies": {
-        "@dcloudio/types": "^3.3.3",
-        "typescript": "^5.1.6"
-      }
-    },
-    "C:/Programs/nvm/v16.17.1/node_modules/@ycxxkj/uniapp": {
-      "version": "1.0.0",
-      "extraneous": true,
-      "license": "ISC",
-      "dependencies": {
-        "await-to-js": "^3.0.0"
-      },
-      "devDependencies": {
-        "@dcloudio/types": "^3.3.3",
-        "@types/chai": "^4.3.5",
-        "@types/mocha": "^10.0.1",
-        "chai": "^4.3.7",
-        "mocha": "^10.2.0",
-        "typescript": "^5.1.6"
-      }
-    },
-    "node_modules/@dcloudio/types": {
-      "version": "3.3.3",
-      "resolved": "https://registry.npmjs.org/@dcloudio/types/-/types-3.3.3.tgz",
-      "integrity": "sha512-xfp88QOJ2fgCzv49HhEGrX0L+3xDsCyyvcoApL7z0J1Lr7tqPUkxqAVBe9zBlKsDX/mO9mNj7NzKIisHfp+fNQ==",
-      "dev": true,
-      "license": "Apache-2.0"
-    },
-    "node_modules/await-to-js": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/await-to-js/-/await-to-js-3.0.0.tgz",
-      "integrity": "sha512-zJAaP9zxTcvTHRlejau3ZOY4V7SRpiByf3/dxx2uyKxxor19tpmpV2QRsTKikckwhaPmr2dVpxxMr7jOCYVp5g==",
-      "license": "MIT",
-      "engines": {
-        "node": ">=6.0.0"
-      }
-    },
-    "node_modules/typescript": {
-      "version": "5.1.6",
-      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
-      "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
-      "dev": true,
-      "license": "Apache-2.0",
-      "bin": {
-        "tsc": "bin/tsc",
-        "tsserver": "bin/tsserver"
-      },
-      "engines": {
-        "node": ">=14.17"
-      }
-    }
-  },
-  "dependencies": {
-    "@dcloudio/types": {
-      "version": "3.3.3",
-      "resolved": "https://registry.npmjs.org/@dcloudio/types/-/types-3.3.3.tgz",
-      "integrity": "sha512-xfp88QOJ2fgCzv49HhEGrX0L+3xDsCyyvcoApL7z0J1Lr7tqPUkxqAVBe9zBlKsDX/mO9mNj7NzKIisHfp+fNQ==",
-      "dev": true
-    },
-    "await-to-js": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/await-to-js/-/await-to-js-3.0.0.tgz",
-      "integrity": "sha512-zJAaP9zxTcvTHRlejau3ZOY4V7SRpiByf3/dxx2uyKxxor19tpmpV2QRsTKikckwhaPmr2dVpxxMr7jOCYVp5g=="
-    },
-    "typescript": {
-      "version": "5.1.6",
-      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
-      "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
-      "dev": true
-    }
-  }
-}

+ 1 - 1
excel/package.json

@@ -1,6 +1,6 @@
 {
   "name": "@ycxxkj/excel",
-  "version": "1.0.30",
+  "version": "1.0.38",
   "description": "ycxxkj excel libs",
   "main": "./dist/index.js",
   "types": "./dist/index.d.ts",

+ 3 - 2
excel/tsconfig.json

@@ -1,9 +1,10 @@
 {
   "compilerOptions": {
     /* Visit https://aka.ms/tsconfig to read more about this file */
-    "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
+    "target": "ES2015", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
     /* Modules */
-    "module": "commonjs", /* Specify what module code is generated. */
+    "moduleResolution": "node",
+    "module": "ES6", /* Specify what module code is generated. */
     "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
     // "preserveSymlinks": true,                         /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
     "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */