From 7119d228376a848f7c73f618efee5e06b7d46d70 Mon Sep 17 00:00:00 2001 From: Marius456 Date: Wed, 4 Dec 2024 13:03:34 +0200 Subject: [PATCH 01/12] add kaios default target --- packages/sdk-kaios/src/deviceManager.ts | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/packages/sdk-kaios/src/deviceManager.ts b/packages/sdk-kaios/src/deviceManager.ts index a65799dfa..5c135db61 100644 --- a/packages/sdk-kaios/src/deviceManager.ts +++ b/packages/sdk-kaios/src/deviceManager.ts @@ -11,12 +11,14 @@ import { logWarning, chalk, } from '@rnv/core'; +import { updateDefaultTargets } from '@rnv/sdk-utils'; import path from 'path'; export const launchKaiOSSimulator = async (target: string | boolean) => { const c = getContext(); logDefault(`launchKaiOSSimulator: ${target}`); - + if (!c.platform) return; + const defaultTarget = c.buildConfig.defaultTargets?.[c.platform]; const kaiosSdkPath = getRealPath(c.buildConfig?.sdks?.KAIOS_SDK); if (!kaiosSdkPath) { @@ -35,11 +37,18 @@ export const launchKaiOSSimulator = async (target: string | boolean) => { choices: availableSimulatorVersions, }); target = selectedSimulator; + if (!defaultTarget || defaultTarget !== selectedSimulator) { + await updateDefaultTargets(c, selectedSimulator); + } } else if (typeof target === 'string' && !availableSimulatorVersions.includes(target)) { logWarning( - `Target with name ${chalk().red(target)} does not exist. You can update it here: ${chalk().cyan( - c.paths.dotRnv.config - )}` + `${ + defaultTarget && !c.program.opts().target + ? `The default target specified in ${chalk().cyan(c.paths.dotRnv.config)} or ${chalk().cyan( + c.paths.project.configLocal + )}` + : 'Target' + } with name ${chalk().red(target)} does not exist.` ); await launchKaiOSSimulator(true); return true; From 5b16083df4b403c9bb7e4a741c290c0a1eb6c95e Mon Sep 17 00:00:00 2001 From: Marius456 Date: Wed, 4 Dec 2024 21:52:00 +0200 Subject: [PATCH 02/12] fix false target --- packages/sdk-kaios/src/deviceManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sdk-kaios/src/deviceManager.ts b/packages/sdk-kaios/src/deviceManager.ts index 5c135db61..1e14fa44d 100644 --- a/packages/sdk-kaios/src/deviceManager.ts +++ b/packages/sdk-kaios/src/deviceManager.ts @@ -29,7 +29,7 @@ export const launchKaiOSSimulator = async (target: string | boolean) => { (directory) => directory.toLowerCase().indexOf('kaios') !== -1 ); - if (target === true) { + if (typeof target === 'boolean') { const { selectedSimulator } = await inquirerPrompt({ name: 'selectedSimulator', type: 'list', From b1bc23b0029230306b0ce263815c9df478bcf910 Mon Sep 17 00:00:00 2001 From: jonathandion Date: Mon, 9 Dec 2024 22:08:31 +0100 Subject: [PATCH 03/12] Fix typo in taskOptions.ts file description"budleAssets" to "bundleAssets" --- packages/core/src/tasks/taskOptions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/tasks/taskOptions.ts b/packages/core/src/tasks/taskOptions.ts index 09458a2d4..90739f8bf 100644 --- a/packages/core/src/tasks/taskOptions.ts +++ b/packages/core/src/tasks/taskOptions.ts @@ -193,7 +193,7 @@ export const RnvTaskOptions = createTaskOptionsMap([ }, { key: 'hosted', - description: 'Run in a hosted environment (skip budleAssets)', + description: 'Run in a hosted environment (skip bundleAssets)', }, { key: 'device', From 46ff90fecf7c0c77dcb3f33e639efb2208b985d8 Mon Sep 17 00:00:00 2001 From: Marius456 Date: Wed, 11 Dec 2024 14:40:43 +0200 Subject: [PATCH 04/12] add exception for no platform --- packages/core/src/projects/update.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/projects/update.ts b/packages/core/src/projects/update.ts index b9240a9c2..0cab03ebf 100644 --- a/packages/core/src/projects/update.ts +++ b/packages/core/src/projects/update.ts @@ -22,7 +22,7 @@ export const checkAndUpdateProjectIfRequired = async () => { if (!platform) return; const { isMonorepo } = c.buildConfig; - if (isMonorepo) return true; + if (isMonorepo || typeof platform === 'boolean') return true; await applyTemplate(); const allPlatforms = Object.keys(c.buildConfig?.platforms || {}); From 5bcb21a55ee311c3be976a717f1cc068b3b03c1a Mon Sep 17 00:00:00 2001 From: Marius456 Date: Tue, 17 Dec 2024 10:20:21 +0200 Subject: [PATCH 05/12] 1.9.0-rc.0 --- package.json | 6 ++--- packages/adapter/package.json | 2 +- packages/app-harness/package.json | 26 +++++++++---------- packages/build-hooks-git/package.json | 4 +-- packages/build-hooks-schema/package.json | 2 +- packages/cli/package.json | 8 +++--- packages/config-templates/package.json | 2 +- .../config-templates/renative.templates.json | 18 ++++++------- packages/core/package.json | 4 +-- packages/engine-core/package.json | 6 ++--- packages/engine-lightning/package.json | 10 +++---- packages/engine-rn-electron/package.json | 12 ++++----- packages/engine-rn-macos/package.json | 10 +++---- packages/engine-rn-next/package.json | 8 +++--- packages/engine-rn-tvos/package.json | 12 ++++----- packages/engine-rn-web/package.json | 16 ++++++------ packages/engine-rn-windows/package.json | 8 +++--- packages/engine-rn/package.json | 12 ++++----- packages/engine-roku/package.json | 2 +- packages/integration-docker/package.json | 4 +-- packages/integration-starter/package.json | 4 +-- packages/renative/package.json | 2 +- packages/rnv/package.json | 6 ++--- packages/sdk-android/package.json | 8 +++--- packages/sdk-apple/package.json | 8 +++--- packages/sdk-kaios/package.json | 8 +++--- packages/sdk-react-native/package.json | 6 ++--- packages/sdk-telemetry/package.json | 6 ++--- packages/sdk-tizen/package.json | 8 +++--- packages/sdk-utils/package.json | 4 +-- packages/sdk-webos/package.json | 8 +++--- packages/sdk-webpack/package.json | 6 ++--- packages/template-starter/package.json | 24 ++++++++--------- packages/template-starter/renative.json | 2 +- .../template-starter/renative.template.json | 8 +++--- 35 files changed, 140 insertions(+), 140 deletions(-) diff --git a/package.json b/package.json index fdb8a64c9..c5542871b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@flexn/renative-monorepo", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "🚀🚀🚀 Unified Development Platform. Bootstrap, Develop & Deploy `iOS`, `tvOS`, `Android`, `Android TV`, `Fire TV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `Tizen Mobile`, `LG webOS`, `macOS/OSX`, `Windows`, `KaiOS`, `Linux` and `Chromecast` platforms", "keywords": [ "android tv", @@ -86,8 +86,8 @@ "@flexn/eslint-config": "1.0.0", "@flexn/prettier-config": "1.0.0", "@flexn/typescript-config": "1.0.0", - "@rnv/build-hooks-git": "1.8.0-rc.0", - "@rnv/core": "1.8.0-rc.0", + "@rnv/build-hooks-git": "1.9.0-rc.0", + "@rnv/core": "1.9.0-rc.0", "@types/jest": "^29.5.12", "@types/kill-port": "2.0.0", "@types/lodash.get": "4.4.7", diff --git a/packages/adapter/package.json b/packages/adapter/package.json index e5259adc2..8425eb1ca 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/adapter", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Adapters for babel, metro, next and other build configs", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", diff --git a/packages/app-harness/package.json b/packages/app-harness/package.json index e7f05100c..c71beb250 100644 --- a/packages/app-harness/package.json +++ b/packages/app-harness/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/app-harness", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Test Harness App", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -44,7 +44,7 @@ "@lightningjs/sdk": "5.5.1", "@react-native-community/push-notification-ios": "1.11.0", "@react-native-firebase/app": "20.0.0", - "@rnv/renative": "1.8.0-rc.0", + "@rnv/renative": "1.9.0-rc.0", "dotenv": "16.4.5", "next": "14.2.10", "raf": "3.4.1", @@ -68,17 +68,17 @@ "devDependencies": { "@flexn/assets-renative-outline": "0.3.5", "@flexn/graybox": "1.0.0-feat.12", - "@rnv/cli": "1.8.0-rc.0", - "@rnv/config-templates": "1.8.0-rc.0", - "@rnv/core": "1.8.0-rc.0", - "@rnv/engine-lightning": "1.8.0-rc.0", - "@rnv/engine-rn": "1.8.0-rc.0", - "@rnv/engine-rn-electron": "1.8.0-rc.0", - "@rnv/engine-rn-next": "1.8.0-rc.0", - "@rnv/engine-rn-tvos": "1.8.0-rc.0", - "@rnv/engine-rn-web": "1.8.0-rc.0", - "@rnv/integration-starter": "1.8.0-rc.0", - "@rnv/template-starter": "1.8.0-rc.0", + "@rnv/cli": "1.9.0-rc.0", + "@rnv/config-templates": "1.9.0-rc.0", + "@rnv/core": "1.9.0-rc.0", + "@rnv/engine-lightning": "1.9.0-rc.0", + "@rnv/engine-rn": "1.9.0-rc.0", + "@rnv/engine-rn-electron": "1.9.0-rc.0", + "@rnv/engine-rn-next": "1.9.0-rc.0", + "@rnv/engine-rn-tvos": "1.9.0-rc.0", + "@rnv/engine-rn-web": "1.9.0-rc.0", + "@rnv/integration-starter": "1.9.0-rc.0", + "@rnv/template-starter": "1.9.0-rc.0", "@types/react": "18.3.3", "@types/react-dom": "18.3.0", "@types/react-native": "0.72.2", diff --git a/packages/build-hooks-git/package.json b/packages/build-hooks-git/package.json index 35e876fc7..36aea7710 100644 --- a/packages/build-hooks-git/package.json +++ b/packages/build-hooks-git/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/build-hooks-git", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "Build Hooks for Git", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -30,7 +30,7 @@ "simple-git": "3.24.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "publishConfig": { "access": "public" diff --git a/packages/build-hooks-schema/package.json b/packages/build-hooks-schema/package.json index be769eec0..d641b3f79 100644 --- a/packages/build-hooks-schema/package.json +++ b/packages/build-hooks-schema/package.json @@ -31,7 +31,7 @@ "zod-to-json-schema": "3.23.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "publishConfig": { "access": "public" diff --git a/packages/cli/package.json b/packages/cli/package.json index 95ee1edac..08840fded 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/cli", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative CLI", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -32,8 +32,8 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/engine-core": "1.8.0-rc.0", - "@rnv/sdk-telemetry": "1.8.0-rc.0", + "@rnv/engine-core": "1.9.0-rc.0", + "@rnv/sdk-telemetry": "1.9.0-rc.0", "chalk": "4.1.0", "commander": "12.1.0", "inquirer": "8.2.0", @@ -43,7 +43,7 @@ "@types/inquirer-autocomplete-prompt": "^3.0.3" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/config-templates/package.json b/packages/config-templates/package.json index a1894daa2..1757cdfaf 100644 --- a/packages/config-templates/package.json +++ b/packages/config-templates/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/config-templates", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative configuration templates for plugins, platforms, engines and project template endpoints", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", diff --git a/packages/config-templates/renative.templates.json b/packages/config-templates/renative.templates.json index 1e8f32486..8bb1c93a8 100644 --- a/packages/config-templates/renative.templates.json +++ b/packages/config-templates/renative.templates.json @@ -10,35 +10,35 @@ }, "engineTemplates": { "@rnv/engine-rn": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn" }, "@rnv/engine-rn-tvos": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-tvos" }, "@rnv/engine-rn-web": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-web" }, "@rnv/engine-rn-next": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-next" }, "@rnv/engine-rn-electron": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-electron" }, "@rnv/engine-lightning": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-lightning" }, "@rnv/engine-rn-macos": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-macos" }, "@rnv/engine-rn-windows": { - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "id": "engine-rn-windows" } }, @@ -986,7 +986,7 @@ "version": "^1.8.1" }, "@rnv/renative": { - "version": "1.8.0-rc.0" + "version": "1.9.0-rc.0" }, "@sentry/react": { "version": "6.13.3" diff --git a/packages/core/package.json b/packages/core/package.json index 0bf156a77..b3f5df14b 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/core", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "RNV Core SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -52,7 +52,7 @@ "@types/envinfo": "7.8.4" }, "peerDependencies": { - "@rnv/config-templates": "^1.8.0-rc.0" + "@rnv/config-templates": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-core/package.json b/packages/engine-core/package.json index 3b747e916..7ba688b80 100644 --- a/packages/engine-core/package.json +++ b/packages/engine-core/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-core", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine Core", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -29,7 +29,7 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "@types/tar": "6.1.13", "iocane": "4.0.0", "kill-port": "1.6.1", @@ -37,7 +37,7 @@ "tar": "6.2.1" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-lightning/package.json b/packages/engine-lightning/package.json index 6ff29bac0..e2260454b 100644 --- a/packages/engine-lightning/package.json +++ b/packages/engine-lightning/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-lightning", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build lightning based apps.", "keywords": [ "lightning" @@ -34,12 +34,12 @@ "dependencies": { "@lightningjs/cli": "2.13.0", "@lightningjs/sdk": "5.5.1", - "@rnv/sdk-tizen": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", - "@rnv/sdk-webos": "1.8.0-rc.0" + "@rnv/sdk-tizen": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", + "@rnv/sdk-webos": "1.9.0-rc.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-rn-electron/package.json b/packages/engine-rn-electron/package.json index c5781d1c2..965b0f5f7 100644 --- a/packages/engine-rn-electron/package.json +++ b/packages/engine-rn-electron/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-electron", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build electron based platforms with react native support.", "keywords": [ "electron", @@ -34,17 +34,17 @@ }, "dependencies": { "@react-native/babel-preset": "0.73.21", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-react-native": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", - "@rnv/sdk-webpack": "1.8.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", + "@rnv/sdk-webpack": "1.9.0-rc.0", "electron": "26.3.0", "electron-builder": "24.13.3", "electron-notarize": "1.2.2", "metro-react-native-babel-preset": "0.76.8" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-rn-macos/package.json b/packages/engine-rn-macos/package.json index 482649cda..df8294232 100644 --- a/packages/engine-rn-macos/package.json +++ b/packages/engine-rn-macos/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-macos", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build react-native macOS platform.", "keywords": [ "react-native-macos" @@ -33,12 +33,12 @@ }, "dependencies": { "@react-native/babel-preset": "0.73.21", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-apple": "1.8.0-rc.0", - "@rnv/sdk-react-native": "1.8.0-rc.0" + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-apple": "1.9.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-rn-next/package.json b/packages/engine-rn-next/package.json index c2d87412b..bbe094cb2 100644 --- a/packages/engine-rn-next/package.json +++ b/packages/engine-rn-next/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-next", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build next based platforms with react native support.", "keywords": [ "nextjs", @@ -33,15 +33,15 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "babel-preset-expo": "9.5.2", "next-fonts": "1.5.1", "next-images": "1.8.4", "webpack": "^5.94.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0", + "@rnv/core": "^1.9.0-rc.0", "next": "^14", "react": "^18", "react-native-web": "~0.18.0" diff --git a/packages/engine-rn-tvos/package.json b/packages/engine-rn-tvos/package.json index 3c5289f7d..2acf3f211 100644 --- a/packages/engine-rn-tvos/package.json +++ b/packages/engine-rn-tvos/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-tvos", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build react-native tvos platform.", "keywords": [ "react-native" @@ -33,13 +33,13 @@ }, "dependencies": { "@react-native/babel-preset": "0.73.21", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-android": "1.8.0-rc.0", - "@rnv/sdk-apple": "1.8.0-rc.0", - "@rnv/sdk-react-native": "1.8.0-rc.0" + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-android": "1.9.0-rc.0", + "@rnv/sdk-apple": "1.9.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0", + "@rnv/core": "^1.9.0-rc.0", "metro-cache": "^0.78.1" }, "private": false, diff --git a/packages/engine-rn-web/package.json b/packages/engine-rn-web/package.json index 66d7637f9..0251e238a 100644 --- a/packages/engine-rn-web/package.json +++ b/packages/engine-rn-web/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-web", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build web based platforms with react native support.", "keywords": [ "react-native" @@ -33,16 +33,16 @@ }, "dependencies": { "@react-native/babel-preset": "0.73.21", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-kaios": "1.8.0-rc.0", - "@rnv/sdk-tizen": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", - "@rnv/sdk-webos": "1.8.0-rc.0", - "@rnv/sdk-webpack": "1.8.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-kaios": "1.9.0-rc.0", + "@rnv/sdk-tizen": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", + "@rnv/sdk-webos": "1.9.0-rc.0", + "@rnv/sdk-webpack": "1.9.0-rc.0", "metro-react-native-babel-preset": "0.76.8" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-rn-windows/package.json b/packages/engine-rn-windows/package.json index 7b62435f9..5bb709f90 100644 --- a/packages/engine-rn-windows/package.json +++ b/packages/engine-rn-windows/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn-windows", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build for Windows platform with react native support.", "keywords": [ "react-native", @@ -34,15 +34,15 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-react-native": "1.8.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0", "@xmldom/xmldom": "0.7.7", "react-native-windows": "0.72.10" }, "peerDependencies": { "@react-native-community/cli": "*", "@react-native/babel-preset": "0.73.21", - "@rnv/core": "^1.8.0-rc.0", + "@rnv/core": "^1.9.0-rc.0", "react-native": "*" }, "private": false, diff --git a/packages/engine-rn/package.json b/packages/engine-rn/package.json index 8880fbfd1..a703bc226 100644 --- a/packages/engine-rn/package.json +++ b/packages/engine-rn/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/engine-rn", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Engine to build react-native based platforms.", "keywords": [ "react-native" @@ -33,13 +33,13 @@ }, "dependencies": { "@react-native/babel-preset": "0.73.21", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/sdk-android": "1.8.0-rc.0", - "@rnv/sdk-apple": "1.8.0-rc.0", - "@rnv/sdk-react-native": "1.8.0-rc.0" + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/sdk-android": "1.9.0-rc.0", + "@rnv/sdk-apple": "1.9.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/engine-roku/package.json b/packages/engine-roku/package.json index 1f6adcf8a..67d6d1394 100644 --- a/packages/engine-roku/package.json +++ b/packages/engine-roku/package.json @@ -33,7 +33,7 @@ "dependencies": {}, "devDependencies": {}, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/integration-docker/package.json b/packages/integration-docker/package.json index 5531315b7..c544ba0ae 100644 --- a/packages/integration-docker/package.json +++ b/packages/integration-docker/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/integration-docker", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "Gives RNV the possibility to deploy web apps as a Docker image published to dockerhub", "keywords": [ "docker", @@ -32,7 +32,7 @@ "dependencies": {}, "devDependencies": {}, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "publishConfig": { "access": "public" diff --git a/packages/integration-starter/package.json b/packages/integration-starter/package.json index 4a521a3aa..a3e30c801 100644 --- a/packages/integration-starter/package.json +++ b/packages/integration-starter/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/integration-starter", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Example Integration", "keywords": [ "renative", @@ -30,7 +30,7 @@ "dependencies": {}, "devDependencies": {}, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "publishConfig": { "access": "public" diff --git a/packages/renative/package.json b/packages/renative/package.json index 8f3465dfa..2c5a44781 100644 --- a/packages/renative/package.json +++ b/packages/renative/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/renative", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "🚀🚀🚀 Unified Development Platform. Bootstrap, Develop & Deploy `iOS`, `tvOS`, `Android`, `Android TV`, `FireTV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `LG webOS`, `macOS/OSX`, `Windows`, `KaiOS`, and `Linux` platforms", "keywords": [ "android tv", diff --git a/packages/rnv/package.json b/packages/rnv/package.json index bde863d41..38011899e 100644 --- a/packages/rnv/package.json +++ b/packages/rnv/package.json @@ -1,6 +1,6 @@ { "name": "rnv", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "💻 CLI for ReNative (https://www.npmjs.com/package/renative). Supports `iOS`, `tvOS`, `Android`, `Android TV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `LG webOS`, `macOS/OSX`, `Windows`, `KaiOS`, `Linux", "keywords": [ "android tv", @@ -69,8 +69,8 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/cli": "1.8.0-rc.0", - "@rnv/config-templates": "1.8.0-rc.0", + "@rnv/cli": "1.9.0-rc.0", + "@rnv/config-templates": "1.9.0-rc.0", "tslib": "2.5.2" }, "private": false, diff --git a/packages/sdk-android/package.json b/packages/sdk-android/package.json index d55c2edfe..196d87268 100644 --- a/packages/sdk-android/package.json +++ b/packages/sdk-android/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-android", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Android SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -30,14 +30,14 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-react-native": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "jetifier": "2.0.0" }, "peerDependencies": { "@react-native-community/cli": "^12.3.6", "@react-native-community/cli-platform-android": "^12.3.6", - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-apple/package.json b/packages/sdk-apple/package.json index 49ccfae0b..6d7e0cc04 100644 --- a/packages/sdk-apple/package.json +++ b/packages/sdk-apple/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-apple", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Apple SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -30,15 +30,15 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-react-native": "1.8.0-rc.0", - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-react-native": "1.9.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "ios-mobileprovision-finder": "1.1.0", "xcode": "3.0.1" }, "peerDependencies": { "@react-native-community/cli": "^12.3.6", "@react-native-community/cli-platform-ios": "^12.3.6", - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-kaios/package.json b/packages/sdk-kaios/package.json index 8f5141df8..0bd29c116 100644 --- a/packages/sdk-kaios/package.json +++ b/packages/sdk-kaios/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-kaios", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Kaios SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -30,9 +30,9 @@ "watch": "tsc --watch --preserveWatchOutput" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0", - "@rnv/sdk-utils": "^1.8.0-rc.0", - "@rnv/sdk-webpack": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0", + "@rnv/sdk-utils": "^1.9.0-rc.0", + "@rnv/sdk-webpack": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-react-native/package.json b/packages/sdk-react-native/package.json index 377d00bd2..9704e043f 100644 --- a/packages/sdk-react-native/package.json +++ b/packages/sdk-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-react-native", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative React-Native SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -30,12 +30,12 @@ }, "dependencies": { "@react-native/metro-babel-transformer": "^0.74.0", - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "shell-quote": "1.8.1" }, "peerDependencies": { "@react-native/js-polyfills": "^0.74.0", - "@rnv/core": "^1.8.0-rc.0", + "@rnv/core": "^1.9.0-rc.0", "metro-config": "^0.80.0", "metro-runtime": "^0.80.0" }, diff --git a/packages/sdk-telemetry/package.json b/packages/sdk-telemetry/package.json index 7c476304b..866018556 100644 --- a/packages/sdk-telemetry/package.json +++ b/packages/sdk-telemetry/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-telemetry", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Telemetry SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -29,13 +29,13 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "@sentry/integrations": "7.57.0", "@sentry/node": "7.57.0", "node-machine-id": "^1.1.12" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-tizen/package.json b/packages/sdk-tizen/package.json index 4b7d4917b..07ee7e046 100644 --- a/packages/sdk-tizen/package.json +++ b/packages/sdk-tizen/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-tizen", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Tizen SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -29,12 +29,12 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-utils": "1.8.0-rc.0", - "@rnv/sdk-webpack": "1.8.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", + "@rnv/sdk-webpack": "1.9.0-rc.0", "xml2js": "0.6.2" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-utils/package.json b/packages/sdk-utils/package.json index 30bd8d433..3397a97e4 100644 --- a/packages/sdk-utils/package.json +++ b/packages/sdk-utils/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-utils", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative SDK Utils", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -37,7 +37,7 @@ "kill-port": "1.6.1" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-webos/package.json b/packages/sdk-webos/package.json index 5a18141ae..0a7207423 100644 --- a/packages/sdk-webos/package.json +++ b/packages/sdk-webos/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-webos", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative WebOS SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -29,11 +29,11 @@ "watch": "tsc --watch --preserveWatchOutput" }, "dependencies": { - "@rnv/sdk-utils": "1.8.0-rc.0", - "@rnv/sdk-webpack": "1.8.0-rc.0" + "@rnv/sdk-utils": "1.9.0-rc.0", + "@rnv/sdk-webpack": "1.9.0-rc.0" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/sdk-webpack/package.json b/packages/sdk-webpack/package.json index 817800fd5..ba8df5764 100644 --- a/packages/sdk-webpack/package.json +++ b/packages/sdk-webpack/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/sdk-webpack", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "ReNative Webpack SDK", "keywords": [], "homepage": "https://github.com/flexn-io/renative#readme", @@ -31,7 +31,7 @@ }, "dependencies": { "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3", - "@rnv/sdk-utils": "1.8.0-rc.0", + "@rnv/sdk-utils": "1.9.0-rc.0", "@svgr/webpack": "6.3.1", "bfj": "^7.0.2", "browserslist": "^4.18.1", @@ -75,7 +75,7 @@ "workbox-webpack-plugin": "6.5.4" }, "peerDependencies": { - "@rnv/core": "^1.8.0-rc.0" + "@rnv/core": "^1.9.0-rc.0" }, "private": false, "publishConfig": { diff --git a/packages/template-starter/package.json b/packages/template-starter/package.json index 7b26aaa03..2db2cac9e 100644 --- a/packages/template-starter/package.json +++ b/packages/template-starter/package.json @@ -1,6 +1,6 @@ { "name": "@rnv/template-starter", - "version": "1.8.0-rc.0", + "version": "1.9.0-rc.0", "description": "🚧 Starter Template for ReNative (https://www.npmjs.com/package/renative). Supports `iOS`, `tvOS`, `Android`, `Android TV`, `FireTV`, `Android Wear`, `Web`, `Tizen TV`, `Tizen Watch`, `LG webOS`, `macOS/OSX`, `Windows`, `KaiOS`, `Linux", "keywords": [ "android tv", @@ -100,17 +100,17 @@ "@flexn/assets-renative-outline": "0.3.5", "@flexn/graybox": "1.0.0-feat.12", "@lightningjs/sdk": "5.5.1", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/cli": "1.8.0-rc.0", - "@rnv/config-templates": "1.8.0-rc.0", - "@rnv/core": "1.8.0-rc.0", - "@rnv/engine-lightning": "1.8.0-rc.0", - "@rnv/engine-rn": "1.8.0-rc.0", - "@rnv/engine-rn-electron": "1.8.0-rc.0", - "@rnv/engine-rn-next": "1.8.0-rc.0", - "@rnv/engine-rn-tvos": "1.8.0-rc.0", - "@rnv/engine-rn-web": "1.8.0-rc.0", - "@rnv/renative": "1.8.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/cli": "1.9.0-rc.0", + "@rnv/config-templates": "1.9.0-rc.0", + "@rnv/core": "1.9.0-rc.0", + "@rnv/engine-lightning": "1.9.0-rc.0", + "@rnv/engine-rn": "1.9.0-rc.0", + "@rnv/engine-rn-electron": "1.9.0-rc.0", + "@rnv/engine-rn-next": "1.9.0-rc.0", + "@rnv/engine-rn-tvos": "1.9.0-rc.0", + "@rnv/engine-rn-web": "1.9.0-rc.0", + "@rnv/renative": "1.9.0-rc.0", "@types/react": "18.3.3", "@types/react-dom": "18.3.0", "@types/react-native": "0.72.2", diff --git a/packages/template-starter/renative.json b/packages/template-starter/renative.json index 5e3c9266b..c00c66bcb 100644 --- a/packages/template-starter/renative.json +++ b/packages/template-starter/renative.json @@ -43,7 +43,7 @@ }, "templateConfig": { "name": "@rnv/template-starter", - "version": "1.8.0-rc.0" + "version": "1.9.0-rc.0" }, "platforms": { "android": { diff --git a/packages/template-starter/renative.template.json b/packages/template-starter/renative.template.json index 25ba95ddb..032a1f342 100644 --- a/packages/template-starter/renative.template.json +++ b/packages/template-starter/renative.template.json @@ -55,10 +55,10 @@ "@types/react-native": "0.72.3", "@flexn/typescript-config": "1.0.0", "@flexn/assets-renative-outline": "0.3.5", - "@rnv/core": "1.8.0-rc.0", - "@rnv/cli": "1.8.0-rc.0", - "@rnv/adapter": "1.8.0-rc.0", - "@rnv/config-templates": "1.8.0-rc.0", + "@rnv/core": "1.9.0-rc.0", + "@rnv/cli": "1.9.0-rc.0", + "@rnv/adapter": "1.9.0-rc.0", + "@rnv/config-templates": "1.9.0-rc.0", "babel-loader": "9.1.3", "dotenv": "16.4.5", "minipass": "7.1.2", From 165ee327d52a4abc3d75dce39b90c94b0bf406ce Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Tue, 17 Dec 2024 12:37:19 +0200 Subject: [PATCH 06/12] fix searching for a suitable task when there is only one --- packages/core/src/tasks/taskFinder.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/core/src/tasks/taskFinder.ts b/packages/core/src/tasks/taskFinder.ts index 2b580f7ac..be960b341 100644 --- a/packages/core/src/tasks/taskFinder.ts +++ b/packages/core/src/tasks/taskFinder.ts @@ -47,7 +47,8 @@ export const extractSingleExecutableTask = async ( suitableTasks: RnvTask[], taskName: string ): Promise => { - if (suitableTasks.length === 1) { + const { platform } = getContext(); + if (suitableTasks.length === 1 && platform) { return suitableTasks[0]; } else if (suitableTasks.length === 0) { return undefined; From 7030ee04712a549ac7cecac573a7825741357f9d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Dec 2024 16:30:13 +0000 Subject: [PATCH 07/12] Bump next from 14.2.10 to 14.2.15 in /packages/template-starter Bumps [next](https://github.com/vercel/next.js) from 14.2.10 to 14.2.15. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.10...v14.2.15) --- updated-dependencies: - dependency-name: next dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- packages/template-starter/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/template-starter/package.json b/packages/template-starter/package.json index 2db2cac9e..fb59e7d4c 100644 --- a/packages/template-starter/package.json +++ b/packages/template-starter/package.json @@ -117,7 +117,7 @@ "babel-jest": "29.6.3", "babel-loader": "9.1.3", "detox": "18.20.2", - "next": "14.2.10", + "next": "14.2.15", "raf": "3.4.1", "react": "18.3.1", "react-art": "18.3.1", From f37e3c988ffdfbf91d6830d2bbe0be1167475ff7 Mon Sep 17 00:00:00 2001 From: Marius456 Date: Wed, 18 Dec 2024 09:57:53 +0200 Subject: [PATCH 08/12] update next from 14.2.10 to 14.2.15 --- packages/app-harness/package.json | 2 +- .../config-templates/renative.templates.json | 2 +- yarn.lock | 157 ++++++++++-------- 3 files changed, 93 insertions(+), 68 deletions(-) diff --git a/packages/app-harness/package.json b/packages/app-harness/package.json index c71beb250..67a655850 100644 --- a/packages/app-harness/package.json +++ b/packages/app-harness/package.json @@ -46,7 +46,7 @@ "@react-native-firebase/app": "20.0.0", "@rnv/renative": "1.9.0-rc.0", "dotenv": "16.4.5", - "next": "14.2.10", + "next": "14.2.15", "raf": "3.4.1", "react": "18.3.1", "react-art": "18.3.1", diff --git a/packages/config-templates/renative.templates.json b/packages/config-templates/renative.templates.json index 8bb1c93a8..a8f33931e 100644 --- a/packages/config-templates/renative.templates.json +++ b/packages/config-templates/renative.templates.json @@ -1432,7 +1432,7 @@ } }, "next": { - "version": "14.2.10", + "version": "14.2.15", "supportedPlatforms": ["web"] }, "next-seo": "4.28.1", diff --git a/yarn.lock b/yarn.lock index c66d5e772..489639bb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2671,55 +2671,55 @@ resolved "https://registry.npmjs.org/@microsoft/applicationinsights-web-snippet/-/applicationinsights-web-snippet-1.0.1.tgz#6bb788b2902e48bf5d460c38c6bb7fedd686ddd7" integrity sha512-2IHAOaLauc8qaAitvWS+U931T+ze+7MNWrDHY47IENP5y2UA0vqJDu67kWZDdpCN1fFC77sfgfB+HV7SrKshnQ== -"@next/env@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.10.tgz#1d3178340028ced2d679f84140877db4f420333c" - integrity sha512-dZIu93Bf5LUtluBXIv4woQw2cZVZ2DJTjax5/5DOs3lzEOeKLy7GxRSr4caK9/SCPdaW6bCgpye6+n4Dh9oJPw== - -"@next/swc-darwin-arm64@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.10.tgz#49d10ca4086fbd59ee68e204f75d7136eda2aa80" - integrity sha512-V3z10NV+cvMAfxQUMhKgfQnPbjw+Ew3cnr64b0lr8MDiBJs3eLnM6RpGC46nhfMZsiXgQngCJKWGTC/yDcgrDQ== - -"@next/swc-darwin-x64@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.10.tgz#0ebeae3afb8eac433882b79543295ab83624a1a8" - integrity sha512-Y0TC+FXbFUQ2MQgimJ/7Ina2mXIKhE7F+GUe1SgnzRmwFY3hX2z8nyVCxE82I2RicspdkZnSWMn4oTjIKz4uzA== - -"@next/swc-linux-arm64-gnu@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.10.tgz#7e602916d2fb55a3c532f74bed926a0137c16f20" - integrity sha512-ZfQ7yOy5zyskSj9rFpa0Yd7gkrBnJTkYVSya95hX3zeBG9E55Z6OTNPn1j2BTFWvOVVj65C3T+qsjOyVI9DQpA== - -"@next/swc-linux-arm64-musl@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.10.tgz#6b143f628ccee490b527562e934f8de578d4be47" - integrity sha512-n2i5o3y2jpBfXFRxDREr342BGIQCJbdAUi/K4q6Env3aSx8erM9VuKXHw5KNROK9ejFSPf0LhoSkU/ZiNdacpQ== - -"@next/swc-linux-x64-gnu@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.10.tgz#086f2f16a0678890a1eb46518c4dda381b046082" - integrity sha512-GXvajAWh2woTT0GKEDlkVhFNxhJS/XdDmrVHrPOA83pLzlGPQnixqxD8u3bBB9oATBKB//5e4vpACnx5Vaxdqg== - -"@next/swc-linux-x64-musl@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.10.tgz#1befef10ed8dbcc5047b5d637a25ae3c30a0bfc3" - integrity sha512-opFFN5B0SnO+HTz4Wq4HaylXGFV+iHrVxd3YvREUX9K+xfc4ePbRrxqOuPOFjtSuiVouwe6uLeDtabjEIbkmDA== - -"@next/swc-win32-arm64-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.10.tgz#731f52c3ae3c56a26cf21d474b11ae1529531209" - integrity sha512-9NUzZuR8WiXTvv+EiU/MXdcQ1XUvFixbLIMNQiVHuzs7ZIFrJDLJDaOF1KaqttoTujpcxljM/RNAOmw1GhPPQQ== - -"@next/swc-win32-ia32-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.10.tgz#32723ef7f04e25be12af357cc72ddfdd42fd1041" - integrity sha512-fr3aEbSd1GeW3YUMBkWAu4hcdjZ6g4NBl1uku4gAn661tcxd1bHs1THWYzdsbTRLcCKLjrDZlNp6j2HTfrw+Bg== - -"@next/swc-win32-x64-msvc@14.2.10": - version "14.2.10" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.10.tgz#ee1d036cb5ec871816f96baee7991035bb242455" - integrity sha512-UjeVoRGKNL2zfbcQ6fscmgjBAS/inHBh63mjIlfPg/NG8Yn2ztqylXt5qilYb6hoHIwaU2ogHknHWWmahJjgZQ== +"@next/env@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.15.tgz#06d984e37e670d93ddd6790af1844aeb935f332f" + integrity sha512-S1qaj25Wru2dUpcIZMjxeMVSwkt8BK4dmWHHiBuRstcIyOsMapqT4A4jSB6onvqeygkSSmOkyny9VVx8JIGamQ== + +"@next/swc-darwin-arm64@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.15.tgz#6386d585f39a1c490c60b72b1f76612ba4434347" + integrity sha512-Rvh7KU9hOUBnZ9TJ28n2Oa7dD9cvDBKua9IKx7cfQQ0GoYUwg9ig31O2oMwH3wm+pE3IkAQ67ZobPfEgurPZIA== + +"@next/swc-darwin-x64@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.15.tgz#b7baeedc6a28f7545ad2bc55adbab25f7b45cb89" + integrity sha512-5TGyjFcf8ampZP3e+FyCax5zFVHi+Oe7sZyaKOngsqyaNEpOgkKB3sqmymkZfowy3ufGA/tUgDPPxpQx931lHg== + +"@next/swc-linux-arm64-gnu@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.15.tgz#fa13c59d3222f70fb4cb3544ac750db2c6e34d02" + integrity sha512-3Bwv4oc08ONiQ3FiOLKT72Q+ndEMyLNsc/D3qnLMbtUYTQAmkx9E/JRu0DBpHxNddBmNT5hxz1mYBphJ3mfrrw== + +"@next/swc-linux-arm64-musl@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.15.tgz#30e45b71831d9a6d6d18d7ac7d611a8d646a17f9" + integrity sha512-k5xf/tg1FBv/M4CMd8S+JL3uV9BnnRmoe7F+GWC3DxkTCD9aewFRH1s5rJ1zkzDa+Do4zyN8qD0N8c84Hu96FQ== + +"@next/swc-linux-x64-gnu@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.15.tgz#5065db17fc86f935ad117483f21f812dc1b39254" + integrity sha512-kE6q38hbrRbKEkkVn62reLXhThLRh6/TvgSP56GkFNhU22TbIrQDEMrO7j0IcQHcew2wfykq8lZyHFabz0oBrA== + +"@next/swc-linux-x64-musl@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.15.tgz#3c4a4568d8be7373a820f7576cf33388b5dab47e" + integrity sha512-PZ5YE9ouy/IdO7QVJeIcyLn/Rc4ml9M2G4y3kCM9MNf1YKvFY4heg3pVa/jQbMro+tP6yc4G2o9LjAz1zxD7tQ== + +"@next/swc-win32-arm64-msvc@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.15.tgz#fb812cc4ca0042868e32a6a021da91943bb08b98" + integrity sha512-2raR16703kBvYEQD9HNLyb0/394yfqzmIeyp2nDzcPV4yPjqNUG3ohX6jX00WryXz6s1FXpVhsCo3i+g4RUX+g== + +"@next/swc-win32-ia32-msvc@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.15.tgz#ec26e6169354f8ced240c1427be7fd485c5df898" + integrity sha512-fyTE8cklgkyR1p03kJa5zXEaZ9El+kDNM5A+66+8evQS5e/6v0Gk28LqA0Jet8gKSOyP+OTm/tJHzMlGdQerdQ== + +"@next/swc-win32-x64-msvc@14.2.15": + version "14.2.15" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.15.tgz#18d68697002b282006771f8d92d79ade9efd35c4" + integrity sha512-SzqGbsLsP9OwKNUG9nekShTwhj6JSB9ZLMWQ8g1gG6hdE5gQLncbnbymrwy2yVmH9nikSLYRYxYMFu78Ggp7/g== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -15659,12 +15659,12 @@ next-images@1.8.4: file-loader "^6.2.0" url-loader "^4.1.0" -next@14.2.10: - version "14.2.10" - resolved "https://registry.yarnpkg.com/next/-/next-14.2.10.tgz#331981a4fecb1ae8af1817d4db98fc9687ee1cb6" - integrity sha512-sDDExXnh33cY3RkS9JuFEKaS4HmlWmDKP1VJioucCG6z5KuA008DPsDZOzi8UfqEk3Ii+2NCQSJrfbEWtZZfww== +next@14.2.15: + version "14.2.15" + resolved "https://registry.yarnpkg.com/next/-/next-14.2.15.tgz#348e5603e22649775d19c785c09a89c9acb5189a" + integrity sha512-h9ctmOokpoDphRvMGnwOJAedT6zKhwqyZML9mDtspgf4Rh3Pn7UTYKqePNoDvhsWBAO5GoPNYshnAUGIazVGmw== dependencies: - "@next/env" "14.2.10" + "@next/env" "14.2.15" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -15672,15 +15672,15 @@ next@14.2.10: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.2.10" - "@next/swc-darwin-x64" "14.2.10" - "@next/swc-linux-arm64-gnu" "14.2.10" - "@next/swc-linux-arm64-musl" "14.2.10" - "@next/swc-linux-x64-gnu" "14.2.10" - "@next/swc-linux-x64-musl" "14.2.10" - "@next/swc-win32-arm64-msvc" "14.2.10" - "@next/swc-win32-ia32-msvc" "14.2.10" - "@next/swc-win32-x64-msvc" "14.2.10" + "@next/swc-darwin-arm64" "14.2.15" + "@next/swc-darwin-x64" "14.2.15" + "@next/swc-linux-arm64-gnu" "14.2.15" + "@next/swc-linux-arm64-musl" "14.2.15" + "@next/swc-linux-x64-gnu" "14.2.15" + "@next/swc-linux-x64-musl" "14.2.15" + "@next/swc-win32-arm64-msvc" "14.2.15" + "@next/swc-win32-ia32-msvc" "14.2.15" + "@next/swc-win32-x64-msvc" "14.2.15" nice-try@^1.0.4: version "1.0.5" @@ -20031,7 +20031,16 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": + version "4.2.3" + resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -20123,7 +20132,7 @@ stringify-object@^3.2.1, stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -20137,6 +20146,13 @@ strip-ansi@^5.0.0, strip-ansi@^5.2.0: dependencies: ansi-regex "^4.1.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -22178,7 +22194,16 @@ workerpool@6.2.1: resolved "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343" integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@7.0.0, wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": + version "7.0.0" + resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrap-ansi@7.0.0, wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== From 17c4a303b88bac42a80ce4ffbac2520e4876bd17 Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Wed, 18 Dec 2024 12:24:46 +0200 Subject: [PATCH 09/12] fix --- packages/core/src/tasks/taskFinder.ts | 3 +-- .../engine-core/src/tasks/platform/taskPlatformConfigure.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/core/src/tasks/taskFinder.ts b/packages/core/src/tasks/taskFinder.ts index be960b341..2b580f7ac 100644 --- a/packages/core/src/tasks/taskFinder.ts +++ b/packages/core/src/tasks/taskFinder.ts @@ -47,8 +47,7 @@ export const extractSingleExecutableTask = async ( suitableTasks: RnvTask[], taskName: string ): Promise => { - const { platform } = getContext(); - if (suitableTasks.length === 1 && platform) { + if (suitableTasks.length === 1) { return suitableTasks[0]; } else if (suitableTasks.length === 0) { return undefined; diff --git a/packages/engine-core/src/tasks/platform/taskPlatformConfigure.ts b/packages/engine-core/src/tasks/platform/taskPlatformConfigure.ts index 33d452ee5..4ce89d8af 100644 --- a/packages/engine-core/src/tasks/platform/taskPlatformConfigure.ts +++ b/packages/engine-core/src/tasks/platform/taskPlatformConfigure.ts @@ -26,13 +26,13 @@ export default createTask({ isPrivate: true, dependsOn: [RnvTaskName.projectConfigure], fn: async ({ ctx, taskName, originTaskName }) => { - const { program } = ctx; + const { program, platform } = ctx; await isBuildSchemeSupported(); const entryFile = getConfigProp('entryFile'); const dest = path.join(ctx.paths.project.dir, `${entryFile}.js`); - if (!fsExistsSync(dest)) { + if (!fsExistsSync(dest) && platform) { if (!entryFile) { logWarning( `Missing ${chalk().red(entryFile)} key for ${chalk().bold.white( From 3bee5486d2bb1c23dd82d95d16687d1baf2b3fdd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Jan 2025 02:27:33 +0000 Subject: [PATCH 10/12] Bump next from 14.2.15 to 14.2.21 Bumps [next](https://github.com/vercel/next.js) from 14.2.15 to 14.2.21. - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.15...v14.2.21) --- updated-dependencies: - dependency-name: next dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- packages/app-harness/package.json | 2 +- packages/template-starter/package.json | 2 +- yarn.lock | 126 ++++++++++++------------- 3 files changed, 65 insertions(+), 65 deletions(-) diff --git a/packages/app-harness/package.json b/packages/app-harness/package.json index 67a655850..5e7da01a3 100644 --- a/packages/app-harness/package.json +++ b/packages/app-harness/package.json @@ -46,7 +46,7 @@ "@react-native-firebase/app": "20.0.0", "@rnv/renative": "1.9.0-rc.0", "dotenv": "16.4.5", - "next": "14.2.15", + "next": "14.2.21", "raf": "3.4.1", "react": "18.3.1", "react-art": "18.3.1", diff --git a/packages/template-starter/package.json b/packages/template-starter/package.json index fb59e7d4c..9409b0cd6 100644 --- a/packages/template-starter/package.json +++ b/packages/template-starter/package.json @@ -117,7 +117,7 @@ "babel-jest": "29.6.3", "babel-loader": "9.1.3", "detox": "18.20.2", - "next": "14.2.15", + "next": "14.2.21", "raf": "3.4.1", "react": "18.3.1", "react-art": "18.3.1", diff --git a/yarn.lock b/yarn.lock index 489639bb0..6f2127cb0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2671,55 +2671,55 @@ resolved "https://registry.npmjs.org/@microsoft/applicationinsights-web-snippet/-/applicationinsights-web-snippet-1.0.1.tgz#6bb788b2902e48bf5d460c38c6bb7fedd686ddd7" integrity sha512-2IHAOaLauc8qaAitvWS+U931T+ze+7MNWrDHY47IENP5y2UA0vqJDu67kWZDdpCN1fFC77sfgfB+HV7SrKshnQ== -"@next/env@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.15.tgz#06d984e37e670d93ddd6790af1844aeb935f332f" - integrity sha512-S1qaj25Wru2dUpcIZMjxeMVSwkt8BK4dmWHHiBuRstcIyOsMapqT4A4jSB6onvqeygkSSmOkyny9VVx8JIGamQ== - -"@next/swc-darwin-arm64@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.15.tgz#6386d585f39a1c490c60b72b1f76612ba4434347" - integrity sha512-Rvh7KU9hOUBnZ9TJ28n2Oa7dD9cvDBKua9IKx7cfQQ0GoYUwg9ig31O2oMwH3wm+pE3IkAQ67ZobPfEgurPZIA== - -"@next/swc-darwin-x64@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.15.tgz#b7baeedc6a28f7545ad2bc55adbab25f7b45cb89" - integrity sha512-5TGyjFcf8ampZP3e+FyCax5zFVHi+Oe7sZyaKOngsqyaNEpOgkKB3sqmymkZfowy3ufGA/tUgDPPxpQx931lHg== - -"@next/swc-linux-arm64-gnu@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.15.tgz#fa13c59d3222f70fb4cb3544ac750db2c6e34d02" - integrity sha512-3Bwv4oc08ONiQ3FiOLKT72Q+ndEMyLNsc/D3qnLMbtUYTQAmkx9E/JRu0DBpHxNddBmNT5hxz1mYBphJ3mfrrw== - -"@next/swc-linux-arm64-musl@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.15.tgz#30e45b71831d9a6d6d18d7ac7d611a8d646a17f9" - integrity sha512-k5xf/tg1FBv/M4CMd8S+JL3uV9BnnRmoe7F+GWC3DxkTCD9aewFRH1s5rJ1zkzDa+Do4zyN8qD0N8c84Hu96FQ== - -"@next/swc-linux-x64-gnu@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.15.tgz#5065db17fc86f935ad117483f21f812dc1b39254" - integrity sha512-kE6q38hbrRbKEkkVn62reLXhThLRh6/TvgSP56GkFNhU22TbIrQDEMrO7j0IcQHcew2wfykq8lZyHFabz0oBrA== - -"@next/swc-linux-x64-musl@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.15.tgz#3c4a4568d8be7373a820f7576cf33388b5dab47e" - integrity sha512-PZ5YE9ouy/IdO7QVJeIcyLn/Rc4ml9M2G4y3kCM9MNf1YKvFY4heg3pVa/jQbMro+tP6yc4G2o9LjAz1zxD7tQ== - -"@next/swc-win32-arm64-msvc@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.15.tgz#fb812cc4ca0042868e32a6a021da91943bb08b98" - integrity sha512-2raR16703kBvYEQD9HNLyb0/394yfqzmIeyp2nDzcPV4yPjqNUG3ohX6jX00WryXz6s1FXpVhsCo3i+g4RUX+g== - -"@next/swc-win32-ia32-msvc@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.15.tgz#ec26e6169354f8ced240c1427be7fd485c5df898" - integrity sha512-fyTE8cklgkyR1p03kJa5zXEaZ9El+kDNM5A+66+8evQS5e/6v0Gk28LqA0Jet8gKSOyP+OTm/tJHzMlGdQerdQ== - -"@next/swc-win32-x64-msvc@14.2.15": - version "14.2.15" - resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.15.tgz#18d68697002b282006771f8d92d79ade9efd35c4" - integrity sha512-SzqGbsLsP9OwKNUG9nekShTwhj6JSB9ZLMWQ8g1gG6hdE5gQLncbnbymrwy2yVmH9nikSLYRYxYMFu78Ggp7/g== +"@next/env@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/env/-/env-14.2.21.tgz#09ff0813d29c596397e141205d4f5fd5c236bdd0" + integrity sha512-lXcwcJd5oR01tggjWJ6SrNNYFGuOOMB9c251wUNkjCpkoXOPkDeF/15c3mnVlBqrW4JJXb2kVxDFhC4GduJt2A== + +"@next/swc-darwin-arm64@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.21.tgz#32a31992aace1440981df9cf7cb3af7845d94fec" + integrity sha512-HwEjcKsXtvszXz5q5Z7wCtrHeTTDSTgAbocz45PHMUjU3fBYInfvhR+ZhavDRUYLonm53aHZbB09QtJVJj8T7g== + +"@next/swc-darwin-x64@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.21.tgz#5ab4b3f6685b6b52f810d0f5cf6e471480ddffdb" + integrity sha512-TSAA2ROgNzm4FhKbTbyJOBrsREOMVdDIltZ6aZiKvCi/v0UwFmwigBGeqXDA97TFMpR3LNNpw52CbVelkoQBxA== + +"@next/swc-linux-arm64-gnu@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.21.tgz#8a0e1fa887aef19ca218af2af515d0a5ee67ba3f" + integrity sha512-0Dqjn0pEUz3JG+AImpnMMW/m8hRtl1GQCNbO66V1yp6RswSTiKmnHf3pTX6xMdJYSemf3O4Q9ykiL0jymu0TuA== + +"@next/swc-linux-arm64-musl@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.21.tgz#ddad844406b42fa8965fe11250abc85c1fe0fd05" + integrity sha512-Ggfw5qnMXldscVntwnjfaQs5GbBbjioV4B4loP+bjqNEb42fzZlAaK+ldL0jm2CTJga9LynBMhekNfV8W4+HBw== + +"@next/swc-linux-x64-gnu@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.21.tgz#db55fd666f9ba27718f65caa54b622a912cdd16b" + integrity sha512-uokj0lubN1WoSa5KKdThVPRffGyiWlm/vCc/cMkWOQHw69Qt0X1o3b2PyLLx8ANqlefILZh1EdfLRz9gVpG6tg== + +"@next/swc-linux-x64-musl@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.21.tgz#dddb850353624efcd58c4c4e30ad8a1aab379642" + integrity sha512-iAEBPzWNbciah4+0yI4s7Pce6BIoxTQ0AGCkxn/UBuzJFkYyJt71MadYQkjPqCQCJAFQ26sYh7MOKdU+VQFgPg== + +"@next/swc-win32-arm64-msvc@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.21.tgz#290012ee57b196d3d2d04853e6bf0179cae9fbaf" + integrity sha512-plykgB3vL2hB4Z32W3ktsfqyuyGAPxqwiyrAi2Mr8LlEUhNn9VgkiAl5hODSBpzIfWweX3er1f5uNpGDygfQVQ== + +"@next/swc-win32-ia32-msvc@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.21.tgz#c959135a78cab18cca588d11d1e33bcf199590d4" + integrity sha512-w5bacz4Vxqrh06BjWgua3Yf7EMDb8iMcVhNrNx8KnJXt8t+Uu0Zg4JHLDL/T7DkTCEEfKXO/Er1fcfWxn2xfPA== + +"@next/swc-win32-x64-msvc@14.2.21": + version "14.2.21" + resolved "https://registry.yarnpkg.com/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.21.tgz#21ff892286555b90538a7d1b505ea21a005d6ead" + integrity sha512-sT6+llIkzpsexGYZq8cjjthRyRGe5cJVhqh12FmlbxHqna6zsDDK8UNaV7g41T6atFHCJUPeLb3uyAwrBwy0NA== "@nodelib/fs.scandir@2.1.5": version "2.1.5" @@ -15659,12 +15659,12 @@ next-images@1.8.4: file-loader "^6.2.0" url-loader "^4.1.0" -next@14.2.15: - version "14.2.15" - resolved "https://registry.yarnpkg.com/next/-/next-14.2.15.tgz#348e5603e22649775d19c785c09a89c9acb5189a" - integrity sha512-h9ctmOokpoDphRvMGnwOJAedT6zKhwqyZML9mDtspgf4Rh3Pn7UTYKqePNoDvhsWBAO5GoPNYshnAUGIazVGmw== +next@14.2.21: + version "14.2.21" + resolved "https://registry.yarnpkg.com/next/-/next-14.2.21.tgz#f6da9e2abba1a0e4ca7a5273825daf06632554ba" + integrity sha512-rZmLwucLHr3/zfDMYbJXbw0ZeoBpirxkXuvsJbk7UPorvPYZhP7vq7aHbKnU7dQNCYIimRrbB2pp3xmf+wsYUg== dependencies: - "@next/env" "14.2.15" + "@next/env" "14.2.21" "@swc/helpers" "0.5.5" busboy "1.6.0" caniuse-lite "^1.0.30001579" @@ -15672,15 +15672,15 @@ next@14.2.15: postcss "8.4.31" styled-jsx "5.1.1" optionalDependencies: - "@next/swc-darwin-arm64" "14.2.15" - "@next/swc-darwin-x64" "14.2.15" - "@next/swc-linux-arm64-gnu" "14.2.15" - "@next/swc-linux-arm64-musl" "14.2.15" - "@next/swc-linux-x64-gnu" "14.2.15" - "@next/swc-linux-x64-musl" "14.2.15" - "@next/swc-win32-arm64-msvc" "14.2.15" - "@next/swc-win32-ia32-msvc" "14.2.15" - "@next/swc-win32-x64-msvc" "14.2.15" + "@next/swc-darwin-arm64" "14.2.21" + "@next/swc-darwin-x64" "14.2.21" + "@next/swc-linux-arm64-gnu" "14.2.21" + "@next/swc-linux-arm64-musl" "14.2.21" + "@next/swc-linux-x64-gnu" "14.2.21" + "@next/swc-linux-x64-musl" "14.2.21" + "@next/swc-win32-arm64-msvc" "14.2.21" + "@next/swc-win32-ia32-msvc" "14.2.21" + "@next/swc-win32-x64-msvc" "14.2.21" nice-try@^1.0.4: version "1.0.5" From a807825f1138e5dc363fe5e0ac81247998af1088 Mon Sep 17 00:00:00 2001 From: Marius456 Date: Sat, 4 Jan 2025 17:39:42 +0200 Subject: [PATCH 11/12] update template 'next' --- packages/config-templates/renative.templates.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/config-templates/renative.templates.json b/packages/config-templates/renative.templates.json index a8f33931e..b58d34d81 100644 --- a/packages/config-templates/renative.templates.json +++ b/packages/config-templates/renative.templates.json @@ -1432,7 +1432,7 @@ } }, "next": { - "version": "14.2.15", + "version": "14.2.21", "supportedPlatforms": ["web"] }, "next-seo": "4.28.1", From fd6cf4c2157b8b6f35e632ea9bb38c0f2de62a45 Mon Sep 17 00:00:00 2001 From: Marius456 Date: Mon, 6 Jan 2025 09:52:12 +0200 Subject: [PATCH 12/12] add platforms engines --- packages/template-starter/renative.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/packages/template-starter/renative.json b/packages/template-starter/renative.json index c00c66bcb..0b3592ca1 100644 --- a/packages/template-starter/renative.json +++ b/packages/template-starter/renative.json @@ -110,6 +110,25 @@ "engine": "engine-rn", "deploymentTarget": "15.5", "reactNativeEngine": "hermes" + }, + "linux": { + "engine": "engine-rn-electron", + "assetFolderPlatform": "electron" + }, + "chromecast": { + "engine": "engine-rn-web" + }, + "webos": { + "engine": "engine-rn-web" + }, + "tizen": { + "engine": "engine-rn-web" + }, + "tizenwatch": { + "engine": "engine-rn-web" + }, + "kaios": { + "engine": "engine-rn-web" } }, "plugins": {