Skip to content

Commit

Permalink
set esbuild as peer dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloSzx committed Sep 22, 2021
1 parent 37b26cd commit 7678c9a
Show file tree
Hide file tree
Showing 7 changed files with 224 additions and 68 deletions.
6 changes: 6 additions & 0 deletions .changeset/odd-guests-bathe.md
@@ -0,0 +1,6 @@
---
'bob-esbuild': major
'bob-esbuild-plugin': major
---

esbuild as peer dependency
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -20,6 +20,7 @@ If you are using it in a monorepo project, you have to install it in your root l

```sh
pnpm add bob-esbuild bob-esbuild-cli
pnpm add -D esbuild
```

Then, in every package you want to build with `bob-esbuild`, you can simply install `bob-esbuild-cli`:
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"@changesets/cli": "^2.17.0",
"@types/node": "^16.9.6",
"esbuild": "^0.12.28",
"esbuild": "^0.13.0",
"husky": "^7.0.2",
"prettier": "^2.4.1",
"pretty-quick": "^3.1.1",
Expand All @@ -34,7 +34,7 @@
"pnpm": {
"overrides": {
"@types/node": ">=16.7.4",
"esbuild": ">=0.12.24"
"esbuild": ">=0.13.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/bob-ts/package.json
Expand Up @@ -41,15 +41,15 @@
"commander": "^8.2.0",
"execa": "^5.1.1",
"globby": "^12.0.2",
"rollup": "^2.56.3",
"rollup": "^2.57.0",
"rollup-plugin-delete": "^2.0.0",
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@types/node": "^16.9.6",
"bob-esbuild-cli": "workspace:^1.0.1",
"changesets-github-release": "^0.0.4",
"esbuild": "^0.12.28"
"esbuild": "^0.13.0"
},
"peerDependencies": {
"@types/node": "*",
Expand Down
5 changes: 3 additions & 2 deletions packages/bob/package.json
Expand Up @@ -37,14 +37,13 @@
"chalk": "^4.1.2",
"cosmiconfig": "^7.0.1",
"date-fns": "^2.24.0",
"esbuild": "^0.12.28",
"execa": "^5.1.1",
"folder-hash": "^4.0.1",
"fs-extra": "^10.0.0",
"globby": "^11.0.4",
"lodash.get": "^4.4.2",
"rimraf": "^3.0.2",
"rollup": "^2.56.3",
"rollup": "^2.57.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-node-externals": "^2.2.0",
"sucrase": "^3.20.1",
Expand All @@ -58,10 +57,12 @@
"@types/node": "^16.9.6",
"@types/rimraf": "^3.0.2",
"changesets-github-release": "^0.0.4",
"esbuild": "^0.13.0",
"esbuild-register": "^3.0.0",
"typescript": "^4.4.3"
},
"peerDependencies": {
"esbuild": "*",
"typescript": "*"
},
"publishConfig": {
Expand Down
5 changes: 3 additions & 2 deletions packages/esbuild-plugin/package.json
Expand Up @@ -31,7 +31,6 @@
},
"dependencies": {
"@rollup/pluginutils": "^4.1.1",
"esbuild": "^0.12.28",
"joycon": "^3.0.1",
"jsonc-parser": "^3.0.0"
},
Expand All @@ -41,14 +40,16 @@
"@types/node": "^16.9.6",
"changesets-github-release": "^0.0.4",
"es-jest": "^1.3.0",
"esbuild": "^0.13.0",
"esbuild-register": "^3.0.0",
"jest": "^27.2.1",
"mock-fs": "^5.1.0",
"rollup": "^2.56.3",
"rollup": "^2.57.0",
"tsup": "^5.1.0"
},
"peerDependencies": {
"@types/node": "*",
"esbuild": "*",
"rollup": "*"
},
"tsup": {
Expand Down

0 comments on commit 7678c9a

Please sign in to comment.