add purge method
This commit is contained in:
parent
a1a67f0da7
commit
852391c3ce
|
@ -17,7 +17,8 @@
|
||||||
"start:prod": "node --es-module-specifier-resolution=node dist/main",
|
"start:prod": "node --es-module-specifier-resolution=node dist/main",
|
||||||
"format": "prettier --write \"src/**/*.ts\"",
|
"format": "prettier --write \"src/**/*.ts\"",
|
||||||
"clean": "rimraf dist",
|
"clean": "rimraf dist",
|
||||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix"
|
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||||
|
"purge": "rm -rf dist && rm -rf node_modules"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fastify/helmet": "^8.0.0",
|
"@fastify/helmet": "^8.0.0",
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
"start": "ng serve --host 0.0.0.0",
|
"start": "ng serve --host 0.0.0.0",
|
||||||
"build": "ng build",
|
"build": "ng build",
|
||||||
"watch": "ng build --watch --configuration development"
|
"watch": "ng build --watch --configuration development",
|
||||||
|
"purge": "rm -rf dist && rm -rf node_modules && rm -rf .angular"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@angular/animations": "^14.0.0-next.15",
|
"@angular/animations": "^14.0.0-next.15",
|
||||||
|
|
|
@ -10,7 +10,9 @@
|
||||||
"devdb:start": "podman-compose -f ./dev/docker-compose.yml up -d",
|
"devdb:start": "podman-compose -f ./dev/docker-compose.yml up -d",
|
||||||
"devdb:stop": "podman-compose -f ./dev/docker-compose.yml down",
|
"devdb:stop": "podman-compose -f ./dev/docker-compose.yml down",
|
||||||
"build": "./support/build.sh",
|
"build": "./support/build.sh",
|
||||||
"setversion": "./support/setversion.sh"
|
"setversion": "./support/setversion.sh",
|
||||||
|
"purge": "rm -rf ./node_modules",
|
||||||
|
"purge-all": "./support/purge-all.sh"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"minimist": "npm:minimist-lite",
|
"minimist": "npm:minimist-lite",
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf ./dist",
|
"clean": "rm -rf ./dist",
|
||||||
"start": "yarn clean && tsc-watch",
|
"start": "yarn clean && tsc-watch",
|
||||||
"build": "yarn clean && tsc"
|
"build": "yarn clean && tsc",
|
||||||
|
"purge": "rm -rf ./dist && rm -rf ./node_modules"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
18
support/purge-all.sh
Executable file
18
support/purge-all.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
yarn purge
|
||||||
|
|
||||||
|
(
|
||||||
|
cd shared
|
||||||
|
yarn purge
|
||||||
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
cd backend
|
||||||
|
yarn purge
|
||||||
|
)
|
||||||
|
|
||||||
|
(
|
||||||
|
cd frontend
|
||||||
|
yarn purge
|
||||||
|
)
|
18
yarn.lock
18
yarn.lock
|
@ -2447,12 +2447,12 @@ atomic-sleep@^1.0.0:
|
||||||
integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==
|
integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==
|
||||||
|
|
||||||
autoprefixer@^10.4.4:
|
autoprefixer@^10.4.4:
|
||||||
version "10.4.5"
|
version "10.4.6"
|
||||||
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.5.tgz#662193c744094b53d3637f39be477e07bd904998"
|
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.6.tgz#ce6eba3aea7c03adf0f6a907bd594fd170b3f0b6"
|
||||||
integrity sha512-Fvd8yCoA7lNX/OUllvS+aS1I7WRBclGXsepbvT8ZaPgrH24rgXpZzF0/6Hh3ZEkwg+0AES/Osd196VZmYoEFtw==
|
integrity sha512-Rvzel0AZO9tJNm3ydySK80PpkWoEZTGC5bHUh/xbrP8qJCy08NFBwNGPcozy3d3SDIM0b2kNxw2K7jAIYFF01A==
|
||||||
dependencies:
|
dependencies:
|
||||||
browserslist "^4.20.2"
|
browserslist "^4.20.3"
|
||||||
caniuse-lite "^1.0.30001332"
|
caniuse-lite "^1.0.30001334"
|
||||||
fraction.js "^4.2.0"
|
fraction.js "^4.2.0"
|
||||||
normalize-range "^0.1.2"
|
normalize-range "^0.1.2"
|
||||||
picocolors "^1.0.0"
|
picocolors "^1.0.0"
|
||||||
|
@ -2768,10 +2768,10 @@ camelcase@^5.3.1:
|
||||||
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
|
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
|
||||||
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
|
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
|
||||||
|
|
||||||
caniuse-lite@^1.0.30001332:
|
caniuse-lite@^1.0.30001332, caniuse-lite@^1.0.30001334:
|
||||||
version "1.0.30001334"
|
version "1.0.30001335"
|
||||||
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001334.tgz#892e9965b35285033fc2b8a8eff499fe02f13d8b"
|
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001335.tgz#899254a0b70579e5a957c32dced79f0727c61f2a"
|
||||||
integrity sha512-kbaCEBRRVSoeNs74sCuq92MJyGrMtjWVfhltoHUCW4t4pXFvGjUBrfo47weBRViHkiV3eBYyIsfl956NtHGazw==
|
integrity sha512-ddP1Tgm7z2iIxu6QTtbZUv6HJxSaV/PZeSrWFZtbY4JZ69tOeNhBCl3HyRQgeNZKE5AOn1kpV7fhljigy0Ty3w==
|
||||||
|
|
||||||
chalk@3.0.0:
|
chalk@3.0.0:
|
||||||
version "3.0.0"
|
version "3.0.0"
|
||||||
|
|
Loading…
Reference in a new issue