Skip to content

Commit bbd45d3

Browse files
committed
fix: correct lerna config
1 parent eb65dbe commit bbd45d3

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

lerna.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"npmClient": "yarn",
33
"version": "independent",
4-
"useWorkspaces": true,
54
"packages": [
65
"packages/*"
76
]

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,8 @@
44
"scripts": {
55
"clean": "tsc -b --clean && rimraf 'packages/*/build'",
66
"build": "tsc -b --pretty",
7-
"build-watch": "tsc -b --pretty --watch",
8-
"version": "lerna version --conventional-commits --no-push --sign-git-commit --sign-git-tag",
97
"lint": "eslint packages/ --quiet --fix --ignore-path .gitignore",
10-
"test": "node --test",
8+
"test": "lerna run test",
119
"test-create-data": "node packages/tar/create-test-tar.js"
1210
},
1311
"repository": {
@@ -23,7 +21,7 @@
2321
"keywords": [],
2422
"type": "module",
2523
"engines": {
26-
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
24+
"node": ">=16.0.0"
2725
},
2826
"license": "MIT",
2927
"description": "",

packages/builder/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "6.0.0",
44
"main": "build/src/index.js",
55
"types": "build/src/index.d.ts",
6+
"scripts": {
7+
"test": "node --test"
8+
},
69
"repository": {
710
"type": "git",
811
"url": "https://github.com/linz/cotar.git",

packages/cli/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"url": "https://github.com/linz/cotar.git",
99
"directory": "packages/cli"
1010
},
11+
"scripts": {
12+
"test": "node --test"
13+
},
1114
"author": {
1215
"name": "Land Information New Zealand",
1316
"url": "https://linz.govt.nz",

packages/core/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "6.0.0",
44
"main": "build/src/index.js",
55
"types": "build/src/index.d.ts",
6+
"scripts": {
7+
"test": "node --test"
8+
},
69
"repository": {
710
"type": "git",
811
"url": "https://github.com/linz/cotar.git",

packages/tar/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
"url": "https://github.com/linz/cotar.git",
99
"directory": "packages/tar"
1010
},
11+
"scripts": {
12+
"test": "node --test"
13+
},
1114
"author": {
1215
"name": "Land Information New Zealand",
1316
"url": "https://linz.govt.nz",

0 commit comments

Comments
 (0)