bun-workspaces 1.0.0-alpha → 1.0.1-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  This is a CLI meant to help manage [Bun workspaces](https://bun.sh/docs/install/workspaces).
4
4
 
5
- This was created primarily due to issues and limitations with Bun's `--filter` option for running commands from workspaces.
6
-
7
5
  ## Installation
8
6
 
9
7
  You can install the CLI in your project or simply use `bunx bun-workspaces`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bun-workspaces",
3
- "version": "1.0.0-alpha",
3
+ "version": "1.0.1-alpha",
4
4
  "main": "src/index.ts",
5
5
  "homepage": "https://github.com/ScottMorse/bun-workspaces#readme",
6
6
  "bin": {
@@ -15,7 +15,6 @@
15
15
  "scripts": {
16
16
  "cli": "bun run bin/cli.js",
17
17
  "cli:dev": "_BW_RUNTIME_MODE=development bun run bin/cli.js",
18
- "test": "_BW_RUNTIME_MODE=test bun run bin/cli.js",
19
18
  "type-check": "tsc --noEmit",
20
19
  "lint": "eslint .",
21
20
  "format": "prettier --write .",
@@ -143,7 +143,7 @@ const workspaceInfo = ({ program, project }: ProjectCommandsContext) => {
143
143
  `Command: Workspace info for ${workspaceName} (options: ${JSON.stringify(options)})`,
144
144
  );
145
145
 
146
- const workspace = project.findWorkspaceByName(workspaceName);
146
+ const workspace = project.findWorkspaceByNameOrAlias(workspaceName);
147
147
  if (!workspace) {
148
148
  logger.error(
149
149
  `Workspace not found: (options: ${JSON.stringify(workspaceName)})`,