Skip to content

Commit

Permalink
fix: new arch import (#78)
Browse files Browse the repository at this point in the history
* fix: new arch working

* fix: package entry is chnages to src/index

---------

Co-authored-by: demon-sword <akkisfavourite@gmail.com>
  • Loading branch information
2 people authored and deepanshushuklad11 committed Sep 23, 2024
1 parent ce07e8a commit d36e230
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 105 deletions.
1 change: 1 addition & 0 deletions android/src/newarch/java/com/FastImageViewManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.facebook.react.uimanager.ViewManagerDelegate;
import com.facebook.react.viewmanagers.FastImageViewManagerDelegate;
import com.facebook.react.viewmanagers.FastImageViewManagerInterface;
import com.facebook.react.uimanager.common.ViewUtil;

import java.util.List;
import java.util.Map;
Expand Down
210 changes: 105 additions & 105 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,114 +1,114 @@
{
"name": "@d11/react-native-fast-image",
"version": "8.6.12",
"description": "🚩 FastImage, performant React Native image component.",
"keywords": [
"cache",
"cached",
"fastimage",
"image",
"priority"
],
"homepage": "https://github.com/dream-sports-labs/react-native-fast-image#readme",
"bugs": {
"url": "https://github.com/dream-sports-labs/react-native-fast-image/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dream-sports-labs/react-native-fast-image.git"
},
"license": "(MIT AND Apache-2.0)",
"author": "Dream Sports Labs <dreamsportslabs@dream11.com> (https://github.com/dream-sports-labs)",
"main": "dist/index.cjs.js",
"module": "dist/index.js",
"source": "src/index",
"typings": "dist/index.d.ts",
"files": [
"src",
"android",
"!android/build",
"ios",
"!ios/build",
"dist",
"RNFastImage.podspec"
],
"workspaces": [
"ReactNativeFastImageExample"
],
"scripts": {
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"build": "yarn clean && tsc && rollup -c && cp src/index.js.flow dist/index.js.flow && cp src/index.js.flow dist/index.cjs.js.flow",
"example": "yarn workspace reactnativefastimageexample",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"prepack": "yarn build",
"test": "jest",
"type-check": "tsc --noEmit",
"release:nightly": "./publish-nightly.sh",
"changelog": "auto-changelog -p",
"release": "release-it --config .release-it.json"
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all"
},
"resolutions": {
"@jest/create-cache-key-function": "^27"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.24.7",
"@react-native/babel-preset": "0.74.84",
"@react-native/eslint-config": "0.74.84",
"@react-native/metro-config": "0.74.84",
"@react-native/typescript-config": "0.74.84",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.5.1",
"@types/jest": "^26.0.24",
"@types/react": "^18.3.3",
"@types/react-native": "^0.69.5",
"@types/react-test-renderer": "^18.0.0",
"auto-changelog": "^2.4.0",
"babel-jest": "^29.6.3",
"babel-plugin-module-resolver": "^5.0.0",
"dv-scripts": "^1.6.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"metro-react-native-babel-preset": "^0.66.1",
"prettier": "^2.3.2",
"react": "18.2.0",
"react-native": "0.74.2",
"react-test-renderer": "^18.3.1",
"release-it": "^17.6.0",
"rollup": "^4.19.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"codegenConfig": {
"name": "@d11/react-native-fast-image",
"version": "8.6.12",
"description": "🚩 FastImage, performant React Native image component.",
"keywords": [
"cache",
"cached",
"fastimage",
"image",
"priority"
],
"homepage": "https://github.com/dream-sports-labs/react-native-fast-image#readme",
"bugs": {
"url": "https://github.com/dream-sports-labs/react-native-fast-image/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/dream-sports-labs/react-native-fast-image.git"
},
"license": "(MIT AND Apache-2.0)",
"author": "Dream Sports Labs <dreamsportslabs@dream11.com> (https://github.com/dream-sports-labs)",
"main": "src/index",
"module": "src/index",
"source": "src/index",
"typings": "dist/index.d.ts",
"files": [
"src",
"android",
"!android/build",
"ios",
"!ios/build",
"dist",
"RNFastImage.podspec"
],
"workspaces": [
"ReactNativeFastImageExample"
],
"scripts": {
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"build": "yarn clean && tsc && rollup -c && cp src/index.js.flow dist/index.js.flow && cp src/index.js.flow dist/index.cjs.js.flow",
"example": "yarn workspace reactnativefastimageexample",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'",
"prepack": "yarn build",
"test": "jest",
"type-check": "tsc --noEmit",
"release:nightly": "./publish-nightly.sh",
"changelog": "auto-changelog -p",
"release": "release-it --config .release-it.json"
},
"prettier": {
"semi": false,
"singleQuote": true,
"tabWidth": 4,
"trailingComma": "all"
},
"resolutions": {
"@jest/create-cache-key-function": "^27"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-transform-private-methods": "^7.24.7",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.24.7",
"@react-native/babel-preset": "0.74.84",
"@react-native/eslint-config": "0.74.84",
"@react-native/metro-config": "0.74.84",
"@react-native/typescript-config": "0.74.84",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@testing-library/jest-native": "^5.4.3",
"@testing-library/react-native": "^12.5.1",
"@types/jest": "^26.0.24",
"@types/react": "^18.3.3",
"@types/react-native": "^0.69.5",
"@types/react-test-renderer": "^18.0.0",
"auto-changelog": "^2.4.0",
"babel-jest": "^29.6.3",
"babel-plugin-module-resolver": "^5.0.0",
"dv-scripts": "^1.6.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"metro-react-native-babel-preset": "^0.66.1",
"prettier": "^2.3.2",
"react": "18.2.0",
"react-native": "0.74.2",
"react-test-renderer": "^18.3.1",
"release-it": "^17.6.0",
"rollup": "^4.19.0",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^5.5.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"codegenConfig": {
"name": "rnfastimage",
"type": "all",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.dylanvann.fastimage"
}
},
"packageManager": "yarn@3.6.4",
"dependencies": {
"@octokit/rest": "^21.0.2"
}
"packageManager": "yarn@3.6.4",
"dependencies": {
"@octokit/rest": "^21.0.2"
}
}

0 comments on commit d36e230

Please sign in to comment.