Skip to content

Commit 3c6cc74

Browse files
Merge pull request #17 from rahul-vyas-dev/main
fix: update package name references from @aossie/support-us-button to…
2 parents 6f9f9a2 + f4e9fe7 commit 3c6cc74

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ A lightweight React component library for displaying **Support us page** in a cl
9393
# 🔗 Repository Links
9494

9595
- [Main Repository](https://github.com/AOSSIE-Org/SupportUsButton)
96-
- [NPM Package](https://www.npmjs.com/package/@aossie/support-us-button)
97-
- [CDN](https://cdn.jsdelivr.net/npm/@aossie/support-us-button@latest/dist/index.umd.js)
96+
- [NPM Package](https://www.npmjs.com/package/support-us-button)
97+
- [CDN](https://cdn.jsdelivr.net/npm/support-us-button@latest/dist/index.umd.js)
9898

9999
---
100100

@@ -108,15 +108,15 @@ Install the package using npm:
108108

109109
```bash
110110
# Install the package
111-
npm install @aossie/support-us-button
111+
npm install support-us-button
112112
```
113113

114114
## Using CDN
115115

116116
You can also use the component directly in the browser via a CDN:
117117

118118
```html
119-
<script src="https://cdn.jsdelivr.net/npm/@aossie/support-us-button@latest/dist/index.umd.js"></script>
119+
<script src="https://cdn.jsdelivr.net/npm/support-us-button@latest/dist/index.umd.js"></script>
120120
```
121121

122122
Once included, the component will be available to use in your project.
@@ -129,13 +129,13 @@ Once included, the component will be available to use in your project.
129129

130130
```tsx
131131
// Import the component in your project:
132-
import SupportUsButton from "@aossie/support-us-button";
132+
import SupportUsButton from "support-us-button";
133133

134134
// Import the styles in your project:
135-
import "@aossie/support-us-button/style.css";
135+
import "support-us-button/style.css";
136136

137137
// Import the types in your project:
138-
import type { supportUsButtonProps } from "@aossie/support-us-button";
138+
import type { supportUsButtonProps } from "support-us-button";
139139

140140
// Use the component in your project:
141141
<SupportUsButton {...props} />; // props is an object of type supportUsButtonProps
@@ -144,12 +144,12 @@ import type { supportUsButtonProps } from "@aossie/support-us-button";
144144
## Using CDN
145145

146146
```html
147-
<script src="https://cdn.jsdelivr.net/npm/@aossie/support-us-button@latest/dist/index.umd.js"></script>
147+
<script src="https://cdn.jsdelivr.net/npm/support-us-button@latest/dist/index.umd.js"></script>
148148

149149
// Import the styles in your project:
150150
<link
151151
rel="stylesheet"
152-
href="https://cdn.jsdelivr.net/npm/@aossie/support-us-button@latest/dist/style.css"
152+
href="https://cdn.jsdelivr.net/npm/support-us-button@latest/dist/style.css"
153153
/>
154154

155155
// Use the component in your project:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@aossie/support-us-button",
2+
"name": "support-us-button",
33
"version": "1.0.0",
44
"description": "A customizable and flexible Support Us button component for integrating sponsorship and donation options into web applications.",
55
"keywords": [

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default [
3030
{
3131
file: "dist/index.umd.js",
3232
format: "umd",
33-
name: "@aossie/support-us-button",
33+
name: "support-us-button",
3434
globals: {
3535
react: "React",
3636
"react-dom": "ReactDOM",

0 commit comments

Comments
 (0)