@genesislcap/build-kit 14.160.1 → 14.162.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/README.md CHANGED
@@ -31,9 +31,30 @@ import { getDevCertOptions } from '@genesislcap/build-kit';
31
31
 
32
32
  Please follow the [Development-SSL-Certificate](https://www.notion.so/genesisglobal/Development-SSL-Certificates-30cfd42948674d0db511d04c1adb59db) guide to complete local machine setup.
33
33
 
34
+
35
+ ## Installation
36
+
37
+ To enable this module in your application, follow the steps below.
38
+
39
+ 1. Add `@genesislcap/build-kit` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
40
+
41
+ ```json
42
+ {
43
+ ...
44
+ "dependencies": {
45
+ ...
46
+ "@genesislcap/build-kit": "latest"
47
+ ...
48
+ },
49
+ ...
50
+ }
51
+ ```
52
+
53
+ ## [API Docs](./docs/api/index.md)
54
+
34
55
  ## License
35
56
 
36
- Note: this project provides front end dependencies and uses licensed components listed in the next section, thus licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
57
+ Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
37
58
 
38
59
  ### Licensed components
39
60
  Genesis low-code platform
@@ -1 +1 @@
1
- {"version":3,"file":"seed.setup.d.ts","sourceRoot":"","sources":["../../src/utils/seed.setup.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,qDAmC3B,CAAC;AAGF,eAAO,MAAM,gBAAgB,iGAMnB,OAAO,kBA0ChB,CAAC"}
1
+ {"version":3,"file":"seed.setup.d.ts","sourceRoot":"","sources":["../../src/utils/seed.setup.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,eAAe,qDAmC3B,CAAC;AAGF,eAAO,MAAM,gBAAgB,iGAMnB,OAAO,kBA2ChB,CAAC"}
@@ -4,6 +4,7 @@ exports.configureSeedApp = exports.installSeedDeps = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const node_fs_1 = require("node:fs");
6
6
  const node_path_1 = require("node:path");
7
+ const changeCase = tslib_1.__importStar(require("change-case"));
7
8
  const consola_1 = require("consola");
8
9
  const child_process_1 = require("./child-process");
9
10
  const fs_1 = require("./fs");
@@ -59,6 +60,7 @@ const configureSeedApp = (seedInfo, fetchSeedResult, params, dir, skipOptionalPr
59
60
  replaceObjectKeys: object_1.replaceObjectKeys,
60
61
  listAllFiles: fs_1.listAllFiles,
61
62
  rename: fs_1.rename,
63
+ changeCase,
62
64
  };
63
65
  // run seed configure script
64
66
  yield configure(data, utils).catch((e) => consola_1.consola.error(e));
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.160.1",
4
+ "version": "14.162.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "devDependencies": {
38
38
  "@esbuild-kit/cjs-loader": "2.4.2",
39
- "@genesislcap/foundation-testing": "14.160.1",
39
+ "@genesislcap/foundation-testing": "14.162.0",
40
40
  "@types/http-proxy": "^1.17.8",
41
41
  "@types/node": "^20.8.7",
42
42
  "tsm": "^2.2.1",
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "598e3599570a21709dfdc8e47adf5c77e5feff80"
54
+ "gitHead": "874e7ee403e4cfab01c6fb2542ae3264c7202831"
55
55
  }
@@ -1,5 +1,6 @@
1
1
  import { cpSync } from 'node:fs';
2
2
  import { resolve } from 'node:path';
3
+ import * as changeCase from 'change-case';
3
4
  import { consola } from 'consola';
4
5
  import { runAsync } from './child-process';
5
6
  import { listAllFiles, rename, rm } from './fs';
@@ -82,6 +83,7 @@ export const configureSeedApp = async (
82
83
  replaceObjectKeys,
83
84
  listAllFiles,
84
85
  rename,
86
+ changeCase,
85
87
  };
86
88
 
87
89
  // run seed configure script
@@ -0,0 +1,26 @@
1
+ ## Installation
2
+
3
+ To enable this module in your application, follow the steps below.
4
+
5
+ 1. Add `mock-seed` as a dependency in your `package.json` file. Whenever you change the dependencies of your project, ensure you run the `$ npm run bootstrap` command again. You can find more information in the [package.json basics](https://learn.genesis.global/secure/web/basics/package-json-basics/) page.
6
+
7
+ ```json
8
+ {
9
+ ...
10
+ "dependencies": {
11
+ ...
12
+ "mock-seed": "latest"
13
+ ...
14
+ },
15
+ ...
16
+ }
17
+ ```
18
+
19
+ ## [API Docs](./docs/api/index.md)
20
+
21
+ ## License
22
+
23
+ Note: this project provides front-end dependencies and uses licensed components listed in the next section; thus, licenses for those components are required during development. Contact [Genesis Global](https://genesis.global/contact-us/) for more details.
24
+
25
+ ### Licensed components
26
+ Genesis low-code platform