Skip to content

Commit f6a7d87

Browse files
tdonohuegithub-actions[bot]
authored andcommitted
rimraf now requires using "--glob" flag when passing regex style paths. Also applying updates to package-lock after a fresh npm install locally.
(cherry picked from commit f3aa5d5)
1 parent ad6cd32 commit f6a7d87

File tree

2 files changed

+3
-42
lines changed

2 files changed

+3
-42
lines changed

package-lock.json

Lines changed: 0 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"build:stats": "ng build --stats-json",
1717
"build:prod": "cross-env NODE_ENV=production npm run build:ssr",
1818
"build:ssr": "ng build --configuration production && ng run dspace-angular:server:production",
19-
"build:lint": "rimraf 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json",
19+
"build:lint": "rimraf --glob 'lint/dist/**/*.js' 'lint/dist/**/*.js.map' && tsc -b lint/tsconfig.json",
2020
"test": "ng test --source-map=true --watch=false --configuration test",
2121
"test:watch": "ng test --source-map=true --watch=true --configuration test",
2222
"test:headless": "ng test --source-map=true --watch=false --configuration test --browsers=ChromeHeadless --code-coverage",
@@ -31,8 +31,8 @@
3131
"clean:coverage": "rimraf coverage",
3232
"clean:dist": "rimraf dist",
3333
"clean:doc": "rimraf doc",
34-
"clean:log": "rimraf *.log*",
35-
"clean:json": "rimraf *.records.json",
34+
"clean:log": "rimraf --glob *.log*",
35+
"clean:json": "rimraf --glob *.records.json",
3636
"clean:node": "rimraf node_modules",
3737
"clean:cli": "rimraf .angular/cache",
3838
"clean:prod": "npm run clean:dist && npm run clean:log && npm run clean:doc && npm run clean:coverage && npm run clean:json",

0 commit comments

Comments
 (0)