@jamadd/react-native-template-ui 0.8.1 → 0.8.3

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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 JaMaD&D
3
+ Copyright (c) 2026 JaMaD&D
4
4
  Permission is hereby granted, free of charge, to any person obtaining a copy
5
5
  of this software and associated documentation files (the "Software"), to deal
6
6
  in the Software without restriction, including without limitation the rights
@@ -1,6 +1,6 @@
1
1
  import type { Dispatch, SetStateAction } from 'react';
2
2
  import type { LayoutChangeEvent } from 'react-native';
3
- export type Timeout = NodeJS.Timeout;
3
+ export type Timeout = ReturnType<typeof setTimeout>;
4
4
  export type SetState<T> = Dispatch<SetStateAction<T>>;
5
5
  export type OnLayout = (event: LayoutChangeEvent) => void;
6
6
  //# sourceMappingURL=react.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/types/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,CAAC;AAErC,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC"}
1
+ {"version":3,"file":"react.d.ts","sourceRoot":"","sources":["../../../../src/types/react.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEtD,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAEpD,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,MAAM,MAAM,QAAQ,GAAG,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jamadd/react-native-template-ui",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "React Native Template UI is a collection of UI components designed by JaMa D&D.",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",
@@ -18,6 +18,7 @@
18
18
  "ios",
19
19
  "cpp",
20
20
  "*.podspec",
21
+ "react-native.config.js",
21
22
  "!ios/build",
22
23
  "!android/build",
23
24
  "!android/gradle",
@@ -37,7 +38,7 @@
37
38
  "test-watch": "jest --watch",
38
39
  "typecheck": "tsc",
39
40
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
40
- "clean": "del-cli lib",
41
+ "clean": "del-cli lib && rm -rf node_modules && yarn",
41
42
  "prepare": "bob build",
42
43
  "release": "release-it --only-version",
43
44
  "release-major": "yarn prepare && node scripts/bumpVersion.js major && yarn release-commit",
@@ -76,38 +77,42 @@
76
77
  "access": "public"
77
78
  },
78
79
  "devDependencies": {
79
- "@eslint/compat": "^1.3.2",
80
- "@eslint/eslintrc": "^3.3.1",
81
- "@eslint/js": "^9.35.0",
80
+ "@eslint/compat": "^2.0.3",
81
+ "@eslint/eslintrc": "^3.3.5",
82
+ "@eslint/js": "^10.0.1",
82
83
  "@jamadd/react-native-template-icons": "^0.4.8",
84
+ "@jest/globals": "^30.0.0",
83
85
  "@react-native/babel-preset": "0.85.0",
84
86
  "@react-native/eslint-config": "^0.85.0",
85
- "@release-it/conventional-changelog": "^10.0.1",
87
+ "@react-native/jest-preset": "0.85.0",
88
+ "@release-it/conventional-changelog": "^10.0.6",
86
89
  "@shopify/flash-list": "^2.3.1",
87
90
  "@shopify/restyle": "^2.4.5",
88
91
  "@testing-library/react-native": "^13.3.3",
89
- "@types/jest": "^29.5.14",
92
+ "@types/jest": "^30.0.0",
90
93
  "@types/react": "^19.2.14",
91
94
  "@types/react-test-renderer": "19.1.0",
92
95
  "babel-plugin-react-compiler": "1.0.0",
93
- "del-cli": "^6.0.0",
94
- "eslint": "^9.35.0",
96
+ "del-cli": "^7.0.0",
97
+ "eslint": "^9.39.4",
95
98
  "eslint-config-prettier": "^10.1.8",
96
- "eslint-plugin-prettier": "^5.5.4",
99
+ "eslint-plugin-ft-flow": "^3.0.11",
100
+ "eslint-plugin-prettier": "^5.5.5",
97
101
  "eslint-plugin-react-compiler": "^19.1.0-rc.2",
98
102
  "eslint-plugin-testing-library": "^7.8.0",
99
- "jest": "^29.7.0",
100
- "prettier": "^3.0.3",
103
+ "jest": "^30.3.0",
104
+ "prettier": "^3.8.1",
101
105
  "react": "19.2.3",
102
106
  "react-native": "0.85.0",
103
- "react-native-builder-bob": "^0.40.16",
107
+ "react-native-builder-bob": "^0.41.0",
104
108
  "react-native-gesture-handler": "^2.31.1",
105
109
  "react-native-reanimated": "^4.3.0",
106
110
  "react-native-safe-area-context": "^5.7.0",
107
111
  "react-native-worklets": "^0.8.1",
108
112
  "react-test-renderer": "19.2.3",
109
- "release-it": "^19.0.4",
110
- "typescript": "^5.9.2"
113
+ "release-it": "^19.2.4",
114
+ "turbo": "^2.8.21",
115
+ "typescript": "^6.0.2"
111
116
  },
112
117
  "peerDependencies": {
113
118
  "@jamadd/react-native-template-icons": ">=0.4.8",
@@ -124,13 +129,6 @@
124
129
  "example"
125
130
  ],
126
131
  "packageManager": "yarn@4.11.0",
127
- "prettier": {
128
- "quoteProps": "consistent",
129
- "singleQuote": true,
130
- "tabWidth": 2,
131
- "trailingComma": "es5",
132
- "useTabs": false
133
- },
134
132
  "react-native-builder-bob": {
135
133
  "source": "src",
136
134
  "output": "lib",
@@ -149,6 +147,30 @@
149
147
  ]
150
148
  ]
