@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');
@@ -5,7 +5,7 @@ const resolveAppRuntime = (opts) => {
5
5
  return {
6
6
  language: opts.useTypescript ? "typescript" : "javascript",
7
7
  packageManager: opts.packageManager,
8
- version: process.version.replace(/^v/, ""),
8
+ version: 16,
9
9
  }
10
10
  }
11
11
 
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@corva/create-app",
3
- "version": "0.34.0-rc.0",
3
+ "version": "0.35.0-1",
4
4
  "private": false,
5
5
  "description": "Create app to use it in CORVA.AI",
6
6
  "keywords": [
@@ -1 +0,0 @@
1
- 16.*
@@ -1 +0,0 @@
1
- 16.*