Skip to content

Commit

Permalink
chore: Move lerna schema into core/lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
fahslaj committed Jul 7, 2022
1 parent 3c27caa commit 0f0fd7b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions commands/init/index.js
Expand Up @@ -128,6 +128,7 @@ class InitCommand extends Command {
}

Object.assign(config, {
$schema: "node_modules/lerna/schemas/lerna-schema.json",
packages: this.project.packageConfigs,
useNx: false,
version,
Expand Down
3 changes: 2 additions & 1 deletion core/lerna/package.json
Expand Up @@ -18,7 +18,8 @@
},
"files": [
"index.js",
"cli.js"
"cli.js",
"schemas/lerna-schema.json"
],
"engines": {
"node": "^14.15.0 || >=16.0.0"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lerna.json
@@ -1,5 +1,5 @@
{
"$schema": "schemas/lerna-schema.json",
"$schema": "core/lerna/schemas/lerna-schema.json",
"command": {
"create": {
"homepage": "https://github.com/lerna/lerna",
Expand Down

0 comments on commit 0f0fd7b

Please sign in to comment.