build-strap 6.0.0 → 6.0.1
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 +2 -2
- package/package.json +2 -2
- package/src/docker.container.js +1 -1
- package/src/orbstack.d.ts +1 -1
- package/src/orbstack.js +5 -5
package/README.md
CHANGED
|
@@ -32,8 +32,8 @@ By default, the build tools read project-specific configuration from your `packa
|
|
|
32
32
|
"name": "your-project-name",
|
|
33
33
|
"version": "1.2.3",
|
|
34
34
|
"buildStrap": {
|
|
35
|
-
"nodeVersion": "
|
|
36
|
-
"yarnVersion": "1.22.
|
|
35
|
+
"nodeVersion": "24.18.0",
|
|
36
|
+
"yarnVersion": "1.22.22",
|
|
37
37
|
"repoType": "git",
|
|
38
38
|
"copyright": "your company",
|
|
39
39
|
"mainBranch": "main",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "build-strap",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Node scripts for building things",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Justin Murray <justin@murrayju.com>",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"main": "./src/index.js",
|
|
13
13
|
"types": "./src/index.d.ts",
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
15
|
+
"node": ">=24"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"bytes": "^3.1.1",
|
package/src/docker.container.js
CHANGED
package/src/orbstack.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SpawnOptions, SpawnResult } from './cp';
|
|
1
|
+
import { SpawnOptions, SpawnResult } from './cp.js';
|
|
2
2
|
export declare const ensureOrbStackInstalled: (options?: SpawnOptions) => Promise<SpawnResult | null>;
|
|
3
3
|
export declare const ensureOrbStackRunning: (timeoutSeconds?: number) => Promise<void>;
|
|
4
4
|
export declare const ensureOrbStackConfigured: (desiredConfig?: null | Record<string, unknown>) => Promise<void>;
|
package/src/orbstack.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import fs from 'fs-extra';
|
|
2
2
|
import os from 'os';
|
|
3
3
|
import path from 'path';
|
|
4
|
-
import { brew } from './brew';
|
|
5
|
-
import { spawn } from './cp';
|
|
6
|
-
import { dockerIsRunning } from './docker';
|
|
7
|
-
import { cmdExists, isMac } from './env';
|
|
8
|
-
import { buildLog } from './run';
|
|
4
|
+
import { brew } from './brew.js';
|
|
5
|
+
import { spawn } from './cp.js';
|
|
6
|
+
import { dockerIsRunning } from './docker.js';
|
|
7
|
+
import { cmdExists, isMac } from './env.js';
|
|
8
|
+
import { buildLog } from './run.js';
|
|
9
9
|
export const ensureOrbStackInstalled = async (options) => {
|
|
10
10
|
if (!isMac()) {
|
|
11
11
|
throw new Error('OrbStack is only supported on macOS');
|