@jakubmazanec/carson 2.0.3-unstable.f12d7dc8 → 3.0.0-next.b8a7d242
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.b8a7d242",
|
|
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.b8a7d242",
|
|
36
|
+
"@jakubmazanec/cli": "0.5.0-next.b8a7d242",
|
|
37
|
+
"@jakubmazanec/error": "3.0.12-next.b8a7d242",
|
|
38
|
+
"@jakubmazanec/fs-utils": "0.2.12-next.b8a7d242",
|
|
39
|
+
"@jakubmazanec/template": "2.0.13-next.b8a7d242",
|
|
40
|
+
"@jakubmazanec/ts-utils": "3.0.13-next.b8a7d242",
|
|
41
|
+
"@jakubmazanec/zod-utils": "2.0.12-next.b8a7d242",
|
|
42
42
|
"chalk": "^5.4.1",
|
|
43
43
|
"fast-glob": "^3.3.3",
|
|
44
44
|
"fflate": "^0.8.2",
|
|
@@ -55,11 +55,11 @@
|
|
|
55
55
|
"zod": "^3.24.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@jakubmazanec/eslint-config": "
|
|
58
|
+
"@jakubmazanec/eslint-config": "4.1.6-next.b8a7d242",
|
|
59
59
|
"@types/fs-extra": "^11.0.4",
|
|
60
60
|
"@types/lodash": "^4.17.15",
|
|
61
61
|
"@types/micromatch": "^4.0.9",
|
|
62
|
-
"@types/node": "^22.
|
|
62
|
+
"@types/node": "^22.15.21",
|
|
63
63
|
"@types/react": "^19.0.8",
|
|
64
64
|
"@types/semver": "^7.5.8",
|
|
65
65
|
"@types/zen-observable": "^0.8.7",
|
|
@@ -68,20 +68,20 @@
|
|
|
68
68
|
"del-cli": "^6.0.0",
|
|
69
69
|
"esbuild": "^0.24.2",
|
|
70
70
|
"eslint": "^9.19.0",
|
|
71
|
-
"ink": "^
|
|
71
|
+
"ink": "^6.0.0",
|
|
72
72
|
"react": "^19.0.0",
|
|
73
|
-
"
|
|
73
|
+
"tsx": "^4.19.2",
|
|
74
74
|
"typedoc": "^0.28.4",
|
|
75
75
|
"typedoc-plugin-markdown": "^4.6.3",
|
|
76
76
|
"typescript": "^5.7.3",
|
|
77
77
|
"vitest": "^3.0.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
|
}
|