Enable NPM workspaces

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne SavolainenandMikko Aspiala authored and Sebastian Malton committed 2023-02-17 13:37:13 -05:00
1 parent 3d10a9e8fc
commit 5677a46281
2 files changed
+6 -4

No files matched your search

+1 -4
View File
@@ -1,9 +1,6 @@
{ {
"$schema": "node_modules/lerna/schemas/lerna-schema.json", "$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": false, "useWorkspaces": true,
"packages": [
"packages/*"
],
"version": "6.4.0-beta.13", "version": "6.4.0-beta.13",
"npmClient": "npm", "npmClient": "npm",
"npmClientArgs": [ "npmClientArgs": [
+5
View File
@@ -1,6 +1,11 @@
{ {
"name": "lens-monorepo", "name": "lens-monorepo",
"private": true, "private": true,
"workspaces": [
"packages/**/*"
],
"scripts": { "scripts": {
"adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"", "adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"",
"adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision", "adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision",