@sitecore-content-sdk/cli 1.4.0-canary.9 → 1.4.1-canary.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.
|
@@ -36,6 +36,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
36
36
|
exports.builder = builder;
|
|
37
37
|
const scaffold = __importStar(require("./scaffold"));
|
|
38
38
|
const generateMap = __importStar(require("./generate-map"));
|
|
39
|
+
const add = __importStar(require("./add"));
|
|
39
40
|
/**
|
|
40
41
|
* @param {Argv} yargs
|
|
41
42
|
*/
|
|
@@ -45,11 +46,12 @@ function builder(yargs) {
|
|
|
45
46
|
describe: 'Performs component level operations',
|
|
46
47
|
builder: (_yargs) => {
|
|
47
48
|
_yargs = _yargs
|
|
48
|
-
.command([scaffold, generateMap])
|
|
49
|
+
.command([scaffold, generateMap, add])
|
|
49
50
|
.strict()
|
|
50
51
|
.demandCommand(1, 'You need to specify a command to run');
|
|
51
52
|
_yargs = scaffold.builder(_yargs);
|
|
52
53
|
_yargs = generateMap.builder(_yargs);
|
|
54
|
+
_yargs = add.builder(_yargs);
|
|
53
55
|
return _yargs;
|
|
54
56
|
},
|
|
55
57
|
handler: () => { },
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as scaffold from './scaffold';
|
|
2
2
|
import * as generateMap from './generate-map';
|
|
3
|
+
import * as add from './add';
|
|
3
4
|
/**
|
|
4
5
|
* @param {Argv} yargs
|
|
5
6
|
*/
|
|
@@ -9,11 +10,12 @@ export function builder(yargs) {
|
|
|
9
10
|
describe: 'Performs component level operations',
|
|
10
11
|
builder: (_yargs) => {
|
|
11
12
|
_yargs = _yargs
|
|
12
|
-
.command([scaffold, generateMap])
|
|
13
|
+
.command([scaffold, generateMap, add])
|
|
13
14
|
.strict()
|
|
14
15
|
.demandCommand(1, 'You need to specify a command to run');
|
|
15
16
|
_yargs = scaffold.builder(_yargs);
|
|
16
17
|
_yargs = generateMap.builder(_yargs);
|
|
18
|
+
_yargs = add.builder(_yargs);
|
|
17
19
|
return _yargs;
|
|
18
20
|
},
|
|
19
21
|
handler: () => { },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitecore-content-sdk/cli",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1-canary.0",
|
|
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.4.
|
|
37
|
+
"@sitecore-content-sdk/core": "1.4.1-canary.0",
|
|
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": "
|
|
74
|
+
"gitHead": "faa94b09ced724cca1df69f2d955d6666d634b38",
|
|
75
75
|
"files": [
|
|
76
76
|
"dist",
|
|
77
77
|
"types"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scripts/project/component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/scripts/project/component/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAC;AAM7B;;GAEG;AACH,wBAAgB,OAAO,CAAC,KAAK,EAAE,IAAI,YAkBlC"}
|