Skip to content

Commit 807690d

Browse files
committed
chore: renaming the package and preparing for publish
1 parent 3cdd302 commit 807690d

File tree

7 files changed

+82
-75
lines changed

7 files changed

+82
-75
lines changed

README.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1-
# react-native-shimmer-skeleton
1+
# react-native-fast-shimmer
22

33
Shimmer skeleton for loading placeholders
44

55
## Installation
66

77
```sh
8-
npm install react-native-shimmer-skeleton
8+
npm install react-native-fast-shimmer
99
```
1010

1111
## Usage
1212

13-
1413
```js
15-
import { multiply } from 'react-native-shimmer-skeleton';
16-
17-
// ...
18-
19-
const result = await multiply(3, 7);
14+
import { Shimmer, ShimmerProvider } from 'react-native-fast-shimmer';
15+
16+
export default function App() {
17+
return (
18+
<ShimmerProvider duration={1000}>
19+
<View>
20+
<Shimmer style={styles.shimmerMain} />
21+
</View>
22+
<View>
23+
<Shimmer style={styles.shimmerMain} />
24+
</View>
25+
</ShimmerProvider>
26+
);
27+
}
2028
```
2129

22-
2330
## Contributing
2431

2532
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

example/app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
},
1515
"ios": {
1616
"supportsTablet": true,
17-
"bundleIdentifier": "shimmerskeleton.example"
17+
"bundleIdentifier": "fastshimmer.example"
1818
},
1919
"android": {
2020
"adaptiveIcon": {
2121
"foregroundImage": "./assets/adaptive-icon.png",
2222
"backgroundColor": "#ffffff"
2323
},
24-
"package": "shimmerskeleton.example"
24+
"package": "fastshimmer.example"
2525
},
2626
"web": {
2727
"favicon": "./assets/favicon.png"

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "react-native-shimmer-skeleton-example",
2+
"name": "react-native-fast-shimmer-example",
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Shimmer, ShimmerProvider } from 'react-native-shimmer-skeleton';
1+
import { Shimmer, ShimmerProvider } from 'react-native-fast-shimmer';
22
import { View, StyleSheet, SafeAreaView } from 'react-native';
33