151
149
  },
150
+ "prettier": {
151
+ "quoteProps": "consistent",
152
+ "singleQuote": true,
153
+ "tabWidth": 2,
154
+ "trailingComma": "es5",
155
+ "useTabs": false
156
+ },
157
+ "jest": {
158
+ "preset": "@react-native/jest-preset",
159
+ "setupFiles": [
160
+ "<rootDir>/src/test/__mocks__/jestSetup.js",
161
+ "<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js"
162
+ ],
163
+ "transformIgnorePatterns": [
164
+ "<rootDir>/node_modules/(?!(jest-)?react-native|@react-native|react-native-reanimated)"
165
+ ],
166
+ "modulePathIgnorePatterns": [
167
+ "<rootDir>/example/node_modules",
168
+ "<rootDir>/lib/"
169
+ ],
170
+ "moduleNameMapper": {
171
+ "\\.(ttf)$": "<rootDir>/src/test/__mocks__/file-mock.js"
172
+ }
173
+ },
152
174
  "release-it": {
153
175
  "git": {
154
176
  "commitMessage": "chore: release ${version}",
@@ -168,26 +190,14 @@
168
190
  }
169
191
  }
170
192
  },
171
- "jest": {
172
- "preset": "react-native",
173
- "setupFiles": [
174
- "<rootDir>/src/test/__mocks__/jestSetup.js",
175
- "<rootDir>/node_modules/react-native-gesture-handler/jestSetup.js"
176
- ],
177
- "transformIgnorePatterns": [
178
- "<rootDir>/node_modules/(?!(jest-)?react-native|@react-native|react-native-reanimated)"
179
- ],
180
- "modulePathIgnorePatterns": [
181
- "<rootDir>/example/node_modules",
182
- "<rootDir>/lib/"
183
- ],
184
- "moduleNameMapper": {
185
- "\\.(ttf)$": "<rootDir>/src/test/__mocks__/file-mock.js"
186
- }
187
- },
188
193
  "create-react-native-library": {
189
- "languages": "js",
190
194
  "type": "library",
191
- "version": "0.50.3"
195
+ "languages": "js",
196
+ "tools": [
197
+ "eslint",
198
+ "jest",
199
+ "release-it"
200
+ ],
201
+ "version": "0.61.0"
192
202
  }
193
203
  }