@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.
Files changed (85) hide show
  1. package/package.json +1 -1
  2. package/.editorconfig +0 -15
  3. package/.gitattributes +0 -3
  4. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -68
  5. package/.github/ISSUE_TEMPLATE/config.yml +0 -8
  6. package/.github/actions/setup/action.yml +0 -36
  7. package/.github/workflows/ci.yml +0 -165
  8. package/.gitignore +0 -86
  9. package/.idea/.gitignore +0 -8
  10. package/.idea/codeStyles/Project.xml +0 -59
  11. package/.idea/codeStyles/codeStyleConfig.xml +0 -5
  12. package/.idea/comnyx-rn.iml +0 -12
  13. package/.idea/inspectionProfiles/Project_Default.xml +0 -6
  14. package/.idea/modules.xml +0 -8
  15. package/.idea/prettier.xml +0 -6
  16. package/.idea/vcs.xml +0 -6
  17. package/.idea/workspace.xml +0 -71
  18. package/.nvmrc +0 -1
  19. package/.watchmanconfig +0 -1
  20. package/.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs +0 -541
  21. package/.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs +0 -28
  22. package/.yarn/releases/yarn-3.6.1.cjs +0 -874
  23. package/.yarnrc.yml +0 -10
  24. package/CODE_OF_CONDUCT.md +0 -133
  25. package/CONTRIBUTING.md +0 -130
  26. package/babel.config.js +0 -3
  27. package/example/.bundle/config +0 -2
  28. package/example/.watchmanconfig +0 -1
  29. package/example/Gemfile +0 -10
  30. package/example/README.md +0 -97
  31. package/example/android/app/build.gradle +0 -133
  32. package/example/android/app/debug.keystore +0 -0
  33. package/example/android/app/proguard-rules.pro +0 -10
  34. package/example/android/app/src/debug/AndroidManifest.xml +0 -9
  35. package/example/android/app/src/main/AndroidManifest.xml +0 -26
  36. package/example/android/app/src/main/java/comnyx/example/MainActivity.kt +0 -22
  37. package/example/android/app/src/main/java/comnyx/example/MainApplication.kt +0 -44
  38. package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -37
  39. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  40. package/example/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  41. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  42. package/example/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  43. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  44. package/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  45. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  46. package/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  47. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  48. package/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  49. package/example/android/app/src/main/res/values/strings.xml +0 -3
  50. package/example/android/app/src/main/res/values/styles.xml +0 -9
  51. package/example/android/build.gradle +0 -21
  52. package/example/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  53. package/example/android/gradle/wrapper/gradle-wrapper.properties +0 -7
  54. package/example/android/gradle.properties +0 -39
  55. package/example/android/gradlew +0 -251
  56. package/example/android/gradlew.bat +0 -94
  57. package/example/android/settings.gradle +0 -6
  58. package/example/app.json +0 -4
  59. package/example/babel.config.js +0 -12
  60. package/example/index.js +0 -5
  61. package/example/ios/.xcode.env +0 -11
  62. package/example/ios/ComnyxExample/AppDelegate.swift +0 -30
  63. package/example/ios/ComnyxExample/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  64. package/example/ios/ComnyxExample/Images.xcassets/Contents.json +0 -6
  65. package/example/ios/ComnyxExample/Info.plist +0 -52
  66. package/example/ios/ComnyxExample/LaunchScreen.storyboard +0 -47
  67. package/example/ios/ComnyxExample/PrivacyInfo.xcprivacy +0 -37
  68. package/example/ios/ComnyxExample.xcodeproj/project.pbxproj +0 -505
  69. package/example/ios/ComnyxExample.xcodeproj/xcshareddata/xcschemes/ComnyxExample.xcscheme +0 -88
  70. package/example/ios/Podfile +0 -43
  71. package/example/jest.config.js +0 -3
  72. package/example/metro.config.js +0 -18
  73. package/example/package.json +0 -31
  74. package/example/react-native.config.js +0 -21
  75. package/example/src/App.tsx +0 -20
  76. package/lefthook.yml +0 -14
  77. package/lib/typescript/commonjs/src/__tests__/index.test.d.ts +0 -1
  78. package/lib/typescript/commonjs/src/__tests__/index.test.d.ts.map +0 -1
  79. package/lib/typescript/module/src/__tests__/index.test.d.ts +0 -1
  80. package/lib/typescript/module/src/__tests__/index.test.d.ts.map +0 -1
  81. package/src/__tests__/index.test.tsx +0 -1
  82. package/tsconfig.build.json +0 -4
  83. package/tsconfig.json +0 -30
  84. package/turbo.json +0 -36
  85. 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>
@@ -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
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- preset: 'react-native',
3
- };
@@ -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
- });
@@ -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
- };
@@ -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');
@@ -1,4 +0,0 @@
1
- {
2
- "extends": "./tsconfig",
3
- "exclude": ["example", "lib"]
4
- }
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
- }