Skip to content

Commit

Permalink
update to main
Browse files Browse the repository at this point in the history
  • Loading branch information
ElenaDiachenko committed Jan 7, 2025
2 parents 196ff61 + 999e85c commit 4e4eb23
Show file tree
Hide file tree
Showing 40 changed files with 590 additions and 528 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -90,8 +90,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",
Expand Down
2 changes: 1 addition & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
28 changes: 14 additions & 14 deletions packages/app-harness/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -45,9 +45,9 @@
"@react-native-community/cli": "15.0.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",
"next": "14.2.21",
"raf": "3.4.1",
"react": "18.3.1",
"react-art": "18.3.1",
Expand All @@ -69,17 +69,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",
Expand Down
4 changes: 2 additions & 2 deletions packages/build-hooks-git/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -32,7 +32,7 @@
"typescript": "5.2.2"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/build-hooks-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,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"
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -45,7 +45,7 @@
"@types/inquirer-autocomplete-prompt": "^3.0.3"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/config-templates/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
20 changes: 10 additions & 10 deletions packages/config-templates/renative.templates.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
Expand Down Expand Up @@ -991,7 +991,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"
Expand Down Expand Up @@ -1437,7 +1437,7 @@
}
},
"next": {
"version": "14.2.10",
"version": "14.2.21",
"supportedPlatforms": ["web"]
},
"next-seo": "4.28.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -53,7 +53,7 @@
"@types/envinfo": "7.8.4"
},
"peerDependencies": {
"@rnv/config-templates": "^1.8.0-rc.0"
"@rnv/config-templates": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/projects/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 || {});
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/tasks/taskOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
6 changes: 3 additions & 3 deletions packages/engine-core/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -39,7 +39,7 @@
"typescript": "5.2.2"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
10 changes: 5 additions & 5 deletions packages/engine-lightning/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -34,14 +34,14 @@
"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",
"rimraf": "2.6.2",
"typescript": "5.2.2"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
12 changes: 6 additions & 6 deletions packages/engine-rn-electron/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -34,10 +34,10 @@
},
"dependencies": {
"@react-native/babel-preset": "0.76.3",
"@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",
Expand All @@ -46,7 +46,7 @@
"typescript": "5.2.2"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
10 changes: 5 additions & 5 deletions packages/engine-rn-macos/package.json
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -33,14 +33,14 @@
},
"dependencies": {
"@react-native/babel-preset": "0.76.3",
"@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",
"rimraf": "2.6.2",
"typescript": "5.2.2"
},
"peerDependencies": {
"@rnv/core": "^1.8.0-rc.0"
"@rnv/core": "^1.9.0-rc.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/engine-rn-next/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -33,8 +33,8 @@
"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",
Expand All @@ -43,7 +43,7 @@
"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"
Expand Down
Loading

0 comments on commit 4e4eb23

Please sign in to comment.