Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumped Lerna from 6.x to 8.x. Removed lerna bootstrap since it … #73

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading