Remove remaining references to `yarn bootstrap`
This commit is contained in:
parent
cfde7c3e58
commit
9ff9da0247
|
@ -67,7 +67,6 @@ jobs:
|
||||||
- name: Bootstrap and build (CLI)
|
- name: Bootstrap and build (CLI)
|
||||||
run: |
|
run: |
|
||||||
yarn
|
yarn
|
||||||
yarn bootstrap
|
|
||||||
yarn build
|
yarn build
|
||||||
|
|
||||||
- name: Build OpenAPI spec
|
- name: Build OpenAPI spec
|
||||||
|
|
|
@ -55,7 +55,7 @@ yarn setup
|
||||||
The yarn setup command runs several build steps i.e.
|
The yarn setup command runs several build steps i.e.
|
||||||
|
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
||||||
|
|
|
@ -55,7 +55,7 @@ yarn setup
|
||||||
The yarn setup command runs several build steps i.e.
|
The yarn setup command runs several build steps i.e.
|
||||||
|
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js && yarn && yarn bootstrap && yarn build && yarn dev
|
node ./hosting/scripts/setup.js && yarn && yarn build && yarn dev
|
||||||
```
|
```
|
||||||
|
|
||||||
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
So this command will actually run the application in dev mode. It creates .env files under `./packages/server` and `./packages/worker` and runs docker containers for each service via docker-compose.
|
||||||
|
|
|
@ -58,7 +58,6 @@ Node setup:
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js
|
node ./hosting/scripts/setup.js
|
||||||
yarn
|
yarn
|
||||||
yarn bootstrap
|
|
||||||
yarn build
|
yarn build
|
||||||
```
|
```
|
||||||
#### Build Image
|
#### Build Image
|
||||||
|
|
|
@ -47,7 +47,6 @@ Node setup:
|
||||||
```
|
```
|
||||||
node ./hosting/scripts/setup.js
|
node ./hosting/scripts/setup.js
|
||||||
yarn
|
yarn
|
||||||
yarn bootstrap
|
|
||||||
yarn build
|
yarn build
|
||||||
```
|
```
|
||||||
#### Build Image
|
#### Build Image
|
||||||
|
|
|
@ -36,8 +36,6 @@
|
||||||
"build": "lerna run build --stream",
|
"build": "lerna run build --stream",
|
||||||
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
"build:dev": "lerna run --stream prebuild && yarn nx run-many --target=build --output-style=dynamic --watch --preserveWatchOutput",
|
||||||
"check:types": "lerna run check:types",
|
"check:types": "lerna run check:types",
|
||||||
"backend:bootstrap": "./scripts/scopeBackend.sh && yarn run bootstrap",
|
|
||||||
"backend:build": "./scripts/scopeBackend.sh 'lerna run --stream build'",
|
|
||||||
"build:sdk": "lerna run --stream build:sdk",
|
"build:sdk": "lerna run --stream build:sdk",
|
||||||
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
|
"deps:circular": "madge packages/server/dist/index.js packages/worker/src/index.ts packages/backend-core/dist/src/index.js packages/cli/src/index.js --circular",
|
||||||
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
|
"release": "lerna publish from-package --yes --force-publish --no-git-tag-version --no-push --no-git-reset",
|
||||||
|
@ -92,8 +90,8 @@
|
||||||
"mode:account": "yarn mode:cloud && yarn env:account:enable",
|
"mode:account": "yarn mode:cloud && yarn env:account:enable",
|
||||||
"security:audit": "node scripts/audit.js",
|
"security:audit": "node scripts/audit.js",
|
||||||
"postinstall": "husky install",
|
"postinstall": "husky install",
|
||||||
"submodules:load": "git submodule init && git submodule update && yarn && yarn bootstrap",
|
"submodules:load": "git submodule init && git submodule update && yarn",
|
||||||
"submodules:unload": "git submodule deinit --all && yarn && yarn bootstrap"
|
"submodules:unload": "git submodule deinit --all && yarn"
|
||||||
},
|
},
|
||||||
"workspaces": {
|
"workspaces": {
|
||||||
"packages": [
|
"packages": [
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Define the packages
|
|
||||||
PACKAGES=("@budibase/backend-core" "@budibase/worker" "@budibase/server" "@budibase/string-templates" "@budibase/types" "@budibase/shared-core")
|
|
||||||
|
|
||||||
# Generate the scope arguments
|
|
||||||
SCOPE_ARGS=""
|
|
||||||
for PACKAGE in "${PACKAGES[@]}"; do
|
|
||||||
SCOPE_ARGS+="--scope $PACKAGE "
|
|
||||||
done
|
|
||||||
|
|
||||||
# Run the commands with the scope arguments
|
|
||||||
for COMMAND in "$@"; do
|
|
||||||
echo "Running: $COMMAND $SCOPE_ARGS"
|
|
||||||
yarn $COMMAND $SCOPE_ARGS
|
|
||||||
done
|
|
Loading…
Reference in New Issue