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
14 changes: 8 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,23 @@ name: publish npm Package
on:
release:
types: [published]

workflow_dispatch:

jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: '24'
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run prepack
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}


2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## [1.2.10](///compare/v1.2.9-1...v1.2.10) (2026-01-30)

## [1.2.9](///compare/v1.1.8...v1.2.9) (2025-11-20)

### Features
Expand Down
4 changes: 2 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ pre-commit:
parallel: true
commands:
lint:
files: git diff --name-only @{push}
files: git diff --name-only --staged
glob: "*.{js,ts,jsx,tsx}"
run: npx eslint {files}
types:
files: git diff --name-only @{push}
files: git diff --name-only --staged
glob: "*.{js,ts, jsx, tsx}"
run: npx tsc --noEmit
commit-msg:
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-image-marker",
"version": "1.2.9",
"version": "1.2.10",
"description": "Add text or icon watermark to your images",
"main": "lib/commonjs/index",
"module": "lib/module/index",
Expand Down Expand Up @@ -66,12 +66,11 @@
"@evilmartians/lefthook": "^1.2.2",
"@expo/config-plugins": "^7.8.4",
"@react-native-community/eslint-config": "^3.0.2",
"@release-it/conventional-changelog": "^10.0.2",
"@release-it/conventional-changelog": "^9.0.4",
"@types/jest": "^28.1.2",
"@types/react": "~17.0.21",
"@types/react-native": "0.70.0",
"commitlint": "^17.0.2",
"conventional-changelog-conventionalcommits": "^9.1.0",
"del-cli": "^5.0.0",
"eslint": "^8.4.1",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -84,7 +83,7 @@
"react": "18.2.0",
"react-native": "0.73.3",
"react-native-builder-bob": "^0.40.15",
"release-it": "^19.0.6",
"release-it": "^17.10.0",
"typedoc": "^0.28.14",
"typedoc-plugin-localization": "^3.1.0",
"typedoc-plugin-rename-defaults": "^0.7.3",
Expand Down
Loading