fix: plugins' storage folders shouldn't be packaged

Massimo Melina committed Jun 25, 2024 at 07:29 UTC 0702582648ae4fccc6b894b3c8a9ed4e1b07371a
1 file changed +1 -1
package.json
+1 -1
@@ -16,7 +16,7 @@
16 "start-frontend": "npm run start --workspace=frontend",
17 "start-admin": "npm run start --workspace=admin",
18 "build-all": "npm audit --omit=dev --audit-level=moderate && rm -rf dist && npm i && npm run build-server && npm run build-frontend && npm run build-admin && echo COMPLETED",
19 - "build-server": "rm -rf dist/src dist/plugins && tsc --target es2018 && touch package.json && cp -v -r package.json central.json README* LICENSE* plugins dist && find dist \\( -name .DS_Store -o -name storage \\) -delete && node afterbuild.js",
19 + "build-server": "rm -rf dist/src dist/plugins && tsc --target es2018 && touch package.json && cp -v -r package.json central.json README* LICENSE* plugins dist && find dist -name .DS_Store -o -name storage -exec rm -rf {} + && node afterbuild.js",
20 "build-frontend": "npm run build --workspace=frontend",
21 "build-admin": "npm run build --workspace=admin",
22 "server-for-test": "node dist/src --cwd . --config tests && rm custom.html",