Skip to content

Commit 5fb4925

Browse files
committed
Add scope name
1 parent c3ff840 commit 5fb4925

File tree

6 files changed

+22
-28
lines changed

6 files changed

+22
-28
lines changed

.github/workflows/release-npm.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: publish github registry
2-
31
on:
42
release:
53
types: [created]
@@ -18,3 +16,16 @@ jobs:
1816
- run: npm publish
1917
env:
2018
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
19+
publish-npm-registry:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v2
23+
- uses: actions/setup-node@v2
24+
with:
25+
node-version-file: ".nvmrc"
26+
registry-url: https://registry.npmjs.org/
27+
- run: npm install
28+
- run: npm run build
29+
- run: npm publish --access public
30+
env:
31+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@fe-eule:registry=https://npm.pkg.github.com/
2+
engine-strict=true

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"cSpell.words": ["doong", "hookz", "microbundle"]
2+
"cSpell.words": ["doong", "eule", "hookz", "microbundle"]
33
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ In iOS, the keyboard will cover the input field when it pops up. This package wi
1111
## Installation
1212

1313
```bash
14-
npm install react-keyboard-avoiding-view
14+
npm install @fe-eule/react-keyboard-avoiding-view
1515
```
1616

1717
## Usage
1818

1919
```jsx
2020
// in react not react-native
2121
import React from "react";
22-
import KeyboardAvoidingView from "react-keyboard-avoiding-view";
22+
import KeyboardAvoidingView from "@fe-eule/react-keyboard-avoiding-view";
2323

2424
const App = () => {
2525
return (

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "react-keyboard-avoiding-view",
3-
"version": "1.0.8",
2+
"name": "@fe-eule/react-keyboard-avoiding-view",
3+
"version": "1.0.9",
44
"private": false,
55
"description": "This component is a component that automatically adjusts the view so that the fixed element is not covered by the keyboard when the keyboard appears on iOS devices.",
66
"keywords": [
@@ -53,6 +53,7 @@
5353
},
5454
"publishConfig": {
5555
"main": "dist/index.js",
56-
"source": "src/index.ts"
56+
"source": "src/index.ts",
57+
"registry": "https://npm.pkg.github.com/"
5758
}
5859
}

0 commit comments

Comments
 (0)