Skip to content

Commit

Permalink
Version Packages (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Feb 14, 2020
1 parent 63cdae1 commit 2dd53fe
Show file tree
Hide file tree
Showing 10 changed files with 64 additions and 38 deletions.
24 changes: 0 additions & 24 deletions .changeset/pink-rabbits-punch.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/wet-falcons-heal.md

This file was deleted.

32 changes: 32 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# @manypkg/cli

## 0.10.0

### Minor Changes

- [`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.

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:

```bash
yarn manypkg run pkg-a start
yarn manypkg run a start
yarn manypkg run package-a start
yarn manypkg run @project/package-a start
yarn manypkg run packages/pkg-a start
yarn manypkg run package-b start
yarn manypkg run b start
```

The following wouldn't work though because the `package` and `pkg` aren't unique among the package names/directories:

```bash
yarn manypkg run package start
yarn manypkg run pkg start
```

* [`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.

### Patch Changes

- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
- find-workspaces-root@0.2.0

## 0.9.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@manypkg/cli",
"version": "0.9.0",
"version": "0.10.0",
"main": "dist/cli.cjs.js",
"module": "dist/cli.esm.js",
"license": "MIT",
Expand All @@ -13,7 +13,7 @@
"chalk": "^2.4.2",
"detect-indent": "^6.0.0",
"find-up": "^4.1.0",
"find-workspaces-root": "^0.1.0",
"find-workspaces-root": "^0.2.0",
"fs-extra": "^8.1.0",
"get-workspaces": "^0.6.0",
"meow": "^5.0.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/find-workspaces-root/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# find-workspaces-root

## 0.2.0

### Minor Changes

- [`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.

## 0.1.0

### Minor Changes

- 6d5cc67: Initial release
2 changes: 1 addition & 1 deletion packages/find-workspaces-root/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "find-workspaces-root",
"version": "0.1.0",
"version": "0.2.0",
"main": "dist/find-workspaces-root.cjs.js",
"module": "dist/find-workspaces-root.esm.js",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/gatsby-source-workspace/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @manypkg/gatsby-source-workspace

## 0.4.0

### Minor Changes

- [`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.

### Patch Changes

- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
- find-workspaces-root@0.2.0

## 0.3.0

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-source-workspace/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@manypkg/gatsby-source-workspace",
"version": "0.3.0",
"version": "0.4.0",
"peerDependencies": {
"gatsby": "^2.15.28"
},
Expand All @@ -10,7 +10,7 @@
"react-dom": "^16.10.1"
},
"dependencies": {
"find-workspaces-root": "^0.1.0",
"find-workspaces-root": "^0.2.0",
"fs-extra": "^8.1.0",
"get-workspaces": "^0.6.0"
},
Expand Down
7 changes: 7 additions & 0 deletions test-gatsby/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# test-gatsby-thing

## 0.0.4

### Patch Changes

- Updated dependencies [[`0ed3f2b`](https://github.com/Thinkmill/manypkg/commit/0ed3f2b55aa01a33654de28c0e5a4249af9872a3)]:
- @manypkg/gatsby-source-workspace@0.4.0

## 0.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions test-gatsby/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "test-gatsby-thing",
"private": true,
"version": "0.0.3",
"version": "0.0.4",
"dependencies": {
"@manypkg/gatsby-source-workspace": "0.3.0",
"@manypkg/gatsby-source-workspace": "0.4.0",
"@mdx-js/mdx": "^1.5.1",
"@mdx-js/react": "^1.5.1",
"gatsby": "^2.15.28",
Expand Down

0 comments on commit 2dd53fe

Please sign in to comment.