devextreme-schematics 1.6.6 → 1.6.8
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +3 -3
- package/src/add-app-template/schema.json +1 -1
- package/src/add-view/index.js +1 -1
- package/src/add-view/index.js.map +1 -1
- package/src/add-view/index.ts +1 -1
- package/src/install/schema.json +1 -1
- package/src/utility/latest-versions.js +2 -2
- package/src/utility/latest-versions.ts +2 -2
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "devextreme-schematics",
|
3
|
-
"version": "1.6.
|
3
|
+
"version": "1.6.8",
|
4
4
|
"description": "DevExtreme schematics",
|
5
5
|
"scripts": {
|
6
6
|
"build": "tsc -p tsconfig.json",
|
@@ -29,11 +29,11 @@
|
|
29
29
|
"devDependencies": {
|
30
30
|
"@types/jasmine": "~3.10.18",
|
31
31
|
"@types/node": "ts4.3",
|
32
|
-
"@types/semver": "^7.5.
|
32
|
+
"@types/semver": "^7.5.7",
|
33
33
|
"jasmine": "^2.99.0",
|
34
34
|
"rxjs": "^6.6.7",
|
35
35
|
"tslint": "^5.20.1",
|
36
36
|
"typescript": "^4.3.1"
|
37
37
|
},
|
38
|
-
"gitHead": "
|
38
|
+
"gitHead": "860053035aa82138cd5411169020c7e605147ff6"
|
39
39
|
}
|
package/src/add-view/index.js
CHANGED
@@ -116,7 +116,7 @@ function default_1(options) {
|
|
116
116
|
const project = yield (0, project_1.getProjectName)(host, options.project);
|
117
117
|
const module = getModuleName(addRoute, options.module);
|
118
118
|
const name = getPathForView(options.name);
|
119
|
-
const rules = [(0, schematics_1.externalSchematic)('
|
119
|
+
const rules = [(0, schematics_1.externalSchematic)('../node_modules/@schematics/angular', 'component', {
|
120
120
|
name,
|
121
121
|
project,
|
122
122
|
module,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2DAMoC;AAEpC,yEAEiD;AAEjD,8CAE2B;AAE3B,gDAI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AEF,IAAI,QAAQ,EAAE;YACZ,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,CAAQ,CAAC,CAAC;YAC/D,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,CAAQ,CAAC,CAAC;SAC/E;QACD,OAAO,IAAA,kBAAK,EAAC,KAAK,CAAC,CAAC;IACtB,CAAC,CAAA,CAAC;AACJ,CAAC;AAxBD,4BAwBC"}
|
package/src/add-view/index.ts
CHANGED
@@ -146,7 +146,7 @@ export default function(options: any): Rule {
|
|
146
146
|
const module = getModuleName(addRoute, options.module);
|
147
147
|
const name = getPathForView(options.name);
|
148
148
|
|
149
|
-
const rules = [externalSchematic('
|
149
|
+
const rules = [externalSchematic('../node_modules/@schematics/angular', 'component', {
|
150
150
|
name,
|
151
151
|
project,
|
152
152
|
module,
|
package/src/install/schema.json
CHANGED
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.latestVersions = void 0;
|
4
4
|
// TODO: implement
|
5
5
|
exports.latestVersions = {
|
6
|
-
'devextreme': '23.2.
|
7
|
-
'devextreme-angular': '23.2.
|
6
|
+
'devextreme': '23.2.6',
|
7
|
+
'devextreme-angular': '23.2.6',
|
8
8
|
'devextreme-cli': 'latest'
|
9
9
|
};
|
10
10
|
//# sourceMappingURL=latest-versions.js.map
|