@notation/factory-cli 0.1.0 → 0.1.2

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/bin/factory.ts CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env bun
2
2
  import { infraDown, infraUp } from "../commands/infra.ts";
3
3
  import { repoInstall, repoStatus } from "../commands/repo.ts";
4
4
 
package/commands/infra.ts CHANGED
@@ -10,10 +10,12 @@ const hubDir = () => {
10
10
  return dir;
11
11
  };
12
12
 
13
+ // The packages ship TypeScript, which Node won't strip from files under
14
+ // node_modules, so Notation runs on bun.
13
15
  const notation = async (args: string) => {
14
16
  const dir = hubDir();
15
17
  const { loadEnv } = await loadConfig(dir);
16
- await shell(`${loadEnv ? `${loadEnv} ` : ""}npx notation ${args} --pretty`, dir);
18
+ await shell(`${loadEnv ? `${loadEnv} ` : ""}bun x --bun notation ${args} --pretty`, dir);
17
19
  };
18
20
 
19
21
  /** Deploys the hub. Deploy also syncs each connection with the router. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@notation/factory-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "author": "Daniel Grant",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@notation/resource": "0.28.0",
24
- "@notation/factory-github": "0.1.0"
24
+ "@notation/factory-github": "0.1.2"
25
25
  }
26
26
  }