Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/react-native-nitro-image/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-nitro-image",
"version": "0.9.1",
"description": "react-native-nitro-image",
"description": "A superfast in-memory Image type and view component for React Native, built with Nitro!",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
Expand Down Expand Up @@ -31,7 +31,7 @@
"README.md"
],
"scripts": {
"build": "rm -rf tsconfig.tsbuildinfo && rm -rf lib && bun typecheck && bob build",
"build": "rm -rf tsconfig.tsbuildinfo && rm -rf lib && bun typecheck && bob build",
"postinstall": "tsc || exit 0;",
"typecheck": "tsc --noEmit",
"clean": "rm -rf android/build node_modules/**/android/build lib",
Expand All @@ -47,7 +47,8 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/mrousavy/react-native-nitro-image.git"
"url": "git+https://github.com/mrousavy/react-native-nitro-image.git",
"directory": "packages/react-native-nitro-image"
},
"author": "Marc Rousavy <[email protected]> (https://github.com/mrousavy)",
"license": "MIT",
Expand Down
9 changes: 5 additions & 4 deletions packages/react-native-nitro-web-image/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-native-nitro-web-image",
"version": "0.9.1",
"description": "react-native-nitro-web-image",
"description": "A superfast in-memory Image type and view component for React Native Web, built with Nitro!",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
Expand Down Expand Up @@ -46,14 +46,15 @@
],
"repository": {
"type": "git",
"url": "git+https://github.com/mrousavy/react-native-nitro-web-image.git"
"url": "git+https://github.com/mrousavy/react-native-nitro-image.git",
"directory": "packages/react-native-nitro-web-image"
},
"author": "Marc Rousavy <[email protected]> (https://github.com/mrousavy)",
"license": "MIT",
"bugs": {
"url": "https://github.com/mrousavy/react-native-nitro-web-image/issues"
"url": "https://github.com/mrousavy/react-native-nitro-image/issues"
},
"homepage": "https://github.com/mrousavy/react-native-nitro-web-image#readme",
"homepage": "https://github.com/mrousavy/react-native-nitro-image#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
Expand Down
4 changes: 4 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@ echo "Provided options: $@"

echo "Publishing 'react-native-nitro-image' to NPM"
cd packages/react-native-nitro-image
cp ../../README.md README.md
bun release $@
rm README.md

echo "Publishing 'react-native-nitro-web-image' to NPM"
cd ../react-native-nitro-web-image
cp ../../README.md README.md
bun release $@
rm README.md

echo "Creating a Git bump commit and GitHub release"
cd ../..
Expand Down