@sitecore-content-sdk/cli 1.5.0-canary.2 → 1.5.0-canary.5

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.
@@ -53,7 +53,7 @@ const fs_1 = __importDefault(require("fs"));
53
53
  const path_1 = __importDefault(require("path"));
54
54
  const chalk_1 = __importDefault(require("chalk"));
55
55
  const child_process_1 = require("child_process");
56
- const tools = __importStar(require("@sitecore-content-sdk/core/tools"));
56
+ const tools = __importStar(require("@sitecore-content-sdk/content/tools"));
57
57
  const inquirer_1 = __importDefault(require("inquirer"));
58
58
  const generate_map_1 = require("./generate-map");
59
59
  const load_config_1 = __importDefault(require("../../../utils/load-config"));
@@ -6,9 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.builder = builder;
7
7
  exports.args = args;
8
8
  exports.handler = handler;
9
- const tools_1 = require("@sitecore-content-sdk/core/tools");
9
+ const tools_1 = require("@sitecore-content-sdk/content/tools");
10
10
  const load_config_1 = __importDefault(require("../../../utils/load-config"));
11
- const config_1 = require("@sitecore-content-sdk/core/config");
11
+ const config_1 = require("@sitecore-content-sdk/content/config");
12
12
  /**
13
13
  * @param {Argv} yargs
14
14
  */
@@ -40,7 +40,7 @@ exports.default = processEnv;
40
40
  const path_1 = __importDefault(require("path"));
41
41
  const dotenv = __importStar(require("dotenv"));
42
42
  const dotenv_expand_1 = __importDefault(require("dotenv-expand"));
43
- const config_cli_1 = require("@sitecore-content-sdk/core/config-cli");
43
+ const config_cli_1 = require("@sitecore-content-sdk/content/config-cli");
44
44
  /**
45
45
  * Loads and processes environment variables from `.env` files in the specified directory.
46
46
  * It supports multiple `.env` files, including
@@ -11,7 +11,7 @@ import fs from 'fs';
11
11
  import path from 'path';
12
12
  import chalk from 'chalk';
13
13
  import { execSync } from 'child_process';
14
- import * as tools from '@sitecore-content-sdk/core/tools';
14
+ import * as tools from '@sitecore-content-sdk/content/tools';
15
15
  import inquirer from 'inquirer';
16
16
  import { handler as generateMapHandler } from './generate-map';
17
17
  import loadCliConfig from '../../../utils/load-config';
@@ -1,6 +1,6 @@
1
- import { scaffoldComponent } from '@sitecore-content-sdk/core/tools';
1
+ import { scaffoldComponent } from '@sitecore-content-sdk/content/tools';
2
2
  import loadCliConfig from '../../../utils/load-config';
3
- import { ComponentTemplateType } from '@sitecore-content-sdk/core/config';
3
+ import { ComponentTemplateType } from '@sitecore-content-sdk/content/config';
4
4
  /**
5
5
  * @param {Argv} yargs
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import path from 'path';
2
2
  import * as dotenv from 'dotenv';
3
3
  import dotenvExpand from 'dotenv-expand';
4
- import { SITECORE_CLI_MODE_ENV_VAR } from '@sitecore-content-sdk/core/config-cli';
4
+ import { SITECORE_CLI_MODE_ENV_VAR } from '@sitecore-content-sdk/content/config-cli';
5
5
  /**
6
6
  * Loads and processes environment variables from `.env` files in the specified directory.
7
7
  * It supports multiple `.env` files, including
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sitecore-content-sdk/cli",
3
- "version": "1.5.0-canary.2",
3
+ "version": "1.5.0-canary.5",
4
4
  "description": "Sitecore Content SDK CLI",
5
5
  "main": "dist/cjs/cli.js",
6
6
  "module": "dist/esm/cli.js",
@@ -34,7 +34,7 @@
34
34
  "url": "https://github.com/sitecore/content-sdk/issues"
35
35
  },
36
36
  "dependencies": {
37
- "@sitecore-content-sdk/core": "1.5.0-canary.2",
37
+ "@sitecore-content-sdk/content": "1.5.0-canary.5",
38
38
  "chokidar": "^4.0.3",
39
39
  "dotenv": "^16.5.0",
40
40
  "dotenv-expand": "^12.0.2",
@@ -71,7 +71,7 @@
71
71
  "ts-node": "^10.9.1",
72
72
  "typescript": "~5.8.3"
73
73
  },
74
- "gitHead": "c62cf6b93ee19ff365207b937e69a2fb6943eaa2",
74
+ "gitHead": "e8fa7da15d05d45f474b4f000c1f361b488466b0",
75
75
  "files": [
76
76
  "dist",
77
77
  "types"
@@ -1,5 +1,5 @@
1
1
  import { Argv } from 'yargs';
2
- import * as tools from '@sitecore-content-sdk/core/tools';
2
+ import * as tools from '@sitecore-content-sdk/content/tools';
3
3
  export declare const unitMocks: (toolsModule: Pick<typeof tools, "getComponentSpec" | "getComponentList" | "getComponentSpecUrl">) => void;
4
4
  type AddArgs = {
5
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../src/scripts/project/component/add.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAK7B,OAAO,KAAK,KAAK,MAAM,kCAAkC,CAAC;AAO1D,eAAO,MAAM,SAAS,GACpB,aAAa,IAAI,CAAC,OAAO,KAAK,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,qBAAqB,CAAC,SAKjG,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;GA4CxC;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,iBAQ3C;AAyBD;;;GAGG;AACH,wBAAsB,OAAO,CAAC,IAAI,EAAE,OAAO,iBAoI1C"}
1
+ {"version":3,"file":"add.d.ts","sourceRoot":"","sources":["../../../../src/scripts/project/component/add.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAK7B,OAAO,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAO7D,eAAO,MAAM,SAAS,GACpB,aAAa,IAAI,CAAC,OAAO,KAAK,EAAE,kBAAkB,GAAG,kBAAkB,GAAG,qBAAqB,CAAC,SAKjG,CAAC;AAEF,KAAK,OAAO,GAAG;IACb;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC;;;;;;;;;;;;GA4CxC;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,OAAO,CAAC,iBAQ3C;AAyBD;;;GAGG;AACH,wBAAsB,OAAO,CAAC,IAAI,EAAE,OAAO,iBAoI1C"}
@@ -1,4 +1,4 @@
1
- import { SitecoreCliConfig } from '@sitecore-content-sdk/core/types/config';
1
+ import { SitecoreCliConfig } from '@sitecore-content-sdk/content/config';
2
2
  /**
3
3
  * Loads Sitecore Content SDK CLI configuration from the specified file.
4
4
  * @param {string} [configFile] - The path to the configuration file.
@@ -1 +1 @@
1
- {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAO5E;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,iBAAiB,CA4B5E"}
1
+ {"version":3,"file":"load-config.d.ts","sourceRoot":"","sources":["../../src/utils/load-config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAOzE;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,iBAAiB,CA4B5E"}