From 796cbac386e6908a186eeca7b35f7bae46183849 Mon Sep 17 00:00:00 2001 From: ElenaDiachenko Date: Thu, 26 Oct 2023 15:20:17 +0300 Subject: [PATCH] add missing deps --- packages/engine-core/src/tasks/task.rnv.new.ts | 2 +- packages/template-starter/package.json | 3 ++- packages/template-starter/renative.template.json | 6 ++++-- yarn.lock | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/engine-core/src/tasks/task.rnv.new.ts b/packages/engine-core/src/tasks/task.rnv.new.ts index 15b168b499..85f4605cdc 100644 --- a/packages/engine-core/src/tasks/task.rnv.new.ts +++ b/packages/engine-core/src/tasks/task.rnv.new.ts @@ -711,13 +711,13 @@ export const taskRnvNew = async (c: RnvContext) => { config.platforms = platforms; config.engines = engines; config.defaults = defaults; - writeFileSync(c.paths.project.config, config); if (data.gitEnabled) { await checkAndCreateGitignore(c); await configureGit(c); } + logSuccess( `Your project is ready! navigate to project ${chalk().white(`cd ${data.projectName}`)} and run ${chalk().white( 'rnv run' diff --git a/packages/template-starter/package.json b/packages/template-starter/package.json index 19f2587b82..d2f2bae687 100644 --- a/packages/template-starter/package.json +++ b/packages/template-starter/package.json @@ -131,6 +131,7 @@ ] }, "dependencies": { - "raf": "3.4.1" + "raf": "3.4.1", + "@lightningjs/sdk": "^5.4.1" } } diff --git a/packages/template-starter/renative.template.json b/packages/template-starter/renative.template.json index 39f5821459..6d5296ec26 100644 --- a/packages/template-starter/renative.template.json +++ b/packages/template-starter/renative.template.json @@ -19,14 +19,16 @@ "@types/react-dom": "18.2.6", "@types/react-native": "0.72.3", "@flexn/typescript-config": "1.0.0", - "@flexn/assets-renative-outline": "0.3.2" + "@flexn/assets-renative-outline": "0.3.2", + "babel-loader": "9.1.3" }, "browserslist": { "production": [">0.2%", "not dead", "not op_mini all"], "development": ["last 1 chrome version", "last 1 firefox version", "last 1 safari version"] }, "resolutions": { - "@babel/traverse": "7.15.0" + "@babel/traverse": "7.15.0", + "@types/react": "18.2.6" } } }, diff --git a/yarn.lock b/yarn.lock index 6b399071aa..7adc20f37f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2759,7 +2759,7 @@ resolved "https://registry.npmjs.org/@lightningjs/core/-/core-2.11.0.tgz#ba4451094972eadb43d798a4190d469d4a4a0b9c" integrity sha512-i5MVd9845igNEcMFrsTOxPJVwZGyxCIv70VC/W8RNPDsTP7Hehzdn++TVky+7XQ6gdkBfpxBM5/k+IKIpn83NQ== -"@lightningjs/sdk@5.4.1": +"@lightningjs/sdk@5.4.1", "@lightningjs/sdk@^5.4.1": version "5.4.1" resolved "https://registry.npmjs.org/@lightningjs/sdk/-/sdk-5.4.1.tgz#44335ee10ec014beccc1644f88a410efd638689e" integrity sha512-8yJ6h4IEflH7A3mDGrjkjABtuAVPKmHotEGg9/75g1nv7aK5ShZHQ3PS1633JIpJCFiYFEhxqAkeq1DUblfqnw==