@corva/create-app 0.34.0-rc.0 → 0.35.0-1
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.
|
@@ -135,7 +135,7 @@ const resolveDataForZipNodeJsApp = async (itemsToZip = [], { options, pkg, dirNa
|
|
|
135
135
|
const packageDirContent = await fs.readdir(dirName);
|
|
136
136
|
const shouldPushDefaultSrc = !itemsToZip.length;
|
|
137
137
|
|
|
138
|
-
itemsToZip.push('config', 'manifest.json', 'package.json');
|
|
138
|
+
itemsToZip.push('config', 'manifest.json', 'package.json', '.nvmrc', '.npmrc');
|
|
139
139
|
|
|
140
140
|
if (packageDirContent.includes('package-lock.json')) {
|
|
141
141
|
itemsToZip.push('package-lock.json');
|
package/lib/index.js
CHANGED
|
@@ -351,11 +351,11 @@ async function addTemplate(root, manifest, runtime) {
|
|
|
351
351
|
*/
|
|
352
352
|
async function configureApp(root, manifest, runtime) {
|
|
353
353
|
if (manifest.isJs()) {
|
|
354
|
+
await addNvmRc(root, manifest, runtime);
|
|
354
355
|
await addPackageJSON(root, manifest, runtime);
|
|
355
356
|
}
|
|
356
357
|
|
|
357
358
|
if (manifest.isNode()) {
|
|
358
|
-
await addNvmRc(root, manifest, runtime);
|
|
359
359
|
await addTsConfigs(root, manifest, runtime);
|
|
360
360
|
}
|
|
361
361
|
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
16.*
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
16.*
|