@jakubmazanec/carson 0.3.0-unstable.d8bf4ea → 0.3.0-unstable.dca66ea

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.
@@ -1,5 +1,3 @@
1
- /**
2
- * Carson template.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=CarsonTemplate.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/template/CarsonTemplate.ts"],"sourcesContent":["import {type Template} from '@jakubmazanec/template';\n\nimport {type CarsonTemplateConfig} from './CarsonTemplateConfig.js';\nimport {type templateAttributesSchema} from './TemplateAttributes.js';\nimport {type templateDataSchema} from './TemplateData.js';\n\n/**\n * Carson template.\n */\nexport type CarsonTemplate = {\n /** Carson template name. */\n name: string;\n\n /** Carson template config. */\n config: CarsonTemplateConfig;\n\n /** Carson template files, actually instances of {@link Template}. */\n files: Array<Template<typeof templateAttributesSchema, typeof templateDataSchema>>;\n};\n"],"names":[],"mappings":"AAMA;;CAEC,GACD,WASE"}
1
+ {"version":3,"sources":["../../src/template/CarsonTemplate.ts"],"sourcesContent":["import {type Template} from '@jakubmazanec/template';\n\nimport {type CarsonTemplateConfig} from './CarsonTemplateConfig.js';\nimport {type templateAttributesSchema} from './TemplateAttributes.js';\nimport {type templateDataSchema} from './TemplateData.js';\n\n/**\n * Carson template.\n */\nexport type CarsonTemplate = {\n /** Carson template name. */\n name: string;\n\n /** Carson template config. */\n config: CarsonTemplateConfig;\n\n /** Carson template files, actually instances of {@link Template}. */\n files: Array<Template<typeof templateAttributesSchema, typeof templateDataSchema>>;\n};\n"],"names":[],"mappings":"AAAA,WAkBE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * A result of rendering a Carson template file.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=TemplateRender.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/template/TemplateRender.ts"],"sourcesContent":["import {type TemplateRender as BaseTemplateRender} from '@jakubmazanec/template';\n\nimport {type templateAttributesSchema} from './TemplateAttributes.js';\nimport {type templateDataSchema} from './TemplateData.js';\n\n/**\n * A result of rendering a Carson template file.\n */\nexport type TemplateRender = BaseTemplateRender<\n typeof templateAttributesSchema,\n typeof templateDataSchema\n> & {\n template: {\n path: string;\n };\n};\n"],"names":[],"mappings":"AAKA;;CAEC,GACD,WAOE"}
1
+ {"version":3,"sources":["../../src/template/TemplateRender.ts"],"sourcesContent":["import {type TemplateRender as BaseTemplateRender} from '@jakubmazanec/template';\n\nimport {type templateAttributesSchema} from './TemplateAttributes.js';\nimport {type templateDataSchema} from './TemplateData.js';\n\n/**\n * A result of rendering a Carson template file.\n */\nexport type TemplateRender = BaseTemplateRender<\n typeof templateAttributesSchema,\n typeof templateDataSchema\n> & {\n template: {\n path: string;\n };\n};\n"],"names":[],"mappings":"AAAA,WAeE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * A {@link TemplateRender} collection.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=TemplateRenders.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/template/TemplateRenders.ts"],"sourcesContent":["import {type TemplateRender} from './TemplateRender.js';\n\n/**\n * A {@link TemplateRender} collection.\n */\nexport type TemplateRenders = TemplateRender[];\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WAA+C"}
1
+ {"version":3,"sources":["../../src/template/TemplateRenders.ts"],"sourcesContent":["import {type TemplateRender} from './TemplateRender.js';\n\n/**\n * A {@link TemplateRender} collection.\n */\nexport type TemplateRenders = TemplateRender[];\n"],"names":[],"mappings":"AAAA,WAK+C"}
@@ -18,6 +18,7 @@ export async function saveTemplateRenderSnapshots(templateRenders, templateRende
18
18
  level: 1,
19
19
  mem: 0
20
20
  }));
21
+ await fs.writeFile(`${templateRenderSnapshotsPath}.json`, JSON.stringify(templateRendersSnapshots, null, 2));
21
22
  }
22
23
 
23
24
  //# sourceMappingURL=saveTemplateRenderSnapshots.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/template/internals/saveTemplateRenderSnapshots.ts"],"sourcesContent":["import {deflateSync, strToU8} from 'fflate';\nimport fs from 'fs-extra';\n\nimport {type TemplateRenderSnapshots} from './TemplateRenderSnapshots.js';\nimport {type TemplateRenders} from '../TemplateRenders.js';\n\nexport async function saveTemplateRenderSnapshots(\n templateRenders: TemplateRenders,\n templateRenderSnapshotsPath: string,\n) {\n let templateRendersSnapshots: TemplateRenderSnapshots = [];\n\n for (let templateRender of templateRenders) {\n if (\n templateRender.attributes.strategy === 'ensure' ||\n templateRender.attributes.strategy === 'overwrite' ||\n templateRender.attributes.strategy === 'merge' ||\n templateRender.attributes.strategy[0] === 'insert'\n ) {\n templateRendersSnapshots.push({\n attributes: {\n to: templateRender.attributes.to,\n strategy: templateRender.attributes.strategy,\n },\n content: templateRender.content,\n template: templateRender.template,\n });\n }\n }\n\n await fs.writeFile(\n templateRenderSnapshotsPath,\n deflateSync(strToU8(JSON.stringify(templateRendersSnapshots)), {level: 1, mem: 0}),\n );\n}\n"],"names":["deflateSync","strToU8","fs","saveTemplateRenderSnapshots","templateRenders","templateRenderSnapshotsPath","templateRendersSnapshots","templateRender","attributes","strategy","push","to","content","template","writeFile","JSON","stringify","level","mem"],"mappings":"AAAA,SAAQA,WAAW,EAAEC,OAAO,QAAO,SAAS;AAC5C,OAAOC,QAAQ,WAAW;AAK1B,OAAO,eAAeC,4BACpBC,eAAgC,EAChCC,2BAAmC;IAEnC,IAAIC,2BAAoD,EAAE;IAE1D,KAAK,IAAIC,kBAAkBH,gBAAiB;QAC1C,IACEG,eAAeC,UAAU,CAACC,QAAQ,KAAK,YACvCF,eAAeC,UAAU,CAACC,QAAQ,KAAK,eACvCF,eAAeC,UAAU,CAACC,QAAQ,KAAK,WACvCF,eAAeC,UAAU,CAACC,QAAQ,CAAC,EAAE,KAAK,UAC1C;YACAH,yBAAyBI,IAAI,CAAC;gBAC5BF,YAAY;oBACVG,IAAIJ,eAAeC,UAAU,CAACG,EAAE;oBAChCF,UAAUF,eAAeC,UAAU,CAACC,QAAQ;gBAC9C;gBACAG,SAASL,eAAeK,OAAO;gBAC/BC,UAAUN,eAAeM,QAAQ;YACnC;QACF;IACF;IAEA,MAAMX,GAAGY,SAAS,CAChBT,6BACAL,YAAYC,QAAQc,KAAKC,SAAS,CAACV,4BAA4B;QAACW,OAAO;QAAGC,KAAK;IAAC;AAEpF"}
1
+ {"version":3,"sources":["../../../src/template/internals/saveTemplateRenderSnapshots.ts"],"sourcesContent":["import {deflateSync, strToU8} from 'fflate';\nimport fs from 'fs-extra';\n\nimport {type TemplateRenderSnapshots} from './TemplateRenderSnapshots.js';\nimport {type TemplateRenders} from '../TemplateRenders.js';\n\nexport async function saveTemplateRenderSnapshots(\n templateRenders: TemplateRenders,\n templateRenderSnapshotsPath: string,\n) {\n let templateRendersSnapshots: TemplateRenderSnapshots = [];\n\n for (let templateRender of templateRenders) {\n if (\n templateRender.attributes.strategy === 'ensure' ||\n templateRender.attributes.strategy === 'overwrite' ||\n templateRender.attributes.strategy === 'merge' ||\n templateRender.attributes.strategy[0] === 'insert'\n ) {\n templateRendersSnapshots.push({\n attributes: {\n to: templateRender.attributes.to,\n strategy: templateRender.attributes.strategy,\n },\n content: templateRender.content,\n template: templateRender.template,\n });\n }\n }\n\n await fs.writeFile(\n templateRenderSnapshotsPath,\n deflateSync(strToU8(JSON.stringify(templateRendersSnapshots)), {level: 1, mem: 0}),\n );\n await fs.writeFile(\n `${templateRenderSnapshotsPath}.json`,\n JSON.stringify(templateRendersSnapshots, null, 2),\n );\n}\n"],"names":["deflateSync","strToU8","fs","saveTemplateRenderSnapshots","templateRenders","templateRenderSnapshotsPath","templateRendersSnapshots","templateRender","attributes","strategy","push","to","content","template","writeFile","JSON","stringify","level","mem"],"mappings":"AAAA,SAAQA,WAAW,EAAEC,OAAO,QAAO,SAAS;AAC5C,OAAOC,QAAQ,WAAW;AAK1B,OAAO,eAAeC,4BACpBC,eAAgC,EAChCC,2BAAmC;IAEnC,IAAIC,2BAAoD,EAAE;IAE1D,KAAK,IAAIC,kBAAkBH,gBAAiB;QAC1C,IACEG,eAAeC,UAAU,CAACC,QAAQ,KAAK,YACvCF,eAAeC,UAAU,CAACC,QAAQ,KAAK,eACvCF,eAAeC,UAAU,CAACC,QAAQ,KAAK,WACvCF,eAAeC,UAAU,CAACC,QAAQ,CAAC,EAAE,KAAK,UAC1C;YACAH,yBAAyBI,IAAI,CAAC;gBAC5BF,YAAY;oBACVG,IAAIJ,eAAeC,UAAU,CAACG,EAAE;oBAChCF,UAAUF,eAAeC,UAAU,CAACC,QAAQ;gBAC9C;gBACAG,SAASL,eAAeK,OAAO;gBAC/BC,UAAUN,eAAeM,QAAQ;YACnC;QACF;IACF;IAEA,MAAMX,GAAGY,SAAS,CAChBT,6BACAL,YAAYC,QAAQc,KAAKC,SAAS,CAACV,4BAA4B;QAACW,OAAO;QAAGC,KAAK;IAAC;IAElF,MAAMhB,GAAGY,SAAS,CAChB,CAAC,EAAET,4BAA4B,KAAK,CAAC,EACrCU,KAAKC,SAAS,CAACV,0BAA0B,MAAM;AAEnD"}
@@ -1,5 +1,3 @@
1
- /**
2
- * {@link Project.create | Project.create} options parameter.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=ProjectCreateOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/ProjectCreateOptions.ts"],"sourcesContent":["import {type Workspace} from './Workspace.js';\n\n/**\n * {@link Project.create | Project.create} options parameter.\n */\nexport type ProjectCreateOptions<M extends boolean> = {\n templateId: string;\n workspace: Workspace<M>;\n projectPath: string;\n projectName: string;\n args: Record<string, unknown>;\n};\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WAME"}
1
+ {"version":3,"sources":["../../src/workspace/ProjectCreateOptions.ts"],"sourcesContent":["import {type Workspace} from './Workspace.js';\n\n/**\n * {@link Project.create | Project.create} options parameter.\n */\nexport type ProjectCreateOptions<M extends boolean> = {\n templateId: string;\n workspace: Workspace<M>;\n projectPath: string;\n projectName: string;\n args: Record<string, unknown>;\n};\n"],"names":[],"mappings":"AAAA,WAWE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * {@link Project.constructor | Project constructor} options parameter.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=ProjectOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/ProjectOptions.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type ProjectConfig} from './ProjectConfig.js';\nimport {type ProjectError} from './ProjectError.js';\nimport {type Workspace} from './Workspace.js';\n\n/**\n * {@link Project.constructor | Project constructor} options parameter.\n */\nexport type ProjectOptions<M extends boolean> = {\n path: string;\n name?: string;\n config?: ProjectConfig;\n packageJson?: PackageJson;\n workspace: Workspace<M>;\n errors?: Array<InstanceType<typeof ProjectError>>;\n};\n"],"names":[],"mappings":"AAMA;;CAEC,GACD,WAOE"}
1
+ {"version":3,"sources":["../../src/workspace/ProjectOptions.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type ProjectConfig} from './ProjectConfig.js';\nimport {type ProjectError} from './ProjectError.js';\nimport {type Workspace} from './Workspace.js';\n\n/**\n * {@link Project.constructor | Project constructor} options parameter.\n */\nexport type ProjectOptions<M extends boolean> = {\n path: string;\n name?: string;\n config?: ProjectConfig;\n packageJson?: PackageJson;\n workspace: Workspace<M>;\n errors?: Array<InstanceType<typeof ProjectError>>;\n};\n"],"names":[],"mappings":"AAAA,WAgBE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * Dependency is an external piece of software (e.g. a package) that is installed in a {@link Workspace | a workspace} and usually required by one or more of its {@link Project | projects}.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=WorkspaceDependency.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/WorkspaceDependency.ts"],"sourcesContent":["import {type WorkspaceDependencyProject} from './WorkspaceDependencyProject.js';\n\n/**\n * Dependency is an external piece of software (e.g. a package) that is installed in a {@link Workspace | a workspace} and usually required by one or more of its {@link Project | projects}.\n */\nexport type WorkspaceDependency = {\n /** Dependency name. */\n name: string;\n\n /** List of SemVer version ranges of the dependency that are installed in the workspace. */\n versions: string[];\n\n /** List of exact versions of the dependency that are installed in the workspace. */\n exactVersions: string[];\n\n /** Collection of projects that require the dependency. */\n projects: WorkspaceDependencyProject[];\n};\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WAYE"}
1
+ {"version":3,"sources":["../../src/workspace/WorkspaceDependency.ts"],"sourcesContent":["import {type WorkspaceDependencyProject} from './WorkspaceDependencyProject.js';\n\n/**\n * Dependency is an external piece of software (e.g. a package) that is installed in a {@link Workspace | a workspace} and usually required by one or more of its {@link Project | projects}.\n */\nexport type WorkspaceDependency = {\n /** Dependency name. */\n name: string;\n\n /** List of SemVer version ranges of the dependency that are installed in the workspace. */\n versions: string[];\n\n /** List of exact versions of the dependency that are installed in the workspace. */\n exactVersions: string[];\n\n /** Collection of projects that require the dependency. */\n projects: WorkspaceDependencyProject[];\n};\n"],"names":[],"mappings":"AAAA,WAiBE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * {@link Workspace.constructor | Workspace constructor} options parameter.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=WorkspaceOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/WorkspaceOptions.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type WorkspaceConfig} from './WorkspaceConfig.js';\nimport {type WorkspaceError} from './WorkspaceError.js';\nimport {type WorkspaceOptionsProject} from './WorkspaceOptionsProject.js';\nimport {type WorkspaceRepository} from './WorkspaceRepository.js';\n\n/**\n * {@link Workspace.constructor | Workspace constructor} options parameter.\n */\nexport type WorkspaceOptions<M extends boolean> = M extends true\n ? {\n path: string;\n isMultiProject?: M;\n projectGlobs?: string[];\n projects?: WorkspaceOptionsProject[];\n config?: WorkspaceConfig;\n packageJson?: PackageJson;\n repository?: WorkspaceRepository;\n errors?: Array<InstanceType<typeof WorkspaceError>>;\n }\n : {\n path: string;\n isMultiProject?: M;\n projects?: [WorkspaceOptionsProject];\n config?: WorkspaceConfig;\n repository?: WorkspaceRepository;\n errors?: Array<InstanceType<typeof WorkspaceError>>;\n };\n"],"names":[],"mappings":"AAOA;;CAEC,GACD,WAkBM"}
1
+ {"version":3,"sources":["../../src/workspace/WorkspaceOptions.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type WorkspaceConfig} from './WorkspaceConfig.js';\nimport {type WorkspaceError} from './WorkspaceError.js';\nimport {type WorkspaceOptionsProject} from './WorkspaceOptionsProject.js';\nimport {type WorkspaceRepository} from './WorkspaceRepository.js';\n\n/**\n * {@link Workspace.constructor | Workspace constructor} options parameter.\n */\nexport type WorkspaceOptions<M extends boolean> = M extends true\n ? {\n path: string;\n isMultiProject?: M;\n projectGlobs?: string[];\n projects?: WorkspaceOptionsProject[];\n config?: WorkspaceConfig;\n packageJson?: PackageJson;\n repository?: WorkspaceRepository;\n errors?: Array<InstanceType<typeof WorkspaceError>>;\n }\n : {\n path: string;\n isMultiProject?: M;\n projects?: [WorkspaceOptionsProject];\n config?: WorkspaceConfig;\n repository?: WorkspaceRepository;\n errors?: Array<InstanceType<typeof WorkspaceError>>;\n };\n"],"names":[],"mappings":"AAAA,WA4BM"}
@@ -1,5 +1,3 @@
1
- /**
2
- * Type alias for {@link WorkspaceOptions.projects | WorkspaceOptions.projects} property.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=WorkspaceOptionsProject.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/WorkspaceOptionsProject.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type ProjectConfig} from './ProjectConfig.js';\n\n/**\n * Type alias for {@link WorkspaceOptions.projects | WorkspaceOptions.projects} property.\n */\nexport type WorkspaceOptionsProject = {\n path: string;\n config?: ProjectConfig;\n packageJson?: PackageJson;\n};\n"],"names":[],"mappings":"AAIA;;CAEC,GACD,WAIE"}
1
+ {"version":3,"sources":["../../src/workspace/WorkspaceOptionsProject.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\nimport {type ProjectConfig} from './ProjectConfig.js';\n\n/**\n * Type alias for {@link WorkspaceOptions.projects | WorkspaceOptions.projects} property.\n */\nexport type WorkspaceOptionsProject = {\n path: string;\n config?: ProjectConfig;\n packageJson?: PackageJson;\n};\n"],"names":[],"mappings":"AAAA,WAWE"}
@@ -1,5 +1,3 @@
1
- /**
2
- * Type alias for {@link Workspace.packageJson | Workspace.packageJson} property.
3
- */ export { };
1
+ export { };
4
2
 
