-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
334 changed files
with
15,425 additions
and
4,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
VITE_GRAPHQL_URL=https://localhost/graphql | ||
VITE_RECAPTCHA_TOKEN=6LdE8QAVAAAAAKvBLdna3qVhf6ml05DKXRXwDxmn | ||
WEBSITE_URL=https://iswenzz.com/ | ||
WEBSITE_THEME=dark |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,34 @@ | ||
name: Application | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Build | ||
run: | | ||
yarn --no-immutable | ||
yarn build | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Tests | ||
run: | | ||
yarn --no-immutable | ||
yarn test | ||
- name: CodeCov | ||
uses: codecov/codecov-action@v2 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: ./coverage/cobertura-coverage.xml | ||
flags: unittests | ||
name: codecov-umbrella | ||
fail_ci_if_error: true | ||
verbose: true | ||
|
||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Lint | ||
run: | | ||
yarn --no-immutable | ||
yarn lint | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Build | ||
run: | | ||
yarn --no-immutable | ||
yarn build | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
submodules: "recursive" | ||
|
||
- name: Lint | ||
run: | | ||
yarn --no-immutable | ||
yarn lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,22 @@ | ||
.idea/* | ||
.vs/* | ||
.vscode/* | ||
node_modules/* | ||
coverage/* | ||
build/* | ||
|
||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.idea/* | ||
.vs/* | ||
.vscode/* | ||
.next/* | ||
.vercel/* | ||
node_modules/* | ||
coverage/* | ||
build/* | ||
out/* | ||
|
||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
|
||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
coverage | ||
build | ||
dist |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
yarnPath: .yarn/releases/yarn-4.3.1.cjs | ||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,43 @@ | ||
import config from "./packages/izui-web/packages/izui-react/eslint.config.js"; | ||
import eslint from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
import prettier from "eslint-config-prettier"; | ||
import pluginNext from "@next/eslint-plugin-next"; | ||
import pluginReact from "eslint-plugin-react"; | ||
import pluginReactHooks from "eslint-plugin-react-hooks"; | ||
import globals from "globals"; | ||
|
||
export default [ | ||
...config, | ||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
tseslint.configs.recommended, | ||
prettier, | ||
{ | ||
ignores: ["src/api/generated/*", "build/*"] | ||
...pluginReact.configs.flat.recommended, | ||
languageOptions: { | ||
...pluginReact.configs.flat.recommended.languageOptions, | ||
globals: { | ||
...globals.node, | ||
...globals.browser, | ||
...globals.serviceworker | ||
} | ||
} | ||
}, | ||
{ | ||
plugins: { | ||
"react-hooks": pluginReactHooks | ||
}, | ||
settings: { react: { version: "detect" } }, | ||
rules: { | ||
...pluginReactHooks.configs.recommended.rules, | ||
"react/react-in-jsx-scope": "off" | ||
} | ||
}, | ||
{ | ||
plugins: { | ||
"@next/next": pluginNext | ||
}, | ||
rules: { | ||
...pluginNext.configs.recommended.rules, | ||
...pluginNext.configs["core-web-vitals"].rules | ||
} | ||
} | ||
]; | ||
); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** @type {import('next-sitemap').IConfig} */ | ||
const config = { | ||
siteUrl: "https://iswenzz.com", | ||
generateRobotsTxt: true, | ||
// https://nextjs.org/docs/app/api-reference/file-conventions/metadata | ||
exclude: ["/twitter-image.*", "/opengraph-image.*", "/icon.*"] | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type { NextConfig } from "next"; | ||
import NextBundleAnalyzer from "@next/bundle-analyzer"; | ||
|
||
const nextConfig: NextConfig = { | ||
reactStrictMode: true | ||
}; | ||
|
||
const withBundleAnalyzer = NextBundleAnalyzer({ | ||
enabled: process.env.NODE_ENV === "production" | ||
}); | ||
|
||
export default withBundleAnalyzer(nextConfig); |
Oops, something went wrong.