nextjs-starter-kit 0.1.13 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/template/.github/workflows/ci-cd.yml +55 -0
- package/template/.husky/pre-commit +1 -1
- package/template/bun.lock +66 -329
- package/template/components.json +3 -2
- package/template/eslint.config.mjs +2 -1
- package/template/lint-staged.config.js +14 -5
- package/template/next.config.mjs +9 -0
- package/template/package.json +38 -49
- package/template/postcss.config.mjs +3 -1
- package/template/src/app/loading.jsx +12 -0
- package/template/src/components/ui/container.jsx +1 -5
- package/template/src/components/ui/headings.jsx +9 -9
- package/template/src/components/ui/image.jsx +16 -4
- package/template/src/components/ui/sonner.jsx +15 -0
- package/template/src/components/ui/spinner.jsx +15 -0
- package/template/src/fonts/fonts.js +12 -0
- package/template/src/hooks/useMobile.js +21 -0
- package/template/src/hooks/useMount.js +8 -0
- package/template/src/styles/globals.css +24 -21
- package/template/.github/workflows/pr_check.yml +0 -38
- package/template/README.md +0 -165
- package/template/src/components/ui/accordion.jsx +0 -53
- package/template/src/components/ui/alert-dialog.jsx +0 -136
- package/template/src/components/ui/alert.jsx +0 -59
- package/template/src/components/ui/avatar.jsx +0 -44
- package/template/src/components/ui/badge.jsx +0 -40
- package/template/src/components/ui/breadcrumb.jsx +0 -96
- package/template/src/components/ui/button.jsx +0 -49
- package/template/src/components/ui/calendar.jsx +0 -221
- package/template/src/components/ui/card.jsx +0 -92
- package/template/src/components/ui/carousel.jsx +0 -217
- package/template/src/components/ui/chart.jsx +0 -332
- package/template/src/components/ui/checkbox.jsx +0 -29
- package/template/src/components/ui/collapsible.jsx +0 -27
- package/template/src/components/ui/command.jsx +0 -156
- package/template/src/components/ui/dialog.jsx +0 -127
- package/template/src/components/ui/drawer.jsx +0 -114
- package/template/src/components/ui/dropdown-menu.jsx +0 -210
- package/template/src/components/ui/form.jsx +0 -140
- package/template/src/components/ui/input-otp.jsx +0 -66
- package/template/src/components/ui/input.jsx +0 -21
- package/template/src/components/ui/label.jsx +0 -21
- package/template/src/components/ui/pagination.jsx +0 -105
- package/template/src/components/ui/popover.jsx +0 -42
- package/template/src/components/ui/progress.jsx +0 -27
- package/template/src/components/ui/select.jsx +0 -157
- package/template/src/components/ui/separator.jsx +0 -28
- package/template/src/components/ui/sheet.jsx +0 -117
- package/template/src/components/ui/skeleton.jsx +0 -13
- package/template/src/components/ui/slider.jsx +0 -63
- package/template/src/components/ui/switch.jsx +0 -28
- package/template/src/components/ui/table.jsx +0 -113
- package/template/src/components/ui/tabs.jsx +0 -54
- package/template/src/components/ui/textarea.jsx +0 -18
- package/template/src/components/ui/tooltip.jsx +0 -49
- package/template/src/styles/fonts.js +0 -30
- /package/template/.github/{PR_REQUEST_TEMPLATE.md → PULL_REQUEST_TEMPLATE.md} +0 -0
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nextjs-starter-kit",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"bin": {
|
|
5
|
-
"create-nextjs-starter": "
|
|
5
|
+
"create-nextjs-starter": "bin/cli.js"
|
|
6
6
|
},
|
|
7
7
|
"keywords": [
|
|
8
8
|
"react",
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
"minimumChangeThreshold": 0,
|
|
42
42
|
"showDetails": true
|
|
43
43
|
}
|
|
44
|
-
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
name: CI/CD Pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- dev
|
|
7
|
+
- test
|
|
8
|
+
- prod
|
|
9
|
+
pull_request:
|
|
10
|
+
branches:
|
|
11
|
+
- dev
|
|
12
|
+
- test
|
|
13
|
+
- prod
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
lint-and-build:
|
|
17
|
+
name: Lint, Check, and Build
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
|
|
20
|
+
env:
|
|
21
|
+
NODE_ENV: production
|
|
22
|
+
PORT: "3000"
|
|
23
|
+
|
|
24
|
+
steps:
|
|
25
|
+
- name: Checkout
|
|
26
|
+
uses: actions/checkout@v4
|
|
27
|
+
|
|
28
|
+
- name: Setup Bun
|
|
29
|
+
uses: oven-sh/setup-bun@v1
|
|
30
|
+
with:
|
|
31
|
+
bun-version: latest
|
|
32
|
+
|
|
33
|
+
- name: Cache Bun Dependencies
|
|
34
|
+
uses: actions/cache@v3
|
|
35
|
+
with:
|
|
36
|
+
path: |
|
|
37
|
+
~/.bun/install/cache
|
|
38
|
+
node_modules
|
|
39
|
+
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }}
|
|
40
|
+
restore-keys: bun-${{ runner.os }}-
|
|
41
|
+
|
|
42
|
+
- name: Install Dependencies
|
|
43
|
+
run: bun install
|
|
44
|
+
|
|
45
|
+
- name: Check Formatting
|
|
46
|
+
run: bun check
|
|
47
|
+
|
|
48
|
+
- name: Format Code
|
|
49
|
+
run: bun format
|
|
50
|
+
|
|
51
|
+
- name: Lint Code
|
|
52
|
+
run: bun lint
|
|
53
|
+
|
|
54
|
+
- name: Run Build
|
|
55
|
+
run: bun run build
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
bunx lint-staged
|