GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Release bambooFw fe · bamboo-firewall/fe@441741c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .env.example
  • .eslintrc.json
  • .gitignore
  • .husky
    • pre-commit
    • pre-push
  • .prettierrc
  • .stylelintignore
  • .stylelintrc.json
  • README.md
  • next.config.js
  • package-lock.json
  • package.json
  • postcss.config.js
  • public
    • logo.png
    • next.svg
    • thirteen.svg
  • src
    • UI
      • es
        • select.ts
        • tabs.ts
        • upload.ts
      • index.tsx
      • lib
        • config-provider
          • SizeContext.ts
        • table
          • index.ts
          • interface.ts
    • components
      • ErrorBoundary.tsx
      • FallBackUI.tsx
      • auth
        • author.tsx
      • common
        • Avatar.tsx
        • Filter.tsx
      • drawer
        • ContentViewer.tsx
        • JsonViewer.tsx
        • YamlViewer.tsx
        • index.tsx
      • icons
        • ArrowDown.svg
        • ArrowLeft.svg
        • ArrowRight.svg
        • ArrowUpIcon.svg
        • CalendarIcon.svg
        • CaretDown.svg
        • CaretUp.svg
        • CloseIcon.svg
        • CopyIcon.svg
        • DeleteIcon.svg
        • EditIcon.svg
        • FilterIcon.svg
        • HomeIcon.svg
        • Logo.svg
        • StepBackward.svg
        • StepForward.svg
        • index.ts
      • modal
        • CreateUser.tsx
        • DeleteUser.tsx
        • UpdatePassword.tsx
        • UpdateUser.tsx
        • index.tsx
    • configs
      • ApiClient.ts
      • antd.ts
      • authorize.ts
      • common.ts
    • constants
      • Chart.ts
      • messages.ts
    • hooks
      • useLoadMore.ts
      • useWindowSize.ts
    • interfaces
      • index.ts
    • layouts/default
      • breadcrumb
        • index.tsx
      • header
        • index.tsx
      • index.tsx
      • navbar
        • index.tsx
    • modules/home
      • CardHome.tsx
      • ProjectDougnut.tsx
      • WordCloud.tsx
    • pages
      • _app.tsx
      • _document.tsx
      • errors
        • 403.tsx
        • 404.tsx
        • 500.tsx
      • globalNetworkPolicy.tsx
      • globalNetworkSet.tsx
      • groups.tsx
      • hostEndpoint.tsx
      • index.tsx
      • login.tsx
      • profile.tsx
      • users.tsx
    • provider
      • AppProvider.tsx
    • services
      • Bamboo.service.ts
      • index.ts
      • interfaces.ts
      • routes.ts
    • styles
      • antd
        • _antd.scss
        • button.scss
        • modal.scss
        • table.scss
      • common
        • index.scss
        • jsonFormat.scss
        • profile.scss
        • scrollbar.scss
      • globals.scss
      • tailwind
        • _tailwind.scss
      • variable.scss
    • utils
      • Json.ts
      • functions.ts
      • lodash.ts
      • time.ts
  • tailwind.config.js
  • tsconfig.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.env.example‎

Copy file name to clipboard
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
NEXT_PUBLIC_APP_URL=xxx
2+
NEXT_PUBLIC_BAMBOO_API_URL=xxx
Collapse file

‎.eslintrc.json‎

