@developer_tribe/react-native-comnyx 0.1.0 → 0.1.1
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/package.json +1 -1
- package/.editorconfig +0 -15
- package/.gitattributes +0 -3
- package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -68
- package/.github/ISSUE_TEMPLATE/config.yml +0 -8
- package/.github/actions/setup/action.yml +0 -36
- package/.github/workflows/ci.yml +0 -165
- package/.gitignore +0 -86
- package/.idea/.gitignore +0 -8
- package/.idea/codeStyles/Project.xml +0 -59
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/comnyx-rn.iml +0 -12
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/modules.xml +0 -8
- package/.idea/prettier.xml +0 -6
- package/.idea/vcs.xml +0 -6
- package/.idea/workspace.xml +0 -71
- package/.nvmrc +0 -1
- package/.watchmanconfig +0 -1
- package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
- package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
- package/.yarn/releases/yarn-3.6.1.cjs +0 -874
- package/.yarnrc.yml +0 -10
- package/CODE_OF_CONDUCT.md +0 -133
- package/CONTRIBUTING.md +0 -130
- package/babel.config.js +0 -3
- package/example/.bundle/config +0 -2
- package/example/.watchmanconfig +0 -1
- package/example/Gemfile +0 -10
- package/example/README.md +0 -97
- package/example/android/app/build.gradle +0 -133
- package/example/android/app/debug.keystore +0 -0
- package/example/android/app/proguard-rules.pro +0 -10
- package/example/android/app/src/debug/AndroidManifest.xml +0 -9
- package/example/android/app/src/main/AndroidManifest.xml +0 -26
- package/example/android/app/src/main/java/comnyx/example/MainActivity.kt +0 -22
- package/example/android/app/src/main/java/comnyx/example/MainApplication.kt +0 -44
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
- package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
- package/example/android/app/src/main/res/values/strings.xml +0 -3
- package/example/android/app/src/main/res/values/styles.xml +0 -9
- package/example/android/build.gradle +0 -21
- package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
- package/example/android/gradle.properties +0 -39
- package/example/android/gradlew +0 -251
- package/example/android/gradlew.bat +0 -94
- package/example/android/settings.gradle +0 -6
- package/example/app.json +0 -4
- package/example/babel.config.js +0 -12
- package/example/index.js +0 -5
- package/example/ios/.xcode.env +0 -11
- package/example/ios/ComnyxExample/AppDelegate.swift +0 -30
- package/example/ios/ComnyxExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
- package/example/ios/ComnyxExample/Images.xcassets/Contents.json +0 -6
- package/example/ios/ComnyxExample/Info.plist +0 -52
- package/example/ios/ComnyxExample/LaunchScreen.storyboard +0 -47
- package/example/ios/ComnyxExample/PrivacyInfo.xcprivacy +0 -37
- package/example/ios/ComnyxExample.xcodeproj/project.pbxproj +0 -505
- package/example/ios/ComnyxExample.xcodeproj/xcshareddata/xcschemes/ComnyxExample.xcscheme +0 -88
- package/example/ios/Podfile +0 -43
- package/example/jest.config.js +0 -3
- package/example/metro.config.js +0 -18
- package/example/package.json +0 -31
- package/example/react-native.config.js +0 -21
- package/example/src/App.tsx +0 -20
- package/lefthook.yml +0 -14
- package/lib/typescript/commonjs/src/__tests__/index.test.d.ts +0 -1
- package/lib/typescript/commonjs/src/__tests__/index.test.d.ts.map +0 -1
- package/lib/typescript/module/src/__tests__/index.test.d.ts +0 -1
- package/lib/typescript/module/src/__tests__/index.test.d.ts.map +0 -1
- package/src/__tests__/index.test.tsx +0 -1
- package/tsconfig.build.json +0 -4
- package/tsconfig.json +0 -30
- package/turbo.json +0 -36
- package/yarn.lock +0 -9251
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<Scheme
|
|
3
|
-
LastUpgradeVersion = "1210"
|
|
4
|
-
version = "1.3">
|
|
5
|
-
<BuildAction
|
|
6
|
-
parallelizeBuildables = "YES"
|
|
7
|
-
buildImplicitDependencies = "YES">
|
|
8
|
-
<BuildActionEntries>
|
|
9
|
-
<BuildActionEntry
|
|
10
|
-
buildForTesting = "YES"
|
|
11
|
-
buildForRunning = "YES"
|
|
12
|
-
buildForProfiling = "YES"
|
|
13
|
-
buildForArchiving = "YES"
|
|
14
|
-
buildForAnalyzing = "YES">
|
|
15
|
-
<BuildableReference
|
|
16
|
-
BuildableIdentifier = "primary"
|
|
17
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
18
|
-
BuildableName = "ComnyxExample.app"
|
|
19
|
-
BlueprintName = "ComnyxExample"
|
|
20
|
-
ReferencedContainer = "container:ComnyxExample.xcodeproj">
|
|
21
|
-
</BuildableReference>
|
|
22
|
-
</BuildActionEntry>
|
|
23
|
-
</BuildActionEntries>
|
|
24
|
-
</BuildAction>
|
|
25
|
-
<TestAction
|
|
26
|
-
buildConfiguration = "Debug"
|
|
27
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
28
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
29
|
-
shouldUseLaunchSchemeArgsEnv = "YES">
|
|
30
|
-
<Testables>
|
|
31
|
-
<TestableReference
|
|
32
|
-
skipped = "NO">
|
|
33
|
-
<BuildableReference
|
|
34
|
-
BuildableIdentifier = "primary"
|
|
35
|
-
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
|
|
36
|
-
BuildableName = "ComnyxExampleTests.xctest"
|
|
37
|
-
BlueprintName = "ComnyxExampleTests"
|
|
38
|
-
ReferencedContainer = "container:ComnyxExample.xcodeproj">
|
|
39
|
-
</BuildableReference>
|
|
40
|
-
</TestableReference>
|
|
41
|
-
</Testables>
|
|
42
|
-
</TestAction>
|
|
43
|
-
<LaunchAction
|
|
44
|
-
buildConfiguration = "Debug"
|
|
45
|
-
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
|
46
|
-
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
|
47
|
-
launchStyle = "0"
|
|
48
|
-
useCustomWorkingDirectory = "NO"
|
|
49
|
-
ignoresPersistentStateOnLaunch = "NO"
|
|
50
|
-
debugDocumentVersioning = "YES"
|
|
51
|
-
debugServiceExtension = "internal"
|
|
52
|
-
allowLocationSimulation = "YES">
|
|
53
|
-
<BuildableProductRunnable
|
|
54
|
-
runnableDebuggingMode = "0">
|
|
55
|
-
<BuildableReference
|
|
56
|
-
BuildableIdentifier = "primary"
|
|
57
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
58
|
-
BuildableName = "ComnyxExample.app"
|
|
59
|
-
BlueprintName = "ComnyxExample"
|
|
60
|
-
ReferencedContainer = "container:ComnyxExample.xcodeproj">
|
|
61
|
-
</BuildableReference>
|
|
62
|
-
</BuildableProductRunnable>
|
|
63
|
-
</LaunchAction>
|
|
64
|
-
<ProfileAction
|
|
65
|
-
buildConfiguration = "Release"
|
|
66
|
-
shouldUseLaunchSchemeArgsEnv = "YES"
|
|
67
|
-
savedToolIdentifier = ""
|
|
68
|
-
useCustomWorkingDirectory = "NO"
|
|
69
|
-
debugDocumentVersioning = "YES">
|
|
70
|
-
<BuildableProductRunnable
|
|
71
|
-
runnableDebuggingMode = "0">
|
|
72
|
-
<BuildableReference
|
|
73
|
-
BuildableIdentifier = "primary"
|
|
74
|
-
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
|
|
75
|
-
BuildableName = "ComnyxExample.app"
|
|
76
|
-
BlueprintName = "ComnyxExample"
|
|
77
|
-
ReferencedContainer = "container:ComnyxExample.xcodeproj">
|
|
78
|
-
</BuildableReference>
|
|
79
|
-
</BuildableProductRunnable>
|
|
80
|
-
</ProfileAction>
|
|
81
|
-
<AnalyzeAction
|
|
82
|
-
buildConfiguration = "Debug">
|
|
83
|
-
</AnalyzeAction>
|
|
84
|
-
<ArchiveAction
|
|
85
|
-
buildConfiguration = "Release"
|
|
86
|
-
revealArchiveInOrganizer = "YES">
|
|
87
|
-
</ArchiveAction>
|
|
88
|
-
</Scheme>
|
package/example/ios/Podfile
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
ENV['RCT_NEW_ARCH_ENABLED'] = '1'
|
|
2
|
-
|
|
3
|
-
# Resolve react_native_pods.rb with node to allow for hoisting
|
|
4
|
-
require Pod::Executable.execute_command('node', ['-p',
|
|
5
|
-
'require.resolve(
|
|
6
|
-
"react-native/scripts/react_native_pods.rb",
|
|
7
|
-
{paths: [process.argv[1]]},
|
|
8
|
-
)', __dir__]).strip
|
|
9
|
-
|
|
10
|
-
platform :ios, min_ios_version_supported
|
|
11
|
-
prepare_react_native_project!
|
|
12
|
-
|
|
13
|
-
linkage = ENV['USE_FRAMEWORKS']
|
|
14
|
-
if linkage != nil
|
|
15
|
-
Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green
|
|
16
|
-
use_frameworks! :linkage => linkage.to_sym
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
target 'ComnyxExample' do
|
|
20
|
-
config = use_native_modules!
|
|
21
|
-
|
|
22
|
-
use_react_native!(
|
|
23
|
-
:path => config[:reactNativePath],
|
|
24
|
-
# An absolute path to your application root.
|
|
25
|
-
:app_path => "#{Pod::Config.instance.installation_root}/.."
|
|
26
|
-
)
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
# Run Codegen during development for the example app.
|
|
30
|
-
pre_install do |installer|
|
|
31
|
-
system("cd ../../ && npx bob build --target codegen")
|
|
32
|
-
end
|
|
33
|
-
|
|
34
|
-
post_install do |installer|
|
|
35
|
-
# https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202
|
|
36
|
-
react_native_post_install(
|
|
37
|
-
installer,
|
|
38
|
-
config[:reactNativePath],
|
|
39
|
-
:mac_catalyst_enabled => false,
|
|
40
|
-
# :ccache_enabled => true
|
|
41
|
-
)
|
|
42
|
-
end
|
|
43
|
-
end
|
package/example/jest.config.js
DELETED
package/example/metro.config.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const { getDefaultConfig } = require('@react-native/metro-config');
|
|
3
|
-
const { getConfig } = require('react-native-builder-bob/metro-config');
|
|
4
|
-
const pkg = require('../package.json');
|
|
5
|
-
|
|
6
|
-
const root = path.resolve(__dirname, '..');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Metro configuration
|
|
10
|
-
* https://facebook.github.io/metro/docs/configuration
|
|
11
|
-
*
|
|
12
|
-
* @type {import('metro-config').MetroConfig}
|
|
13
|
-
*/
|
|
14
|
-
module.exports = getConfig(getDefaultConfig(__dirname), {
|
|
15
|
-
root,
|
|
16
|
-
pkg,
|
|
17
|
-
project: __dirname,
|
|
18
|
-
});
|
package/example/package.json
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "react-native-comnyx-example",
|
|
3
|
-
"version": "0.0.1",
|
|
4
|
-
"private": true,
|
|
5
|
-
"scripts": {
|
|
6
|
-
"android": "react-native run-android",
|
|
7
|
-
"ios": "react-native run-ios",
|
|
8
|
-
"start": "react-native start",
|
|
9
|
-
"build:android": "react-native build-android --extra-params \"--no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a\"",
|
|
10
|
-
"build:ios": "react-native build-ios --scheme ComnyxExample --mode Debug --extra-params \"-sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO\""
|
|
11
|
-
},
|
|
12
|
-
"dependencies": {
|
|
13
|
-
"react": "19.0.0",
|
|
14
|
-
"react-native": "0.78.1"
|
|
15
|
-
},
|
|
16
|
-
"devDependencies": {
|
|
17
|
-
"@babel/core": "^7.25.2",
|
|
18
|
-
"@babel/preset-env": "^7.25.3",
|
|
19
|
-
"@babel/runtime": "^7.25.0",
|
|
20
|
-
"@react-native-community/cli": "15.0.1",
|
|
21
|
-
"@react-native-community/cli-platform-android": "15.0.1",
|
|
22
|
-
"@react-native-community/cli-platform-ios": "15.0.1",
|
|
23
|
-
"@react-native/babel-preset": "0.78.1",
|
|
24
|
-
"@react-native/metro-config": "0.78.1",
|
|
25
|
-
"@react-native/typescript-config": "0.78.1",
|
|
26
|
-
"react-native-builder-bob": "^0.38.3"
|
|
27
|
-
},
|
|
28
|
-
"engines": {
|
|
29
|
-
"node": ">=18"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
const path = require('path');
|
|
2
|
-
const pkg = require('../package.json');
|
|
3
|
-
|
|
4
|
-
module.exports = {
|
|
5
|
-
project: {
|
|
6
|
-
ios: {
|
|
7
|
-
automaticPodsInstallation: true,
|
|
8
|
-
},
|
|
9
|
-
},
|
|
10
|
-
dependencies: {
|
|
11
|
-
[pkg.name]: {
|
|
12
|
-
root: path.join(__dirname, '..'),
|
|
13
|
-
platforms: {
|
|
14
|
-
// Codegen script incorrectly fails without this
|
|
15
|
-
// So we explicitly specify the platforms with empty object
|
|
16
|
-
ios: {},
|
|
17
|
-
android: {},
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
},
|
|
21
|
-
};
|
package/example/src/App.tsx
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Text, View, StyleSheet } from 'react-native';
|
|
2
|
-
import { multiply } from 'react-native-comnyx';
|
|
3
|
-
|
|
4
|
-
const result = multiply(3, 7);
|
|
5
|
-
|
|
6
|
-
export default function App() {
|
|
7
|
-
return (
|
|
8
|
-
<View style={styles.container}>
|
|
9
|
-
<Text>Result: {result}</Text>
|
|
10
|
-
</View>
|
|
11
|
-
);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const styles = StyleSheet.create({
|
|
15
|
-
container: {
|
|
16
|
-
flex: 1,
|
|
17
|
-
alignItems: 'center',
|
|
18
|
-
justifyContent: 'center',
|
|
19
|
-
},
|
|
20
|
-
});
|
package/lefthook.yml
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
pre-commit:
|
|
2
|
-
parallel: true
|
|
3
|
-
commands:
|
|
4
|
-
lint:
|
|
5
|
-
glob: "*.{js,ts,jsx,tsx}"
|
|
6
|
-
run: npx eslint {staged_files}
|
|
7
|
-
types:
|
|
8
|
-
glob: "*.{js,ts, jsx, tsx}"
|
|
9
|
-
run: npx tsc
|
|
10
|
-
commit-msg:
|
|
11
|
-
parallel: true
|
|
12
|
-
commands:
|
|
13
|
-
commitlint:
|
|
14
|
-
run: npx commitlint --edit
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../../src/__tests__/index.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=index.test.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../../../src/__tests__/index.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
it.todo('write a test');
|
package/tsconfig.build.json
DELETED
package/tsconfig.json
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"rootDir": ".",
|
|
4
|
-
"paths": {
|
|
5
|
-
"react-native-comnyx": ["./src/index"]
|
|
6
|
-
},
|
|
7
|
-
"allowUnreachableCode": false,
|
|
8
|
-
"allowUnusedLabels": false,
|
|
9
|
-
"esModuleInterop": true,
|
|
10
|
-
"forceConsistentCasingInFileNames": true,
|
|
11
|
-
"jsx": "react-jsx",
|
|
12
|
-
"lib": ["ESNext"],
|
|
13
|
-
"module": "ESNext",
|
|
14
|
-
"moduleResolution": "bundler",
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
"noFallthroughCasesInSwitch": true,
|
|
17
|
-
"noImplicitReturns": true,
|
|
18
|
-
"noImplicitUseStrict": false,
|
|
19
|
-
"noStrictGenericChecks": false,
|
|
20
|
-
"noUncheckedIndexedAccess": true,
|
|
21
|
-
"noUnusedLocals": true,
|
|
22
|
-
"noUnusedParameters": true,
|
|
23
|
-
"resolveJsonModule": true,
|
|
24
|
-
"resolvePackageJsonImports": false,
|
|
25
|
-
"skipLibCheck": true,
|
|
26
|
-
"strict": true,
|
|
27
|
-
"target": "ESNext",
|
|
28
|
-
"verbatimModuleSyntax": true
|
|
29
|
-
}
|
|
30
|
-
}
|
package/turbo.json
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://turbo.build/schema.json",
|
|
3
|
-
"pipeline": {
|
|
4
|
-
"build:android": {
|
|
5
|
-
"env": ["ORG_GRADLE_PROJECT_newArchEnabled"],
|
|
6
|
-
"inputs": [
|
|
7
|
-
"package.json",
|
|
8
|
-
"android",
|
|
9
|
-
"!android/build",
|
|
10
|
-
"src/*.ts",
|
|
11
|
-
"src/*.tsx",
|
|
12
|
-
"example/package.json",
|
|
13
|
-
"example/android",
|
|
14
|
-
"!example/android/.gradle",
|
|
15
|
-
"!example/android/build",
|
|
16
|
-
"!example/android/app/build"
|
|
17
|
-
],
|
|
18
|
-
"outputs": []
|
|
19
|
-
},
|
|
20
|
-
"build:ios": {
|
|
21
|
-
"env": ["RCT_NEW_ARCH_ENABLED"],
|
|
22
|
-
"inputs": [
|
|
23
|
-
"package.json",
|
|
24
|
-
"*.podspec",
|
|
25
|
-
"ios",
|
|
26
|
-
"src/*.ts",
|
|
27
|
-
"src/*.tsx",
|
|
28
|
-
"example/package.json",
|
|
29
|
-
"example/ios",
|
|
30
|
-
"!example/ios/build",
|
|
31
|
-
"!example/ios/Pods"
|
|
32
|
-
],
|
|
33
|
-
"outputs": []
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|