5
3
  //# sourceMappingURL=WorkspacePackageJson.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/WorkspacePackageJson.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\n/**\n * Type alias for {@link Workspace.packageJson | Workspace.packageJson} property.\n */\nexport type WorkspacePackageJson<M extends boolean> = M extends true ? PackageJson : null;\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WAA0F"}
1
+ {"version":3,"sources":["../../src/workspace/WorkspacePackageJson.ts"],"sourcesContent":["import {type PackageJson} from '@jakubmazanec/zod-utils';\n\n/**\n * Type alias for {@link Workspace.packageJson | Workspace.packageJson} property.\n */\nexport type WorkspacePackageJson<M extends boolean> = M extends true ? PackageJson : null;\n"],"names":[],"mappings":"AAAA,WAK0F"}
@@ -1,5 +1,3 @@
1
- /**
2
- * Type alias for {@link Workspace.projects | Workspace.projects} property.
3
- */ export { }; // TODO: should be `M extends true ? Array<Project<M>> : [Project<M>?]`; change when this is fixed: https://github.com/microsoft/TypeScript/issues/54302
1
+ export { }; // TODO: should be `M extends true ? Array<Project<M>> : [Project<M>?]`; change when this is fixed: https://github.com/microsoft/TypeScript/issues/54302
4
2
 
