@open-mova/cli 0.1.15 → 0.1.16

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.
@@ -74,14 +74,9 @@ export function configureDownloadedShell(destination, applicationName, includesS
74
74
  packageJson.version = '0.1.0';
75
75
  packageJson.private = true;
76
76
  writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
77
- if (existsSync(packageLockPath)) {
78
- const packageLock = JSON.parse(readFileSync(packageLockPath, 'utf8'));
79
- packageLock.name = applicationName;
80
- packageLock.version = packageJson.version;
81
- packageLock.packages[''].name = applicationName;
82
- packageLock.packages[''].version = packageJson.version;
83
- writeFileSync(packageLockPath, `${JSON.stringify(packageLock, null, 2)}\n`);
84
- }
77
+ // A lockfile from the framework checkout may contain local development links.
78
+ // The generated application must resolve every dependency from its own package.json.
79
+ rmSync(packageLockPath, { force: true });
85
80
  const capacitorPath = join(destination, 'capacitor.config.ts');
86
81
  if (existsSync(capacitorPath)) {
87
82
  const originalConfig = readFileSync(capacitorPath, 'utf8');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mova/cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "CLI para crear y mantener aplicaciones Open Mova",
5
5
  "license": "MIT",
6
6
  "author": "Open Mova contributors",