@genesislcap/foundation-cli 14.436.0-FUI-2489.4 → 14.436.0-FUI-2489.7
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/dist/plop/actions/component.js +1 -1
- package/dist/plop/actions/fileSystem.d.ts.map +1 -1
- package/dist/plop/actions/git.d.ts.map +1 -1
- package/dist/plop/actions/seed.d.ts.map +1 -1
- package/dist/plop/generators/app/create.d.ts.map +1 -1
- package/dist/plop/generators/designSystem/designSystem.d.ts.map +1 -1
- package/dist/plop/generators/designSystem/designSystem.js +1 -1
- package/dist/plop/generators/designSystem/switchDesignSystem.d.ts +1 -1
- package/dist/plop/generators/designSystem/switchDesignSystem.d.ts.map +1 -1
- package/dist/plop/generators/dslApp/create.d.ts.map +1 -1
- package/dist/plop/generators/workspace/create.d.ts.map +1 -1
- package/dist/plop/launcher.js +1 -1
- package/dist/plop/messages/version.js +1 -1
- package/dist/plop/normalizers/index.d.ts.map +1 -1
- package/dist/plop/tasks/entitlements.d.ts.map +1 -1
- package/dist/plop/tasks/seed.d.ts +1 -1
- package/dist/plop/tasks/seed.d.ts.map +1 -1
- package/dist/plop/templates/design-system/utils/index.ts +1 -1
- package/dist/task-runtime/task.js +1 -1
- package/dist/utils/fetch.d.ts +1 -1
- package/dist/utils/fetch.d.ts.map +1 -1
- package/dist/utils/utils.d.ts.map +1 -1
- package/dist/utils/utils.js +2 -2
- package/package.json +7 -5
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getAddComponentActions = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
5
|
const change_case_1 = require("change-case");
|
|
6
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
7
|
const utils_1 = require("../../utils");
|
|
8
8
|
const getAddComponentActions = (data) => {
|
|
9
9
|
let actions = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fileSystem.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/fileSystem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fileSystem.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/fileSystem.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAGrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAIzC,oBAAY,oBAAoB;IAC9B,eAAe,qBAAqB;IACpC,UAAU,gBAAgB;IAC1B,cAAc,oBAAoB;CACnC;AAED,yBAAiB,sBAAsB,CAAC;IACtC,UAAiB,eAAgB,SAAQ,YAAY;QACnD,IAAI,SAAS,IAAI,MAAM,CAAC;KACzB;IACD,UAAiB,UAAW,SAAQ,YAAY;QAC9C,IAAI,KAAK,IAAI,MAAM,EAAE,CAAC;QACtB,IAAI,SAAS,IAAI,MAAM,CAAC;KACzB;IACD,UAAiB,cAAe,SAAQ,YAAY;QAClD,IAAI,QAAQ,IAAI,MAAM,CAAC;QACvB,IAAI,WAAW,IAAI,MAAM,CAAC;QAC1B,IAAI,YAAY,IAAI,MAAM,CAAC;KAC5B;CACF;AAED,yBAAiB,iBAAiB,CAAC;IACjC;;;;;;OAMG;IACI,MAAM,SAAS,GAAI,MAAM,oBAAoB,EAAE,MAAM,MAAM,SAKjE,CAAC;IACF;;;;;OAKG;IACI,MAAM,QAAQ,GAAI,MAAM,oBAAoB,WAKlD,CAAC;IACF;;;;;OAKG;IACI,MAAM,eAAe,GAAI,WAAW,MAAM,SAKhD,CAAC;IACF;;;;;;;;OAQG;IACI,MAAM,uBAAuB,GAAU,QAAQ,MAAM,EAAE,aAAa,MAAM,kBAUhF,CAAC;IACF;;;;;;;OAOG;IACI,MAAM,UAAU,GAAI,GAAG,OAAO,MAAM,EAAE,KAAG,MAE/C,CAAC;IACF;;;;;;;OAOG;IACI,MAAM,cAAc,GAAI,UAAU,MAAM,EAAE,aAAa,MAAM,EAAE,cAAc,MAAM,SAazF,CAAC;IAEF,KAAY,iBAAiB,GAAG;QAC9B,aAAa,EAAE,MAAM,EAAE,CAAC;QACxB,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;KAC1B,CAAC;IACK,MAAM,wBAAwB,EAAE,iBAEtC,CAAC;IACF;;;;;;;;OAQG;IACI,MAAM,YAAY,GAAI,WAAW,MAAM,EAAE,2BAAkC,aAcjF,CAAC;CACH;AAED;;;;;GAKG;AACH,eAAO,MAAM,cAAc,GAAI,MAAM,WAAW,SAuB/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/git.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/git.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAG/C,oBAAY,aAAa;IACvB,KAAK,yBAAyB;CAC/B;AAED,yBAAiB,eAAe,CAAC;IAC/B,UAAiB,KAAM,SAAQ,YAAY;QACzC,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,gBAAgB,CAAC;KACxB;CACF;AAED,yBAAiB,UAAU,CAAC;IACnB,MAAM,KAAK,GAAU,WAAW,MAAM,EAAE,MAAM,gBAAgB,kBA+DpE,CAAC;CACH;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,WAAW,SAS/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../../src/plop/actions/seed.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../../src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OAAO;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,kBAAkB,EAAE,MAAM,CAAC;QAC3B,aAAa,EAAE,MAAM,CAAC;QACtB,WAAW,EAAE,MAAM,CAAC;QACpB,eAAe,EAAE,MAAM,CAAC;QACxB,cAAc,EAAE,OAAO,CAAC;KACzB;IACM,MAAM,UAAU,GAAU,WAAW,MAAM,EAAE,SAAS,OAAO,kBAoCnE,CAAC;CACH;AAED,eAAO,MAAM,cAAc,GAAI,MAAM,WAAW,SA2E/C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/app/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/app/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAyBhD,eAAO,MAAM,kBAAkB,EAAE,mBA+DhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"designSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/designSystem.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"designSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/designSystem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAsBrD,eAAO,MAAM,qBAAqB,EAAE,mBAoYnC,CAAC"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.designSystemGenerator = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
5
|
const change_case_1 = require("change-case");
|
|
6
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
7
|
const utils_1 = require("../../../utils");
|
|
8
8
|
const messages_1 = require("../../messages");
|
|
9
9
|
exports.designSystemGenerator = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodePlopAPI } from 'node-plop';
|
|
2
1
|
import type { PlopGeneratorConfig } from 'node-plop';
|
|
2
|
+
import { NodePlopAPI } from 'node-plop';
|
|
3
3
|
export declare const switchDesignSystemDescription = "Switch all design system prefixes found in files under the target directory to a new prefix, ie. templates, css rules, markdown etc.";
|
|
4
4
|
export declare const switchDesignSystemGenerator: PlopGeneratorConfig;
|
|
5
5
|
export declare const getSwitchDesignSystemGenerator: (plop: NodePlopAPI, bypassArr: any) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switchDesignSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/switchDesignSystem.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"switchDesignSystem.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/designSystem/switchDesignSystem.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAoCxC,eAAO,MAAM,6BAA6B,yIAC8F,CAAC;AAEzI,eAAO,MAAM,2BAA2B,EAAE,mBAuFzC,CAAC;AAEF,eAAO,MAAM,8BAA8B,GAAI,MAAM,WAAW,EAAE,cAAS;;;CAQzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/dslApp/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/dslApp/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAyBhD,eAAO,MAAM,qBAAqB,EAAE,mBAqDnC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/workspace/create.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../../src/plop/generators/workspace/create.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAyBhD,eAAO,MAAM,wBAAwB,EAAE,mBAyDtC,CAAC"}
|
package/dist/plop/launcher.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.launcher = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const path_1 = require("path");
|
|
6
5
|
const node_plop_1 = tslib_1.__importDefault(require("node-plop"));
|
|
6
|
+
const path_1 = require("path");
|
|
7
7
|
const plop_1 = require("plop");
|
|
8
8
|
const argv_1 = require("../argv");
|
|
9
9
|
const run = (env) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.genXVersion = exports.foundationVersion = void 0;
|
|
4
|
+
const { version } = require('../../../package.json');
|
|
4
5
|
const color_1 = require("./color");
|
|
5
6
|
const format_1 = require("./format");
|
|
6
|
-
const { version } = require('../../../package.json');
|
|
7
7
|
const V = `V${format_1.Format.strong(version)}`;
|
|
8
8
|
const foundationVersion = () => color_1.Text.secondary(`Genesis Foundation CLI ${V}`);
|
|
9
9
|
exports.foundationVersion = foundationVersion;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plop/normalizers/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plop/normalizers/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGpC,OAAO,EAA+C,WAAW,EAAE,MAAM,aAAa,CAAC;AAIvF,eAAO,MAAM,cAAc,GAAU,OAAO,WAAW,EAAE,KAAG,OAAO,CAAC,WAAW,EAAE,CAI5E,CAAC;AAEN,eAAO,MAAM,uBAAuB,GAClC,UAAU,QAAQ,EAClB,MAAM,WAAW,KAChB,OAAO,CAAC,WAAW,CA2BrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../../src/plop/tasks/entitlements.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../../src/plop/tasks/entitlements.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIrE,eAAO,MAAM,oBAAoB,GAC/B,YAAW,SAAwC,EACnD,YAAW,MAAuC,EAClD,gBAAe,SAA8C,KAC5D,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAW1B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RemoteSeedSource, SeedSources } from '../../seeds';
|
|
2
1
|
import type { BinCmdKey, SeedListType, TokenType } from '../../types';
|
|
2
|
+
import { RemoteSeedSource, SeedSources } from '../../seeds';
|
|
3
3
|
import { Response } from '../../utils';
|
|
4
4
|
export declare const downloadSeedList: (type?: SeedListType, binCmdKey?: BinCmdKey, authToken?: string, authTokenType?: TokenType) => Promise<SeedSources[]>;
|
|
5
5
|
export declare const downloadSeed: (seed: RemoteSeedSource, authToken?: string, authTokenType?: TokenType) => Promise<Response>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../../src/plop/tasks/seed.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"seed.d.ts","sourceRoot":"","sources":["../../../src/plop/tasks/seed.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACtE,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE5D,OAAO,EAIL,QAAQ,EAET,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,gBAAgB,GAC3B,OAAM,YAAqB,EAC3B,YAAW,SAAwC,EACnD,YAAW,MAAuC,EAClD,gBAAe,SAA8C,KAC5D,OAAO,CAAC,WAAW,EAAE,CAWvB,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,MAAM,gBAAgB,EACtB,YAAW,MAAuC,EAClD,gBAAe,SAA8C,KAC5D,OAAO,CAAC,QAAQ,CAWlB,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,MAAM,gBAAgB,EACtB,QAAQ,MAAM,CAAC,cAAc,EAC7B,WAAW,MAAM,KAChB,OAAO,CAAC,IAAI,CA0Bd,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
1
2
|
import { parseColorHexRGB } from '@microsoft/fast-colors';
|
|
2
3
|
import { PaletteRGB, SwatchRGB } from '@microsoft/fast-components';
|
|
3
|
-
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
4
4
|
|
|
5
5
|
export const paletteFromHex = (hexColor: string) =>
|
|
6
6
|
PaletteRGB.from(SwatchRGB.from(parseColorHexRGB(hexColor)));
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Task = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
+
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
5
6
|
const child_process_1 = require("child_process");
|
|
6
7
|
const fs_1 = require("fs");
|
|
7
8
|
const path_1 = require("path");
|
|
8
9
|
const util_1 = require("util");
|
|
9
|
-
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
10
10
|
const logging_1 = require("./logging");
|
|
11
11
|
const ENV_TRIM_LEN = 20;
|
|
12
12
|
class Task {
|
package/dist/utils/fetch.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { RequestInit, Response } from 'node-fetch';
|
|
1
2
|
import http from 'http';
|
|
2
3
|
import https from 'https';
|
|
3
|
-
import type { RequestInit, Response } from 'node-fetch';
|
|
4
4
|
import fetch from 'node-fetch';
|
|
5
5
|
import { ContentType, TokenType } from '../types';
|
|
6
6
|
export declare const httpAgent: http.Agent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/utils/fetch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../../src/utils/fetch.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACxD,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,MAAM,YAAY,CAAC;AAG/B,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AASlD,eAAO,MAAM,SAAS,YAEpB,CAAC;AAEH,eAAO,MAAM,UAAU,aAErB,CAAC;AAEH,eAAO,MAAM,kBAAkB,aAG7B,CAAC;AASH,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,CAAC;AAExC,0BAAkB,cAAc;IAC9B,YAAY,MAAM;CACnB;AAED,eAAO,MAAM,aAAa,GAAI,UAAU,QAAQ,EAAE,KAAK,MAAM,KAAG,KAK/D,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,OAAO,MAAM,EACb,YAAW,SAAoB,EAC/B,cAAa,WAAwC,KACpD,WASD,CAAC;AAEH,eAAO,MAAM,cAAc,GACzB,KAAK,MAAM,EACX,YAAW,MAAuC,EAClD,gBAAe,SAA8C,KAC5D,OAAO,CAAC,QAAQ,CAMlB,CAAC;AAEF,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EACX,YAAW,MAAuC,EAClD,gBAAe,SAA8C,KAC5D,OAAO,CAAC,QAAQ,CAMlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils/utils.ts"],"names":[],"mappings":"AACA,OAAW,EAAE,oBAAoB,EAAE,QAAQ,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC5F,OAAO,EAAE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC7E,OAAiB,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAI1B,OAAO,WAAW,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAe,WAAW,EAAE,MAAM,UAAU,CAAC;AAGpD,eAAO,MAAM,IAAI,uBAAmD,CAAC;AACrE,eAAO,MAAM,GAAG,mBAAc,CAAC;AAC/B,eAAO,MAAM,QAAQ,QAAe,CAAC;AACrC,eAAO,MAAM,eAAe,KAAU,CAAC;AAEvC,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,GAAG,CAAC;CACZ;AAED,eAAO,MAAM,cAAc,GAAI,iBAAY,KAAG,YAAY,EAIoB,CAAC;AAE/E,eAAO,MAAM,UAAU,GAAI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AAS,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1D,iBAAiB,CAAC,IAAI,EAAE,oBAAoB,EAAE,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACtE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/E,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7F,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,GAAG,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7F,eAAe,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC9C,aAAa,CAAC,SAAS,EAAE,QAAQ,GAAG,IAAI,CAAC;IACzC,YAAY,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC;IACpE,MAAM,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,OAAE;CAC9C;AAED,eAAO,MAAM,yBAAyB,GAAI,MAAM,WAAW,KAAG,sBAe5D,CAAC"}
|
package/dist/utils/utils.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getSeedConfigurationUtils = exports.rename = exports.listAllFiles = exports.defaultSort = exports.combineArrays = exports.replaceObjectKeys = exports.getDirectoryInfo = exports.getWriteFileWithData = exports.writeFileWithAnswers = exports.writeFile = exports.readFile = exports.copyFilesAsync = exports.copyFilesAsyncOptions = exports.copyFiles = exports.copyFilesOptions = exports.makeDirectory = exports.directoryExists = exports.getCurrentDirectoryBase = exports.getBaseComponentSchema = exports.getBaseComponentsDirectories = exports.getUIAuthoringConfig = exports.getDsDirectoryNames = exports.getUIDirectoryNames = exports.getDirectoryNames = exports.getDesignSystemsDirectories = exports.getMSFastComponentsPath = exports.getDSPath = exports.getFoundationUIPath = exports.getByName = exports.mapToSeedChoices = exports.mapToListChoices = exports.mapToKeyValues = exports.mapToCheckboxChoices = exports.mapToNames = exports.getDirectories = exports.progressSpinner = exports.basePath = exports.env = exports.argv = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
const os_1 = tslib_1.__importDefault(require("os"));
|
|
6
|
-
const path_1 = tslib_1.__importDefault(require("path"));
|
|
7
5
|
const edit_json_file_1 = tslib_1.__importDefault(require("edit-json-file"));
|
|
8
6
|
const fs_extra_1 = tslib_1.__importDefault(require("fs-extra"));
|
|
9
7
|
const klaw_sync_1 = tslib_1.__importDefault(require("klaw-sync"));
|
|
8
|
+
const os_1 = tslib_1.__importDefault(require("os"));
|
|
9
|
+
const path_1 = tslib_1.__importDefault(require("path"));
|
|
10
10
|
const plop_1 = require("plop");
|
|
11
11
|
const yargs_parser_1 = tslib_1.__importDefault(require("yargs-parser"));
|
|
12
12
|
const errors_1 = require("../errors");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-cli",
|
|
3
3
|
"description": "Genesis Foundation CLI",
|
|
4
|
-
"version": "14.436.0-FUI-2489.
|
|
4
|
+
"version": "14.436.0-FUI-2489.7",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -15,14 +15,16 @@
|
|
|
15
15
|
"postinstall": "node ./scripts/postinstall",
|
|
16
16
|
"copy:templates": "node ./scripts/copy",
|
|
17
17
|
"update": "node ./dist/schemas/migration/index",
|
|
18
|
-
"lint": "genx lint
|
|
19
|
-
"lint:fix": "genx lint --fix"
|
|
18
|
+
"lint": "genx lint",
|
|
19
|
+
"lint:fix": "genx lint --fix",
|
|
20
|
+
"lint:ox": "genx lint -l ox",
|
|
21
|
+
"lint:ox:fix": "genx lint -l ox --fix"
|
|
20
22
|
},
|
|
21
23
|
"bin": {
|
|
22
24
|
"foundation-cli": "./bin/foundation-cli.js"
|
|
23
25
|
},
|
|
24
26
|
"devDependencies": {
|
|
25
|
-
"@genesislcap/foundation-ui": "14.436.0-FUI-2489.
|
|
27
|
+
"@genesislcap/foundation-ui": "14.436.0-FUI-2489.7",
|
|
26
28
|
"@types/configstore": "^5.0.1",
|
|
27
29
|
"@types/fs-extra": "^9.0.12",
|
|
28
30
|
"@types/klaw-sync": "^6.0.1",
|
|
@@ -69,5 +71,5 @@
|
|
|
69
71
|
"publishConfig": {
|
|
70
72
|
"access": "public"
|
|
71
73
|
},
|
|
72
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "0255c3ca76f815c03c5699c5b7364d624ed08272"
|
|
73
75
|
}
|