storyblok 4.22.2 → 4.22.4

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": "storyblok",
3
- "version": "4.22.2",
3
+ "version": "4.22.4",
4
4
  "description": "Storyblok CLI",
5
5
  "keywords": [
6
6
  "cli",
@@ -31,8 +31,14 @@
31
31
  "import": "./dist/index.mjs"
32
32
  },
33
33
  "./config": {
34
- "types": "./dist/config/index.d.mts",
35
- "import": "./dist/config/index.mjs"
34
+ "import": {
35
+ "types": "./dist/config/index.d.mts",
36
+ "default": "./dist/config/index.mjs"
37
+ },
38
+ "require": {
39
+ "types": "./dist/config/index.d.cts",
40
+ "default": "./dist/config/index.cjs"
41
+ }
36
42
  }
37
43
  },
38
44
  "dependencies": {
@@ -54,11 +60,11 @@
54
60
  "open": "^10.1.2",
55
61
  "pathe": "^2.0.3",
56
62
  "read-package-up": "^11.0.0",
57
- "@storyblok/js": "6.3.1",
58
- "@storyblok/management-api-client": "0.7.1",
59
- "@storyblok/region-helper": "1.5.0",
60
- "@storyblok/schema": "0.4.0",
61
- "storyblok-js-client": "7.7.4"
63
+ "@storyblok/js": "^6.3.2",
64
+ "@storyblok/management-api-client": "^0.7.3",
65
+ "@storyblok/region-helper": "^1.5.0",
66
+ "@storyblok/schema": "^0.4.1",
67
+ "storyblok-js-client": "^7.7.6"
62
68
  },
63
69
  "devDependencies": {
64
70
  "@release-it/conventional-changelog": "10.0.0",
@@ -1,149 +0,0 @@
1
- import "@storyblok/management-api-client";
2
- //#region src/types/index.d.ts
3
- /**
4
- * Interface representing the default options for a CLI command.
5
- */
6
- interface CommandOptions {
7
- /**
8
- * Indicates whether verbose output is enabled.
9
- */
10
- verbose: boolean;
11
- }
12
- //#endregion
13
- //#region src/commands/components/pull/constants.d.ts
14
- /**
15
- * Interface representing the options for the `components pull` command.
16
- */
17
- interface PullComponentsOptions extends CommandOptions {
18
- /**
19
- * The filename to save the file as.
20
- * Defaults to `components`. The file will be saved as `<filename>.<space>.json`.
21
- * @default `components
22
- */
23
- filename?: string;
24
- /**
25
- * The suffix to add to the filename.
26
- * Defaults to the space ID.
27
- * @default space
28
- */
29
- suffix?: string;
30
- /**
31
- * Indicates whether to save each component to a separate file.
32
- * @default false
33
- */
34
- separateFiles?: boolean;
35
- /**
36
- * Glob pattern to select components by name. Matching components and their dependencies
37
- * (assigned groups with ancestors, tags, presets, and schema-whitelisted groups/tags) are pulled.
38
- */
39
- filter?: string;
40
- /**
41
- * Component group name(s) or `Parent/Child` path(s) to select. Includes descendant groups.
42
- * Repeatable; multiple values match any of the given groups.
43
- */
44
- group?: string[];
45
- /**
46
- * Component tag name(s) to select. Repeatable and comma-separated; multiple values match any.
47
- */
48
- tag?: string[];
49
- }
50
- //#endregion
51
- //#region src/commands/components/push/constants.d.ts
52
- interface PushComponentsOptions extends CommandOptions {
53
- /**
54
- * The glob pattern filter to apply to components before pushing.
55
- * Matching components and all their dependencies (groups, tags, other components)
56
- * will be collected and pushed together.
57
- * @default `.*`
58
- */
59
- filter?: string;
60
- /**
61
- * Indicates whether to save each component to a separate file.
62
- * @default false
63
- */
64
- separateFiles?: boolean;
65
- /**
66
- * The source space id.
67
- */
68
- from?: string;
69
- /**
70
- * Suffix to add to the component name.
71
- */
72
- suffix?: string;
73
- /**
74
- * Component group name(s) or `Parent/Child` path(s) to select from local files. Includes descendants.
75
- * Repeatable; multiple values match any of the given groups.
76
- */
77
- group?: string[];
78
- /**
79
- * Component tag name(s) to select from local files. Repeatable and comma-separated; multiple values match any.
80
- */
81
- tag?: string[];
82
- }
83
- //#endregion
84
- //#region src/commands/datasources/pull/constants.d.ts
85
- /**
86
- * Interface representing the options for the `datasources pull` command.
87
- */
88
- interface PullDatasourcesOptions extends CommandOptions {
89
- /**
90
- * The filename to save the file as.
91
- * Defaults to `DEFAULT_DATASOURCES_FILENAME`. The file will be saved as `<filename>.<space>.json`.
92
- * @default DEFAULT_DATASOURCES_FILENAME
93
- */
94
- filename?: string;
95
- /**
96
- * The suffix to add to the filename.
97
- * Defaults to the space ID.
98
- * @default space
99
- */
100
- suffix?: string;
101
- /**
102
- * Indicates whether to save each datasource to a separate file.
103
- * @default false
104
- */
105
- separateFiles?: boolean;
106
- }
107
- //#endregion
108
- //#region src/commands/datasources/push/constants.d.ts
109
- interface PushDatasourcesOptions extends CommandOptions {
110
- /**
111
- * The glob pattern filter to apply to datasources before pushing.
112
- * @default `.*`
113
- */
114
- filter?: string;
115
- /**
116
- * Indicates whether to save each component to a separate file.
117
- * @default false
118
- */
119
- separateFiles?: boolean;
120
- /**
121
- * The source space id.
122
- */
123
- from?: string;
124
- /**
125
- * Suffix to add to the component name.
126
- */
127
- suffix?: string;
128
- }
129
- //#endregion
130
- //#region src/commands/migrations/generate/constants.d.ts
131
- interface MigrationsGenerateOptions extends CommandOptions {
132
- suffix?: string;
133
- }
134
- //#endregion
135
- //#region src/commands/migrations/run/constants.d.ts
136
- interface MigrationsRunOptions extends CommandOptions {
137
- dryRun?: boolean;
138
- filter?: string;
139
- /**
140
- * The source space id to read migration files from.
141
- */
142
- from?: string;
143
- query?: string;
144
- startsWith?: string;
145
- publish?: "all" | "published" | "published-with-changes";
146
- }
147
- //#endregion
148
- export { PushComponentsOptions as a, PullDatasourcesOptions as i, MigrationsGenerateOptions as n, PullComponentsOptions as o, PushDatasourcesOptions as r, CommandOptions as s, MigrationsRunOptions as t };
149
- //# sourceMappingURL=constants-FGOZXcwP.d.mts.map