Browse Source

chore: replace rm -rf in semi-eslint-plugin with rimraf

shijia.me 2 years ago
parent
commit
be0091f9c9
2 changed files with 123 additions and 122 deletions
  1. 3 2
      packages/semi-eslint-plugin/package.json
  2. 120 120
      yarn.lock

+ 3 - 2
packages/semi-eslint-plugin/package.json

@@ -27,11 +27,12 @@
         "url": "git+https://github.com/DouyinFE/semi-design.git"
     },
     "scripts": {
-        "build:lib": "rm -rf lib && tsc",
+        "build:lib": "rimraf lib && tsc",
         "prepublishOnly": "npm run build:lib",
         "test": "node __tests__/index.js"
     },
     "devDependencies": {
+        "rimraf": "^4.4.0",
         "typescript": "^4"
     },
     "peerDependencies": {
@@ -40,4 +41,4 @@
     "bugs": {
         "url": "https://github.com/DouyinFE/semi-design/issues"
     }
-}
+}

File diff suppressed because it is too large
+ 120 - 120
yarn.lock


Some files were not shown because too many files changed in this diff