@jakubmazanec/carson 1.4.0-unstable.58dfcffc → 1.4.0-unstable.94e5efa7
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/build/template/internals/TemplateRenderSnapshot.d.ts +1 -1
- package/build/template/internals/TemplateRenderSnapshot.js +1 -1
- package/build/template/internals/TemplateRenderSnapshot.js.map +2 -2
- package/build/template/internals/TemplateRenderSnapshots.d.ts +1 -1
- package/package.json +3 -3
- package/source/template/internals/TemplateRenderSnapshot.ts +4 -6
|
@@ -15,7 +15,7 @@ export declare const templateRenderSnapshotSchema: z.ZodObject<{
|
|
|
15
15
|
to: string;
|
|
16
16
|
}>;
|
|
17
17
|
content: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, "
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
attributes: {
|
|
20
20
|
strategy: "create" | "ensure" | "overwrite" | "merge" | "check" | ["insert", string];
|
|
21
21
|
to: string;
|
|
@@ -5,5 +5,5 @@ import { templateAttributesSchema } from "../TemplateAttributes.js";
|
|
|
5
5
|
export const templateRenderSnapshotSchema = z.object({
|
|
6
6
|
attributes: baseTemplateAttributesSchema.pick({ to: true }).merge(templateAttributesSchema),
|
|
7
7
|
content: z.string().optional()
|
|
8
|
-
})
|
|
8
|
+
});
|
|
9
9
|
//# sourceMappingURL=TemplateRenderSnapshot.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../source/template/internals/TemplateRenderSnapshot.ts"],
|
|
4
|
-
"sourcesContent": ["import {templateAttributesSchema as baseTemplateAttributesSchema} from '@jakubmazanec/template';\nimport {z} from 'zod';\n\nimport {templateAttributesSchema} from '../TemplateAttributes.js';\n\nexport const templateRenderSnapshotSchema = z
|
|
5
|
-
"mappings": ";AAAA,SAAQ,4BAA4B,oCAAmC;AACvE,SAAQ,SAAQ;AAEhB,SAAQ,gCAA+B;AAEhC,aAAM,+BAA+B,
|
|
4
|
+
"sourcesContent": ["import {templateAttributesSchema as baseTemplateAttributesSchema} from '@jakubmazanec/template';\nimport {z} from 'zod';\n\nimport {templateAttributesSchema} from '../TemplateAttributes.js';\n\nexport const templateRenderSnapshotSchema = z.object({\n attributes: baseTemplateAttributesSchema.pick({to: true}).merge(templateAttributesSchema),\n content: z.string().optional(),\n});\n\nexport type TemplateRenderSnapshot = z.infer<typeof templateRenderSnapshotSchema>;\n"],
|
|
5
|
+
"mappings": ";AAAA,SAAQ,4BAA4B,oCAAmC;AACvE,SAAQ,SAAQ;AAEhB,SAAQ,gCAA+B;AAEhC,aAAM,+BAA+B,EAAE,OAAO;AAAA,EACnD,YAAY,6BAA6B,KAAK,EAAC,IAAI,KAAI,CAAC,EAAE,MAAM,wBAAwB;AAAA,EACxF,SAAS,EAAE,OAAO,EAAE,SAAS;AAC/B,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -15,7 +15,7 @@ export declare const templateRenderSnapshotsSchema: z.ZodArray<z.ZodObject<{
|
|
|
15
15
|
to: string;
|
|
16
16
|
}>;
|
|
17
17
|
content: z.ZodOptional<z.ZodString>;
|
|
18
|
-
}, "
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
attributes: {
|
|
20
20
|
strategy: "create" | "ensure" | "overwrite" | "merge" | "check" | ["insert", string];
|
|
21
21
|
to: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jakubmazanec/carson",
|
|
3
|
-
"version": "1.4.0-unstable.
|
|
3
|
+
"version": "1.4.0-unstable.94e5efa7",
|
|
4
4
|
"description": "Tool for managing workspace and project configuration.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,10 +33,10 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@jakubmazanec/args": "^2.0.0",
|
|
36
|
-
"@jakubmazanec/cli": "0.3.9-unstable.
|
|
36
|
+
"@jakubmazanec/cli": "0.3.9-unstable.94e5efa7",
|
|
37
37
|
"@jakubmazanec/error": "^3.0.0",
|
|
38
38
|
"@jakubmazanec/fs-utils": "^0.2.0",
|
|
39
|
-
"@jakubmazanec/template": "2.0.10-unstable.
|
|
39
|
+
"@jakubmazanec/template": "2.0.10-unstable.94e5efa7",
|
|
40
40
|
"@jakubmazanec/ts-utils": "^3.0.0",
|
|
41
41
|
"@jakubmazanec/zod-utils": "^2.0.0",
|
|
42
42
|
"chalk": "^5.4.1",
|
|
@@ -3,11 +3,9 @@ import {z} from 'zod';
|
|
|
3
3
|
|
|
4
4
|
import {templateAttributesSchema} from '../TemplateAttributes.js';
|
|
5
5
|
|
|
6
|
-
export const templateRenderSnapshotSchema = z
|
|
7
|
-
.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
})
|
|
11
|
-
.strict();
|
|
6
|
+
export const templateRenderSnapshotSchema = z.object({
|
|
7
|
+
attributes: baseTemplateAttributesSchema.pick({to: true}).merge(templateAttributesSchema),
|
|
8
|
+
content: z.string().optional(),
|
|
9
|
+
});
|
|
12
10
|
|
|
13
11
|
export type TemplateRenderSnapshot = z.infer<typeof templateRenderSnapshotSchema>;
|