@corva/create-app 0.17.0-2 → 0.18.0-rc.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.
- package/CHANGELOG.md +14 -0
- package/package.json +1 -1
- package/scripts/ui/zipAppSource.js +11 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.18.0-rc.0](https://github.com/corva-ai/create-corva-app/compare/v0.18.0-1...v0.18.0-rc.0) (2021-12-21)
|
|
6
|
+
|
|
7
|
+
## [0.18.0-1](https://github.com/corva-ai/create-corva-app/compare/v0.18.0-0...v0.18.0-1) (2021-12-20)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **CQA-445:** DC local development test to CI config ([6a63221](https://github.com/corva-ai/create-corva-app/commit/6a6322182d02dbe56f8f50d3e406e04890c4a6fd))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **dc-2707:** check file existence before zipping it ([064add5](https://github.com/corva-ai/create-corva-app/commit/064add5b86dfb32073eb9f7b4d16f7d4f71d32c1))
|
|
18
|
+
|
|
5
19
|
## [0.17.0-2](https://github.com/corva-ai/create-corva-app/compare/v0.17.0-0...v0.17.0-2) (2021-12-07)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
|
@@ -36,9 +36,7 @@ async function compressAppToZip(useYarn) {
|
|
|
36
36
|
archive.pipe(output);
|
|
37
37
|
|
|
38
38
|
output.on('close', function () {
|
|
39
|
-
console.log(
|
|
40
|
-
|
|
41
|
-
console.log('archiver has been finalized and the output file descriptor has closed.');
|
|
39
|
+
console.log(`Created ${zipPath.replace(dirname + '/', '')}, ${archive.pointer()} bytes written\n`);
|
|
42
40
|
|
|
43
41
|
// clean up temp package.json file
|
|
44
42
|
try {
|
|
@@ -90,7 +88,16 @@ async function compressAppToZip(useYarn) {
|
|
|
90
88
|
'config-overrides.js',
|
|
91
89
|
'tsconfig.json',
|
|
92
90
|
useYarn ? 'yarn.lock' : 'package-lock.json',
|
|
93
|
-
].forEach((name) =>
|
|
91
|
+
].forEach((name) => {
|
|
92
|
+
const file = path.resolve(dirname, name);
|
|
93
|
+
|
|
94
|
+
// not all app templates have the tsconfig, archive will raise an error with missing files, have to filter-out that
|
|
95
|
+
if (!fs.existsSync(file)) {
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
archive.file(file, { name })
|
|
100
|
+
});
|
|
94
101
|
|
|
95
102
|
archive.directory(path.resolve(dirname, 'src'), 'src');
|
|
96
103
|
|