@genesislcap/build-kit 14.441.0 → 14.442.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.
@@ -1 +1 @@
1
- {"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../../src/utils/archive.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,EAAE,gBAAY,kBAqBnF,CAAC"}
1
+ {"version":3,"file":"archive.d.ts","sourceRoot":"","sources":["../../src/utils/archive.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,eAAe,GAAU,KAAK,MAAM,EAAE,aAAa,MAAM,EAAE,gBAAY,kBAkBnF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"npm.d.ts","sourceRoot":"","sources":["../../src/utils/npm.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,eAAO,MAAM,UAAU,GAAI,OAAE,EAAE,gBAAuB,QAUrD,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,KAAK,MAAM,EAAE,SAAQ,MAAY,EAAE,OAAO,MAAM,oBAWhF,CAAC;AAEF,eAAO,MAAM,eAAe,GAAU,MAAM,MAAM,KAAG,OAAO,CAAC,WAAW,CAUvE,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAU,gBAAa,KAAG,OAAO,CAAC,WAAW,EAAE,CAM7E,CAAC;AAeJ,eAAO,MAAM,gBAAgB,GAAI,SAAI,EAAE,cAAgB,EAAE,iBAAc,QAqBtE,CAAC;AAGF,eAAO,MAAM,iBAAiB,GAAI,YAAO,QAGxC,CAAC;AAGF,eAAO,MAAM,SAAS,GAAI,KAAK,YAAY;;;;;;;;WAqCjC,CAAL;aACK,CAAN;;;;;;iBAqB2P,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;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AU,KAAK,WAAW,kBAOvD,CAAC;AAoCF,eAAO,MAAM,cAAc,GACzB,KAAK,WAAW,EAChB,YAAY,MAAM,EAClB,SAAS,MAAM,EAAE,EACjB,UAAS,MAAM,EAAqB;UAjC3B,MAAM;QAAM,MAAM;UAAQ,MAAM;GAuC1C,CAAC"}
package/dist/utils/npm.js CHANGED
@@ -23,9 +23,7 @@ const tryRequire = (id, rootDir = process.cwd()) => {
23
23
  };
24
24
  exports.tryRequire = tryRequire;
25
25
  const resolveBin = (bin_1, ...args_1) => tslib_1.__awaiter(void 0, [bin_1, ...args_1], void 0, function* (bin, module = bin, from) {
26
- const modulePath = from
27
- ? require.resolve(module, { paths: [from] })
28
- : require.resolve(module);
26
+ const modulePath = from ? require.resolve(module, { paths: [from] }) : require.resolve(module);
29
27
  const dir = (0, node_path_1.dirname)(yield (0, pkg_types_1.resolvePackageJSON)(modulePath));
30
28
  const json = yield (0, pkg_types_1.readPackageJSON)(modulePath);
31
29
  const path = typeof json.bin === 'string' ? json.bin : json.bin[bin];
@@ -1,7 +1,8 @@
1
+ import type { Question } from 'inquirer';
1
2
  import inquirer from 'inquirer';
2
3
  export declare const runPrompts: (prompts: any, prevAns?: any) => Promise<any>;
3
4
  export declare const validateSeedData: (data: any, validators: any, defaults: any) => any[];
4
- export declare const getPromptDefaults: (prompts: any) => Promise<inquirer.Question<inquirer.Answers>>;
5
- export declare const getPromptValidators: (prompts: any) => Promise<inquirer.Question<inquirer.Answers>>;
5
+ export declare const getPromptDefaults: (prompts: any) => Promise<Question<inquirer.Answers>>;
6
+ export declare const getPromptValidators: (prompts: any) => Promise<Question<inquirer.Answers>>;
6
7
  export declare const getData: (persistedAnswers: any, prompts: any, details: any, defaults: any, validate: any, params: any, dir: any, skipOptionalPrompts: any, seedMeta: any) => Promise<any>;
7
8
  //# sourceMappingURL=prompts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/utils/prompts.ts"],"names":[],"mappings":"AAEA,OAAO,QAAQ,MAAM,UAAU,CAAC;AAIhC,eAAO,MAAM,UAAU,GAAU,SAAS,GAAG,EAAE,UAAS,GAAQ,iBAA+B,CAAC;AAEhG,eAAO,MAAM,gBAAgB,GAAI,SAAI,EAAE,eAAU,EAAE,aAAQ,UAkB1D,CAAC;AAwBF,eAAO,MAAM,iBAAiB,GAAU,YAAO,iDAqB9C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,YAAO,iDAShD,CAAC;AA8CF,eAAO,MAAM,OAAO,GAClB,qBAAgB,EAChB,YAAO,EACP,YAAO,EACP,aAAQ,EACR,aAAQ,EACR,WAAM,EACN,QAAG,EACH,wBAAmB,EACnB,aAAQ,iBAsBT,CAAC"}
1
+ {"version":3,"file":"prompts.d.ts","sourceRoot":"","sources":["../../src/utils/prompts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,QAAQ,MAAM,UAAU,CAAC;AAGhC,eAAO,MAAM,UAAU,GAAU,SAAS,GAAG,EAAE,UAAS,GAAQ,iBAA+B,CAAC;AAEhG,eAAO,MAAM,gBAAgB,GAAI,SAAI,EAAE,eAAU,EAAE,aAAQ,UAkB1D,CAAC;AAwBF,eAAO,MAAM,iBAAiB,GAAU,YAAO,wCAqB9C,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAU,YAAO,wCAShD,CAAC;AA8CF,eAAO,MAAM,OAAO,GAClB,qBAAgB,EAChB,YAAO,EACP,YAAO,EACP,aAAQ,EACR,aAAQ,EACR,WAAM,EACN,QAAG,EACH,wBAAmB,EACnB,aAAQ,iBAsBT,CAAC"}
@@ -38,13 +38,12 @@ exports.convertWsEndpointToHTTP = convertWsEndpointToHTTP;
38
38
  * @public
39
39
  */
40
40
  const createDevProxy = (config) => {
41
- var _a;
42
41
  if (!config.target || !config.path) {
43
42
  return undefined;
44
43
  }
45
44
  const { options, path, target } = config;
46
45
  return {
47
- [path]: Object.assign(Object.assign({ target, secure: false, changeOrigin: true, cookieDomainRewrite: 'localhost', ws: true }, (options !== null && options !== void 0 ? options : {})), { headers: Object.assign({ origin: target }, ((_a = options === null || options === void 0 ? void 0 : options.headers) !== null && _a !== void 0 ? _a : {})) }),
46
+ [path]: Object.assign(Object.assign({ target, secure: false, changeOrigin: true, cookieDomainRewrite: 'localhost', ws: true }, options), { headers: Object.assign({ origin: target }, options === null || options === void 0 ? void 0 : options.headers) }),
48
47
  };
49
48
  };
50
49
  exports.createDevProxy = createDevProxy;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/build-kit",
3
3
  "description": "Build utilities & types",
4
- "version": "14.441.0",
4
+ "version": "14.442.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -14,8 +14,8 @@
14
14
  "clean": "rimraf dist temp tsconfig.tsbuildinfo",
15
15
  "dev": "tsc -b ./tsconfig.json -w",
16
16
  "test": "uvu -r tsx/cjs -r ../uvu-playwright-builder/config/jsdom.setup.ts . 'test.ts' --i dist --i coverage",
17
- "lint": "genx lint --profile",
18
- "lint:fix": "genx lint --fix"
17
+ "lint": "genx lint -l ox",
18
+ "lint:fix": "genx lint -l ox --fix"
19
19
  },
20
20
  "dependencies": {
21
21
  "chalk": "^4.1.2",
@@ -38,7 +38,7 @@
38
38
  "unparse-args": "^1.2.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@genesislcap/foundation-testing": "14.441.0",
41
+ "@genesislcap/foundation-testing": "14.442.0",
42
42
  "@types/http-proxy": "^1.17.8",
43
43
  "@types/node": "^22.10.2",
44
44
  "tsx": "^4.7.0",
@@ -52,5 +52,5 @@
52
52
  "publishConfig": {
53
53
  "access": "public"
54
54
  },
55
- "gitHead": "7aa35983955df48854be7f8e1ea6d56eff71c3b5"
55
+ "gitHead": "ad425e4ea17dad7d5b580200f2ca31758896d07f"
56
56
  }