From f5dc4992fbae54fe5156163f88e7a90fc5df1117 Mon Sep 17 00:00:00 2001 From: yungblud Date: Thu, 13 Apr 2023 16:08:24 +0900 Subject: [PATCH] feat: :zap: modified setup --- examples/LaftelVideo/babel.config.js | 2 +- examples/LaftelVideo/metro.config.js | 2 +- examples/LaftelVideo/react-native.config.js | 2 +- package.json | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/LaftelVideo/babel.config.js b/examples/LaftelVideo/babel.config.js index 4b97aec6..dc0cf174 100644 --- a/examples/LaftelVideo/babel.config.js +++ b/examples/LaftelVideo/babel.config.js @@ -9,7 +9,7 @@ module.exports = { { extensions: ['.tsx', '.ts', '.js', '.json'], alias: { - [pak.name]: path.join(__dirname, '../..', pak.source), + [pak.name]: path.join(__dirname, '..', pak.source), }, }, ], diff --git a/examples/LaftelVideo/metro.config.js b/examples/LaftelVideo/metro.config.js index 3d2ce115..fbe280a8 100644 --- a/examples/LaftelVideo/metro.config.js +++ b/examples/LaftelVideo/metro.config.js @@ -3,7 +3,7 @@ const escape = require('escape-string-regexp'); const exclusionList = require('metro-config/src/defaults/exclusionList'); const pak = require('../../package.json'); -const root = path.resolve(__dirname, '../..'); +const root = path.resolve(__dirname, '..'); const modules = Object.keys({ ...pak.peerDependencies, diff --git a/examples/LaftelVideo/react-native.config.js b/examples/LaftelVideo/react-native.config.js index 5c1c2876..48ddfba3 100644 --- a/examples/LaftelVideo/react-native.config.js +++ b/examples/LaftelVideo/react-native.config.js @@ -4,7 +4,7 @@ const pak = require('../../package.json'); module.exports = { dependencies: { [pak.name]: { - root: path.join(__dirname, '../..'), + root: path.join(__dirname, '../../'), }, }, }; diff --git a/package.json b/package.json index 4ffa8600..f5e455e8 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "6.0.0-alpha.6", "description": "A