@uniformdev/cli 20.49.1 → 20.49.3-alpha.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.49.1",
3
+ "version": "20.49.3-alpha.47+9aed70a64d",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -21,56 +21,54 @@
21
21
  "build": "tsc --noEmit && tsup",
22
22
  "dev": "tsup --watch",
23
23
  "clean": "rimraf dist",
24
- "test": "jest --maxWorkers=1 --passWithNoTests",
25
- "lint": "eslint \"src/**/*.{js,ts,tsx}\"",
24
+ "test": "vitest run",
26
25
  "format": "prettier --write \"src/**/*.{js,ts,tsx}\""
27
26
  },
28
27
  "dependencies": {
29
- "@inquirer/prompts": "^7.10.1",
28
+ "@inquirer/prompts": "^8.5.2",
30
29
  "@thi.ng/mime": "^2.2.23",
31
- "@uniformdev/assets": "20.49.1",
32
- "@uniformdev/canvas": "20.49.1",
33
- "@uniformdev/context": "20.49.1",
34
- "@uniformdev/files": "20.49.1",
35
- "@uniformdev/project-map": "20.49.1",
36
- "@uniformdev/redirect": "20.49.1",
37
- "@uniformdev/richtext": "20.49.1",
30
+ "@uniformdev/assets": "20.49.3-alpha.47+9aed70a64d",
31
+ "@uniformdev/canvas": "20.49.3-alpha.47+9aed70a64d",
32
+ "@uniformdev/context": "20.49.3-alpha.47+9aed70a64d",
33
+ "@uniformdev/files": "20.49.3-alpha.47+9aed70a64d",
34
+ "@uniformdev/project-map": "20.49.3-alpha.47+9aed70a64d",
35
+ "@uniformdev/redirect": "20.49.3-alpha.47+9aed70a64d",
36
+ "@uniformdev/richtext": "20.49.3-alpha.47+9aed70a64d",
38
37
  "call-bind": "^1.0.2",
39
38
  "colorette": "2.0.20",
40
- "cosmiconfig": "9.0.0",
39
+ "cosmiconfig": "9.0.2",
41
40
  "cosmiconfig-typescript-loader": "5.0.0",
42
- "diff": "^5.0.0",
43
- "dotenv": "^16.4.7",
44
- "esbuild": "0.25.0",
41
+ "diff": "^9.0.0",
42
+ "dotenv": "^17.4.2",
43
+ "esbuild": "0.28.1",
45
44
  "execa": "5.1.1",
46
- "file-type": "^20.0.0",
45
+ "file-type": "^22.0.1",
47
46
  "fs-jetpack": "5.1.0",
48
- "graphql": "16.9.0",
49
- "graphql-request": "6.1.0",
50
- "image-size": "^1.2.1",
51
- "isomorphic-git": "1.35.0",
52
- "js-yaml": "^4.1.0",
47
+ "graphql": "17.0.1",
48
+ "graphql-request": "7.4.0",
49
+ "image-size": "2.0.2",
50
+ "isomorphic-git": "1.38.5",
51
+ "js-yaml": "^4.2.0",
53
52
  "jsonwebtoken": "9.0.3",
54
53
  "mitt": "^3.0.1",
55
54
  "normalize-newline": "^4.1.0",
56
- "open": "10.2.0",
57
- "ora": "8.0.1",
55
+ "open": "11.0.0",
56
+ "ora": "9.4.0",
58
57
  "p-queue": "7.3.4",
59
- "posthog-node": "5.10.3",
58
+ "posthog-node": "5.38.2",
60
59
  "registry-auth-token": "^5.0.0",
61
60
  "registry-url": "^6.0.0",
62
- "slugify": "1.6.6",
63
- "svix": "^1.71.0",
64
- "undici": "^7.16.0",
65
- "yargs": "^17.6.2",
66
- "zod": "3.25.76"
61
+ "slugify": "1.6.9",
62
+ "svix": "^1.96.0",
63
+ "undici": "^7.28.0",
64
+ "yargs": "^18.0.0",
65
+ "zod": "4.4.3"
67
66
  },
68
67
  "devDependencies": {
69
- "@types/diff": "5.0.9",
70
68
  "@types/js-yaml": "4.0.9",
71
- "@types/jsonwebtoken": "9.0.5",
72
- "@types/node": "24.3.1",
73
- "@types/yargs": "17.0.32"
69
+ "@types/jsonwebtoken": "9.0.10",
70
+ "@types/node": "26.0.0",
71
+ "@types/yargs": "17.0.35"
74
72
  },
75
73
  "bin": {
76
74
  "uniform": "./cli.js"
@@ -81,5 +79,5 @@
81
79
  "publishConfig": {
82
80
  "access": "public"
83
81
  },
84
- "gitHead": "5ecbefb8d8bf62b69600ebe59ed73a0d466438f5"
82
+ "gitHead": "9aed70a64de0ca177d27ea99dc25f1ad053f87ad"
85
83
  }
@@ -1,44 +0,0 @@
1
- type CLICompositionState = 'preview' | 'published' | number;
2
- type StateArgs = {
3
- state: CLICompositionState;
4
- };
5
-
6
- type SyncMode = 'mirror' | 'createOrUpdate' | 'create';
7
- type EntityTypes = 'aggregate' | 'asset' | 'category' | 'workflow' | 'webhook' | 'component' | 'composition' | 'contentType' | 'dataType' | 'enrichment' | 'entry' | 'entryPattern' | 'locale' | 'componentPattern' | 'compositionPattern' | 'policyDocument' | 'projectMapDefinition' | 'projectMapNode' | 'previewUrl' | 'previewViewport' | 'prompt' | 'quirk' | 'redirect' | 'signal' | 'test';
8
- type SyncFileFormat = 'yaml' | 'json';
9
- type EntityConfiguration = {
10
- mode?: SyncMode;
11
- directory?: string;
12
- format?: SyncFileFormat;
13
- disabled?: true;
14
- };
15
- type EntityWithStateConfiguration = EntityConfiguration & Partial<StateArgs>;
16
- type PublishableEntitiesConfiguration = EntityWithStateConfiguration & {
17
- publish?: boolean;
18
- };
19
- type SerializationEntitiesConfiguration = Record<EntityTypes, {
20
- pull?: EntityConfiguration;
21
- push?: EntityConfiguration;
22
- } & EntityConfiguration> & {
23
- composition?: PublishableEntitiesConfiguration;
24
- componentPattern?: PublishableEntitiesConfiguration;
25
- compositionPattern?: PublishableEntitiesConfiguration;
26
- entry?: PublishableEntitiesConfiguration;
27
- entryPattern?: PublishableEntitiesConfiguration;
28
- };
29
- type SerializationConfiguration = {
30
- entitiesConfig: Partial<SerializationEntitiesConfiguration>;
31
- directory: string;
32
- mode: SyncMode;
33
- allowEmptySource: boolean;
34
- format: SyncFileFormat;
35
- };
36
- type RecursivePartial<T> = {
37
- [P in keyof T]?: RecursivePartial<T[P]>;
38
- };
39
- type UserDefinedSerializationConfiguration = RecursivePartial<SerializationConfiguration>;
40
- type CLIConfiguration = {
41
- serialization: UserDefinedSerializationConfiguration;
42
- };
43
-
44
- export type { CLIConfiguration as C, EntityTypes as E };