Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate build tooling to PNPM and NX #255

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shamefully-hoist=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you explain the purpose of this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

14 changes: 0 additions & 14 deletions lerna.json

This file was deleted.

8 changes: 4 additions & 4 deletions lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
"scripts": {
"lint": "eslint --ext .js,.ts .",
"fix-lint": "eslint --ext .js,.ts . --fix",
"build": "rimraf dist && yarn run type-check && webpack --env NODE_ENV=production",
"build:dev": "rimraf dist && yarn run type-check && webpack --env NODE_ENV=development",
"build:watch": "yarn run build:dev -- --watch",
"build": "rimraf dist && pnpm run type-check && webpack --env NODE_ENV=production",
"build:dev": "rimraf dist && pnpm run type-check && webpack --env NODE_ENV=development",
"build:watch": "pnpm run build:dev --watch",
"type-check": "tsc --emitDeclarationOnly",
"type-check:watch": "yarn run type-check -- --watch"
"type-check:watch": "pnpm run type-check --watch"
},
"repository": {
"type": "git",
Expand Down
6 changes: 1 addition & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,5 @@
"lerna": "^6.1.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.4"
},
"workspaces": [
"lib",
"samples/*"
]
}
}
Loading