@open-mova/cli 0.1.14 → 0.1.15
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.
|
@@ -6,7 +6,6 @@ export const SHELL_REPOSITORY = 'https://github.com/rgarciadelongoria/open-mova.
|
|
|
6
6
|
// El demo publicado permite probar una aplicación recién creada sin desplegar un MF propio.
|
|
7
7
|
export const DEMO_MICROFRONTEND_REMOTE_ENTRY = 'https://rgarciadelongoria.github.io/open-mova/remoteEntry.json';
|
|
8
8
|
const VERSION_PATTERN = /^v(\d+)\.(\d+)\.(\d+)$/;
|
|
9
|
-
const PUBLISHED_CORE_VERSION = '^0.1.9';
|
|
10
9
|
const EXCLUDED_ENTRIES = new Set([
|
|
11
10
|
'.git',
|
|
12
11
|
'.angular',
|
|
@@ -74,11 +73,6 @@ export function configureDownloadedShell(destination, applicationName, includesS
|
|
|
74
73
|
packageJson.name = applicationName;
|
|
75
74
|
packageJson.version = '0.1.0';
|
|
76
75
|
packageJson.private = true;
|
|
77
|
-
if (packageJson.dependencies?.['@open-mova/core']) {
|
|
78
|
-
// También permite crear apps desde tags anteriores a la publicación en npm.
|
|
79
|
-
packageJson.dependencies['@open-mova/core'] = PUBLISHED_CORE_VERSION;
|
|
80
|
-
rmSync(packageLockPath, { force: true });
|
|
81
|
-
}
|
|
82
76
|
writeFileSync(packagePath, `${JSON.stringify(packageJson, null, 2)}\n`);
|
|
83
77
|
if (existsSync(packageLockPath)) {
|
|
84
78
|
const packageLock = JSON.parse(readFileSync(packageLockPath, 'utf8'));
|