Skip to content

Commit

Permalink
Change crossmodel-lang to version 0.0.0.
Browse files Browse the repository at this point in the history
Added build:dev and symlink:browser to main package json for browser development and symlink of ext.
Remove prepare script everywhere.
Updated build-and-test action to use build:dev.
  • Loading branch information
harmen-xb committed Nov 25, 2024
1 parent c6c7e1a commit 4166f52
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
# We set a timeout here as a fix for the timeout issues which sometimes occur when connecting the the npm repo.
run: |
yarn --skip-integrity-check --network-timeout 100000
yarn build
yarn build:dev
env:
NODE_OPTIONS: --max_old_space_size=4096
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9
Expand Down
3 changes: 1 addition & 2 deletions extensions/crossmodel-lang/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "crossmodel-lang",
"displayName": "crossmodel-lang",
"version": "0.0.1",
"version": "0.0.0",
"private": true,
"description": "CrossModel Language",
"categories": [
Expand Down Expand Up @@ -39,7 +39,6 @@
"package": "rimraf out && yarn package:webpack && yarn package:vsix",
"package:vsix": "vsce package --yarn --allow-star-activation",
"package:webpack": "webpack --mode production --devtool hidden-source-map",
"prepare": "yarn run clean && yarn run build && yarn symlink",
"symlink": "yarn symlink:browser && yarn symlink:electron",
"symlink:browser": "symlink-dir . ../../applications/browser-app/plugins/crossmodel-lang",
"symlink:electron": "symlink-dir . ../../applications/electron-app/plugins/crossmodel-lang",
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
],
"scripts": {
"build": "lerna run build",
"build:dev": "yarn build:packages && yarn build:extensions && yarn symlink:browser && yarn theia:browser build",
"build:extensions": "lerna run --scope=\"crossmodel-lang\" build",
"build:packages": "lerna run --scope=\"@crossbreeze/*\" build",
"clean": "lerna run clean",
Expand All @@ -20,6 +21,7 @@
"start:browser": "yarn theia:browser start",
"start:electron": "yarn theia:electron start",
"start:verdaccio": "yarn verdaccio --config verdaccio-config.yaml",
"symlink:browser": "lerna run --scope=\"crossmodel-lang\" symlink:browser",
"test": "rimraf unit-test-results && yarn run test:cjs && yarn run test:esm",
"test:cjs": "jest --config=configs/jest.config.js --passWithNoTests",
"test:esm": "yarn --cwd extensions/crossmodel-lang test",
Expand Down
1 change: 0 additions & 1 deletion packages/composite-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/form-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/glsp-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/model-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/property-view/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"build": "tsc -b",
"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",
"watch": "tsc -w"
},
Expand Down
1 change: 0 additions & 1 deletion packages/react-model-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"build": "tsc -b",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"lint": "eslint -c ../../.eslintrc.js --ext .ts,.tsx ./src",
"prepare": "yarn clean && yarn build",
"test": "jest --passWithNoTests",
"watch": "tsc -w"
},
Expand Down

0 comments on commit 4166f52

Please sign in to comment.