@uniformdev/cli 20.46.0 → 20.46.1-alpha.9

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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -0
  2. package/package.json +9 -9
package/dist/index.mjs CHANGED
@@ -3577,6 +3577,11 @@ function createComponentDefinitionEngineDataSource({
3577
3577
  await client.removeComponentDefinition({ componentId: providerId });
3578
3578
  },
3579
3579
  writeObject: async (object4) => {
3580
+ if (object4.object.parameters === void 0) {
3581
+ console.warn(
3582
+ `Component definition parameters property set to undefined is ignored. If you want to remove all parameters, set it to an empty array instead (id: ${object4.object.id})`
3583
+ );
3584
+ }
3580
3585
  await client.updateComponentDefinition({
3581
3586
  componentDefinition: object4.object
3582
3587
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/cli",
3
- "version": "20.46.0",
3
+ "version": "20.46.1-alpha.9+14b25be438",
4
4
  "description": "Uniform command line interface tool",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./cli.js",
@@ -28,13 +28,13 @@
28
28
  "dependencies": {
29
29
  "@inquirer/prompts": "^7.10.1",
30
30
  "@thi.ng/mime": "^2.2.23",
31
- "@uniformdev/assets": "20.46.0",
32
- "@uniformdev/canvas": "20.46.0",
33
- "@uniformdev/context": "20.46.0",
34
- "@uniformdev/files": "20.46.0",
35
- "@uniformdev/project-map": "20.46.0",
36
- "@uniformdev/redirect": "20.46.0",
37
- "@uniformdev/richtext": "20.46.0",
31
+ "@uniformdev/assets": "20.46.1-alpha.9+14b25be438",
32
+ "@uniformdev/canvas": "20.46.1-alpha.9+14b25be438",
33
+ "@uniformdev/context": "20.46.1-alpha.9+14b25be438",
34
+ "@uniformdev/files": "20.46.1-alpha.9+14b25be438",
35
+ "@uniformdev/project-map": "20.46.1-alpha.9+14b25be438",
36
+ "@uniformdev/redirect": "20.46.1-alpha.9+14b25be438",
37
+ "@uniformdev/richtext": "20.46.1-alpha.9+14b25be438",
38
38
  "call-bind": "^1.0.2",
39
39
  "colorette": "2.0.20",
40
40
  "cosmiconfig": "9.0.0",
@@ -81,5 +81,5 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "a28087762e91360d73750aeeab47537f8c26fd4f"
84
+ "gitHead": "14b25be4388a016175906a6c7dcfeae9e3055acd"
85
85
  }