Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RNV bootstrapping #1471

Merged
merged 184 commits into from Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from 169 commits
Commits
Show all changes
184 commits
Select commit Hold shift + click to select a range
5c3fc61
move taskNew to sub package
pavjacko Mar 12, 2024
db54050
decouple taskNew into smaller modules
pavjacko Mar 12, 2024
b434c0a
update questions
pavjacko Mar 12, 2024
be70f89
update taskNew options, questions
pavjacko Mar 12, 2024
22aa7ab
update tackNew logic
pavjacko Mar 12, 2024
af2538e
Merge branch 'chore/release_sync_2' of github.com:flexn-io/renative i…
pavjacko Mar 12, 2024
445a3d9
fix optionals
pavjacko Mar 12, 2024
d970194
support local templates
pavjacko Mar 13, 2024
5f77b55
taskNew updates
pavjacko Mar 13, 2024
789a0e5
fix cwd context switching
pavjacko Mar 13, 2024
05d1e65
updates and fixes
pavjacko Mar 13, 2024
7811dff
move isTemplate into appConfig to avoid it being present in bootstrap…
pavjacko Mar 13, 2024
df72e6d
fix bootstrapping
pavjacko Mar 13, 2024
c27c70d
bootstrap logic
pavjacko Mar 13, 2024
29443f6
template selection update
pavjacko Mar 13, 2024
9b85628
update schema
pavjacko Mar 13, 2024
bbd62eb
add platform filters to plugins
pavjacko Mar 13, 2024
e4f25e3
handle multiple instances of @rnv/core
pavjacko Mar 13, 2024
8c943e8
bootstrap fixes, config fixes
pavjacko Mar 14, 2024
64f9979
fix rn-tvos codegen based plugins support
pavjacko Mar 15, 2024
8e4749e
refactor adapters
pavjacko Mar 15, 2024
83e4266
fixes
pavjacko Mar 15, 2024
ad9f49c
add fallback resolver to support complex symlinked deps
pavjacko Mar 15, 2024
fa850d5
fix resolver fallback, add config spec
pavjacko Mar 15, 2024
9d7c6b6
Merge branch 'release/1.0' into feat/rnv_new
pavjacko Mar 15, 2024
e5fad43
fix ios skip linking for ios
pavjacko Mar 15, 2024
454ad59
update UTs
pavjacko Mar 16, 2024
737cbdc
fix UTs
pavjacko Mar 16, 2024
90fe365
refactor bootstrap payload
pavjacko Mar 16, 2024
3a3c55a
migrate jetifier into sdk-android
pavjacko Mar 16, 2024
9b2f876
fix plugin filtering
pavjacko Mar 16, 2024
a4496e5
fix sdk-rn watch folders to be mono root instead of project root. (fi…
pavjacko Mar 16, 2024
0254ae8
rnv link updates
pavjacko Mar 17, 2024
982e31f
dynamic linker, support for monorepos
pavjacko Mar 17, 2024
4656af4
fix UTs
pavjacko Mar 17, 2024
8f4a974
revamp help command, let tasks determine required options
pavjacko Mar 17, 2024
565e0ea
remove press any key func
pavjacko Mar 17, 2024
fa923eb
migrate telemetry, decouple rnv from cli
pavjacko Mar 17, 2024
19fc200
rnv migration fixes
pavjacko Mar 17, 2024
a92ba2a
split core project submodule into smaller parts. move configureFonts …
pavjacko Mar 17, 2024
0edd19b
move font templates into sdk-utils
pavjacko Mar 17, 2024
dbef43d
refactor template files
pavjacko Mar 17, 2024
5f9a083
refactor context paths and files
pavjacko Mar 18, 2024
e43accc
fix/flipper_xcode_15.3
ElenaDiachenko Mar 18, 2024
5621825
context paths, objs refactor
pavjacko Mar 18, 2024
9dde487
fix: change e2e selector because renative text has been removed from …
Mar 18, 2024
a0c746d
fix errors
pavjacko Mar 18, 2024
222572f
update plugin templates
pavjacko Mar 18, 2024
896297b
migrate templates
pavjacko Mar 18, 2024
b0a2694
move from support files to templateFiles
pavjacko Mar 18, 2024
c783d0f
move gradleProject to templateFiles
pavjacko Mar 18, 2024
d85d8e7
cleanup ignore files
pavjacko Mar 18, 2024
8766e3e
migrate config structure
pavjacko Mar 18, 2024
77939a1
update config structures
pavjacko Mar 18, 2024
d7d8241
fix bootstrap linking (need to link after build as rnv builds bin exec)
pavjacko Mar 18, 2024
b9b81be
reuse rnvFileName enum
pavjacko Mar 18, 2024
07c22ef
update schema
pavjacko Mar 18, 2024
c24eec3
fixes
pavjacko Mar 18, 2024
4592065
fix scopedConfigTemplates, strongly typed c.program
pavjacko Mar 19, 2024
5c484b9
fix UTs
pavjacko Mar 19, 2024
fa493ae
logging refactor
pavjacko Mar 19, 2024
8bc33a3
make flipper usage configurable
ElenaDiachenko Mar 19, 2024
6e20734
fix overrides
pavjacko Mar 19, 2024
7839bcb
fix UTs
pavjacko Mar 19, 2024
df8b3d3
Merge branch 'fix/flipper_xcode_15.3' into feat/rnv_new
pavjacko Mar 19, 2024
e47b3c3
reverting to RN 0.73.3. 0.73.6 contains bug where non node_module fo…
pavjacko Mar 19, 2024
67a0297
add photo editor overrides to config templates
pavjacko Mar 20, 2024
faeac41
upgrate o RN 0.73.4
ElenaDiachenko Mar 20, 2024
46dfa29
fix rnv new unresolved @rnv/config-templates error
pavjacko Mar 20, 2024
da0b2e1
Merge pull request #1477 from flexn-io/fix/rn_version
pavjacko Mar 20, 2024
c0dee78
rename rnv enums
pavjacko Mar 20, 2024
8d7fa9a
Merge branch 'feat/rnv_new' of github.com:flexn-io/renative into feat…
pavjacko Mar 20, 2024
1762e41
publish @rnv/config-templates 1.0.0-rc.12
pavjacko Mar 20, 2024
c861ccb
fix platform selector
pavjacko Mar 20, 2024
0f4f126
templateOverrides folder support
pavjacko Mar 20, 2024
8d8dcee
update multi instance rnv handler
pavjacko Mar 20, 2024
6c154d7
additional fixes for bootstrap and multi-instance handling
pavjacko Mar 21, 2024
fedabc8
selective linking options
pavjacko Mar 21, 2024
1349d50
support --yes as core option
pavjacko Mar 21, 2024
fa7fe57
fix template key
pavjacko Mar 22, 2024
d743deb
refactor platforms defs
pavjacko Mar 22, 2024
b5a9cbb
rename SUPPORTED_PLATFORMS to RnvPlatforms
pavjacko Mar 22, 2024
9001967
fix support for platform Independent Tasks
pavjacko Mar 22, 2024
2f676c3
fix tvos metro runner
pavjacko Mar 22, 2024
795b3e5
fix macos bootstrap
pavjacko Mar 22, 2024
44e6584
fix @rnv/adapter withRNVWebpack, add metro-react-native-babel-preset …
pavjacko Mar 22, 2024
0cbfadf
load babel preset directly instead of string to work correctly in lin…
pavjacko Mar 22, 2024
b66e303
split and migrate target tasks into respective sdks and reuse them in…
pavjacko Mar 22, 2024
03777e4
expose sdk tasks to engines
pavjacko Mar 22, 2024
42e5f23
migrate ios profile tasks to sdk-apple
pavjacko Mar 23, 2024
27493df
categorize task options
pavjacko Mar 23, 2024
566f6ca
cleanup task options
pavjacko Mar 23, 2024
2d147b4
make platforms optional in task def
pavjacko Mar 23, 2024
da14429
fix task execution
pavjacko Mar 23, 2024
a37a709
fix ut
pavjacko Mar 23, 2024
883d6fc
refactor bootstrap logic
pavjacko Mar 23, 2024
8543d0c
refactor bootstrap logic, fixes
pavjacko Mar 24, 2024
bd41e6e
app config modifier
pavjacko Mar 24, 2024
73f6392
update bootstrap logic
pavjacko Mar 24, 2024
a0dc259
refactor helpers
pavjacko Mar 24, 2024
85b71c2
migrate taskNew
pavjacko Mar 24, 2024
816fc10
tasks migration
pavjacko Mar 24, 2024
c18bb48
task migration pt2
pavjacko Mar 24, 2024
6c8a173
task migration pt3
pavjacko Mar 24, 2024
0579189
task migration pt4
pavjacko Mar 24, 2024
479f1a2
task migration pt5
pavjacko Mar 24, 2024
26c33d8
task migration fixes
pavjacko Mar 24, 2024
0b4a8b8
add support for `-p <PLATFORM> --yes` for rnv new
pavjacko Mar 24, 2024
67c7b62
install option, read config templates before full install
pavjacko Mar 24, 2024
9df8b24
fix UTs
pavjacko Mar 25, 2024
9f7e2a4
bootstrap fixes
pavjacko Mar 25, 2024
51cd2f2
upgrade commander
pavjacko Mar 25, 2024
6ae73d2
refactor program options access after upgrade
pavjacko Mar 25, 2024
0b20f6c
fix help options
pavjacko Mar 25, 2024
3a6528f
move options to specific tasks, deprecate custom appConfig, src copy …
pavjacko Mar 25, 2024
d77ae22
fix UTs
pavjacko Mar 25, 2024
1c0e0bd
revert template apply old code (until new err handling for applyTempl…
pavjacko Mar 25, 2024
d9d386b
fix template gen
pavjacko Mar 25, 2024
fbcc7c5
fix task selection, add unique key for each task
pavjacko Mar 26, 2024
dd8adef
refactor task system pt1
pavjacko Mar 26, 2024
2c4925c
task system refactor pt2
pavjacko Mar 27, 2024
6d2be44
task system refactor pt3
pavjacko Mar 27, 2024
cb87521
engine reg fixes
pavjacko Mar 27, 2024
a8f23e0
cleanup, fixes, schema regen
pavjacko Mar 27, 2024
f968292
refactor task exec and wizard
pavjacko Mar 27, 2024
f55b8c0
update tasks to createTask func
pavjacko Mar 27, 2024
2416391
add --packageManager to configure preset, fix tizen sdk errs
pavjacko Mar 27, 2024
e6f252d
UT fixes
pavjacko Mar 27, 2024
a15d469
fix rnv run
pavjacko Mar 27, 2024
2e5d192
set availablePlatforms and engine regardless of manual selection option
pavjacko Mar 27, 2024
3bcbfb9
e2e fix
pavjacko Mar 27, 2024
9dba8fc
e2e fix
Mar 27, 2024
b89b1bd
better handling for unknown commands
pavjacko Mar 27, 2024
8cf9caa
Merge branch 'feat/rnv_new' of github.com:flexn-io/renative into feat…
pavjacko Mar 27, 2024
55ecd3e
fix tizen build sdk
pavjacko Mar 27, 2024
1f96a48
fix harness web e2e
Mar 27, 2024
276f952
do not apply template copy on existing project root folders
pavjacko Mar 27, 2024
0e7a55b
Merge branch 'feat/rnv_new' of github.com:flexn-io/renative into feat…
pavjacko Mar 27, 2024
7eaf8c0
file mutations
pavjacko Mar 27, 2024
bc2a813
context mutations
pavjacko Mar 27, 2024
3481172
handle mutations
pavjacko Mar 27, 2024
8de41d3
handle task clashes, UT updates
pavjacko Mar 28, 2024
13e7ff1
fix tizenwatch, tizenmobile support
pavjacko Mar 28, 2024
2ef34f7
fix UTs
pavjacko Mar 28, 2024
ec05120
fix bootstrap
pavjacko Mar 28, 2024
6b96130
fix tvos
pavjacko Mar 28, 2024
4ac42d8
change e2e ports
Mar 28, 2024
82caba1
fix rnv new
pavjacko Mar 29, 2024
194386e
Merge branch 'feat/rnv_new' of github.com:flexn-io/renative into feat…
pavjacko Mar 29, 2024
bd264b6
add better logging
pavjacko Mar 29, 2024
51bc0fa
check empty assetsFolder
pavjacko Mar 29, 2024
3a61558
fix integration tasks platform management
pavjacko Mar 29, 2024
70f145b
cleanup template system
pavjacko Mar 29, 2024
0802555
template bootstrap
pavjacko Mar 30, 2024
1dc5060
update next runner
pavjacko Mar 30, 2024
f048c47
reduce def size pt1
pavjacko Mar 30, 2024
d4f0b2c
refactor pt2
pavjacko Mar 30, 2024
a2a2f4d
refactor schemas
pavjacko Mar 31, 2024
becbda8
type fixes
pavjacko Mar 31, 2024
9bb3faa
refactor schema types
pavjacko Apr 1, 2024
3b17253
type fixes
pavjacko Apr 1, 2024
d79a254
update schemas
pavjacko Apr 1, 2024
65205de
types refactor
pavjacko Apr 1, 2024
70b4935
types refactor
pavjacko Apr 1, 2024
26ddc1e
update schema types
pavjacko Apr 1, 2024
accce28
update schema types
pavjacko Apr 1, 2024
e1af1ef
update types, cleanup
pavjacko Apr 1, 2024
c036cbd
cleanup platform key types
pavjacko Apr 1, 2024
0b9b08a
engine creator with task options infering
pavjacko Apr 2, 2024
bbbfb65
task logic updates
pavjacko Apr 2, 2024
c502a77
add compatibility support for legacy plugin templates
pavjacko Apr 2, 2024
e0bd1c2
fix beforeDependsOn
pavjacko Apr 2, 2024
ac02b52
update install logic
pavjacko Apr 2, 2024
3cda065
logging, install flag fixes
pavjacko Apr 2, 2024
61e83cd
Merge branch 'feat/context_decorators' into feat/rnv_new
pavjacko Apr 2, 2024
b84546d
refactor engine generators
pavjacko Apr 2, 2024
c197fcf
migrate options to sdks / engines
pavjacko Apr 2, 2024
afb9941
camel case conversion for task opts
pavjacko Apr 2, 2024
abb176c
convert sdks to use creators
pavjacko Apr 2, 2024
c17cbf3
update schema, introduce root schema, fix task registry
pavjacko Apr 3, 2024
d195b86
update axios refs
pavjacko Apr 3, 2024
7a4c926
fix template hosted
pavjacko Apr 3, 2024
cc79441
fix double window opening in hosted mode
pavjacko Apr 3, 2024
d5afffb
fix typos
pavjacko Apr 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .eslintignore
Expand Up @@ -16,8 +16,8 @@ test/examples/*.js
**/projectTemplates
**/pluginTemplates
**/nodeModuleOverrides
**/supportFiles
**/coreTemplateFiles
**/templateFiles
**/templateFiles
packages/rnv/tests
jest.config.*.js
**/templates
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-harness-android.yml
Expand Up @@ -36,7 +36,7 @@ jobs:
cd packages/app-harness && yarn run:android-test & sleep 180
- name: E2E
run: |
cd packages/app-harness && yarn e2e:android && kill $(lsof -t -i:8083)
cd packages/app-harness && yarn e2e:android && kill $(lsof -t -i:8093)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-harness-androidtv.yml
Expand Up @@ -36,7 +36,7 @@ jobs:
cd packages/app-harness && yarn run:androidtv-test & sleep 180
- name: E2E
run: |
cd packages/app-harness && yarn e2e:androidtv && kill $(lsof -t -i:8084)
cd packages/app-harness && yarn e2e:androidtv && kill $(lsof -t -i:8094)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-harness-ios.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
cd packages/app-harness && yarn run:ios-test & sleep 1200
- name: E2E
run: |
cd packages/app-harness && yarn e2e:ios && kill $(lsof -t -i:8082)
cd packages/app-harness && yarn e2e:ios && kill $(lsof -t -i:8092)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-harness-tvos.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
cd packages/app-harness && yarn run:tvos-test & sleep 1200
- name: E2E
run: |
cd packages/app-harness && yarn e2e:tvos && kill $(lsof -t -i:8089)
cd packages/app-harness && yarn e2e:tvos && kill $(lsof -t -i:8099)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-harness-web.yml
Expand Up @@ -36,7 +36,7 @@ jobs:
cd packages/app-harness && yarn start:web-test & sleep 60
- name: E2E
run: |
cd packages/app-harness && yarn e2e:web && kill $(lsof -t -i:8080)
cd packages/app-harness && yarn e2e:web && kill $(lsof -t -i:8090)
# Commented because e2e tests would fail due to minion issues
# - name: Post message to Slack via Webhook
# if: ${{ github.event_name == 'push' && failure() }}
Expand Down
59 changes: 39 additions & 20 deletions .gitignore
Expand Up @@ -28,15 +28,23 @@ project.xcworkspace
# node.js
#
node_modules/
dist
lib

# NPM
#
npm-debug.log
yarn-error.log

# Yarn
#
yarn-error.log

# Lerna
#
lerna-debug.log

index/

# BUCK
#
buck-out/
\.buckd/

Expand All @@ -51,25 +59,36 @@ buck-out/


# Testing
/packages/**/coverage
/packages/**/dist
/packages/**/lib

.expo
#
coverage
reporting
coverage-ts

# IMPORTANT. in rnv .next should NOT be at the root level but in platformBuilds. if you see it in root level you should delete it
# .next

# RN Windows Engine
.binlog
packages/**/*.binlog
# Expo
#
.expo

dist
lib
# Next
#
.next

lerna-debug.log
yarn-error.log
# ReNative
#
.rnv
coverage-ts
.watchman-cookie-*
renative.private.json
renative.local.json
renative.local.json
renative.build.json
renative.runtime.json
rnv-config.local.json
metro.config.local.js
platformBuilds
platformAssets

# Other
#
.binlog
*.binlog
.bundle
vendor
.watchman-cookie-*
1 change: 1 addition & 0 deletions .prettierignore
Expand Up @@ -22,4 +22,5 @@ build

allure-results
pluginTemplates
templateFiles
*.d.ts
54 changes: 30 additions & 24 deletions __mocks__/@rnv/core.ts
Expand Up @@ -10,30 +10,32 @@ type Context = {

const rnvcore: any = jest.createMockFromModule('@rnv/core');

function mockChalk(v) {
return v;
}

const _chalkCols: any = {
white: (v) => v,
green: (v) => v,
red: (v) => v,
yellow: (v) => v,
default: (v) => v,
gray: (v) => v,
grey: (v) => v,
blue: (v) => v,
cyan: (v) => v,
magenta: (v) => v,
bold: (v) => v,
rgb: (v) => v,
white: mockChalk,
green: mockChalk,
red: mockChalk,
yellow: mockChalk,
default: mockChalk,
gray: mockChalk,
grey: mockChalk,
blue: mockChalk,
cyan: mockChalk,
magenta: mockChalk,
bold: mockChalk,
rgb: mockChalk,
};
function mockChalk() {
return _chalkCols;
}

Object.assign(mockChalk, _chalkCols);
Object.keys(_chalkCols).forEach((key) => {
_chalkCols[key] = mockChalk;
});
const _chalkMono = {
..._chalkCols,
};
// Object.keys(_chalkCols).forEach((key) => {
// _chalkCols[key] = mockChalk;
// });
// const _chalkMono = {
// ..._chalkCols,
// };

const generateRnvConfigPathObj = () => {
return {
Expand Down Expand Up @@ -61,6 +63,7 @@ const generateRnvConfigFileObj = () => {
};

const generateContextDefaults = (ctx?: Context) => {
const _opts = {};
const runtime: any = {
currentEngine: { rootPath: '' },
enginesByPlatform: {},
Expand Down Expand Up @@ -99,11 +102,13 @@ const generateContextDefaults = (ctx?: Context) => {
runtimePropsInjects: [],
supportedPlatforms: [],
systemPropsInjects: [],
program: {},
program: {
opts: () => _opts,
},
buildConfig: {},
command: '',
subCommand: '',
platform: ctx?.program.platform ?? '',
platform: ctx?.program.opts().platform ?? '',
process: {},
//==========
_renativePluginCache: {},
Expand Down Expand Up @@ -251,7 +256,8 @@ const generateContextDefaults = (ctx?: Context) => {
},
};
};
rnvcore.chalk = () => _chalkMono;
rnvcore.createTask = (task) => task;
rnvcore.chalk = () => _chalkCols;
rnvcore.createRnvContext = (ctx?: Context) => {
rnvcore.__MOCK_RNV_CONTEXT = generateContextDefaults(ctx);
};
Expand Down
18 changes: 14 additions & 4 deletions buildHooks/src/prePublish.ts
@@ -1,5 +1,13 @@
import path from 'path';
import { RnvContext, copyFileSync, fixPackageObject, fsExistsSync, readObjectSync, writeFileSync } from '@rnv/core';
import {
RnvContext,
RnvFileName,
copyFileSync,
fixPackageObject,
fsExistsSync,
readObjectSync,
writeFileSync,
} from '@rnv/core';
import fs from 'fs';

const merge = require('deepmerge');
Expand Down Expand Up @@ -29,7 +37,9 @@ const VERSIONED_PACKAGES = [
'sdk-webos',
'sdk-utils',
'renative',
'config-templates',
'integration-docker',
'adapter',
];

type PackageConfig = {
Expand All @@ -49,7 +59,7 @@ const setPackageVersions = (c: RnvContext, version: string | undefined, versione
const pkgFolder = path.join(c.paths.project.dir, 'packages');
_updateJson(c.paths.project.package, v);
versionedPackages.forEach(function (pkgName) {
_updateJson(path.join(pkgFolder, pkgName, 'package.json'), v);
_updateJson(path.join(pkgFolder, pkgName, RnvFileName.package), v);
});
};

Expand Down Expand Up @@ -116,7 +126,7 @@ export const prePublish = async (c: RnvContext) => {
},
});

_updateJson(path.join(pkgDirPath, 'rnv/coreTemplateFiles/renative.templates.json'), {
_updateJson(path.join(pkgDirPath, 'core/renative.templates.json'), {
engineTemplates: {
'@rnv/engine-rn': v,
'@rnv/engine-rn-tvos': v,
Expand All @@ -142,7 +152,7 @@ export const prePublish = async (c: RnvContext) => {
let pkgFile;

if (fs.statSync(dirPath).isDirectory()) {
_pkgPath = path.join(dirPath, 'package.json');
_pkgPath = path.join(dirPath, RnvFileName.package);
if (fsExistsSync(_pkgPath)) {
pkgFile = readObjectSync<any>(_pkgPath);
pkgName = pkgFile?.name;
Expand Down
9 changes: 3 additions & 6 deletions package.json
Expand Up @@ -56,8 +56,8 @@
"url": "git://github.com/flexn-io/renative.git"
},
"scripts": {
"bootstrap": "yarn run link:rnv && npx lerna bootstrap && yarn build",
"bootstrap-clean": "rimraf -I ./node_modules; npx lerna clean --yes && yarn bootstrap",
"bootstrap": "npx lerna@6 bootstrap && yarn build && yarn link:rnv",
"bootstrap-clean": "rimraf -I ./node_modules; npx lerna@6 clean --yes && yarn bootstrap",
"build": "lerna run build",
"compile": "npx lerna run compile",
"deploy:canary": "yarn pre-publish && npx lerna publish from-package --dist-tag canary && git push --tags origin HEAD",
Expand Down Expand Up @@ -99,7 +99,6 @@
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"babel-jest": "29.6.3",
"babel-plugin-module-resolver": "^5.0.0",
"deepmerge": "3.2.0",
"eslint": "8.19.0",
"eslint-config-prettier": "8.8.0",
Expand Down Expand Up @@ -143,12 +142,10 @@
"webpack",
"mini-css-extract-plugin",
"execa",
"**/@flexn/plugins",
"**/@flexn/graybox",
"**/appium-*",
"**/@wdio/*",
"**/@react-native/metro-babel-transformer"
]
},
"resolutions": {}
}
}
File renamed without changes.
2 changes: 2 additions & 0 deletions packages/adapter/README.md
@@ -0,0 +1,2 @@
# @rnv/adapter

39 changes: 39 additions & 0 deletions packages/adapter/package.json
@@ -0,0 +1,39 @@
{
"name": "@rnv/adapter",
"version": "1.0.0-rc.12",
"description": "ReNative Adapters for babel, metro, next and other build configs",
"keywords": [],
"homepage": "https://github.com/flexn-io/renative#readme",
"bugs": {
"url": "https://github.com/flexn-io/renative/issues"
},
"license": "MIT",
"author": "Pavel Jacko <pavel.jacko@gmail.com> (https://github.com/pavjacko)",
"files": [
"LICENSE",
"lib",
"types.d.ts"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/flexn-io/renative.git"
},
"scripts": {
"bootstrap": "yarn && yarn build && npm link",
"build": "yarn clean && yarn compile",
"clean": "rimraf -I ./lib && rimraf -I tsconfig.tsbuildinfo",
"compile": "tsc -b tsconfig.json",
"compile:prod": "tsc -b tsconfig.json",
"lint": "eslint . --ext .ts",
"watch": "tsc --watch --preserveWatchOutput"
},
"dependencies": {
"babel-plugin-module-resolver": "^5.0.0"
},
"peerDependencies": {},
"private": false,
"publishConfig": {
"access": "public"
}
}