@genesislcap/genx 14.226.0 → 14.226.1

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.
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const build_kit_1 = require("@genesislcap/build-kit");
5
- exports.default = (...args_1) => tslib_1.__awaiter(void 0, [...args_1], void 0, function* (paths = ['dist']) {
5
+ exports.default = (paths = ['dist']) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
6
6
  yield (0, build_kit_1.rm)(paths);
7
7
  });
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const build_kit_1 = require("@genesislcap/build-kit");
5
5
  const utils_1 = require("../utils");
6
- exports.default = (...args_1) => tslib_1.__awaiter(void 0, [...args_1], void 0, function* (dir = process.cwd(), options, env, command) {
6
+ exports.default = (dir = process.cwd(), options, env, command) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
7
7
  (0, build_kit_1.setNodeEnv)(env);
8
8
  const ctx = yield (0, build_kit_1.loadBuildContext)(dir, command, options);
9
9
  (0, build_kit_1.setEnvVars)(ctx);
@@ -34,7 +34,7 @@ const getOptions = (options) => {
34
34
  scope: options.scope,
35
35
  };
36
36
  };
37
- exports.default = (dir_1, cliOptions_1, ...args_1) => tslib_1.__awaiter(void 0, [dir_1, cliOptions_1, ...args_1], void 0, function* (dir, cliOptions, command = build_kit_1.COMMAND.INIT) {
37
+ exports.default = (dir, cliOptions, command = build_kit_1.COMMAND.INIT) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
38
38
  const options = getOptions(cliOptions);
39
39
  yield (0, build_kit_1.runSeedCommand)(dir, options, command);
40
40
  });
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const node_path_1 = require("node:path");
5
5
  const utils_1 = require("../utils");
6
- exports.default = (...args_1) => tslib_1.__awaiter(void 0, [...args_1], void 0, function* (path = 'dist', options = {}) {
6
+ exports.default = (path = 'dist', options = {}) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
7
7
  var _a;
8
8
  let pkgPort;
9
9
  try {
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  const build_kit_1 = require("@genesislcap/build-kit");
5
5
  const consola_1 = tslib_1.__importDefault(require("consola"));
6
- exports.default = (...args_1) => tslib_1.__awaiter(void 0, [...args_1], void 0, function* (dir = process.cwd(), options) {
6
+ exports.default = (dir = process.cwd(), options) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
7
7
  const ctx = yield (0, build_kit_1.loadBuildContext)(dir, build_kit_1.COMMAND.UPGRADE, options);
8
8
  const pkg = (0, build_kit_1.getRawPkg)(ctx);
9
9
  const { respectVersionRanges, exclude = '' } = options;
package/dist/index.js CHANGED
@@ -122,7 +122,7 @@ cli
122
122
  .option('--no-scope', 'Do not apply default NPM scope for this seed module')
123
123
  .option('-l, --log-level [level]', 'info (default) or verbose')
124
124
  .allowUnknownOptions()
125
- .action((...args_1) => tslib_1.__awaiter(void 0, [...args_1], void 0, function* (app = '.', options) {
125
+ .action((app = '.', options) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
126
126
  const action = yield commands_1.commands.runSeedCommand();
127
127
  action(app, options, build_kit_1.COMMAND.ADD);
128
128
  })).example(`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/genx",
3
3
  "description": "Genx CLI",
4
- "version": "14.226.0",
4
+ "version": "14.226.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "engines": {
7
7
  "node": ">=20.0.0"
@@ -16,20 +16,20 @@
16
16
  },
17
17
  "devDependencies": {
18
18
  "rimraf": "^5.0.0",
19
- "typescript": "5.4.2"
19
+ "typescript": "^4.9.5"
20
20
  },
21
21
  "dependencies": {
22
- "@genesislcap/build-kit": "14.226.0",
23
- "@genesislcap/eslint-stylelint-builder": "14.226.0",
24
- "@genesislcap/rollup-builder": "14.226.0",
25
- "@genesislcap/ts-builder": "14.226.0",
26
- "@genesislcap/uvu-playwright-builder": "14.226.0",
27
- "@genesislcap/vite-builder": "14.226.0",
28
- "@genesislcap/webpack-builder": "14.226.0",
22
+ "@genesislcap/build-kit": "14.226.1",
23
+ "@genesislcap/eslint-stylelint-builder": "14.226.1",
24
+ "@genesislcap/rollup-builder": "14.226.1",
25
+ "@genesislcap/ts-builder": "14.226.1",
26
+ "@genesislcap/uvu-playwright-builder": "14.226.1",
27
+ "@genesislcap/vite-builder": "14.226.1",
28
+ "@genesislcap/webpack-builder": "14.226.1",
29
29
  "cac": "^6.7.14",
30
30
  "consola": "^3.0.2",
31
31
  "serve-handler": "^6.1.5",
32
- "tslib": "2.8.1"
32
+ "tslib": "^2.3.1"
33
33
  },
34
34
  "repository": {
35
35
  "type": "git",
@@ -39,5 +39,5 @@
39
39
  "publishConfig": {
40
40
  "access": "public"
41
41
  },
42
- "gitHead": "92b4d205bf702945dbed4e9c998c4fd000d99e4b"
42
+ "gitHead": "e691c1741d135edca5271f338f62df8154efb99c"
43
43
  }