Skip to content

Commit

Permalink
fix: lerna
Browse files Browse the repository at this point in the history
elribonazo committed Dec 26, 2024
1 parent 9e06bb9 commit 4967593
Showing 7 changed files with 9,219 additions and 6,115 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -57,5 +57,4 @@ jobs:
run: |
npm install
npm run build
cd packages/ridb && npx semantic-release
cd packages/ridb-level && npx semantic-release
npx multi-semantic-release
17 changes: 17 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"version": "independent",
"npmClient": "npm",
"command": {
"publish": {
"conventionalCommits": true,
"yes": true
},
"version": {
"message": "chore(release): publish"
},
"bootstrap": {
"hoist": true
}
},
"packages": ["packages/*"]
}
15,281 changes: 9,187 additions & 6,094 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -10,8 +10,11 @@
],
"scripts": {
"docs": "typedoc --cleanOutputDir false",
"build": "npx turbo build",
"test": "npx turbo test",
"release": "npm run build && npm run docs && changeset version && changeset publish"
"build": "lerna run build",
"test": "lerna run test"
},
"devDependencies": {
"@anolilab/multi-semantic-release": "^1.1.6",
"lerna": "^8.1.9"
}
}
8 changes: 7 additions & 1 deletion packages/ridb-level/package.json
Original file line number Diff line number Diff line change
@@ -40,6 +40,10 @@
"types:cjs": "npx dts-bundle-generator src/index.ts --no-check -o ./build/cjs/index.d.ts",
"prepublishOnly": "npm run build"
},
"release": {
"plugins": ["@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator"],
"noCi": true
},
"devDependencies": {
"esbuild": "0.21.5",
"esbuild-plugin-wasm": "^1.1.0",
@@ -71,7 +75,9 @@
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.6.0",
"webdriverio": "^9.0.9",
"@trust0/ridb": "^0.11.0"
"@trust0/ridb": "^0.11.0",
"vite": "^5.0.0",
"classic-level": "^2.0.0"
},
"peerDependencies": {
"classic-level": "^2.0.0",
1 change: 1 addition & 0 deletions packages/ridb/package.json
Original file line number Diff line number Diff line change
@@ -70,6 +70,7 @@
"vite-plugin-top-level-await": "^1.4.1",
"vite-plugin-wasm": "^3.3.0",
"vitest": "^1.6.0",
"vite": "^5.0.0",
"webdriverio": "^9.0.9",
"@trust0/ridb-wasm": "^1.0.11"
}
15 changes: 0 additions & 15 deletions turbo.json

This file was deleted.

0 comments on commit 4967593

Please sign in to comment.