Skip to content

Commit 90fa678

Browse files
authored
Merge pull request #153 from docsbydoxdox/hotfix/remove-rm-cp-commands
[hotfix] Added rimraf and copyfiles packages.
2 parents 0978528 + 01ccb6a commit 90fa678

File tree

13 files changed

+446
-49
lines changed

13 files changed

+446
-49
lines changed

package-lock.json

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

packages/doxdox-cli/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131
"eslint": "8.10.0",
3232
"jest": "27.5.1",
3333
"nodemon": "2.0.15",
34+
"rimraf": "3.0.2",
3435
"ts-jest": "27.1.3",
3536
"typescript": "4.5.5"
3637
},
3738
"scripts": {
3839
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
39-
"build": "rm -rf dist/ && tsc && chmod +x ./dist/src/index.js",
40+
"build": "rimraf dist/ && tsc && chmod +x ./dist/src/index.js",
4041
"lint": "eslint 'src/**/*.ts'"
4142
},
4243
"jest": {

packages/doxdox-core/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
"@typescript-eslint/parser": "5.12.1",
1616
"eslint": "8.10.0",
1717
"jest": "27.5.1",
18+
"rimraf": "3.0.2",
1819
"ts-jest": "27.1.3",
1920
"typescript": "4.5.5"
2021
},
2122
"scripts": {
2223
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
23-
"build": "rm -rf dist/ && tsc",
24+
"build": "rimraf dist/ && tsc",
2425
"lint": "eslint 'src/**/*.ts'"
2526
},
2627
"jest": {

packages/doxdox-parser-jsdoc/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@
2929
"@typescript-eslint/parser": "5.12.1",
3030
"eslint": "8.10.0",
3131
"jest": "27.5.1",
32+
"rimraf": "3.0.2",
3233
"ts-jest": "27.1.3",
3334
"typescript": "4.5.5"
3435
},
3536
"scripts": {
3637
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
37-
"build": "rm -rf dist/ && tsc",
38+
"build": "rimraf dist/ && tsc",
3839
"lint": "eslint 'src/**/*.ts'"
3940
},
4041
"jest": {

packages/doxdox-parser-template/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@
2323
"@typescript-eslint/parser": "5.12.1",
2424
"eslint": "8.10.0",
2525
"jest": "27.5.1",
26+
"rimraf": "3.0.2",
2627
"ts-jest": "27.1.3",
2728
"typescript": "4.5.5"
2829
},
2930
"scripts": {
3031
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
31-
"build": "rm -rf dist/ && tsc",
32+
"build": "rimraf dist/ && tsc",
3233
"lint": "eslint 'src/**/*.ts'"
3334
},
3435
"jest": {

packages/doxdox-renderer-bootstrap/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,13 @@
2929
"@typescript-eslint/parser": "5.12.1",
3030
"eslint": "8.10.0",
3131
"jest": "27.5.1",
32+
"rimraf": "3.0.2",
3233
"ts-jest": "27.1.3",
3334
"typescript": "4.5.5"
3435
},
3536
"scripts": {
3637
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
37-
"build": "rm -rf dist/ && tsc",
38+
"build": "rimraf dist/ && tsc",
3839
"lint": "eslint 'src/**/*.ts'"
3940
},
4041
"jest": {

packages/doxdox-renderer-dash/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,16 @@
3232
"@types/temp": "0.9.1",
3333
"@typescript-eslint/eslint-plugin": "5.12.1",
3434
"@typescript-eslint/parser": "5.12.1",
35+
"copyfiles": "2.4.1",
3536
"eslint": "8.10.0",
3637
"jest": "27.5.1",
38+
"rimraf": "3.0.2",
3739
"ts-jest": "27.1.3",
3840
"typescript": "4.5.5"
3941
},
4042
"scripts": {
4143
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
42-
"build": "rm -rf dist/ && tsc && cp -r src/resources dist/resources",
44+
"build": "rimraf dist/ && tsc && copyfiles -u 1 src/resources/* dist/",
4345
"lint": "eslint 'src/**/*.ts'"
4446
},
4547
"jest": {

packages/doxdox-renderer-github-wiki/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,13 @@
2828
"@typescript-eslint/parser": "5.12.1",
2929
"eslint": "8.10.0",
3030
"jest": "27.5.1",
31+
"rimraf": "3.0.2",
3132
"ts-jest": "27.1.3",
3233
"typescript": "4.5.5"
3334
},
3435
"scripts": {
3536
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
36-
"build": "rm -rf dist/ && tsc",
37+
"build": "rimraf dist/ && tsc",
3738
"lint": "eslint 'src/**/*.ts'"
3839
},
3940
"jest": {

packages/doxdox-renderer-json/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@
2323
"@typescript-eslint/parser": "5.12.1",
2424
"eslint": "8.10.0",
2525
"jest": "27.5.1",
26+
"rimraf": "3.0.2",
2627
"ts-jest": "27.1.3",
2728
"typescript": "4.5.5"
2829
},
2930
"scripts": {
3031
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
31-
"build": "rm -rf dist/ && tsc",
32+
"build": "rimraf dist/ && tsc",
3233
"lint": "eslint 'src/**/*.ts'"
3334
},
3435
"jest": {

packages/doxdox-renderer-markdown/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@
2626
"@typescript-eslint/parser": "5.12.1",
2727
"eslint": "8.10.0",
2828
"jest": "27.5.1",
29+
"rimraf": "3.0.2",
2930
"ts-jest": "27.1.3",
3031
"typescript": "4.5.5"
3132
},
3233
"scripts": {
3334
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
34-
"build": "rm -rf dist/ && tsc",
35+
"build": "rimraf dist/ && tsc",
3536
"lint": "eslint 'src/**/*.ts'"
3637
},
3738
"jest": {

packages/doxdox-renderer-pdf/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,20 @@
2323
}
2424
},
2525
"devDependencies": {
26-
"@types/jest": "27.4.1",
2726
"@types/html-pdf": "3.0.0",
27+
"@types/jest": "27.4.1",
2828
"@types/node": "17.0.21",
2929
"@typescript-eslint/eslint-plugin": "5.12.1",
3030
"@typescript-eslint/parser": "5.12.1",
3131
"eslint": "8.10.0",
3232
"jest": "27.5.1",
33+
"rimraf": "3.0.2",
3334
"ts-jest": "27.1.3",
3435
"typescript": "4.5.5"
3536
},
3637
"scripts": {
3738
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
38-
"build": "rm -rf dist/ && tsc",
39+
"build": "rimraf dist/ && tsc",
3940
"lint": "eslint 'src/**/*.ts'"
4041
},
4142
"jest": {

packages/doxdox-renderer-template/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,13 @@
2323
"@typescript-eslint/parser": "5.12.1",
2424
"eslint": "8.10.0",
2525
"jest": "27.5.1",
26+
"rimraf": "3.0.2",
2627
"ts-jest": "27.1.3",
2728
"typescript": "4.5.5"
2829
},
2930
"scripts": {
3031
"test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand --passWithNoTests",
31-
"build": "rm -rf dist/ && tsc",
32+
"build": "rimraf dist/ && tsc",
3233
"lint": "eslint 'src/**/*.ts'"
3334
},
3435
"jest": {

packages/doxdox/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@
2121
"@typescript-eslint/eslint-plugin": "5.12.1",
2222
"@typescript-eslint/parser": "5.12.1",
2323
"eslint": "8.10.0",
24+
"rimraf": "3.0.2",
2425
"typescript": "4.5.5"
2526
},
2627
"scripts": {
27-
"build": "rm -rf dist/ && tsc",
28+
"build": "rimraf dist/ && tsc",
2829
"lint": "eslint 'src/**/*.ts'"
2930
},
3031
"jest": {

0 commit comments

Comments
 (0)