Skip to content

Commit

Permalink
Removed node_modules from clean scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
harmen-xb committed Nov 25, 2024
1 parent 7d0e586 commit 8c23ecb
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion applications/browser-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"build": "yarn -s rebuild && theia build --app-target=\"browser\" --mode development && yarn download:plugins",
"build:prod": "yarn -s rebuild && theia build --app-target=\"browser\"",
"clean": "theia clean && rimraf lib src-gen node_modules",
"clean": "theia clean && rimraf lib src-gen",
"download:plugins": "theia download:plugins",
"rebuild": "theia rebuild:browser --cacheRoot ../..",
"start": "theia start --plugins=local-dir:plugins",
Expand Down
2 changes: 1 addition & 1 deletion applications/electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"main": "scripts/electron-main.js",
"scripts": {
"bundle": "cross-env NODE_OPTIONS=--max-old-space-size=8192 && yarn rebuild && theia build --mode development && yarn download:plugins",
"clean": "theia clean && rimraf lib src-gen node_modules",
"clean": "theia clean && rimraf lib src-gen",
"deploy": "rimraf dist && electron-builder -c.mac.identity=null --publish always",
"download:plugins": "theia download:plugins",
"package": "yarn package:pre && electron-builder -c.mac.identity=null --publish never && yarn package:post",
Expand Down
2 changes: 1 addition & 1 deletion e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"scripts": {
"build": "yarn && yarn clean && tsc --incremental && yarn lint && yarn playwright:install",
"clean": "rimraf lib *.tsbuildinfo .eslintcache node_modules",
"clean": "rimraf lib *.tsbuildinfo .eslintcache",
"lint": "eslint -c ../.eslintrc.js --ext .ts ./src",
"playwright:install": "playwright install chromium",
"test": "",
Expand Down
2 changes: 1 addition & 1 deletion extensions/crossmodel-lang/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:esbuild": "node esbuild.mjs",
"build:tsc": "tsc -b tsconfig.json",
"build:webpack": "webpack --mode development",
"clean": "rimraf out tsconfig.tsbuildinfo node_modules",
"clean": "rimraf out tsconfig.tsbuildinfo",
"langium:generate": "langium generate",
"langium:watch": "langium generate --watch",
"lint": "eslint -c ./.eslintrc.cjs --ext .ts,.tsx ./src",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"scripts": {
"build": "lerna run build",
"build:extensions": "lerna run --scope=\"crossmodel-lang\" build",
"package:extensions": "lerna run --scope=\"crossmodel-lang\" package:vsix",
"build:packages": "lerna run --scope=\"@crossbreeze/*\" build",
"clean": "lerna run clean && rimraf node_modules",
"clean": "lerna run clean",
"format": "yarn prettier-eslint --write '**/*.{ts,tsx,js,cjs,mjs,css}' '**/package.json'",
"postinstall": "theia check:theia-version",
"lint": "lerna run lint",
"package:extensions": "lerna run --scope=\"crossmodel-lang\" package:vsix",
"start:browser": "yarn theia:browser start",
"start:electron": "yarn theia:electron start",
"start:verdaccio": "yarn verdaccio --config verdaccio-config.yaml",
Expand Down
2 changes: 1 addition & 1 deletion packages/composite-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/form-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/glsp-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/model-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/property-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules NODE_NO_WARNINGS=1 jest --passWithNoTests",
Expand Down
2 changes: 1 addition & 1 deletion packages/react-model-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
],
"scripts": {
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo node_modules",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
Expand Down

0 comments on commit 8c23ecb

Please sign in to comment.