On branch main
Your branch is up to date with 'origin/main'. Changes to be committed: new file: .github/workflows/ Code Citations.md modified: .github/workflows/nextjs_bundle_analysis.yml modified: .storybook/main.ts modified: .storybook/preview.ts modified: app/layout.tsx modified: app/page.tsx modified: components/Button/Button.stories.tsx modified: package.json modified: pnpm-lock.yaml modified: styles/tailwind.css
This commit is contained in:
parent
f496c48ad6
commit
f1bfd92289
10 changed files with 674 additions and 1353 deletions
69
.github/workflows/# Code Citations.md
vendored
Normal file
69
.github/workflows/# Code Citations.md
vendored
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
# Code Citations
|
||||
|
||||
## License: MIT
|
||||
https://github.com/bruno-gurgel/portfolio/tree/f7f4a31edfb564b5f8a4d5c866398a516f243c49/.github/workflows/nextjs_bundle_analysis.yml
|
||||
|
||||
```
|
||||
get-comment-body
|
||||
if: success() && github.event.number
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
const fs = require('fs')
|
||||
const comment = fs.readFileSync('.next
|
||||
```
|
||||
|
||||
|
||||
## License: MIT
|
||||
https://github.com/HigorAlves/higoralves.dev/tree/53353f359159686022484af3204cc0a1e8e777c1/.github/workflows/nextjs_bundle_analysis.yml
|
||||
|
||||
```
|
||||
-body
|
||||
if: success() && github.event.number
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
result-encoding: string
|
||||
script: |
|
||||
const fs = require('fs')
|
||||
const comment = fs.readFileSync('.next/analyze/
|
||||
```
|
||||
|
||||
|
||||
## License: unknown
|
||||
https://github.com/lufia/lufia.github.io/tree/43530e8b66e9f8aac689f6eb94dd475d3f902dd5/.github/workflows/nextjs_bundle_analysis.yml
|
||||
|
||||
```
|
||||
-evans/create-or-update-comment@v3
|
||||
if: success() && github.event.number && steps.fc.outputs.comment-id == 0
|
||||
with:
|
||||
issue-number: ${{ github.event.number }}
|
||||
body
|
||||
```
|
||||
|
||||
|
||||
## License: MIT
|
||||
https://github.com/kashifal/nextjs-codebase/tree/5e52be3cb632a52dbaf637b636f22c977c0331ce/.github/workflows/nextjs_bundle_analysis.yml
|
||||
|
||||
```
|
||||
: peter-evans/find-comment@v2
|
||||
if: success() && github.event.number
|
||||
id: fc
|
||||
with:
|
||||
issue-number: ${{ github.event.number }}
|
||||
body-includes: "<!-- __NEXTJS_BUNDLE -->"
|
||||
```
|
||||
|
||||
|
||||
## License: unknown
|
||||
https://github.com/SiTaggart/PortfolioSite/tree/e7bbc09270cd38b936222e5e041aaae118239489/.github/workflows/nextjs_bundle_analysis.yml
|
||||
|
||||
```
|
||||
.event.number && steps.fc.outputs.comment-id == 0
|
||||
with:
|
||||
issue-number: ${{ github.event.number }}
|
||||
body: ${{ steps.get-comment-body.outputs.body }}
|
||||
|
||||
- name:
|
||||
```
|
||||
|
||||
4
.github/workflows/nextjs_bundle_analysis.yml
vendored
4
.github/workflows/nextjs_bundle_analysis.yml
vendored
|
|
@ -32,9 +32,7 @@ jobs:
|
|||
- name: "Install pnpm & dependencies"
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
run_install: |
|
||||
- recursive: true
|
||||
- args: [--frozen-lockfile]
|
||||
run_install: 'recursive: true --frozen-lockfile'
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: pnpm install --frozen-lockfile
|
||||
|
|
|
|||
|
|
@ -1,14 +1,13 @@
|
|||
import type { StorybookConfig } from "@storybook/nextjs"
|
||||
const config: StorybookConfig = {
|
||||
stories: ["../components/**/*.stories.mdx", "../components/**/*.stories.@(js|jsx|ts|tsx)"],
|
||||
addons: ["@storybook/addon-links", "@storybook/addon-essentials", "@storybook/addon-interactions"],
|
||||
addons: ["@storybook/addon-links", "@storybook/addon-docs"],
|
||||
|
||||
framework: {
|
||||
name: "@storybook/nextjs",
|
||||
options: {},
|
||||
},
|
||||
docs: {
|
||||
autodocs: "tag",
|
||||
},
|
||||
|
||||
typescript: {
|
||||
check: false,
|
||||
checkOptions: {},
|
||||
|
|
@ -17,6 +16,6 @@ const config: StorybookConfig = {
|
|||
shouldExtractLiteralValuesFromEnum: true,
|
||||
propFilter: (prop) => (prop.parent ? !/node_modules/.test(prop.parent.fileName) : true),
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
export default config
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type { Preview } from "@storybook/react"
|
||||
import type { Preview } from "@storybook/nextjs"
|
||||
|
||||
import "../styles/tailwind.css"
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import "styles/tailwind.css"
|
|||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<html lang="ru">
|
||||
<body>{children}</body>
|
||||
</html>
|
||||
)
|
||||
|
|
|
|||
19
app/page.tsx
19
app/page.tsx
|
|
@ -4,7 +4,7 @@ import { Button } from "components/Button/Button"
|
|||
import { LP_GRID_ITEMS } from "lp-items"
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Next.js Enterprise Boilerplate",
|
||||
title: "Основная страница проекта",
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
},
|
||||
|
|
@ -27,22 +27,21 @@ export default function Web() {
|
|||
<div className="mx-auto grid max-w-(--breakpoint-xl) px-4 py-8 text-center lg:py-16">
|
||||
<div className="mx-auto place-self-center">
|
||||
<h1 className="mb-4 max-w-2xl text-4xl leading-none font-extrabold tracking-tight md:text-5xl xl:text-6xl dark:text-white">
|
||||
Next.js Enterprise Boilerplate
|
||||
Основная страница проекта
|
||||
</h1>
|
||||
<p className="mb-6 max-w-2xl font-light text-gray-500 md:text-lg lg:mb-8 lg:text-xl dark:text-gray-400">
|
||||
Jumpstart your enterprise project with our feature-packed, high-performance Next.js boilerplate!
|
||||
Experience rapid UI development, AI-powered code reviews, and an extensive suite of tools for a smooth and
|
||||
enjoyable development process.
|
||||
Начните свой проект с нашим многофункциональным, высокопроизводительным шаблоном!
|
||||
Ощутите быструю разработку пользовательского интерфейса, обзоры кода с поддержкой ИИ и обширный набор инструментов для плавного и
|
||||
приятного процесса разработки.
|
||||
</p>
|
||||
<Button href="https://github.com/Blazity/next-enterprise" className="mr-3">
|
||||
Get started
|
||||
<Button href="https://dev.gossys.dev/v.korobtsev/next-enterprise" className="mr-3">
|
||||
Начать
|
||||
</Button>
|
||||
<Button
|
||||
href="https://vercel.com/new/git/external?repository-url=https://github.com/Blazity/next-enterprise"
|
||||
href="https://wiki.gossys.dev/template"
|
||||
intent="secondary"
|
||||
>
|
||||
Deploy Now
|
||||
</Button>
|
||||
WIKI </Button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type { Meta, StoryObj } from "@storybook/react"
|
||||
import type { Meta, StoryObj } from "@storybook/nextjs"
|
||||
import { Button } from "./Button"
|
||||
|
||||
const meta: Meta<typeof Button> = {
|
||||
|
|
|
|||
19
package.json
19
package.json
|
|
@ -70,15 +70,9 @@
|
|||
"@opentelemetry/sdk-trace-node": "1.18.1",
|
||||
"@opentelemetry/semantic-conventions": "1.18.1",
|
||||
"@playwright/test": "^1.52.0",
|
||||
"@storybook/addon-controls": "^8.6.12",
|
||||
"@storybook/addon-essentials": "^8.6.12",
|
||||
"@storybook/addon-interactions": "^8.6.12",
|
||||
"@storybook/addon-links": "^8.6.12",
|
||||
"@storybook/blocks": "^8.6.12",
|
||||
"@storybook/nextjs": "^8.6.12",
|
||||
"@storybook/react": "^8.6.12",
|
||||
"@storybook/test": "^8.6.12",
|
||||
"@storybook/test-runner": "^0.21.3",
|
||||
"@storybook/addon-links": "^9.1.2",
|
||||
"@storybook/nextjs": "^9.1.2",
|
||||
"@storybook/test-runner": "^0.23.0",
|
||||
"@tailwindcss/postcss": "^4.1.5",
|
||||
"@testing-library/jest-dom": "^6.1.4",
|
||||
"@testing-library/react": "^14.3.1",
|
||||
|
|
@ -95,7 +89,7 @@
|
|||
"eslint-config-next": "15.1.6",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-storybook": "^0.11.6",
|
||||
"eslint-plugin-storybook": "^9.1.2",
|
||||
"eslint-plugin-tailwindcss": "^3.18.0",
|
||||
"fetch-mock": "^9.11.0",
|
||||
"gzip-size": "6.0.0",
|
||||
|
|
@ -108,7 +102,7 @@
|
|||
"prettier": "3.0.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"semantic-release": "^22.0.12",
|
||||
"storybook": "^8.6.12",
|
||||
"storybook": "^9.1.2",
|
||||
"tailwindcss": "^4.1.5",
|
||||
"tsc": "^2.0.4",
|
||||
"typed-query-selector": "^2.12.0",
|
||||
|
|
@ -116,7 +110,8 @@
|
|||
"typescript-eslint": "^8.32.0",
|
||||
"vite-tsconfig-paths": "^5.1.4",
|
||||
"vitest": "^3.2.4",
|
||||
"webpack": "5.94.0"
|
||||
"webpack": "5.94.0",
|
||||
"@storybook/addon-docs": "^9.1.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
|
|
|
|||
1891
pnpm-lock.yaml
generated
1891
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,12 +1,12 @@
|
|||
@import 'tailwindcss';
|
||||
|
||||
/*
|
||||
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||
so we've added these compatibility styles to make sure everything still
|
||||
looks the same as it did with Tailwind CSS v3.
|
||||
Цвет границы по умолчанию был изменён на `currentColor` в Tailwind CSS v4,
|
||||
поэтому мы добавили эти стили совместимости, чтобы всё выглядело так же,
|
||||
как и в Tailwind CSS v3.
|
||||
|
||||
If we ever want to remove these styles, we need to add an explicit border
|
||||
color utility to any element that depends on these defaults.
|
||||
Если когда-нибудь потребуется удалить эти стили, нужно явно добавить
|
||||
утилиту цвета границы для любого элемента, который зависит от этих значений по умолчанию.
|
||||
*/
|
||||
@layer base {
|
||||
*,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue