Skip to content

Commit

Permalink
chore: remove dependency upon rimraf (#2468)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason3S authored Jan 24, 2023
1 parent eee65a8 commit 1cc9583
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "0.0.0",
"scripts": {
"build": "echo Skip Docs",
"clean": "rimraf _site",
"clean": "shx rm -rf _site",
"build-production": "echo Skip Docs",
"test": "echo Skip Docs",
"gen-docs": "yarn gen-config-docs && yarn gen-command-docs && yarn run lint",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2463,7 +2463,7 @@
"build-package-schema": "yarn workspace server build-schema && build-tools update-package-schema && yarn prettier-fix-schema",
"postinstall": "yarn run build",
"build": "yarn workspaces run build && yarn run build-package-schema && yarn run gen-docs",
"clean": "yarn workspaces run clean && rimraf \"packages/*/node_modules\"",
"clean": "yarn workspaces run clean && shx rm -rf \"packages/*/node_modules\"",
"build-production": "yarn workspaces run build-production",
"build-release": "yarn run build && yarn run package-extension",
"gen-docs": "yarn workspace @internal/docs gen-docs",
Expand All @@ -2472,7 +2472,7 @@
"prettier-fix": "yarn run prettier -w",
"prettier-fix-schema": "prettier -w \"**/*.schema.json\"",
"test-vsce-build": "vsce package -o ./temp",
"remove-test-files": "rimraf \"packages/*/{out,dist,settingsViewer}/**/*.test.js\"",
"remove-test-files": "shx rm -rf \"packages/*/{out,dist,settingsViewer}/**/*.test.js\"",
"vscode:prepublish": "yarn run build-production && yarn run remove-test-files",
"lint": "yarn workspaces run lint && yarn run prettier",
"lint-docs": "prettier -w \"docs/**/*.{md,markdown,yaml,yml,json,html,htm,js,ts}\"",
Expand All @@ -2489,7 +2489,7 @@
"eslint": "^7.32.0",
"ovsx": "^0.8.0",
"prettier": "^2.8.3",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
"typescript": "^4.9.4"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/___buildTools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build-production": "yarn run clean-build",
"build": "tsc -p .",
"clean-build": "yarn run clean && yarn run build",
"clean": "rimraf out dist coverage",
"clean": "shx rm -rf out dist coverage",
"lint": "eslint \"src/**/*.ts\" \"*.js\"",
"test": "echo No tests yet.",
"watch": "tsc -p . --watch"
Expand Down
2 changes: 1 addition & 1 deletion packages/__locale-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build-production": "yarn run clean-build",
"build": "tsc -p .",
"clean-build": "yarn run clean && yarn run build",
"clean": "rimraf out dist coverage",
"clean": "shx rm -rf out dist coverage",
"lint": "eslint \"src/**/*.ts\" \"*.js\"",
"test": "jest",
"watch": "tsc -p . --watch",
Expand Down
2 changes: 1 addition & 1 deletion packages/__utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build-production": "yarn run clean-build",
"build": "tsc -p .",
"clean-build": "yarn run clean && yarn run build",
"clean": "rimraf out dist coverage",
"clean": "shx rm -rf out dist coverage",
"lint": "eslint \"src/**/*.ts\" \"*.js\"",
"test": "jest",
"watch": "tsc -p . --watch"
Expand Down
3 changes: 1 addition & 2 deletions packages/_integrationTests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"build": "echo skipping build for integration-test",
"build2": "tsc -p .",
"clean": "rimraf out temp",
"clean": "shx rm -rf out temp",
"build-production": "yarn run build",
"lint": "eslint \"src/**/*.ts\"",
"test-integration-vscode-old": "cross-env CODE_DISABLE_EXTENSIONS=true CODE_TESTS_PATH=./../_integrationTests/out CODE_TESTS_WORKSPACE=./testFixtures CODE_EXTENSIONS_PATH=../.. CODE_TESTS_DATA_DIR=./temp node ../_integrationTests/integrationTestRunner",
Expand Down Expand Up @@ -37,7 +37,6 @@
"glob": "^8.1.0",
"kefir": "^3.8.8",
"mocha": "^10.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.4"
},
"peerDependenciesMeta": {},
Expand Down
2 changes: 1 addition & 1 deletion packages/_server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"cspell-gitignore": "^6.19.2"
},
"scripts": {
"clean": "rimraf dist temp out coverage",
"clean": "shx rm -rf dist temp out coverage",
"lint": "eslint \"src/**/*.ts\"",
"build": "yarn run compile && yarn run build-schema",
"build-schema": "ts-json-schema-generator --no-top-ref --expose none --path src/config/cspellConfig/cspellConfig.ts --type SpellCheckerSettingsVSCode --validation-keywords markdownDescription --validation-keywords scope --validation-keywords patternErrorMessage --validation-keywords deprecationMessage --validation-keywords enumDescriptions --validation-keywords deprecated --validation-keywords order -o spell-checker-config.schema.json",
Expand Down
2 changes: 1 addition & 1 deletion packages/_serverPatternMatcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"regexp-worker": "^2.0.1"
},
"scripts": {
"clean": "rimraf dist temp out coverage",
"clean": "shx rm -rf dist temp out coverage",
"lint": "eslint \"src/**/*.ts\"",
"build": "yarn run compile",
"clean-build": "yarn run clean && yarn run build",
Expand Down
2 changes: 1 addition & 1 deletion packages/_settingsViewer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"main": "out",
"scripts": {
"build": "tsc -p . && yarn run webpack",
"clean": "rimraf ../client/settingsViewer ./out",
"clean": "shx rm -rf ../client/settingsViewer ./out",
"build-production": "yarn run clean && yarn run build",
"coverage": "jest --coverage src",
"lint": "eslint 'src/**/*.ts'",
Expand Down
3 changes: 1 addition & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"homepage": "https://github.com/streetsidesoftware/vscode-spell-checker/README.md",
"main": "./dist/extension.js",
"scripts": {
"clean": "rimraf out dist coverage temp",
"clean": "shx rm -rf out dist coverage temp",
"clean-build": "yarn run clean && yarn run build",
"build": "webpack --mode none",
"build-production": "yarn run clean && webpack --mode production",
Expand Down Expand Up @@ -48,7 +48,6 @@
"locale-resolver": "*",
"lorem-ipsum": "^2.0.8",
"rfdc": "^1.3.0",
"rimraf": "^3.0.2",
"server": "*",
"settings-webview": "*",
"source-map-support": "^0.5.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/package-json-dependency-updater/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test": "echo Test",
"lint": "echo Lint",
"clean-build": "yarn run clean && yarn run build",
"clean": "rimraf out dist coverage",
"clean": "shx rm -rf out dist coverage",
"prepare": "yarn run build",
"build-production": "yarn run build",
"build": "tsc -p .",
Expand Down
33 changes: 31 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3570,7 +3570,7 @@ [email protected]:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.0.6, glob@^7.1.3, glob@^7.1.4:
glob@^7.0.0, glob@^7.0.6, glob@^7.1.3, glob@^7.1.4:
version "7.2.3"
resolved "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b"
integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==
Expand Down Expand Up @@ -3942,6 +3942,11 @@ internal-slot@^1.0.3, internal-slot@^1.0.4:
has "^1.0.3"
side-channel "^1.0.4"

interpret@^1.0.0:
version "1.4.0"
resolved "https://registry.npmjs.org/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e"
integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==

interpret@^3.1.1:
version "3.1.1"
resolved "https://registry.npmjs.org/interpret/-/interpret-3.1.1.tgz#5be0ceed67ca79c6c4bc5cf0d7ee843dcea110c4"
Expand Down Expand Up @@ -5760,6 +5765,13 @@ readdirp@~3.6.0:
dependencies:
picomatch "^2.2.1"

rechoir@^0.6.2:
version "0.6.2"
resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384"
integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==
dependencies:
resolve "^1.1.6"

rechoir@^0.8.0:
version "0.8.0"
resolved "https://registry.npmjs.org/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22"
Expand Down Expand Up @@ -5856,7 +5868,7 @@ resolve.exports@^1.1.0:
resolved "https://registry.npmjs.org/resolve.exports/-/resolve.exports-1.1.1.tgz#05cfd5b3edf641571fd46fa608b610dda9ead999"
integrity sha512-/NtpHNDN7jWhAaQ9BvBUYZ6YTXsRBgfqWFWP7BZBaoMJO/I3G5OFzvTuWNlZC3aPjins1F+TNrLKsGbH4rfsRQ==

resolve@^1.17.0, resolve@^1.20.0:
resolve@^1.1.6, resolve@^1.17.0, resolve@^1.20.0:
version "1.22.1"
resolved "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz#27cb2ebb53f91abb49470a928bba7558066ac177"
integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==
Expand Down Expand Up @@ -6097,6 +6109,23 @@ shebang-regex@^3.0.0:
resolved "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172"
integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==

shelljs@^0.8.5:
version "0.8.5"
resolved "https://registry.npmjs.org/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c"
integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow==
dependencies:
glob "^7.0.0"
interpret "^1.0.0"
rechoir "^0.6.2"

shx@^0.3.4:
version "0.3.4"
resolved "https://registry.npmjs.org/shx/-/shx-0.3.4.tgz#74289230b4b663979167f94e1935901406e40f02"
integrity sha512-N6A9MLVqjxZYcVn8hLmtneQWIJtp8IKzMP4eMnx+nqkvXoqinUPCbUFLp2UcWTEIUONhlk0ewxr/jaVGlc+J+g==
dependencies:
minimist "^1.2.3"
shelljs "^0.8.5"

side-channel@^1.0.4:
version "1.0.4"
resolved "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf"
Expand Down

0 comments on commit 1cc9583

Please sign in to comment.