Skip to content

Commit

Permalink
Set up lerna
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Oct 5, 2020
1 parent 47c90b8 commit 9fa150b
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 5 deletions.
14 changes: 14 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"version": "1.0.0",
"packages": [
"packages/*"
],
"command": {
"publish": {
"ignoreChanges": ["*.md", "*.txt", "*.obj"]
},
"run": {
"parallel": ""
}
}
}
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "root",
"private": true,
"scripts": {
"start": "lerna run start --parallel",
"publish": "lerna publish --git-remote upstream --conventional-commits --create-release github",
"install:dependencies": "lerna bootstrap"
},
"devDependencies": {
"lerna": "^3.22.1"
}
}
2 changes: 1 addition & 1 deletion packages/phoenix-app/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@
"cli": {
"analytics": false
}
}
}
5 changes: 3 additions & 2 deletions packages/phoenix-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"e2e": "ng e2e",
"deploy": "mv ../../docs/api-docs ../../api-docs && ng build --prod --output-path ../../docs --base-href \"/phoenix/\" && cp ../../docs/index.html ../../docs/404.html && mv ../../api-docs ../../docs/api-docs",
"test:coverage": "rm -rf ./coverage && ng test --no-watch --code-coverage",
"coveralls": "cat ./coverage/phoenix/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
"coveralls": "cat ./coverage/phoenix/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepublishOnly": "npm run deploy"
},
"dependencies": {
"@angular/animations": "^10.0.14",
Expand All @@ -35,7 +36,7 @@
"coveralls": "^3.1.0",
"css-element-queries": "^1.2.3",
"ng5-slider": "^1.2.4",
"phoenix-event-display": "file:../phoenix-event-display",
"phoenix-event-display": "^1.0.0",
"rxjs": "^6.6.2",
"three": "^0.120.0",
"tslib": "^2.0.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/phoenix-event-display/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
"dist"
],
"scripts": {
"dev": "tsc --watch",
"tsc": "tsc",
"start": "tsc --watch",
"build": "rm -rf ./dist && npm run tsc",
"build:es2015": "tsc --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"build:umd": "npm run build && rollup -c rollup.conf.js",
"tsc": "tsc",
"tsc-d": "tsc --declaration --emitDeclarationOnly --esModuleInterop --outFile dist/index.d.ts",
"prepare": "npm run build",
"prepublishOnly": "npm run docs",
Expand Down

0 comments on commit 9fa150b

Please sign in to comment.