innetjs 2.2.11 → 2.2.12

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
@@ -758,9 +758,9 @@ class InnetJS {
758
758
  }
759
759
 
760
760
  if (typeof process === 'undefined') {
761
- process = { env: {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"} };
761
+ process = { env: {"__INNETJS__PACKAGE_VERSION":"2.2.12"} };
762
762
  } else {
763
- Object.assign(process.env, {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"});
763
+ Object.assign(process.env, {"__INNETJS__PACKAGE_VERSION":"2.2.12"});
764
764
  }
765
765
  updateDotenv();
766
766
  const innetJS = new InnetJS();
@@ -768,7 +768,7 @@ const errorOption = new commander.Option('-e, --error', 'Show error details');
768
768
  const releaseOption = new commander.Option('-r, --release <release>', 'Select release type')
769
769
  .choices(['patch', 'minor', 'major']);
770
770
  commander.program
771
- .version(process.env.INNETJS_INNETJS_PACKAGE_VERSION, '-v, --version');
771
+ .version(process.env.__INNETJS__PACKAGE_VERSION, '-v, --version');
772
772
  commander.program
773
773
  .command('init <app-name>')
774
774
  .description('Create innet boilerplate')
package/index.js CHANGED
@@ -71,9 +71,9 @@ var typescript__default = /*#__PURE__*/_interopDefaultLegacy(typescript);
71
71
  var tmp__default = /*#__PURE__*/_interopDefaultLegacy(tmp);
72
72
 
73
73
  if (typeof process === 'undefined') {
74
- process = { env: {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"} };
74
+ process = { env: {"__INNETJS__PACKAGE_VERSION":"2.2.12"} };
75
75
  } else {
76
- Object.assign(process.env, {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"});
76
+ Object.assign(process.env, {"__INNETJS__PACKAGE_VERSION":"2.2.12"});
77
77
  }
78
78
  const livereload = require('rollup-plugin-livereload');
79
79
  const { string } = require('rollup-plugin-string');
package/index.mjs CHANGED
@@ -37,9 +37,9 @@ import { reporter, convertIndexFile, getFile } from './helpers.mjs';
37
37
  import { updateDotenv } from './updateDotenv.mjs';
38
38
 
39
39
  if (typeof process === 'undefined') {
40
- process = { env: {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"} };
40
+ process = { env: {"__INNETJS__PACKAGE_VERSION":"2.2.12"} };
41
41
  } else {
42
- Object.assign(process.env, {"INNETJS_INNETJS_PACKAGE_VERSION":"2.2.11"});
42
+ Object.assign(process.env, {"__INNETJS__PACKAGE_VERSION":"2.2.12"});
43
43
  }
44
44
  const livereload = require('rollup-plugin-livereload');
45
45
  const { string } = require('rollup-plugin-string');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "innetjs",
3
- "version": "2.2.11",
3
+ "version": "2.2.12",
4
4
  "description": "CLI for innet boilerplate",
5
5
  "homepage": "https://github.com/d8corp/innetjs",
6
6
  "author": "Mikhail Lysikov <d8corp@mail.ru>",