@ankhorage/devtools 1.11.1 → 1.11.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/README.md
CHANGED
|
@@ -296,8 +296,8 @@ The canonical Bun policy is defined once in devtools and consumed by both packag
|
|
|
296
296
|
<!-- devtools-bun-policy:start -->
|
|
297
297
|
|
|
298
298
|
```text
|
|
299
|
-
Bun runtime 1.4.
|
|
300
|
-
packageManager bun@1.4.
|
|
299
|
+
Bun runtime 1.4.2
|
|
300
|
+
packageManager bun@1.4.2
|
|
301
301
|
@types/bun ^1.4.1
|
|
302
302
|
```
|
|
303
303
|
|
|
@@ -85,9 +85,14 @@ async function readTargetBunPolicyAsync(targetDirectory) {
|
|
|
85
85
|
if (version === undefined) {
|
|
86
86
|
throw new Error('Expected exactly one canonical BUN_VERSION literal in the target policy.');
|
|
87
87
|
}
|
|
88
|
+
const typesMatches = [...contents.matchAll(BUN_TYPES_VERSION_PATTERN)];
|
|
89
|
+
const typesVersion = typesMatches.length === 1 ? typesMatches[0]?.[1] : undefined;
|
|
90
|
+
if (typesVersion === undefined) {
|
|
91
|
+
throw new Error('Expected exactly one canonical BUN_TYPES_VERSION literal in the target policy.');
|
|
92
|
+
}
|
|
88
93
|
return {
|
|
89
94
|
packageManager: `bun@${version}`,
|
|
90
|
-
typesRange: `^${
|
|
95
|
+
typesRange: `^${typesVersion}`,
|
|
91
96
|
version,
|
|
92
97
|
};
|
|
93
98
|
}
|
|
@@ -150,5 +155,6 @@ async function syncDefinitionsAsync(targetDirectory, definitions) {
|
|
|
150
155
|
}
|
|
151
156
|
}
|
|
152
157
|
const BUN_VERSION_PATTERN = /const BUN_VERSION = '(\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?)';/gu;
|
|
158
|
+
const BUN_TYPES_VERSION_PATTERN = /const BUN_TYPES_VERSION = '(\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?)';/gu;
|
|
153
159
|
const README_POLICY_END = '<!-- devtools-bun-policy:end -->';
|
|
154
160
|
const README_POLICY_START = '<!-- devtools-bun-policy:start -->';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const bunRuntimePolicy: {
|
|
2
|
-
readonly packageManager: "bun@1.4.
|
|
2
|
+
readonly packageManager: "bun@1.4.2";
|
|
3
3
|
readonly typesRange: "^1.4.1";
|
|
4
|
-
readonly version: "1.4.
|
|
4
|
+
readonly version: "1.4.2";
|
|
5
5
|
};
|
|
6
6
|
/**
|
|
7
7
|
* Canonical Node LTS baseline for Node-based Ankhorage tooling and CI execution.
|
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
* Import these from `@ankhorage/devtools/policy` when another package needs to inspect
|
|
5
5
|
* the managed Bun or Node baseline without defining an independent version authority.
|
|
6
6
|
*/
|
|
7
|
-
const BUN_VERSION = '1.4.
|
|
7
|
+
const BUN_VERSION = '1.4.2';
|
|
8
|
+
const BUN_TYPES_VERSION = '1.4.1';
|
|
8
9
|
export const bunRuntimePolicy = {
|
|
9
10
|
packageManager: `bun@${BUN_VERSION}`,
|
|
10
|
-
typesRange: `^${
|
|
11
|
+
typesRange: `^${BUN_TYPES_VERSION}`,
|
|
11
12
|
version: BUN_VERSION,
|
|
12
13
|
};
|
|
13
14
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ankhorage/devtools",
|
|
3
|
-
"version": "1.11.
|
|
3
|
+
"version": "1.11.2",
|
|
4
4
|
"description": "Shared development tools and repository standards for Ankhorage",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/ankhorage/devtools#readme",
|
|
@@ -124,11 +124,11 @@
|
|
|
124
124
|
"typescript-eslint": "^8.69.0"
|
|
125
125
|
},
|
|
126
126
|
"devDependencies": {
|
|
127
|
-
"@ankhorage/ankh": "^0.8.
|
|
127
|
+
"@ankhorage/ankh": "^0.8.11",
|
|
128
128
|
"@ankhorage/doctor": "0.10.7",
|
|
129
129
|
"@types/bun": "^1.4.1",
|
|
130
130
|
"@types/node": "^26.4.1",
|
|
131
131
|
"typescript": "~6.0.3"
|
|
132
132
|
},
|
|
133
|
-
"packageManager": "bun@1.4.
|
|
133
|
+
"packageManager": "bun@1.4.2"
|
|
134
134
|
}
|