@jakubmazanec/carson 2.0.3-unstable.f12d7dc8 → 3.0.0-unstable.493ee7cb

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
@@ -37,7 +37,7 @@ npm install @jakubmazanec/carson @jakubmazanec/carson-templates -g
37
37
 
38
38
  #### Prerequisites
39
39
 
40
- - Node.js 22 or later
40
+ - Node.js 24 or later
41
41
  - TypeScript 5 or later
42
42
  <!-- prerequisites -->
43
43
 
@@ -1,13 +1,13 @@
1
1
  import { z } from 'zod';
2
2
  export declare const templateRenderSnapshotSchema: z.ZodObject<{
3
- attributes: z.ZodObject<z.objectUtil.extendShape<Pick<{
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
- }>, "strict", z.ZodTypeAny, {
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<z.objectUtil.extendShape<Pick<{
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
- }>, "strict", z.ZodTypeAny, {
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": "2.0.3-unstable.f12d7dc8",
3
+ "version": "3.0.0-unstable.493ee7cb",
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=node22.13 --outdir=build --sourcemap && tsc",
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=node22.13 --outdir=build --sourcemap --watch\" \"tsc --watch\"",
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": "node --loader ts-node/esm/transpile-only --inspect src/run.ts",
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-unstable.f12d7dc8",
36
- "@jakubmazanec/cli": "0.4.3-unstable.f12d7dc8",
37
- "@jakubmazanec/error": "3.0.12-unstable.f12d7dc8",
38
- "@jakubmazanec/fs-utils": "0.2.12-unstable.f12d7dc8",
39
- "@jakubmazanec/template": "2.0.13-unstable.f12d7dc8",
40
- "@jakubmazanec/ts-utils": "3.0.13-unstable.f12d7dc8",
41
- "@jakubmazanec/zod-utils": "2.0.12-unstable.f12d7dc8",
35
+ "@jakubmazanec/args": "2.0.12-unstable.493ee7cb",
36
+ "@jakubmazanec/cli": "0.5.0-unstable.493ee7cb",
37
+ "@jakubmazanec/error": "3.0.12-unstable.493ee7cb",
38
+ "@jakubmazanec/fs-utils": "0.2.12-unstable.493ee7cb",
39
+ "@jakubmazanec/template": "2.0.13-unstable.493ee7cb",
40
+ "@jakubmazanec/ts-utils": "3.0.13-unstable.493ee7cb",
41
+ "@jakubmazanec/zod-utils": "2.0.12-unstable.493ee7cb",
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": "^4.1.0",
58
+ "@jakubmazanec/eslint-config": "4.1.6-unstable.493ee7cb",
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.10.7",
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": "^5.1.0",
71
+ "ink": "^6.0.0",
72
72
  "react": "^19.0.0",
73
- "ts-node": "^10.9.2",
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": "5.x",
80
+ "ink": "6.x",
81
81
  "react": "19.x"
82
82
  },
83
- "packageManager": "npm@10.9.0",
83
+ "packageManager": "npm@11.3.0",
84
84
  "engines": {
85
- "node": "^22.13.0"
85
+ "node": "^24.1.0"
86
86
  }
87
87
  }