@rock-js/template-default 0.8.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.bundle/config ADDED
@@ -0,0 +1,2 @@
1
+ BUNDLE_PATH: "vendor/bundle"
2
+ BUNDLE_FORCE_RUBY_PLATFORM: 1
package/.eslintrc.js ADDED
@@ -0,0 +1,4 @@
1
+ module.exports = {
2
+ root: true,
3
+ extends: '@react-native',
4
+ };
package/.prettierrc.js ADDED
@@ -0,0 +1,5 @@
1
+ module.exports = {
2
+ arrowParens: 'avoid',
3
+ singleQuote: true,
4
+ trailingComma: 'all',
5
+ };
package/App.tsx ADDED
@@ -0,0 +1,5 @@
1
+ import WelcomeScreen from '@rock-js/welcome-screen';
2
+
3
+ export default function App() {
4
+ return <WelcomeScreen />;
5
+ }
package/Gemfile ADDED
@@ -0,0 +1,16 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version
4
+ ruby ">= 2.6.10"
5
+
6
+ # Exclude problematic versions of cocoapods and activesupport that causes build failures.
7
+ gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1'
8
+ gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0'
9
+ gem 'xcodeproj', '< 1.26.0'
10
+ gem 'concurrent-ruby', '< 1.3.4'
11
+
12
+ # Ruby 3.4.0 has removed some libraries from the standard library.
13
+ gem 'bigdecimal'
14
+ gem 'logger'
15
+ gem 'benchmark'
16
+ gem 'mutex_m'
package/README.md ADDED
File without changes
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @format
3
+ */
4
+
5
+ import 'react-native';
6
+ import React from 'react';
7
+ import App from '../App';
8
+
9
+ // Note: import explicitly to use the types shipped with jest.
10
+ import { it } from '@jest/globals';
11
+
12
+ // Note: test renderer must be required after react-native.
13
+ import ReactTestRenderer from 'react-test-renderer';
14
+
15
+ it('renders correctly', async () => {
16
+ await ReactTestRenderer.act(() => {
17
+ ReactTestRenderer.create(<App />);
18
+ });
19
+ });
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ presets: ['module:@react-native/babel-preset'],
3
+ };
package/gitignore ADDED
@@ -0,0 +1,78 @@
1
+ # OSX
2
+ #
3
+ .DS_Store
4
+
5
+ # Xcode
6
+ #
7
+ build/
8
+ *.pbxuser
9
+ !default.pbxuser
10
+ *.mode1v3
11
+ !default.mode1v3
12
+ *.mode2v3
13
+ !default.mode2v3
14
+ *.perspectivev3
15
+ !default.perspectivev3
16
+ xcuserdata
17
+ *.xccheckout
18
+ *.moved-aside
19
+ DerivedData
20
+ *.hmap
21
+ *.ipa
22
+ *.xcuserstate
23
+ **/.xcode.env.local
24
+
25
+ # Android/IntelliJ
26
+ #
27
+ build/
28
+ .idea
29
+ .gradle
30
+ local.properties
31
+ *.iml
32
+ *.hprof
33
+ .cxx/
34
+ *.keystore
35
+ !debug.keystore
36
+ .kotlin/
37
+
38
+ # node.js
39
+ #
40
+ node_modules/
41
+ npm-debug.log
42
+ yarn-error.log
43
+
44
+ # fastlane
45
+ #
46
+ # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
47
+ # screenshots whenever they are needed.
48
+ # For more information about the recommended setup visit:
49
+ # https://docs.fastlane.tools/best-practices/source-control/
50
+
51
+ **/fastlane/report.xml
52
+ **/fastlane/Preview.html
53
+ **/fastlane/screenshots
54
+ **/fastlane/test_output
55
+
56
+ # Bundle artifact
57
+ *.jsbundle
58
+
59
+ # Ruby / CocoaPods
60
+ **/Pods/
61
+ /vendor/bundle/
62
+
63
+ # Temporary files created by Metro to check the health of the file watcher
64
+ .metro-health-check*
65
+
66
+ # testing
67
+ /coverage
68
+
69
+ # Yarn
70
+ .yarn/*
71
+ !.yarn/patches
72
+ !.yarn/plugins
73
+ !.yarn/releases
74
+ !.yarn/sdks
75
+ !.yarn/versions
76
+
77
+ # Rock
78
+ .rock/
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @format
3
+ */
4
+
5
+ import { AppRegistry } from 'react-native';
6
+ import App from './App';
7
+
8
+ AppRegistry.registerComponent('HelloWorld', () => App);
package/jest.config.js ADDED
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ preset: 'react-native',
3
+ };
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@rock-js/template-default",
3
+ "version": "0.8.13",
4
+ "scripts": {
5
+ "start": "rock start",
6
+ "lint": "eslint .",
7
+ "test": "jest"
8
+ },
9
+ "dependencies": {
10
+ "react": "19.1.0",
11
+ "react-native": "0.80.1"
12
+ },
13
+ "devDependencies": {
14
+ "@babel/core": "^7.25.2",
15
+ "@babel/preset-env": "^7.25.3",
16
+ "@babel/runtime": "^7.25.0",
17
+ "rock": "^0.8.13",
18
+ "@rock-js/welcome-screen": "^0.8.13",
19
+ "@expo/fingerprint": "^0.11.6",
20
+ "@react-native/babel-preset": "0.80.1",
21
+ "@react-native/eslint-config": "0.80.1",
22
+ "@react-native/typescript-config": "0.80.1",
23
+ "@types/react": "^19.1.0",
24
+ "@types/react-test-renderer": "^19.1.0",
25
+ "babel-jest": "^29.6.3",
26
+ "eslint": "^8.19.0",
27
+ "jest": "^29.6.3",
28
+ "prettier": "2.8.8",
29
+ "react-test-renderer": "19.1.0",
30
+ "typescript": "5.0.4"
31
+ },
32
+ "engines": {
33
+ "node": ">=18"
34
+ },
35
+ "publishConfig": {
36
+ "access": "public"
37
+ }
38
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,3 @@
1
+ {
2
+ "extends": "@react-native/typescript-config"
3
+ }