@jakubmazanec/carson 2.0.3-unstable.f12d7dc8 → 3.0.0-next.30c183a3
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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const templateRenderSnapshotSchema: z.ZodObject<{
|
|
3
|
-
attributes: z.ZodObject<
|
|
3
|
+
attributes: z.ZodObject<Pick<{
|
|
4
4
|
extends: z.ZodOptional<z.ZodString>;
|
|
5
5
|
to: z.ZodString;
|
|
6
6
|
if: z.ZodOptional<z.ZodString>;
|
|
7
7
|
variables: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
8
|
-
}, "to"
|
|
8
|
+
}, "to"> & {
|
|
9
9
|
strategy: z.ZodUnion<[z.ZodLiteral<"create">, z.ZodLiteral<"ensure">, z.ZodLiteral<"overwrite">, z.ZodLiteral<"merge">, z.ZodLiteral<"check">, z.ZodTuple<[z.ZodLiteral<"insert">, z.ZodString], null>]>;
|
|
10
|
-
}
|
|
10
|
+
}, "strict", z.ZodTypeAny, {
|
|
11
11
|
strategy: "create" | "ensure" | "overwrite" | "merge" | "check" | ["insert", string];
|
|
12
12
|
to: string;
|
|
13
13
|
}, {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type z } from 'zod';
|
|
2
2
|
export declare const templateRenderSnapshotsSchema: z.ZodArray<z.ZodObject<{
|
|
3
|
-
attributes: z.ZodObject<
|
|
3
|
+
attributes: z.ZodObject<Pick<{
|
|
4
4
|
extends: z.ZodOptional<z.ZodString>;
|
|
5
5
|
to: z.ZodString;
|
|
6
6
|
if: z.ZodOptional<z.ZodString>;
|
|
7
7
|
variables: z.ZodOptional<z.ZodUnion<[z.ZodRecord<z.ZodString, z.ZodUnknown>, z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">]>>;
|
|
8
|
-
}, "to"
|
|
8
|
+
}, "to"> & {
|
|
9
9
|
strategy: z.ZodUnion<[z.ZodLiteral<"create">, z.ZodLiteral<"ensure">, z.ZodLiteral<"overwrite">, z.ZodLiteral<"merge">, z.ZodLiteral<"check">, z.ZodTuple<[z.ZodLiteral<"insert">, z.ZodString], null>]>;
|
|
10
|
-
}
|
|
10
|
+
}, "strict", z.ZodTypeAny, {
|
|
11
11
|
strategy: "create" | "ensure" | "overwrite" | "merge" | "check" | ["insert", string];
|
|
12
12
|
to: string;
|
|
13
13
|
}, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jakubmazanec/carson",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-next.30c183a3",
|
|
4
4
|
"description": "Tool for managing workspace and project configuration.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,24 +21,24 @@
|
|
|
21
21
|
"source"
|
|
22
22
|
],
|
|
23
23
|
"scripts": {
|
|
24
|
-
"build": "del-cli build tsconfig.tsbuildinfo && esbuild \"source/**/*\" --platform=node --target=
|
|
24
|
+
"build": "del-cli build tsconfig.tsbuildinfo && esbuild \"source/**/*\" --platform=node --target=node24.1 --outdir=build --sourcemap && tsc",
|
|
25
25
|
"clean": "del-cli coverage build *.tsbuildinfo",
|
|
26
|
-
"develop": "concurrently \"esbuild \"source/**/*\" --platform=node --target=
|
|
26
|
+
"develop": "concurrently \"esbuild \"source/**/*\" --platform=node --target=node24.1 --outdir=build --sourcemap --watch\" \"tsc --watch\"",
|
|
27
27
|
"document": "del-cli docs && typedoc --options typedoc.config.cjs",
|
|
28
28
|
"format": "prettier . --write --ignore-unknown",
|
|
29
29
|
"lint": "eslint .",
|
|
30
|
-
"start": "
|
|
30
|
+
"start": "tsx source/run.ts",
|
|
31
31
|
"test": "del-cli coverage && vitest run --coverage --passWithNoTests",
|
|
32
32
|
"typecheck": "tsc --project tsconfig.typecheck.json"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@jakubmazanec/args": "2.0.12-
|
|
36
|
-
"@jakubmazanec/cli": "0.
|
|
37
|
-
"@jakubmazanec/error": "3.0.12-
|
|
38
|
-
"@jakubmazanec/fs-utils": "0.2.12-
|
|
39
|
-
"@jakubmazanec/template": "2.0.13-
|
|
40
|
-
"@jakubmazanec/ts-utils": "3.0.13-
|
|
41
|
-
"@jakubmazanec/zod-utils": "2.0.12-
|
|
35
|
+
"@jakubmazanec/args": "2.0.12-next.30c183a3",
|
|
36
|
+
"@jakubmazanec/cli": "0.5.0-next.30c183a3",
|
|
37
|
+
"@jakubmazanec/error": "3.0.12-next.30c183a3",
|
|
38
|
+
"@jakubmazanec/fs-utils": "0.2.12-next.30c183a3",
|
|
39
|
+
"@jakubmazanec/template": "2.0.13-next.30c183a3",
|
|
40
|
+
"@jakubmazanec/ts-utils": "3.0.13-next.30c183a3",
|
|
41
|
+
"@jakubmazanec/zod-utils": "2.0.12-next.30c183a3",
|
|
42
42
|
"chalk": "^5.4.1",
|
|
43
43
|
"fast-glob": "^3.3.3",
|
|
44
44
|
"fflate": "^0.8.2",
|
|
@@ -46,42 +46,42 @@
|
|
|
46
46
|
"json5": "^2.2.3",
|
|
47
47
|
"lodash": "^4.17.21",
|
|
48
48
|
"micromatch": "^4.0.8",
|
|
49
|
-
"prettier": "^3.
|
|
50
|
-
"prettier-plugin-packagejson": "^2.5.
|
|
51
|
-
"semver": "^7.7.
|
|
52
|
-
"simple-git": "^3.
|
|
53
|
-
"yaml": "^2.
|
|
49
|
+
"prettier": "^3.6.0",
|
|
50
|
+
"prettier-plugin-packagejson": "^2.5.15",
|
|
51
|
+
"semver": "^7.7.2",
|
|
52
|
+
"simple-git": "^3.28.0",
|
|
53
|
+
"yaml": "^2.8.0",
|
|
54
54
|
"zen-observable": "^0.10.0",
|
|
55
|
-
"zod": "^3.
|
|
55
|
+
"zod": "^3.25.67"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@jakubmazanec/eslint-config": "
|
|
58
|
+
"@jakubmazanec/eslint-config": "4.1.6-next.30c183a3",
|
|
59
59
|
"@types/fs-extra": "^11.0.4",
|
|
60
|
-
"@types/lodash": "^4.17.
|
|
60
|
+
"@types/lodash": "^4.17.18",
|
|
61
61
|
"@types/micromatch": "^4.0.9",
|
|
62
|
-
"@types/node": "^22.
|
|
63
|
-
"@types/react": "^19.
|
|
64
|
-
"@types/semver": "^7.
|
|
62
|
+
"@types/node": "^22.15.21",
|
|
63
|
+
"@types/react": "^19.1.8",
|
|
64
|
+
"@types/semver": "^7.7.0",
|
|
65
65
|
"@types/zen-observable": "^0.8.7",
|
|
66
|
-
"@vitest/coverage-v8": "^3.
|
|
67
|
-
"concurrently": "^9.
|
|
66
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
67
|
+
"concurrently": "^9.2.0",
|
|
68
68
|
"del-cli": "^6.0.0",
|
|
69
|
-
"esbuild": "^0.
|
|
70
|
-
"eslint": "^9.
|
|
71
|
-
"ink": "^
|
|
72
|
-
"react": "^19.
|
|
73
|
-
"
|
|
74
|
-
"typedoc": "^0.28.
|
|
75
|
-
"typedoc-plugin-markdown": "^4.
|
|
76
|
-
"typescript": "^5.
|
|
77
|
-
"vitest": "^3.
|
|
69
|
+
"esbuild": "^0.25.5",
|
|
70
|
+
"eslint": "^9.29.0",
|
|
71
|
+
"ink": "^6.0.0",
|
|
72
|
+
"react": "^19.1.0",
|
|
73
|
+
"tsx": "^4.20.3",
|
|
74
|
+
"typedoc": "^0.28.5",
|
|
75
|
+
"typedoc-plugin-markdown": "^4.7.0",
|
|
76
|
+
"typescript": "^5.8.3",
|
|
77
|
+
"vitest": "^3.2.4"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"ink": "
|
|
80
|
+
"ink": "6.x",
|
|
81
81
|
"react": "19.x"
|
|
82
82
|
},
|
|
83
|
-
"packageManager": "npm@
|
|
83
|
+
"packageManager": "npm@11.3.0",
|
|
84
84
|
"engines": {
|
|
85
|
-
"node": "^
|
|
85
|
+
"node": "^24.1.0"
|
|
86
86
|
}
|
|
87
87
|
}
|