aranea-sdk-cli 0.3.13 → 0.3.14

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.
@@ -734,8 +734,8 @@ exports.schemaCommand
734
734
  console.log(chalk_1.default.gray('Remove --dry-run to actually promote'));
735
735
  return;
736
736
  }
737
- // Confirmation step
738
- if (!options.confirm) {
737
+ // Confirmation step (skip if --confirm or --force)
738
+ if (!options.confirm && !options.force) {
739
739
  console.log(chalk_1.default.red('This will promote the schema to PRODUCTION state.'));
740
740
  console.log(chalk_1.default.red('Existing devices using this schema type will be affected.'));
741
741
  console.log('');
@@ -1031,8 +1031,8 @@ exports.schemaCommand
1031
1031
  console.log(chalk_1.default.gray('Remove --dry-run to actually rollback'));
1032
1032
  return;
1033
1033
  }
1034
- // Confirmation step
1035
- if (!options.confirm) {
1034
+ // Confirmation step (skip if --confirm or --force)
1035
+ if (!options.confirm && !options.force) {
1036
1036
  console.log(chalk_1.default.red('This will rollback the schema to a previous version.'));
1037
1037
  console.log(chalk_1.default.red('The current version will be saved in history.'));
1038
1038
  console.log('');
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ const program = new commander_1.Command();
28
28
  program
29
29
  .name('aranea-sdk')
30
30
  .description('AraneaSDK CLI - デバイス開発支援ツール')
31
- .version('0.3.13');
31
+ .version('0.3.14');
32
32
  // test コマンド
33
33
  program.addCommand(test_1.testCommand);
34
34
  // simulate コマンド
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aranea-sdk-cli",
3
- "version": "0.3.13",
3
+ "version": "0.3.14",
4
4
  "description": "AraneaSDK CLI - ESP32 IoTデバイス開発支援ツール",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",