mirror of
https://github.com/penpot/penpot.git
synced 2026-02-12 14:42:56 +00:00
✨ Apply bash in build scripts explicitly (Win compatibility)
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"scripts": {
|
||||
"build": "pnpm -r run build",
|
||||
"build:multi-user": "pnpm -r run build:multi-user",
|
||||
"build:types": "./scripts/build-types",
|
||||
"build:types": "bash ./scripts/build-types",
|
||||
"start": "pnpm -r --parallel run start",
|
||||
"start:multi-user": "pnpm -r --parallel --filter \"./packages/*\" run start:multi-user",
|
||||
"bootstrap": "pnpm -r install && pnpm run build && pnpm run start",
|
||||
|
||||
@@ -15,9 +15,9 @@ fi
|
||||
if [[ "$URL" = "http://localhost:9090" ]]; then
|
||||
pnpx concurrently --kill-others-on-fail -s last -k \
|
||||
"caddy file-server --root ../../plugins/dist/doc/ --listen :9090" \
|
||||
"../types-generator/build $URL";
|
||||
"bash ../types-generator/build $URL";
|
||||
else
|
||||
../types-generator/build $URL;
|
||||
bash ../types-generator/build $URL;
|
||||
fi
|
||||
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user