Copy file name to clipboard
+94Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"extends": [
3+
"next/core-web-vitals",
4+
"eslint:recommended",
5+
"plugin:@typescript-eslint/recommended",
6+
"plugin:react/recommended",
7+
"next",
8+
"prettier"
9+
],
10+
"rules": {
11+
// eslint
12+
"max-lines": ["warn", 300],
13+
"no-case-declarations": "off",
14+
"no-console": "error",
15+
"no-debugger": "error",
16+
"no-var": "error",
17+
"no-unused-vars": "warn",
18+
"block-scoped-var": "error",
19+
"no-param-reassign": "error",
20+
"space-before-function-paren": ["off", "never"],
21+
"key-spacing": [
22+
"warn",
23+
{
24+
"mode": "minimum",
25+
"beforeColon": false,
26+
"afterColon": true
27+
}
28+
],
29+
"arrow-spacing": ["warn"],
30+
"spaced-comment": ["warn", "always", { "markers": ["/"] }],
31+
"space-in-parens": ["warn", "never"],
32+
"object-curly-spacing": ["warn", "always"],
33+
"no-trailing-spaces": "warn",
34+
"object-shorthand": ["warn", "methods"],
35+
"prefer-template": "warn",
36+
"no-useless-concat": "warn",
37+
"prefer-const": "error",
38+
"yoda": ["warn", "never", { "exceptRange": true }],
39+
"quotes": ["warn", "single", { "avoidEscape": true }],
40+
"max-len": [
41+
"warn",
42+
150,
43+
{
44+
"ignoreComments": true,
45+
"ignoreUrls": true,
46+
"ignorePattern": "d=\"([\\s\\S]*?)\"|className=\"([\\s\\S]*?)\""
47+
}
48+
],
49+
"no-constant-condition": [
50+
"warn",
51+
{
52+
"checkLoops": false
53+
}
54+
],
55+
"brace-style": ["warn"],
56+
"eqeqeq": ["warn", "always"],
57+
58+
// react
59+
"react/react-in-jsx-scope": "off",
60+
"react/prop-types": "off",
61+
"react/jsx-no-bind": "off",
62+
"react/jsx-boolean-value": "warn",
63+
"react/jsx-closing-bracket-location": "warn",
64+
"react/jsx-tag-spacing": "warn",
65+
"jsx-quotes": ["warn", "prefer-double"],
66+
"react/jsx-wrap-multilines": "warn",
67+
"react/jsx-handler-names": [
68+
"off",
69+
{
70+
"eventHandlerPropPrefix": ""
71+
}
72+
],
73+
"react/jsx-key": "warn",
74+
"react/jsx-no-comment-textnodes": "warn",
75+
"react/jsx-pascal-case": ["warn", { "allowAllCaps": true }],
76+
"react/no-did-mount-set-state": "warn",
77+
"react/no-did-update-set-state": "warn",
78+
"react/sort-comp": "warn",
79+
"react/prefer-es6-class": "warn",
80+
"react/style-prop-object": "warn",
81+
"react/no-unescaped-entities": "warn",
82+
// nextjs
83+
"@next/next/no-img-element": "off",
84+
// @typescript-eslint
85+
"@typescript-eslint/array-type": ["warn"],
86+
"@typescript-eslint/no-explicit-any": ["off"],
87+
"@typescript-eslint/no-unused-vars": ["warn", { "vars": "all", "args": "none" }],
88+
"@typescript-eslint/no-inferrable-types": ["off"],
89+
"@typescript-eslint/no-empty-function": ["off"],
90+
"semi": ["error", "always"],
91+
"default-case": "error",
92+
"no-multi-spaces": "error"
93+
}
94+
}
Collapse file

‎.gitignore‎

Copy file name to clipboard
+37Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
27+
28+
# local env files
29+
.env
30+
.env*.local
31+
32+
# vercel
33+
.vercel
34+
35+
# typescript
36+
*.tsbuildinfo
37+
next-env.d.ts
Collapse file

‎.husky/pre-commit‎

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run lintfix
Collapse file

‎.husky/pre-push‎

Copy file name to clipboard
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run types-check
Collapse file

‎.prettierrc‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"printWidth": 110,
3+
"arrowParens": "always",
4+
"semi": true,
5+
"tabWidth": 2,
6+
"singleQuote": true
7+
}
Collapse file

‎.stylelintignore‎

Copy file name to clipboard
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
**/*.js
2+
**/*.jsx
3+
**/*.ts
4+
**/*.tsx
5+
**/*.min.css
Collapse file

‎.stylelintrc.json‎

Copy file name to clipboard
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "stylelint-config-standard-scss",
3+
"rules": {
4+
"at-rule-no-unknown": null,
5+
"scss/at-rule-no-unknown": [
6+
true,
7+
{
8+
"ignoreAtRules": [
9+
"tailwind"
10+
]
11+
}
12+
]
13+
}
14+
}
Collapse file

‎README.md‎

Copy file name to clipboard
+17-1Lines changed: 17 additions & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
# fe
1+
# Setup devlopment
2+
3+
```
4+
cp .env.example .env.production
5+
```
6+
7+
```
8+
npm i
9+
```
10+
11+
```
12+
npm run prepare
13+
```
14+
15+
```
16+
npm run dev
17+
```
Collapse file

‎next.config.js‎

Copy file name to clipboard
+35Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* eslint-disable @typescript-eslint/no-var-requires */
2+
/** @type {import('next').NextConfig} */
3+
const path = require('path');
4+
5+
const nextConfig = {
6+
output: 'standalone',
7+
reactStrictMode: false,
8+
sassOptions: {
9+
includePaths: [path.join(__dirname, 'styles')],
10+
},
11+
productionBrowserSourceMaps: true,
12+
compiler: {
13+
styledComponents: true,
14+
},
15+
webpack(config) {
16+
config.module.rules.push({
17+
test: /\.svg$/i,
18+
issuer: /\.[jt]sx?$/,
19+
use: ['@svgr/webpack'],
20+
});
21+
22+
return config;
23+
},
24+
async rewrites() {
25+
return {
26+
fallback: [
27+
{
28+
source: '/:path*',
29+
destination: '/errors/404',
30+
},
31+
],
32+
};
33+
},
34+
};
35+
module.exports = nextConfig;

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.