chore: remove last vestiges of lerna

This commit is contained in:
Oliver Eyton-Williams
2021-11-25 16:00:29 +01:00
committed by Mrugesh Mohapatra
parent 46b5f02e80
commit a79fa9aa6b
3 changed files with 982 additions and 887 deletions

1
.gitignore vendored
View File

@ -91,7 +91,6 @@ logs
npm-debug.log* npm-debug.log*
yarn-debug.log* yarn-debug.log*
yarn-error.log* yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html) # Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

1858
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,22 +33,19 @@
], ],
"scripts": { "scripts": {
"analyze-bundle": "webpack-bundle-analyzer", "analyze-bundle": "webpack-bundle-analyzer",
"audit": "npm audit & npx lerna exec --no-bail --concurrency 1 --stream -- npm audit",
"audit:fix": "npm audit fix & npx lerna exec --no-bail --concurrency 1 --stream -- npm audit fix",
"prebuild": "npm run ensure-env", "prebuild": "npm run ensure-env",
"build": "npm-run-all -p build:*", "build": "npm-run-all -p build:*",
"build-workers": "cd ./client && npm run prebuild", "build-workers": "cd ./client && npm run prebuild",
"build:client": "cd ./client && npm run build", "build:client": "cd ./client && npm run build",
"build:curriculum": "cd ./curriculum && npm run build", "build:curriculum": "cd ./curriculum && npm run build",
"build:server": "cd ./api-server && npm run build", "build:server": "cd ./api-server && npm run build",
"clean": "npm-run-all clean:build-files clean:client clean:server clean:packages clean:root-deps", "clean": "npm-run-all clean:build-files clean:client clean:server clean:packages",
"clean-and-develop": "npm run clean && npm ci && npm run develop", "clean-and-develop": "npm run clean && npm ci && npm run develop",
"clean:build-files": "shx rm ./tools/tsconfig.tsbuildinfo", "clean:build-files": "shx rm ./tools/tsconfig.tsbuildinfo",
"clean:client": "cd ./client && npm run clean", "clean:client": "cd ./client && npm run clean",
"clean:curriculum": "shx rm ./config/curriculum.json", "clean:curriculum": "shx rm ./config/curriculum.json",
"clean:gatsby-site": "npm run clean:client", "clean:gatsby-site": "npm run clean:client",
"clean:packages": "lerna clean -y", "clean:packages": "shx rm -rf **/node_modules",
"clean:root-deps": "shx rm -rf node_modules",
"clean:server": "shx rm -rf ./api-server/lib", "clean:server": "shx rm -rf ./api-server/lib",
"precypress": "node ./cypress-install.js", "precypress": "node ./cypress-install.js",
"cypress": "cypress", "cypress": "cypress",
@ -163,7 +160,6 @@
"husky": "7.0.4", "husky": "7.0.4",
"jest": "27.4.3", "jest": "27.4.3",
"js-yaml": "3.14.1", "js-yaml": "3.14.1",
"lerna": "4.0.0",
"lint-staged": "12.1.2", "lint-staged": "12.1.2",
"lodash": "4.17.21", "lodash": "4.17.21",
"markdownlint": "0.24.0", "markdownlint": "0.24.0",