Skip to content

Commit 16d82ea

Browse files
committed
Rebrand
1 parent 5135f28 commit 16d82ea

File tree

10 files changed

+30
-34
lines changed

10 files changed

+30
-34
lines changed

.tkb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"tasks": {
44
"RX4J5v4y5IOe_ucf8pMRT": {
55
"id": "RX4J5v4y5IOe_ucf8pMRT",
6-
"description": "🌟 Enable [private vulnerability reporting](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/security) (For public repo - do this after updating visibility to public)",
6+
"description": "🌟 Enable [private vulnerability reporting](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/security)(https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/security) (For public repo - do this after updating visibility to public)",
77
"columnId": "column-todo"
88
},
99
"EdPbrbJLllUHfZmCS80f7": {
1010
"id": "EdPbrbJLllUHfZmCS80f7",
11-
"description": "Set up `CodeCov`\n - Visit Codecov and set up your repo\n - Create [repository secret]((https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/secrets/actions)) for `CODECOV_TOKEN`",
11+
"description": "Set up `CodeCov`\n - Visit Codecov and set up your repo\n - Create [repository secret]((https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/settings/secrets/actions))((https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/secrets/actions)) for `CODECOV_TOKEN`",
1212
"columnId": "column-todo"
1313
},
1414
"MLLUsAhCKaKxvEXFY0HSq": {
@@ -43,7 +43,7 @@
4343
},
4444
"5vS1JNXoMhDl5IBljwh2v": {
4545
"id": "5vS1JNXoMhDl5IBljwh2v",
46-
"description": "Set up GitHub pages to deploy docs\n - Go to [repo settings](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/pages) -> pages (On the left panel); Select deploy from a branch; Then Select `main` and `/docs`",
46+
"description": "Set up GitHub pages to deploy docs\n - Go to [repo settings](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/settings/pages)(https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/pages) -> pages (On the left panel); Select deploy from a branch; Then Select `main` and `/docs`",
4747
"columnId": "column-todo"
4848
},
4949
"55DAZwduwTvlaxaJC8hlX": {

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Esbuild Plugin Rdi <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 40px"/>
1+
# Esbuild Plugin Rdi <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 40px"/>
22

3-
[![test](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/esbuild-plugin-remove-duplicate-imports/maintainability) [![codecov](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-imports/graph/badge.svg)](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-imports) [![Version](https://img.shields.io/npm/v/esbuild-plugin-rdi.svg?colorB=green)](https://www.npmjs.com/package/esbuild-plugin-rdi) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/esbuild-plugin-rdi.svg)](https://www.npmjs.com/package/esbuild-plugin-rdi) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-plugin-rdi) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
3+
[![test](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/esbuild-plugin-remove-duplicate-require/maintainability) [![codecov](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-require/graph/badge.svg)](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-require) [![Version](https://img.shields.io/npm/v/esbuild-plugin-rdi.svg?colorB=green)](https://www.npmjs.com/package/esbuild-plugin-rdi) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/esbuild-plugin-rdi.svg)](https://www.npmjs.com/package/esbuild-plugin-rdi) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-plugin-rdi) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
44

55
Esbuild Plugin Rdi is a comprehensive library designed to unlock the full potential of React 18 server components. It provides customizable loading animation components and a fullscreen loader container, seamlessly integrating with React and Next.js.
66

@@ -12,11 +12,11 @@ Esbuild Plugin Rdi is a comprehensive library designed to unlock the full potent
1212

1313
✅ Compatible with all React 18 build systems/tools/frameworks
1414

15-
✅ Documented with [Typedoc](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports) ([Docs](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports))
15+
✅ Documented with [Typedoc](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require) ([Docs](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require))
1616

1717
✅ Examples for Next.js, Vite, and Remix
1818

19-
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider starring [this repository](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports) and sharing it with your friends.
19+
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider starring [this repository](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require) and sharing it with your friends.
2020
2121
## Getting Started
2222

@@ -92,7 +92,7 @@ export default function MyComponent() {
9292
}
9393
```
9494

95-
For detailed API and options, refer to [the API documentation](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports).
95+
For detailed API and options, refer to [the API documentation](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require).
9696

9797
**Using LoaderContainer**
9898

@@ -123,9 +123,7 @@ export default MyComponent() {
123123

124124
This library is licensed under the MPL-2.0 open-source license.
125125

126-
127-
128-
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsoring](https://github.com/sponsors/mayank1513) our work.
126+
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsoring](https://github.com/sponsors/mayank1513) our work.
129127

130128
<hr />
131129

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ Note: We only accept pull requests addressing security vulnerabilities. Addition
2020

2121
## Reporting Vulnerabilities
2222

23-
Kindly report vulnerabilities [here](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/security/advisories/new).
23+
Kindly report vulnerabilities [here](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/security/advisories/new).

TODO.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
- Run `pnpm i` to install dependencies; the `rebrand` script will automatically rebrand the repo, adjust workflows, and create a commit
1515
- [ ] Make sure you run `node scripts/rebrand.js` from the root directory to rebrand your repo.
1616
- [ ] Run `yarn plop`, and follow prompts to generate server or client components for your library
17-
- [ ] 🌟 Enable [private vulnerability reporting](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/security)
17+
- [ ] 🌟 Enable [private vulnerability reporting](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/security)(https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/security)
1818
- [ ] Set up `CodeCov`
1919
- Visit Codecov and set up your repo
20-
- Create [repository secret]((https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/secrets/actions)) for `CODECOV_TOKEN`
20+
- Create [repository secret](<(https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/settings/secrets/actions)>)((https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/secrets/actions)) for `CODECOV_TOKEN`
2121
- [ ] Set up `CodeClimate`
2222
- Visit CodeClimate and set up your repo
2323
- Create [repository secret] for `CC_TEST_REPORTER_ID`
@@ -31,7 +31,7 @@
3131
- [ ] Create your library and update examples
3232
- [ ] Update README as required
3333
- [ ] Set up GitHub pages to deploy docs
34-
- Go to [repo settings](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/pages) -> pages (On the left panel); Select deploy from a branch; Then Select `main` and `/docs`
34+
- Go to [repo settings](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/settings/pages)(https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/settings/pages) -> pages (On the left panel); Select deploy from a branch; Then Select `main` and `/docs`
3535
- [ ] (Optional) Set up [Deepsource](https://app.deepsource.com/login) for static code analysis
3636
- [ ] Push your changes/Create PR and see your library being automatically tested and published
3737
- [ ] Optionally deploy your examples to Vercel.

lib/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Esbuild Plugin Rdi <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 40px"/>
1+
# Esbuild Plugin Remove Duplicate Imports <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 40px"/>
22

3-
[![test](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/esbuild-plugin-remove-duplicate-imports/maintainability) [![codecov](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-imports/graph/badge.svg)](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-imports) [![Version](https://img.shields.io/npm/v/esbuild-plugin-rdi.svg?colorB=green)](https://www.npmjs.com/package/esbuild-plugin-rdi) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/esbuild-plugin-rdi.svg)](https://www.npmjs.com/package/esbuild-plugin-rdi) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-plugin-rdi) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
3+
[![test](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/actions/workflows/test.yml/badge.svg)](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/actions/workflows/test.yml) [![Maintainability](https://api.codeclimate.com/v1/badges/aa896ec14c570f3bb274/maintainability)](https://codeclimate.com/github/react18-tools/esbuild-plugin-remove-duplicate-require/maintainability) [![codecov](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-require/graph/badge.svg)](https://codecov.io/gh/react18-tools/esbuild-plugin-remove-duplicate-require) [![Version](https://img.shields.io/npm/v/esbuild-plugin-rdi.svg?colorB=green)](https://www.npmjs.com/package/esbuild-plugin-rdi) [![Downloads](https://img.jsdelivr.com/img.shields.io/npm/d18m/esbuild-plugin-rdi.svg)](https://www.npmjs.com/package/esbuild-plugin-rdi) ![npm bundle size](https://img.shields.io/bundlephobia/minzip/esbuild-plugin-rdi) [![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/from-referrer/)
44

55
Esbuild Plugin Rdi is a comprehensive library designed to unlock the full potential of React 18 server components. It provides customizable loading animation components and a fullscreen loader container, seamlessly integrating with React and Next.js.
66

@@ -12,11 +12,11 @@ Esbuild Plugin Rdi is a comprehensive library designed to unlock the full potent
1212

1313
✅ Compatible with all React 18 build systems/tools/frameworks
1414

15-
✅ Documented with [Typedoc](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports) ([Docs](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports))
15+
✅ Documented with [Typedoc](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require) ([Docs](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require))
1616

1717
✅ Examples for Next.js, Vite, and Remix
1818

19-
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider starring [this repository](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports) and sharing it with your friends.
19+
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider starring [this repository](https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require) and sharing it with your friends.
2020
2121
## Getting Started
2222

@@ -92,7 +92,7 @@ export default function MyComponent() {
9292
}
9393
```
9494

95-
For detailed API and options, refer to [the API documentation](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-imports).
95+
For detailed API and options, refer to [the API documentation](https://react18-tools.github.io/esbuild-plugin-remove-duplicate-require).
9696

9797
**Using LoaderContainer**
9898

@@ -123,9 +123,7 @@ export default MyComponent() {
123123

124124
This library is licensed under the MPL-2.0 open-source license.
125125

126-
127-
128-
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsoring](https://github.com/sponsors/mayank1513) our work.
126+
> <img src="https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/blob/main/popper.png?raw=true" style="height: 20px"/> Please consider enrolling in [our courses](https://mayank-chaudhari.vercel.app/courses) or [sponsoring](https://github.com/sponsors/mayank1513) our work.
129127

130128
<hr />
131129

lib/package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"main": "./dist/index.js",
99
"module": "./dist/index.mjs",
1010
"types": "./dist/index.d.ts",
11-
"repository": "github:react18-tools/esbuild-plugin-remove-duplicate-imports",
12-
"bugs": "https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/issues",
13-
"homepage": "https://github.com/react18-tools/esbuild-plugin-remove-duplicate-imports/#readme",
11+
"repository": "github:react18-tools/esbuild-plugin-remove-duplicate-require",
12+
"bugs": "https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/issues",
13+
"homepage": "https://github.com/react18-tools/esbuild-plugin-remove-duplicate-require/#readme",
1414
"sideEffects": false,
1515
"files": [
1616
"dist/**"
@@ -49,8 +49,6 @@
4949
}
5050
],
5151
"keywords": [
52-
"React",
53-
"React Loaders",
5452
"React 18",
5553
"React 19",
5654
"Next.js",

scripts/rebrand.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"packageName": "esbuild-plugin-rdi",
2+
"packageName": "ep-rdi",
33
"owner": "react18-tools",
4-
"repo": "esbuild-plugin-remove-duplicate-imports"
4+
"repo": "esbuild-plugin-remove-duplicate-require"
55
}

scripts/rebrand.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ const [owner, repo] = execSync(
1313

1414
const packageName = repo;
1515

16-
if (repo === "turborepo-template" && /(mayank1513|react18-tools)/.test(owner)) return; // silently ignore
17-
1816
console.log("\x1b[32m", "---");
1917
console.log("\x1b[5m", "...");
2018
console.log(

scripts/rebrander.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,11 @@ const updatePublishFlow = name => {
130130
updatePublishFlow("publish.yml");
131131
updatePublishFlow("manual-publish.yml");
132132

133-
fs.unlinkSync(path.resolve(workflowsPath, "setup.yml"));
133+
try {
134+
fs.unlinkSync(path.resolve(workflowsPath, "setup.yml"));
135+
} catch {
136+
/* empty */
137+
}
134138

135139
const docsWorkflowPath = path.resolve(workflowsPath, "docs.yml");
136140
fs.writeFileSync(

typedoc.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/** @type {import('typedoc').TypeDocOptions} */
22
module.exports = {
33
tsconfig: "tsconfig.docs.json",
4-
name: "Esbuild Plugin Rdi",
4+
name: "Esbuild Plugin Remove Duplicate Imports",
55
entryPoints: ["./lib/src"],
66
exclude: ["**/*.test.tsx", "**/declaration.d.ts"],
77
entryPointStrategy: "Expand",

0 commit comments

Comments
 (0)