From 8d922832f40d230a0c801b4b8d173b211bb5b114 Mon Sep 17 00:00:00 2001 From: Potter <75838259@qq.com> Date: Wed, 10 Jul 2024 21:38:25 +0800 Subject: [PATCH] fix: error RollupError: import files that are not JavaScript(#1241) --- .npmignore | 1 + package-lock.json | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .npmignore diff --git a/.npmignore b/.npmignore new file mode 100644 index 00000000..eee77d87 --- /dev/null +++ b/.npmignore @@ -0,0 +1 @@ +lib/**/*.ts diff --git a/package-lock.json b/package-lock.json index 1a92e6f2..61a385fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ali-oss", - "version": "6.19.0", + "version": "6.20.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ali-oss", - "version": "6.19.0", + "version": "6.20.0", "license": "MIT", "dependencies": { "address": "^1.2.2", @@ -73,7 +73,6 @@ "git-pre-hooks": "^1.2.0", "husky": "^7.0.4", "immediate": "^3.3.0", - "istanbul-lib-processinfo": "2.0.2", "karma": "^6.3.4", "karma-browserify": "^8.1.0", "karma-chrome-launcher": "^2.2.0", @@ -88,7 +87,6 @@ "prettier": "^3.0.0", "promise-polyfill": "^6.0.2", "puppeteer": "19.0.0", - "regenerate-unicode-properties": "10.1.0", "semantic-release": "^21.1.1", "should": "^11.0.0", "sinon": "^15.2.0",