[monorepo] add integration for GitHub Code Spaces (#32722)
* [web] serve site manifest as application/json * [monorepo] bail out early from dev-env-setup when inside devcontainer * [monorepo] move utils for waiting for services into shared bash script * [monorepo] move domain related env-vars into dedicated .env file The .env file will be overridden in GitHub Code Spaces. * [monorepo] remove unused initial_mongo_setup Make target It was previously used for the mongo replica set setup. That setup is a docker init script now. * [monorepo] add flag for silencing docker build output * [monorepo] add integration for GitHub Code Spaces * [web] make prettier happy * [web] restore no use-credentials for manifest outside code spaces * [monorepo] run make install as part of post-start again GitOrigin-RevId: 8c2cc3b969b7e3e8f9c5dac778192c9412cbf4df
This commit is contained in:
@@ -48,8 +48,8 @@
|
||||
"build-storybook": "storybook build",
|
||||
"build-unfilled-fonts": "node frontend/fonts/material-symbols/build-unfilled.mjs",
|
||||
"precompile-pug": "node app/src/infrastructure/Views.mjs",
|
||||
"local:nodemon": "set -a;. ../../config/dev-environment.env;. ./docker-compose.common.env;. ../../config/local-dev.env;. ./local-dev.env;. ../../config/local.env; set +a; echo $OVERLEAF_CONFIG; WEB_PORT=13000 LISTEN_ADDRESS=0.0.0.0 npm run nodemon",
|
||||
"local:webpack": "set -a;. ../../config/dev-environment.env;. ./docker-compose.common.env;. ../../config/local-dev.env;. ./local-dev.env;. ../../config/local.env; set +a; PORT=13808 OVERLEAF_CONFIG=$(pwd)/config/settings.webpack.js npm run webpack",
|
||||
"local:nodemon": "set -a;. ../../config/dev-environment.env;. ./docker-compose.common.env;. ../../config/local-dev.env;. ./local-dev.env;. ../../config/local.env;. ../../config/domain.env; set +a; echo $OVERLEAF_CONFIG; WEB_PORT=13000 LISTEN_ADDRESS=0.0.0.0 npm run nodemon",
|
||||
"local:webpack": "set -a;. ../../config/dev-environment.env;. ./docker-compose.common.env;. ../../config/local-dev.env;. ./local-dev.env;. ../../config/local.env;. ../../config/domain.env; set +a; PORT=13808 OVERLEAF_CONFIG=$(pwd)/config/settings.webpack.js npm run webpack",
|
||||
"local:test:acceptance:run_dir": "set -a;. $(pwd)/docker-compose.common.env;. $(pwd)/local-test.env; set +a; npm run test:acceptance:run_dir",
|
||||
"local:test:acceptance:run_app": "OVERLEAF_CONFIG=$(pwd)/test/acceptance/config/settings.test.${OVERLEAF_APP}.js npm run local:test:acceptance:run_dir -- $(pwd)/test/acceptance/src",
|
||||
"local:test:acceptance:run_module": "if [ ! -d $(pwd)/modules/${MODULE}/test/acceptance ]; then echo \"Module '${MODULE}' does not have acceptance tests\"; exit 0; fi; OVERLEAF_CONFIG=$(pwd)/modules/${MODULE}/test/acceptance/config/settings.test.js BASE_CONFIG=$(pwd)/test/acceptance/config/settings.test.${OVERLEAF_APP}.js npm run local:test:acceptance:run_dir -- $(pwd)/modules/${MODULE}/test/acceptance",
|
||||
|
||||
Reference in New Issue
Block a user