@ng-prism/core 21.4.4 → 21.4.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.
package/README.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAIV,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schematics/ng-add/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,IAAI,EAIV,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAqOtD,wBAAgB,KAAK,CAAC,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAOvD"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { chain, SchematicsException, } from '@angular-devkit/schematics';
|
|
2
|
+
import { parse as parseJsonc } from 'jsonc-parser';
|
|
2
3
|
function readWorkspace(tree) {
|
|
3
4
|
const buffer = tree.read('angular.json');
|
|
4
5
|
if (!buffer) {
|
|
@@ -140,7 +141,7 @@ function addTsConfigPaths(options) {
|
|
|
140
141
|
if (!buffer) {
|
|
141
142
|
return tree;
|
|
142
143
|
}
|
|
143
|
-
const tsConfig =
|
|
144
|
+
const tsConfig = parseJsonc(buffer.toString('utf-8'));
|
|
144
145
|
if (!tsConfig.compilerOptions) {
|
|
145
146
|
tsConfig.compilerOptions = {};
|
|
146
147
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-prism/core",
|
|
3
|
-
"version": "21.4.
|
|
3
|
+
"version": "21.4.5",
|
|
4
4
|
"description": "Lightweight Angular-native component showcase — no story files needed.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -43,11 +43,11 @@
|
|
|
43
43
|
"!**/*.tsbuildinfo"
|
|
44
44
|
],
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@angular/core": ">=
|
|
47
|
-
"@angular/common": ">=
|
|
48
|
-
"@angular-devkit/architect": ">=0.
|
|
49
|
-
"@angular-devkit/core": ">=
|
|
50
|
-
"@angular-devkit/schematics": ">=
|
|
46
|
+
"@angular/core": ">=21.0.0",
|
|
47
|
+
"@angular/common": ">=21.0.0",
|
|
48
|
+
"@angular-devkit/architect": ">=0.2100.0",
|
|
49
|
+
"@angular-devkit/core": ">=21.0.0",
|
|
50
|
+
"@angular-devkit/schematics": ">=21.0.0",
|
|
51
51
|
"typescript": ">=5.5.0",
|
|
52
52
|
"highlight.js": ">=11.0.0",
|
|
53
53
|
"ngx-highlightjs": ">=14.0.0"
|