Skip to content

Commit

Permalink
chore: merge pull request #3716 from lerna/v7
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Jun 8, 2023
2 parents 11d8473 + 405cfe3 commit ede2a31
Show file tree
Hide file tree
Showing 760 changed files with 23,714 additions and 30,859 deletions.
8 changes: 4 additions & 4 deletions .eslintrc.json
@@ -1,7 +1,7 @@
{
"root": true,
"ignorePatterns": ["website/**/*", "__fixtures__"],
"plugins": ["@nrwl/nx"],
"plugins": ["@nx"],
"settings": {
"import/resolver": {
"node": {
Expand All @@ -13,7 +13,7 @@
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nrwl/nx/enforce-module-boundaries": [
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
Expand All @@ -30,14 +30,14 @@
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nrwl/nx/typescript"],
"extends": ["plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-empty-function": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["airbnb-base", "plugin:node/recommended", "plugin:@nrwl/nx/javascript"],
"extends": ["airbnb-base", "plugin:node/recommended", "plugin:@nx/javascript"],
"rules": {
"@typescript-eslint/no-empty-function": "off",
"class-methods-use-this": [
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Expand Up @@ -118,7 +118,9 @@ jobs:
npx nx run integration:integration --ci --maxWorkers=2 &
pids+=($!)
npx nx run-many -t test --parallel=3 --ci --maxWorkers=2 --testTimeout=60000 &
# Ignored specs currently failing on windows
# TODO: investigate why
npx nx run-many -t test --parallel=3 --ci --maxWorkers=2 --testTimeout=60000 --testPathIgnorePatterns=save.spec.ts --testPathIgnorePatterns=find-file.spec.ts --testPathIgnorePatterns=chain-class.spec.ts &
pids+=($!)
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
@@ -1,5 +1,5 @@
# just in case a private registry is configured in ~/.npmrc
registry = https://registry.npmjs.org/

# TODO: remove this once esbuild 0.17 is officially supported in @nrwl/esbuild
# TODO: remove this once esbuild 0.17 is officially supported in @nx/esbuild
legacy-peer-deps = true
136 changes: 136 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,142 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [7.0.0-alpha.8](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.8) (2023-06-07)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- daemon communication ([e82618b](https://github.com/lerna/lerna/commit/e82618bf1a8aaea6d3d7f74f9afb8f1c5afe04ad))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- improve github client missing env var error ([ce4b352](https://github.com/lerna/lerna/commit/ce4b35213200b07e89a6ab09743f84aa60e5ca2c))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))
- **publish:** use correct version in log messages ([#3702](https://github.com/lerna/lerna/issues/3702)) ([4be9188](https://github.com/lerna/lerna/commit/4be9188e68c5d4c320c0946e6e386cbee95a8efe))
- share project data when nesting commands ([#3709](https://github.com/lerna/lerna/issues/3709)) ([53e71e4](https://github.com/lerna/lerna/commit/53e71e4746604aa3fbaada3dad58b02904769759))
- support nx 16.3.1+ ([#3707](https://github.com/lerna/lerna/issues/3707)) ([647dbb5](https://github.com/lerna/lerna/commit/647dbb512bf6a873cab6362c434b420b18af0ad4))

### Features

- add migration for adding $schema, increase some strictness ([73ceac3](https://github.com/lerna/lerna/commit/73ceac3dc2cf0e1246d4433cb101d1e794b2cca3))
- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.7](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.7) (2023-06-05)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- daemon communication ([e82618b](https://github.com/lerna/lerna/commit/e82618bf1a8aaea6d3d7f74f9afb8f1c5afe04ad))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- improve github client missing env var error ([ce4b352](https://github.com/lerna/lerna/commit/ce4b35213200b07e89a6ab09743f84aa60e5ca2c))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))
- **publish:** use correct version in log messages ([#3702](https://github.com/lerna/lerna/issues/3702)) ([4be9188](https://github.com/lerna/lerna/commit/4be9188e68c5d4c320c0946e6e386cbee95a8efe))
- share project data when nesting commands ([#3709](https://github.com/lerna/lerna/issues/3709)) ([53e71e4](https://github.com/lerna/lerna/commit/53e71e4746604aa3fbaada3dad58b02904769759))
- support nx 16.3.1+ ([#3707](https://github.com/lerna/lerna/issues/3707)) ([647dbb5](https://github.com/lerna/lerna/commit/647dbb512bf6a873cab6362c434b420b18af0ad4))

### Features

- add migration for adding $schema, increase some strictness ([73ceac3](https://github.com/lerna/lerna/commit/73ceac3dc2cf0e1246d4433cb101d1e794b2cca3))
- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.6](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.6) (2023-06-02)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- daemon communication ([e82618b](https://github.com/lerna/lerna/commit/e82618bf1a8aaea6d3d7f74f9afb8f1c5afe04ad))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- improve github client missing env var error ([ce4b352](https://github.com/lerna/lerna/commit/ce4b35213200b07e89a6ab09743f84aa60e5ca2c))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))
- **publish:** use correct version in log messages ([#3702](https://github.com/lerna/lerna/issues/3702)) ([4be9188](https://github.com/lerna/lerna/commit/4be9188e68c5d4c320c0946e6e386cbee95a8efe))
- support nx 16.3.1+ ([#3707](https://github.com/lerna/lerna/issues/3707)) ([647dbb5](https://github.com/lerna/lerna/commit/647dbb512bf6a873cab6362c434b420b18af0ad4))

### Features

- add migration for adding $schema, increase some strictness ([73ceac3](https://github.com/lerna/lerna/commit/73ceac3dc2cf0e1246d4433cb101d1e794b2cca3))
- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.5](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.5) (2023-06-01)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))
- **publish:** use correct version in log messages ([#3702](https://github.com/lerna/lerna/issues/3702)) ([4be9188](https://github.com/lerna/lerna/commit/4be9188e68c5d4c320c0946e6e386cbee95a8efe))

### Features

- add migration for adding $schema, increase some strictness ([73ceac3](https://github.com/lerna/lerna/commit/73ceac3dc2cf0e1246d4433cb101d1e794b2cca3))
- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.4](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.4) (2023-06-01)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))
- **publish:** use correct version in log messages ([#3702](https://github.com/lerna/lerna/issues/3702)) ([4be9188](https://github.com/lerna/lerna/commit/4be9188e68c5d4c320c0946e6e386cbee95a8efe))

### Features

- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.3](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.3) (2023-05-31)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))
- migration building/publishing issues ([27bf800](https://github.com/lerna/lerna/commit/27bf800b6e7670ea1ec5576fdf008e8d09897d4b))

### Features

- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.2](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.2) (2023-05-31)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- ensure repair command not blocked by config validation ([e237d58](https://github.com/lerna/lerna/commit/e237d585e63a2fb502a8958f15a1efe03d781c57))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))

### Features

- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.1](https://github.com/lerna/lerna/compare/7.0.0-alpha.0...7.0.0-alpha.1) (2023-05-31)

### Bug Fixes

- bump cosmiconfig to v8 ([#3701](https://github.com/lerna/lerna/issues/3701)) ([898923d](https://github.com/lerna/lerna/commit/898923d198319d76ed5e37e553bfe3b27e43604c))
- internal cli.js should not be bundled ([53d73c6](https://github.com/lerna/lerna/commit/53d73c6aa9833e5a5bf60c2c78896456e77fab40))

### Features

- **publish:** support custom directory per-package ([#3699](https://github.com/lerna/lerna/issues/3699)) ([9da575e](https://github.com/lerna/lerna/commit/9da575e9da221b8be4fbaa2fb1e7676b54d86d4f))

# [7.0.0-alpha.0](https://github.com/lerna/lerna/compare/6.6.2...7.0.0-alpha.0) (2023-05-10)

### Features

- **core:** convert commands to use nx project graph instead of legacy package graph ([#3667](https://github.com/lerna/lerna/issues/3667)) ([8e813c4](https://github.com/lerna/lerna/commit/8e813c46c543aa8e002a8982ca0b7f6afcee539e))
- do not include bootstrap, add, link commands by default ([#3658](https://github.com/lerna/lerna/issues/3658)) ([487d475](https://github.com/lerna/lerna/commit/487d4755e8602ab3694992dd7702a2dd08f55861))

### BREAKING CHANGES

- We no longer include the bootstrap, add, and link commands by default. We strongly recommend using your package manager (npm, yarn, pnpm) for package management related concerns such as installing and linking dependencies.

If you want to temporarily continue to use those commands in v7 you can do so by installing the @lerna/legacy-package-management package at the same version as your lerna version.

There will not be any active work done on these commands and you should look to migrate as soon as possible, please check out https://lerna.js.org for further guidance.

## [6.6.2](https://github.com/lerna/lerna/compare/6.6.1...6.6.2) (2023-05-04)

### Bug Fixes
Expand Down
3 changes: 1 addition & 2 deletions CONTRIBUTING.md
Expand Up @@ -113,8 +113,7 @@ You will need two different terminal windows for this as one of them will contai
- Run `npm run local-registry start` in Terminal 1 (keep it running)
- Run `npm adduser --registry http://localhost:4873` in Terminal 2 (real credentials are not required, you just need to
be logged in. You can use test/test/test@test.io.)
- Run `npm run local-registry enable` in Terminal 2
- Run `npm run lerna-release 999.9.9 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use something which is different from the current major
- Run `npm --registry=http://localhost:4873/ run lerna-release 999.9.9 --local` in Terminal 2 - you can choose any nonexistent version number here, but it's recommended to use something which is different from the current major

You can then install your local version of lerna wherever you want by leveraging the `--registry` flag on the npm/npx client.

Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -47,15 +47,15 @@ A few links to help you get started:
- [lerna.js.org: Documentation, Guides, Interactive Tutorials](https://lerna.js.org)
- [Getting Started](https://lerna.js.org/docs/getting-started)
- [Features](https://lerna.js.org/docs/features)
- [Official Nrwl YouTube Channel](https://www.youtube.com/c/Nrwl_io)
- [Official Nx and Lerna YouTube Channel](https://www.youtube.com/@nxdevtools)
- [Blog Posts About Lerna and Nx](https://blog.nrwl.io/nx/home)

<br />

## Engage with the Core Team and the Community

- [Nrwl Community Slack, #lerna channel](https://go.nrwl.io/join-slack)
- [Follow Nrwl on Twitter](https://twitter.com/nrwl_io)
- [Follow Lerna on Twitter](https://twitter.com/lernajs)
- [Community Slack, #lerna channel](https://go.nrwl.io/join-slack)

### Want to help?

Expand Down
3 changes: 2 additions & 1 deletion __fixtures__/__independent/lerna.json
@@ -1,3 +1,4 @@
{
"version": "independent"
"version": "independent",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/__normal/lerna.json
@@ -1,3 +1,4 @@
{
"version": "1.0.0"
"version": "1.0.0",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/build-metadata/lerna.json
@@ -1,3 +1,4 @@
{
"version": "1.0.0+001"
"version": "1.0.0+001",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/independent-build-metadata/lerna.json
@@ -1,3 +1,4 @@
{
"version": "independent"
"version": "independent",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/independent/lerna.json
@@ -1,3 +1,4 @@
{
"version": "independent"
"version": "independent",
"packages": ["packages/*"]
}
4 changes: 4 additions & 0 deletions __fixtures__/licenses-names/lerna.json
@@ -0,0 +1,4 @@
{
"version": "1.0.0",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/lockfile-leaf-v2/lerna.json
@@ -1,3 +1,4 @@
{
"version": "1.0.0"
"version": "1.0.0",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/lockfile-leaf/lerna.json
@@ -1,3 +1,4 @@
{
"version": "1.0.0"
"version": "1.0.0",
"packages": ["packages/*"]
}
1 change: 1 addition & 0 deletions __fixtures__/normal-exact/lerna.json
@@ -1,4 +1,5 @@
{
"version": "1.0.0",
"packages": ["packages/*"],
"exact": true
}
3 changes: 2 additions & 1 deletion __fixtures__/pack-directory/lerna.json
@@ -1,3 +1,4 @@
{
"version": "independent"
"version": "independent",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/prerelease-independent/lerna.json
@@ -1,3 +1,4 @@
{
"version": "independent"
"version": "independent",
"packages": ["packages/*"]
}
3 changes: 2 additions & 1 deletion __fixtures__/prerelease/lerna.json
@@ -1,3 +1,4 @@
{
"version": "1.0.0-alpha.0"
"version": "1.0.0-alpha.0",
"packages": ["packages/*"]
}
3 changes: 1 addition & 2 deletions __fixtures__/yarn-link-spec/lerna.json
@@ -1,5 +1,4 @@
{
"version": "1.0.0",
"npmClient": "yarn",
"useWorkspaces": true
"npmClient": "yarn"
}
34 changes: 0 additions & 34 deletions doc/guides.md

This file was deleted.

0 comments on commit ede2a31

Please sign in to comment.