Skip to content

Commit 2dd53fe

Browse files
Version Packages (#40)
1 parent 63cdae1 commit 2dd53fe

File tree

10 files changed

+64
-38
lines changed

10 files changed

+64
-38
lines changed

.changeset/pink-rabbits-punch.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

.changeset/wet-falcons-heal.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

packages/cli/CHANGELOG.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# @manypkg/cli
22

3+
## 0.10.0
4+
5+
### Minor Changes
6+
7+
- [`63cdae1`](https://github.com/Thinkmill/manypkg/commit/63cdae1bc7fd3b699756144bce4ddf53c46afeb0) [#42](https://github.com/Thinkmill/manypkg/pull/42) Thanks [@tarang9211](https://github.com/tarang9211)! - Added `manypkg run <partial package name or directory> <script>` which can be used to execute scripts for packages within a monorepo.
8+
9+
As an example, let's say there are two packages: `@project/package-a` at `packages/pkg-a` and `@project/package-b` at `packages/pkg-a` which both have a `start` script, `manypkg run` can be used like this:
10+
11+
```bash
12+
yarn manypkg run pkg-a start
13+
yarn manypkg run a start
14+
yarn manypkg run package-a start
15+
yarn manypkg run @project/package-a start
16+
yarn manypkg run packages/pkg-a start
17+
yarn manypkg run package-b start
18+
yarn manypkg run b start
19+
```
20+
21+
The following wouldn't work though because the `package` and `pkg` aren't unique among the package names/directories:
22+
23+
```bash
24+
yarn manypkg run package start
25+
yarn manypkg run pkg start
26+
```
27+
28+
* [`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3) [#39](https://github.com/Thinkmill/manypkg/pull/39) Thanks [@Andarist](https://github.com/Andarist)! - Added support for finding pnpm workspace packages.
29+
30+
### Patch Changes
31+
32+
- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
33+
34+
335
## 0.9.0
436

537
### Minor Changes

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@manypkg/cli",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"main": "dist/cli.cjs.js",
55
"module": "dist/cli.esm.js",
66
"license": "MIT",
@@ -13,7 +13,7 @@
1313
"chalk": "^2.4.2",
1414
"detect-indent": "^6.0.0",
1515
"find-up": "^4.1.0",
16-
"find-workspaces-root": "^0.1.0",
16+
"find-workspaces-root": "^0.2.0",
1717
"fs-extra": "^8.1.0",
1818
"get-workspaces": "^0.6.0",
1919
"meow": "^5.0.0",
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# find-workspaces-root
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- [`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3) [#39](https://github.com/Thinkmill/manypkg/pull/39) Thanks [@Andarist](https://github.com/Andarist)! - Added support for finding pnpm workspace packages.
8+
39
## 0.1.0
10+
411
### Minor Changes
512

613
- 6d5cc67: Initial release

packages/find-workspaces-root/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "find-workspaces-root",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"main": "dist/find-workspaces-root.cjs.js",
55
"module": "dist/find-workspaces-root.esm.js",
66
"license": "MIT",

packages/gatsby-source-workspace/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# @manypkg/gatsby-source-workspace
22

3+
## 0.4.0
4+
5+
### Minor Changes
6+
7+
- [`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3) [#39](https://github.com/Thinkmill/manypkg/pull/39) Thanks [@Andarist](https://github.com/Andarist)! - Added support for finding pnpm workspace packages.
8+
9+
### Patch Changes
10+
11+
- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
12+
13+
314
## 0.3.0
415

516
### Minor Changes

packages/gatsby-source-workspace/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@manypkg/gatsby-source-workspace",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"peerDependencies": {
55
"gatsby": "^2.15.28"
66
},
@@ -10,7 +10,7 @@
1010
"react-dom": "^16.10.1"
1111
},
1212
"dependencies": {
13-
"find-workspaces-root": "^0.1.0",
13+
"find-workspaces-root": "^0.2.0",
1414
"fs-extra": "^8.1.0",
1515
"get-workspaces": "^0.6.0"
1616
},

test-gatsby/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# test-gatsby-thing
22

3+
## 0.0.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
8+
- @manypkg/gatsby-source-workspace@0.4.0
9+
310
## 0.0.3
411

512
### Patch Changes

test-gatsby/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "test-gatsby-thing",
33
"private": true,
4-
"version": "0.0.3",
4+
"version": "0.0.4",
55
"dependencies": {
6-
"@manypkg/gatsby-source-workspace": "0.3.0",
6+
"@manypkg/gatsby-source-workspace": "0.4.0",
77
"@mdx-js/mdx": "^1.5.1",
88
"@mdx-js/react": "^1.5.1",
99
"gatsby": "^2.15.28",

0 commit comments

Comments
 (0)