Skip to content

Commit

Permalink
build: lerna publish
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Jan 3, 2023
1 parent a8b4c9a commit 55ec310
Show file tree
Hide file tree
Showing 4 changed files with 2,978 additions and 46 deletions.
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "1.18.0",
"registry": "https://registry.npmjs.org"
}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "@bytemd/monorepo",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "rm -rf packages/*/tsconfig.tsbuildinfo && tsc --build && tsx scripts/build.ts",
"dev": "pnpm --filter playground dev",
"format": "prettier --write '**/*.{ts,tsx,json,md,svelte}' && sort-package-json package.json 'packages/*/package.json'",
"postinstall": "tsx scripts/postinstall.ts && pnpm format && sort-json packages/*/locales/*.json",
"pub": "pnpm build && pnpm --recursive --registry https://registry.npmjs.org/ publish --access public",
"release": "tsx scripts/release.ts",
"pub": "pnpm build && lerna publish",
"test": "pnpm --filter bytemd test"
},
"prettier": {
Expand All @@ -33,6 +35,7 @@
"fast-glob": "^3.2.12",
"fs-extra": "^11.1.0",
"jsdom": "^20.0.3",
"lerna": "^6.3.0",
"lodash-es": "^4.17.21",
"mustache": "^4.2.0",
"prettier": "^2.8.1",
Expand Down
Loading

0 comments on commit 55ec310

Please sign in to comment.