Skip to content

Commit

Permalink
Add engine code
Browse files Browse the repository at this point in the history
  • Loading branch information
ywongweb committed Jul 3, 2022
1 parent cfa0dd5 commit 7e90dfc
Show file tree
Hide file tree
Showing 84 changed files with 8,911 additions and 1,185 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@ buck-out/
*.jsbundle

# CocoaPods
/ios/Pods/
/level_one/level_two/level_three/ios/Pods/
.idea
/level_one/level_two/level_three/app_builds
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/inton/theapp/ios/
/inton/theapp/android/
/inton/theapp/app_builds/
/engine_autogenerated/
3 changes: 2 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ module.exports = {
singleQuote: true,
trailingComma: 'all',
arrowParens: 'avoid',
};
semi: false,
}
115 changes: 0 additions & 115 deletions App.tsx

This file was deleted.

14 changes: 0 additions & 14 deletions __tests__/App-test.tsx

This file was deleted.

5 changes: 5 additions & 0 deletions engine_autogenerated/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"modules": [
"example-app"
]
}
1 change: 1 addition & 0 deletions engine_autogenerated/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
require('../level_one/level_two/level_three/index')
7 changes: 7 additions & 0 deletions engine_autogenerated/modules.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

// This file is auto-generated by react-native-wix-engine

export default {
'example-app': () => require('example-app').default
};

9 changes: 0 additions & 9 deletions index.js

This file was deleted.

12 changes: 12 additions & 0 deletions level_one/level_two/level_three/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/ios/DerivedData
/ios/build
/ios/Pods
/android/.gradle
/android/build
/android/app/build
/android/.idea
/android/*.hprof
/.yarnignore
*.test.js
*.e2e.js
.idea
3 changes: 3 additions & 0 deletions level_one/level_two/level_three/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@<YOUR-GITHUB-USERNAME>:registry=https://npm.pkg.github.com/<YOUR-GITHUB-USERNAME>
registry=https://registry.npmjs.org
//npm.pkg.github.com/:_authToken=<GITHUB_PUBLISH_TOKEN>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions level_one/level_two/level_three/bin/engine
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../tools/engine_cli/bin/engine');
3 changes: 3 additions & 0 deletions level_one/level_two/level_three/bin/generate_configuration
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../tools/engine_cli/bin/generate_configuration');
7 changes: 7 additions & 0 deletions level_one/level_two/level_three/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react'
import {AppRegistry} from 'react-native'
import { App } from "../../../src/App";

AppRegistry.registerComponent('barebone', () => App)


6 changes: 3 additions & 3 deletions ios/Podfile → level_one/level_two/level_three/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../../../../node_modules/react-native/scripts/react_native_pods'
require_relative '../../../../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'

Expand Down Expand Up @@ -27,4 +27,4 @@ target 'barebone' do
react_native_post_install(installer)
__apply_Xcode_12_5_M1_post_install_workaround(installer)
end
end
end
Loading

0 comments on commit 7e90dfc

Please sign in to comment.