@rxap/schematics-ts-morph 14.1.0-dev.1 → 14.1.0-dev.2
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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [14.1.0-dev.2](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@14.1.0-dev.1...@rxap/schematics-ts-morph@14.1.0-dev.2) (2023-04-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove verbose logging ([adeaa66](https://gitlab.com/rxap/packages/commit/adeaa66a9f9a8879d98d2127eccedd127bcae961))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [14.1.0-dev.1](https://gitlab.com/rxap/packages/compare/@rxap/schematics-ts-morph@14.1.0-dev.0...@rxap/schematics-ts-morph@14.1.0-dev.1) (2023-04-09)
|
|
7
18
|
|
|
8
19
|
|
package/package.json
CHANGED
|
@@ -5,12 +5,10 @@ const path_1 = require("path");
|
|
|
5
5
|
function ApplyTsMorphProject(project, basePath = '', organizeImports = true) {
|
|
6
6
|
return tree => {
|
|
7
7
|
if (organizeImports) {
|
|
8
|
-
console.debug(`organize '${project.getSourceFiles().length}' ts files imports`);
|
|
9
8
|
project
|
|
10
9
|
.getSourceFiles()
|
|
11
10
|
.forEach(sourceFile => sourceFile.organizeImports());
|
|
12
11
|
}
|
|
13
|
-
console.debug(`write '${project.getSourceFiles().length}' ts files to tree`);
|
|
14
12
|
let written = 0;
|
|
15
13
|
project
|
|
16
14
|
.getSourceFiles()
|
|
@@ -29,7 +27,6 @@ function ApplyTsMorphProject(project, basePath = '', organizeImports = true) {
|
|
|
29
27
|
written++;
|
|
30
28
|
}
|
|
31
29
|
});
|
|
32
|
-
console.log('written: ' + written);
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
32
|
exports.ApplyTsMorphProject = ApplyTsMorphProject;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apply-ts-morph-project.js","sourceRoot":"","sources":["../../../../../libs/ts-morph/src/lib/apply-ts-morph-project.ts"],"names":[],"mappings":";;;AACA,+BAA4B;AAG5B,SAAgB,mBAAmB,CAAC,OAAgB,EAAE,WAAmB,EAAE,EAAE,kBAA2B,IAAI;IAC1G,OAAO,IAAI,CAAC,EAAE;QAEZ,IAAI,eAAe,EAAE;YACnB,OAAO
|
|
1
|
+
{"version":3,"file":"apply-ts-morph-project.js","sourceRoot":"","sources":["../../../../../libs/ts-morph/src/lib/apply-ts-morph-project.ts"],"names":[],"mappings":";;;AACA,+BAA4B;AAG5B,SAAgB,mBAAmB,CAAC,OAAgB,EAAE,WAAmB,EAAE,EAAE,kBAA2B,IAAI;IAC1G,OAAO,IAAI,CAAC,EAAE;QAEZ,IAAI,eAAe,EAAE;YACnB,OAAO;iBACJ,cAAc,EAAE;iBAChB,OAAO,CAAC,UAAU,CAAC,EAAE,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC,CAAC;SACxD;QAED,IAAI,OAAO,GAAG,CAAC,CAAC;QAChB,OAAO;aACJ,cAAc,EAAE;aAChB,OAAO,CAAC,UAAU,CAAC,EAAE;YAEpB,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,QAAQ,EAAE,UAAU,CAAC,WAAW,EAAE,CAAC,CAAC;YAE1D,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,EAAE;gBACzB,MAAM,cAAc,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;gBAC9D,MAAM,UAAU,GAAG,UAAU,CAAC,WAAW,EAAE,CAAC;gBAC5C,IAAI,cAAc,CAAC,IAAI,E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