innetjs 2.2.24 → 2.3.0

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/bin/innet CHANGED
@@ -764,7 +764,7 @@ class InnetJS {
764
764
  }
765
765
 
766
766
  (function () {
767
- const env = {"__INNETJS__PACKAGE_VERSION":"2.2.24"};
767
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.3.0"};
768
768
  if (typeof process === 'undefined') {
769
769
  globalThis.process = { env: env };
770
770
  } else if (process.env) {
@@ -776,8 +776,6 @@ class InnetJS {
776
776
  updateDotenv();
777
777
  const innetJS = new InnetJS();
778
778
  const errorOption = new commander.Option('-e, --error', 'Show error details');
779
- const releaseOption = new commander.Option('-r, --release <release>', 'Select release type')
780
- .choices(['patch', 'minor', 'major']);
781
779
  commander.program
782
780
  .version(process.env.__INNETJS__PACKAGE_VERSION, '-v, --version');
783
781
  commander.program
@@ -838,7 +836,6 @@ commander.program
838
836
  .description('Release new version of your library')
839
837
  .option('-i, --index <index>', 'Root index file name', 'index')
840
838
  .option('-p, --public', 'Public the package')
841
- .addOption(releaseOption)
842
839
  .addOption(errorOption)
843
840
  .action(({ error, index, public: pub }) => {
844
841
  innetJS.release({ index, pub }).catch(e => {
package/index.js CHANGED
@@ -73,7 +73,7 @@ var typescript__default = /*#__PURE__*/_interopDefaultLegacy(typescript);
73
73
  var tmp__default = /*#__PURE__*/_interopDefaultLegacy(tmp);
74
74
 
75
75
  (function () {
76
- const env = {"__INNETJS__PACKAGE_VERSION":"2.2.24"};
76
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.3.0"};
77
77
  if (typeof process === 'undefined') {
78
78
  globalThis.process = { env: env };
79
79
  } else if (process.env) {
package/index.mjs CHANGED
@@ -38,7 +38,7 @@ import { reporter, convertIndexFile, getFile } from './helpers.mjs';
38
38
  import { updateDotenv } from './updateDotenv.mjs';
39
39
 
40
40
  (function () {
41
- const env = {"__INNETJS__PACKAGE_VERSION":"2.2.24"};
41
+ const env = {"__INNETJS__PACKAGE_VERSION":"2.3.0"};
42
42
  if (typeof process === 'undefined') {
43
43
  globalThis.process = { env: env };
44
44
  } else if (process.env) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.2.24",
3
+ "version": "2.3.0",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",