@ark/attest 0.40.0 → 0.41.0
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/out/config.js +1 -1
- package/out/fixtures.js +4 -5
- package/package.json +4 -4
package/out/config.js
CHANGED
|
@@ -98,7 +98,7 @@ const parseTsVersions = (aliases) => {
|
|
|
98
98
|
if (!matching) {
|
|
99
99
|
throw new Error(`Specified TypeScript version ${alias} does not exist.` +
|
|
100
100
|
` It should probably be specified in package.json like:
|
|
101
|
-
"
|
|
101
|
+
"@ark/attest-ts-${alias}": "npm:typescript@latest"`);
|
|
102
102
|
}
|
|
103
103
|
return matching;
|
|
104
104
|
});
|
package/out/fixtures.js
CHANGED
|
@@ -6,11 +6,10 @@ import { analyzeProjectAssertions } from "./cache/writeAssertionCache.js";
|
|
|
6
6
|
import { ensureCacheDirs, getConfig } from "./config.js";
|
|
7
7
|
import { forTypeScriptVersions } from "./tsVersioning.js";
|
|
8
8
|
export const setup = (options) => {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
const config = getConfig();
|
|
9
|
+
const { ...config } = getConfig();
|
|
10
|
+
if (options)
|
|
11
|
+
Object.assign(config, options);
|
|
12
|
+
process.env.ATTEST_CONFIG = JSON.stringify(config);
|
|
14
13
|
rmSync(config.cacheDir, { recursive: true, force: true });
|
|
15
14
|
ensureCacheDirs();
|
|
16
15
|
if (config.skipTypes)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ark/attest",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "David Blass",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@typescript/analyze-trace": "0.10.1",
|
|
37
37
|
"@typescript/vfs": "1.6.0",
|
|
38
38
|
"prettier": "3.4.2",
|
|
39
|
-
"@ark/
|
|
40
|
-
"
|
|
41
|
-
"
|
|
39
|
+
"@ark/fs": "0.37.0",
|
|
40
|
+
"@ark/util": "0.37.0",
|
|
41
|
+
"arktype": "2.0.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"typescript": "5.7.2"
|