chore: move search-indexing, supress webpack-cli progress (#39367)

This commit is contained in:
Mrugesh Mohapatra 2020-08-09 04:17:10 +05:30 committed by GitHub
parent 6e16a50329
commit adef746299
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 4 additions and 5 deletions

View File

@ -83,9 +83,10 @@
],
"license": "MIT",
"scripts": {
"prebuild": "npm run build:workers && node ../tools/scripts/build/ensure-env.js",
"prebuild": "echo 'Client workers building...' && npm run build:workers && echo 'Client workers ready.' && node ../tools/scripts/build/ensure-env.js",
"build": "node --max_old_space_size=7168 node_modules/gatsby-cli build",
"build:workers": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js --progress",
"build:workers": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js && echo",
"build:workers:debug": "node --max_old_space_size=7168 node_modules/webpack-cli --env.production --config ./webpack-workers.js --progress",
"clean": "gatsby clean",
"predevelop": "npm run prebuild",
"develop": "node --inspect=0.0.0.0:9228 node_modules/gatsby-cli develop",

View File

@ -4,7 +4,7 @@
"client",
"client/plugins/*",
"curriculum",
"search-indexing",
"tools/search-indexing",
"tools/challenge-md-parser",
"tools/scripts/seed",
"tools/scripts/build"

View File

@ -59,8 +59,6 @@
"test": "npm-run-all -p test:*",
"test:client": "cd ./client && npm test && cd ../",
"test:curriculum": "cd ./curriculum && npm test && cd ../",
"test:guide-formatting": "node ./tools/scripts/ci/ensure-guide-formatting.js",
"test:search-indexing": "jest ./search-indexing",
"test:server": "cd ./api-server && npm test && cd ../",
"test:tools": "jest ./tools",
"test:utils": "jest --rootDir ./utils"