@schematics/angular 8.0.3 → 8.0.4
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/component/files/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +1 -3
- package/library/index.js +5 -0
- package/package.json +3 -3
- package/pipe/files/__name@dasherize@if-flat__/__name@dasherize__.pipe.ts.template +1 -1
- package/web-worker/index.js +3 -1
- package/workspace/files/tsconfig.json.template +2 -1
package/library/index.js
CHANGED
|
@@ -77,6 +77,11 @@ function addDependenciesToPackageJson() {
|
|
|
77
77
|
name: 'tsickle',
|
|
78
78
|
version: latest_versions_1.latestVersions.tsickle,
|
|
79
79
|
},
|
|
80
|
+
{
|
|
81
|
+
type: dependencies_1.NodeDependencyType.Dev,
|
|
82
|
+
name: 'tsickle',
|
|
83
|
+
version: '^0.35.0',
|
|
84
|
+
},
|
|
80
85
|
{
|
|
81
86
|
type: dependencies_1.NodeDependencyType.Default,
|
|
82
87
|
name: 'tslib',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@schematics/angular",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
4
4
|
"description": "Schematics specific to Angular",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"schematics": "./collection.json",
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@angular-devkit/core": "8.0.
|
|
18
|
-
"@angular-devkit/schematics": "8.0.
|
|
17
|
+
"@angular-devkit/core": "8.0.4",
|
|
18
|
+
"@angular-devkit/schematics": "8.0.4"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
package/web-worker/index.js
CHANGED
|
@@ -17,7 +17,9 @@ function addConfig(options, root, tsConfigPath) {
|
|
|
17
17
|
return (host, context) => {
|
|
18
18
|
context.logger.debug('updating project configuration.');
|
|
19
19
|
// Add worker glob exclusion to tsconfig.app.json.
|
|
20
|
-
|
|
20
|
+
// Projects pre version 8 should to have tsconfig.app.json inside their application
|
|
21
|
+
const isInSrc = core_1.dirname(core_1.normalize(tsConfigPath)).endsWith('src');
|
|
22
|
+
const workerGlob = `${isInSrc ? '' : 'src/'}**/*.worker.ts`;
|
|
21
23
|
const buffer = host.read(tsConfigPath);
|
|
22
24
|
if (buffer) {
|
|
23
25
|
const tsCfgAst = core_1.parseJsonAst(buffer.toString(), core_1.JsonParseMode.Loose);
|