5
3
  //# sourceMappingURL=WorkspaceProjects.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/workspace/WorkspaceProjects.ts"],"sourcesContent":["import {type Project} from './Project.js';\n\n/**\n * Type alias for {@link Workspace.projects | Workspace.projects} property.\n */\nexport type WorkspaceProjects<M extends boolean> = Array<Project<M>>; // TODO: should be `M extends true ? Array<Project<M>> : [Project<M>?]`; change when this is fixed: https://github.com/microsoft/TypeScript/issues/54302\n"],"names":[],"mappings":"AAEA;;CAEC,GACD,WAAqE,CAAC,wJAAwJ"}
1
+ {"version":3,"sources":["../../src/workspace/WorkspaceProjects.ts"],"sourcesContent":["import {type Project} from './Project.js';\n\n/**\n * Type alias for {@link Workspace.projects | Workspace.projects} property.\n */\nexport type WorkspaceProjects<M extends boolean> = Array<Project<M>>; // TODO: should be `M extends true ? Array<Project<M>> : [Project<M>?]`; change when this is fixed: https://github.com/microsoft/TypeScript/issues/54302\n"],"names":[],"mappings":"AAAA,WAKqE,CAAC,wJAAwJ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jakubmazanec/carson",
3
- "version": "0.3.0-unstable.d8bf4ea",
3
+ "version": "0.3.0-unstable.dca66ea",
4
4
  "description": "Tool for managing workspace and project configuration.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --project tsconfig.typecheck.json"
32
32
  },
33
33
  "dependencies": {
34
- "@jakubmazanec/args": "1.0.3-unstable.d8bf4ea",
34
+ "@jakubmazanec/args": "1.0.3-unstable.dca66ea",
35
35
  "@jakubmazanec/cli": "^0.2.0",
36
36
  "@jakubmazanec/error": "^2.0.0",
37
37
  "@jakubmazanec/fs-utils": "^0.1.0",
@@ -32,4 +32,8 @@ export async function saveTemplateRenderSnapshots(
32
32
  templateRenderSnapshotsPath,
33
33
  deflateSync(strToU8(JSON.stringify(templateRendersSnapshots)), {level: 1, mem: 0}),
34
34
  );
35
+ await fs.writeFile(
36
+ `${templateRenderSnapshotsPath}.json`,
37
+ JSON.stringify(templateRendersSnapshots, null, 2),
38
+ );
35
39
  }