Skip to content

Commit

Permalink
Bumped Lerna from 6.x to 8.x. Removed lerna bootstrap since it …
Browse files Browse the repository at this point in the history
…is deprecated (#73)
  • Loading branch information
KristofVDB1 authored Sep 25, 2024
1 parent 4807931 commit bbecde6
Show file tree
Hide file tree
Showing 7 changed files with 4,908 additions and 5,182 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
run: |
npm install
npx lerna exec -- npm i
npx lerna bootstrap
- name: Build project
run: npm run build
3 changes: 1 addition & 2 deletions .github/workflows/ci-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
run: |
npm install
npx lerna exec -- npm i
npx lerna bootstrap
- name: Build project
run: npm run build
- name: Run integration test script
run: ./.github/scripts/oslo-converter-uml-ea.int.sh
shell: bash
shell: bash
1 change: 0 additions & 1 deletion .github/workflows/ci-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,5 @@ jobs:
run: |
npm install
npx lerna exec -- npm i
npx lerna bootstrap
- name: Run all unit tests
run: npm run test:unit
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,12 @@ Each package package is published on the NPM registry and can be installed globa

### How To Build

To build the source code, the dependencies must first be installed:
To build the source code, the dependencies must first be installed. We make use op npm workspaces, so the dependencies of all packages are installed as well. More information on workspaces can be found [here](https://docs.npmjs.com/cli/v10/using-npm/workspaces).

```bash
npm install
```

Then, link the local packages together and install remaining package dependencies:

```bash
npm run bootstrap
```

Finally, the source code can be built:

```bash
Expand Down
15 changes: 5 additions & 10 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
{
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"command": {
"publish": {
"ignoreChanges": [
"*.md"
],
"ignoreChanges": ["*.md"],
"message": "Bump to new release version",
"allowBranch": "main",
"npmClient": "npm"
Expand All @@ -15,8 +11,7 @@
"loglevel": "info",
"registry": "https://registry.npmjs.org/",
"npmClient": "npm",
"npmClientArgs": [
"--no-package-lock"
],
"version": "independent"
"npmClientArgs": ["--no-package-lock"],
"version": "independent",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
Loading

0 comments on commit bbecde6

Please sign in to comment.