44
export default function App() {

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "react-native-shimmer-skeleton",
3-
"version": "0.1.0",
4-
"description": "Shimmer skeleton for loading placeholders",
2+
"name": "react-native-fast-shimmer",
3+
"version": "1.0.0",
4+
"description": "React Native Shimmer for loading placeholders",
55
"source": "./src/index.tsx",
66
"main": "./lib/module/index.js",
77
"types": "./lib/typescript/src/index.d.ts",
@@ -32,7 +32,7 @@
3232
"!**/.*"
3333
],
3434
"scripts": {
35-
"example": "yarn workspace react-native-shimmer-skeleton-example",
35+
"example": "yarn workspace react-native-fast-shimmer-example",
3636
"test": "jest",
3737
"typecheck": "tsc",
3838
"lint": "eslint \"**/*.{js,ts,tsx}\"",

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"rootDir": ".",
44
"paths": {
5-
"react-native-shimmer-skeleton": ["./src/index"]
5+
"react-native-fast-shimmer": ["./src/index"]
66
},
77
"allowUnreachableCode": false,
88
"allowUnusedLabels": false,

yarn.lock

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -12115,6 +12115,63 @@ __metadata:
1211512115
languageName: node
1211612116
linkType: hard
1211712117

12118+
"react-native-fast-shimmer-example@workspace:example":
12119+
version: 0.0.0-use.local
12120+
resolution: "react-native-fast-shimmer-example@workspace:example"
12121+
dependencies:
12122+
"@babel/core": ^7.20.0
12123+
"@expo/metro-runtime": ~4.0.1
12124+
expo: ~52.0.46
12125+
expo-linear-gradient: ^14.1.4
12126+
expo-status-bar: ~2.0.1
12127+
react: 18.3.1
12128+
react-dom: 18.3.1
12129+
react-native: 0.76.9
12130+
react-native-builder-bob: ^0.40.6
12131+
react-native-linear-gradient: ^2.8.3
12132+
react-native-reanimated: ~3.16.1
12133+
react-native-svg: ^15.12.0
12134+
react-native-web: ~0.19.13
12135+
languageName: unknown
12136+
linkType: soft
12137+
12138+
"react-native-fast-shimmer@workspace:.":
12139+
version: 0.0.0-use.local
12140+
resolution: "react-native-fast-shimmer@workspace:."
12141+
dependencies:
12142+
"@commitlint/config-conventional": ^19.6.0
12143+
"@eslint/compat": ^1.2.7
12144+
"@eslint/eslintrc": ^3.3.0
12145+
"@eslint/js": ^9.22.0
12146+
"@evilmartians/lefthook": ^1.5.0
12147+
"@react-native/eslint-config": ^0.78.0
12148+
"@release-it/conventional-changelog": ^9.0.2
12149+
"@types/jest": ^29.5.5
12150+
"@types/react": ^19.0.12
12151+
babel-plugin-react-compiler: rc
12152+
commitlint: ^19.6.1
12153+
del-cli: ^5.1.0
12154+
eslint: ^9.22.0
12155+
eslint-config-prettier: ^10.1.1
12156+
eslint-plugin-prettier: ^5.2.3
12157+
eslint-plugin-react-hooks: ^6.0.0-rc.1
12158+
jest: ^29.7.0
12159+
prettier: ^3.0.3
12160+
react: 18.3.1
12161+
react-native: 0.76.9
12162+
react-native-builder-bob: ^0.40.6
12163+
react-native-reanimated: ^3.17.5
12164+
react-native-svg: ^15.12.0
12165+
release-it: ^17.10.0
12166+
typescript: ^5.2.2
12167+
peerDependencies:
12168+
react: "*"
12169+
react-native: "*"
12170+
react-native-reanimated: ^3.17.5
12171+
react-native-svg: ^15.12.0
12172+
languageName: unknown
12173+
linkType: soft
12174+
1211812175
"react-native-is-edge-to-edge@npm:1.1.7":
1211912176
version: 1.1.7
1212012177
resolution: "react-native-is-edge-to-edge@npm:1.1.7"
@@ -12192,63 +12249,6 @@ __metadata:
1219212249
languageName: node
1219312250
linkType: hard
1219412251

12195-
"react-native-shimmer-skeleton-example@workspace:example":
12196-
version: 0.0.0-use.local
12197-
resolution: "react-native-shimmer-skeleton-example@workspace:example"
12198-
dependencies:
12199-
"@babel/core": ^7.20.0
12200-
"@expo/metro-runtime": ~4.0.1
12201-
expo: ~52.0.46
12202-
expo-linear-gradient: ^14.1.4
12203-
expo-status-bar: ~2.0.1
12204-
react: 18.3.1
12205-
react-dom: 18.3.1
12206-
react-native: 0.76.9
12207-
react-native-builder-bob: ^0.40.6
12208-
react-native-linear-gradient: ^2.8.3
12209-
react-native-reanimated: ~3.16.1
12210-
react-native-svg: ^15.12.0
12211-
react-native-web: ~0.19.13
12212-
languageName: unknown
12213-
linkType: soft
12214-
12215-
"react-native-shimmer-skeleton@workspace:.":
12216-
version: 0.0.0-use.local
12217-
resolution: "react-native-shimmer-skeleton@workspace:."
12218-
dependencies:
12219-
"@commitlint/config-conventional": ^19.6.0
12220-
"@eslint/compat": ^1.2.7
12221-
"@eslint/eslintrc": ^3.3.0
12222-
"@eslint/js": ^9.22.0
12223-
"@evilmartians/lefthook": ^1.5.0
12224-
"@react-native/eslint-config": ^0.78.0
12225-
"@release-it/conventional-changelog": ^9.0.2
12226-
"@types/jest": ^29.5.5
12227-
"@types/react": ^19.0.12
12228-
babel-plugin-react-compiler: rc
12229-
commitlint: ^19.6.1
12230-
del-cli: ^5.1.0
12231-
eslint: ^9.22.0
12232-
eslint-config-prettier: ^10.1.1
12233-
eslint-plugin-prettier: ^5.2.3
12234-
eslint-plugin-react-hooks: ^6.0.0-rc.1
12235-
jest: ^29.7.0
12236-
prettier: ^3.0.3
12237-
react: 18.3.1
12238-
react-native: 0.76.9
12239-
react-native-builder-bob: ^0.40.6
12240-
react-native-reanimated: ^3.17.5
12241-
react-native-svg: ^15.12.0
12242-
release-it: ^17.10.0
12243-
typescript: ^5.2.2
12244-
peerDependencies:
12245-
react: "*"
12246-
react-native: "*"
12247-
react-native-reanimated: ^3.17.5
12248-
react-native-svg: ^15.12.0
12249-
languageName: unknown
12250-
linkType: soft
12251-
1225212252
"react-native-svg@npm:^15.12.0":
1225312253
version: 15.12.0
1225412254
resolution: "react-native-svg@npm:15.12.0"

0 commit comments

Comments
 (0)