Skip to content

Commit

Permalink
[Internal] Upgrade to lerna v8
Browse files Browse the repository at this point in the history
  • Loading branch information
LoicPoullain committed Apr 25, 2024
1 parent 78f62dc commit c798cae
Show file tree
Hide file tree
Showing 47 changed files with 12,842 additions and 95,072 deletions.
6 changes: 3 additions & 3 deletions .github/CONTRIBUTING.MD
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ The framework development environment uses [lerna](https://lerna.js.org/) for ma
```sh
npm run start-docker # use `npm run stop-docker` to stop them
```
3. Install the root dependencies.
3. Install all dependencies.
```
npm install
```
4. Install the dependencies of each package and build each package.
4. Build packages.
```
npm run bootstrap
npx lerna run build
```
5. Check code format.
```
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Use npm version 9.6
run: npm install -g [email protected]
- name: Install project dependencies
- name: Install project and package dependencies
run: npm install
- name: Install package dependencies and build packages
run: npm run bootstrap
- name: Build packages
run: npx lerna run build
- name: Create CLI symlink in the global folder
run: npm link
working-directory: packages/cli
Expand Down
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"lerna": "2.4.0",
"packages": [
"packages/*"
],
"version": "4.4.0"
"version": "4.4.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
25,169 changes: 12,742 additions & 12,427 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@
"directories": {
"doc": "docs"
},
"workspaces": [
"packages/*"
],
"scripts": {
"lint": "tslint -c tslint.json --project tsconfig.json",
"lint:fix": "tslint -c tslint.json --project tsconfig.json --fix",
"start-docker": "docker-compose build && docker-compose up -d",
"stop-docker": "docker-compose down",
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"test": "lerna run --no-bail test"
},
Expand All @@ -24,9 +26,9 @@
"homepage": "https://github.com/FoalTS/foal#readme",
"devDependencies": {
"@types/mocha": "10.0.6",
"lerna": "~8.1.2",
"mocha": "~10.4.0",
"tslint": "~6.1.3",
"typescript": "~4.9.5",
"lerna": "~6.0.1"
"typescript": "~4.9.5"
}
}
}
Loading

0 comments on commit c798cae

Please sign in to comment.