Skip to content

Commit abeac28

Browse files
committed
feat: 🎨 add shadcn
1 parent bc2d6ad commit abeac28

17 files changed

+13847
-8764
lines changed

.github/workflows/build.pull-request.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-node@v4
1010
with:
11-
node-version: 22
11+
node-version: 23
1212

13-
- uses: pnpm/action-setup@v4
14-
with:
15-
version: latest
16-
17-
- run: pnpm install --no-frozen-lockfile
13+
- run: npm ci
1814
env:
1915
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
20-
- run: pnpm lint
21-
- run: pnpm build
16+
- run: npm run lint
17+
- run: npm run build

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ jobs:
1010
- uses: actions/checkout@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 22
13+
node-version: 23
1414

15-
- uses: pnpm/action-setup@v4
16-
with:
17-
version: latest
18-
19-
- run: pnpm install --no-frozen-lockfile
15+
- run: npm ci
2016
env:
2117
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
22-
- run: pnpm lint
23-
- run: pnpm build
18+
- run: npm run lint
19+
- run: npm run build
2420

2521
- uses: akhilmhdh/contributors-readme-action@v2.3.10
2622
env:

.github/workflows/publish.yml

Lines changed: 0 additions & 63 deletions
This file was deleted.

.npmrc

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ A modern, opinionated starter template for building browser extensions using [Vi
3131
### Quick Start
3232

3333
```bash
34-
pnpx degit mubaidr/vite-vue3-browser-extension-v3 my-webext
34+
npx degit mubaidr/vite-vue3-browser-extension-v3 my-webext
3535
cd my-webext
36-
pnpm install
37-
pnpm dev
36+
npm install
37+
npm run dev
3838
```
3939

40-
- **Build**: `pnpm build`
41-
- **Lint**: `pnpm lint`
42-
- **Dev (Chrome/Firefox)**: `pnpm dev:chrome` / `pnpm dev:firefox`
43-
- **Build (Chrome/Firefox)**: `pnpm build:chrome` / `pnpm build:firefox`
40+
- **Build**: `npm run build`
41+
- **Lint**: `npm run lint`
42+
- **Dev (Chrome/Firefox)**: `npm run dev:chrome` / `npm run dev:firefox`
43+
- **Build (Chrome/Firefox)**: `npm run build:chrome` / `npm run build:firefox`
4444

4545
Load the extension from the `dist/chrome` or `dist/firefox` folder in your browser.
4646

components.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://shadcn-vue.com/schema.json",
3+
"style": "new-york",
4+
"typescript": true,
5+
"tailwind": {
6+
"config": "",
7+
"css": "src/assets/base.css",
8+
"baseColor": "stone",
9+
"cssVariables": true,
10+
"prefix": ""
11+
},
12+
"aliases": {
13+
"components": "@/components",
14+
"composables": "@/composables",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib"
18+
},
19+
"iconLibrary": "lucide"
20+
}

0 commit comments

Comments
 (0)