@oguzhnatly/react-native-image-manipulator 1.0.13 → 1.0.15
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.
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- master
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- master
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
build:
|
|
13
|
+
name: Build and type check
|
|
14
|
+
runs-on: ubuntu-latest
|
|
15
|
+
|
|
16
|
+
steps:
|
|
17
|
+
- name: Checkout
|
|
18
|
+
uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- name: Setup Node.js
|
|
21
|
+
uses: actions/setup-node@v4
|
|
22
|
+
with:
|
|
23
|
+
node-version: '20'
|
|
24
|
+
cache: 'yarn'
|
|
25
|
+
|
|
26
|
+
- name: Install dependencies
|
|
27
|
+
run: yarn install --frozen-lockfile
|
|
28
|
+
|
|
29
|
+
- name: Build
|
|
30
|
+
run: yarn build
|
|
31
|
+
|
|
32
|
+
- name: Verify build output
|
|
33
|
+
run: |
|
|
34
|
+
test -f build/index.js || (echo "build/index.js missing" && exit 1)
|
|
35
|
+
test -f build/index.d.ts || (echo "build/index.d.ts missing" && exit 1)
|
|
36
|
+
echo "Build output verified"
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
50
50
|
if: steps.version_check.outputs.changed == 'true'
|
|
51
51
|
run: |
|
|
52
52
|
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
|
|
53
|
-
npm publish --
|
|
53
|
+
npm publish --access public
|
|
54
54
|
env:
|
|
55
55
|
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
56
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oguzhnatly/react-native-image-manipulator",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.15",
|
|
4
4
|
"description": "ImageManipulator for react native without Expo and Unimodules. Based on Expo ImageManipulator",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"author": "oguzhnatly",
|