Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
FRONTEND-1702 :: Feature Internal :: Tweak tooling configuration (#118)
Browse files Browse the repository at this point in the history
**Asana task link: https://app.asana.com/0/1109863238977521/1203335503896193/f**

**Merge / Pull request information:**

- All this is on paper, not tested on a release
- Exclude example projects from publish procedure, so they don't get version number assigned (🤞)
- Differentiate app vs lib packages in NX
- Exclude private packages (e.g. "examples") from `lerna publish/version`
  • Loading branch information
doup authored Dec 13, 2022
1 parent ba5bcf7 commit 5f7529e
Show file tree
Hide file tree
Showing 7 changed files with 2,556 additions and 10,367 deletions.
2 changes: 1 addition & 1 deletion examples/angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "harmony-angular-example",
"version": "0.11.2",
"version": "0.0.0",
"private": true,
"scripts": {
"ng": "ng",
Expand Down
13 changes: 5 additions & 8 deletions examples/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{
"name": "backend",
"version": "0.11.2",
"description": "",
"author": "",
"name": "harmony-backend-example",
"version": "0.0.0",
"private": true,
"license": "UNLICENSED",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
Expand All @@ -21,9 +18,9 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@mobilejazz/harmony-core": "^0.11.2",
"@mobilejazz/harmony-nest": "^0.11.2",
"@mobilejazz/harmony-typeorm": "^0.11.2",
"@mobilejazz/harmony-core": "*",
"@mobilejazz/harmony-nest": "*",
"@mobilejazz/harmony-typeorm": "*",
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
Expand Down
5 changes: 1 addition & 4 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,5 @@
"version": "0.11.2",
"useNx": true,
"useWorkspaces": true,
"packages": [
"examples/*",
"packages/*"
]
"packages": ["examples/*", "packages/*"]
}
4 changes: 4 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"workspaceLayout": {
"appsDir": "examples",
"libsDir": "packages"
},
"tasksRunnerOptions": {
"default": {
"runner": "nx/tasks-runners/default",
Expand Down
Loading

0 comments on commit 5f7529e

Please sign in to comment.