Commit 7e904621 authored by haiyoucuv's avatar haiyoucuv

new 模板

parent fdb23330
# 忽略eslint校验路径,例如:
# src/libs/@spark
\ No newline at end of file
module.exports = {
parser: '@babel/eslint-parser',
env: {
browser: true,
es6: true,
node: true,
},
globals: {
CFG: true,
wx: true,
FYGE: true,
SPARK_ESLINT_PLUGIN: true,
remScale: true,
},
plugins: ['html', 'react', '@spark/best-practices', '@spark/security'],
extends: ['eslint:recommended', 'plugin:react/recommended'],
settings: {
react: {
version: 'detect',
},
},
parserOptions: {
sourceType: 'module',
ecmaVersion: 7,
ecmaFeatures: {
experimentalObjectRestSpread: true,
jsx: true,
},
babelOptions: {
configFile: './node_modules/@spark/code-inspector/static/babel.config.js',
},
},
rules: {
'no-undef': 'error',
'no-unused-vars': ['error', { vars: 'all', args: 'after-used', argsIgnorePattern: '^_', varsIgnorePattern: '^_', ignoreRestSiblings: true }],
'no-dupe-keys': 'error',
'no-fallthrough': 'error',
'no-global-assign': 'error',
'no-implied-eval': 'error',
'no-self-assign': 'error',
'no-self-compare': 'error',
'no-sequences': 'error',
'no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true, allowTaggedTemplates: true }],
'no-useless-escape': 'error',
'no-empty-pattern': 'error',
'no-empty-function': ['error', { allow: ['arrowFunctions', 'functions', 'methods'] }],
'no-var': 'error',
'no-dupe-class-members': 'error',
'no-unsafe-optional-chaining': 'error',
'no-const-assign': 'error',
'no-empty': ['error', { allowEmptyCatch: true }],
'prefer-const': 'warn',
'no-extra-boolean-cast': 'warn',
'no-mixed-spaces-and-tabs': 'warn',
'no-alert': 'warn',
'no-new-wrappers': 'warn',
'no-useless-concat': 'warn',
'no-useless-return': 'warn',
'prefer-promise-reject-errors': ['warn', { allowEmptyReject: true }],
'spaced-comment': 'warn',
'react/prop-types': 'off',
'react/display-name': 'off',
'react/jsx-pascal-case': 'error',
'jsx-quotes': 'warn',
// 'react/jsx-tag-spacing': 'error',
'react/require-resnder-return': 'error',
'semi': [1],
"prefer-rest-params": "off",
},
overrides: [
{
files: ['public/**/*.html'],
rules: {
'no-var': 'off',
'@spark/security/third-party-whitelist': 'error',
'@spark/best-practices/no-url-in-js': 'error',
'@spark/best-practices/no-arrow-function': 'error',
'@spark/best-practices/no-es6-variable-declaration': 'error',
},
},
{
files: ['src/**/*.{js,jsx}'],
rules: {
'@spark/best-practices/no-url-in-js': 'error',
},
},
],
};
...@@ -8,7 +8,6 @@ pnpm-debug.log* ...@@ -8,7 +8,6 @@ pnpm-debug.log*
lerna-debug.log* lerna-debug.log*
node_modules node_modules
dist
dist-ssr dist-ssr
*.local *.local
...@@ -22,3 +21,6 @@ dist-ssr ...@@ -22,3 +21,6 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
dist/*/*
!dist/index.html
\ No newline at end of file
UPLOAD_DIR=TNGD_GAMES/B_Client
\ No newline at end of file
# .env.production
CDN_DOMAIN=//gamification-sbx.tngdigital.com.my
OSS_REGION=oss-ap-southeast-3
OSS_BUCKET=sbx-gamification-tngd
OSS_ACCESS_KEY_ID=LTAI5tApBGwYWaj6zLmKUaTJ
OSS_ACCESS_SECRET=W3OvCDpbE3ywMaQnTNWzySnhPRK1We
\ No newline at end of file
...@@ -29,7 +29,7 @@ export default function DuibaPublish(options: IDuibaPublishOptions) { ...@@ -29,7 +29,7 @@ export default function DuibaPublish(options: IDuibaPublishOptions) {
async closeBundle() { async closeBundle() {
const autoUpload = new AutoUpload({ const autoUpload = new AutoUpload({
dir: path.resolve("dist"), dir: path.resolve("dist"),
originDir: `/${uploadDir}/`, originDir: `/${uploadDir}/${buildVersion}/`,
accessKeySecret, accessKeyId, bucket, region, accessKeySecret, accessKeyId, bucket, region,
}); });
......
...@@ -19,8 +19,10 @@ export default tseslint.config( ...@@ -19,8 +19,10 @@ export default tseslint.config(
}, },
rules: { rules: {
...reactHooks.configs.recommended.rules, ...reactHooks.configs.recommended.rules,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off", "@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-unused-expressions": "off",
"prefer-rest-params": "off", "prefer-rest-params": "off",
'react-refresh/only-export-components': [ 'react-refresh/only-export-components': [
'warn', 'warn',
......
...@@ -23,6 +23,8 @@ class App extends Component { ...@@ -23,6 +23,8 @@ class App extends Component {
async componentDidMount() { async componentDidMount() {
await store.getFrontVariable(); await store.getFrontVariable();
console.log(import.meta.glob("./assets/**/*"));
} }
render() { render() {
......
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2020", "target": "ES2020",
"useDefineForClassFields": true,
"module": "ESNext", "module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"], "lib": ["ES2020", "DOM", "DOM.Iterable"],
"useDefineForClassFields": true,
"skipLibCheck": true, "skipLibCheck": true,
"experimentalDecorators": true, "experimentalDecorators": true,
/* Bundler mode */ /* Bundler mode */
...@@ -17,9 +17,10 @@ ...@@ -17,9 +17,10 @@
/* Linting */ /* Linting */
"strict": false, "strict": false,
"noImplicitAny": false,
"noUnusedLocals": false, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"noFallthroughCasesInSwitch": false "noFallthroughCasesInSwitch": true
}, },
"include": ["src"] "include": ["src"]
} }
{ {
"compilerOptions": { "compilerOptions": {
"target": "ES2022", "target": "ES2022",
"lib": [
"ES2023"
],
"module": "ESNext", "module": "ESNext",
"lib": ["ES2023"],
"useDefineForClassFields": true,
"skipLibCheck": true, "skipLibCheck": true,
"experimentalDecorators": true,
/* Bundler mode */ /* Bundler mode */
"moduleResolution": "bundler", "moduleResolution": "bundler",
"allowImportingTsExtensions": true, "allowImportingTsExtensions": true,
...@@ -14,6 +14,7 @@ ...@@ -14,6 +14,7 @@
"noEmit": true, "noEmit": true,
/* Linting */ /* Linting */
"strict": false, "strict": false,
"noImplicitAny": false,
"noUnusedLocals": false, "noUnusedLocals": false,
"noUnusedParameters": false, "noUnusedParameters": false,
"noFallthroughCasesInSwitch": true "noFallthroughCasesInSwitch": true
......
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react' import react from '@vitejs/plugin-react'
import legacy from '@vitejs/plugin-legacy' import legacy from '@vitejs/plugin-legacy'
import autoprefixer from "autoprefixer" import autoprefixer from "autoprefixer"
import postcsspxtorem from "postcss-pxtorem" import postcsspxtorem from "postcss-pxtorem"
import { viteMockServe } from "vite-plugin-mock"; import { viteMockServe } from "vite-plugin-mock";
import DuibaPublish from "./plugins/DuibaPublish/DuibaPublish.ts"; import DuibaPublish from "./config/DuibaPublish/DuibaPublish.ts";
const isProd = process.env.NODE_ENV == "production"; import dotenv from 'dotenv';
const versionStamp = Date.now(); // https://vitejs.dev/config/
export default defineConfig(({mode}) => {
const origin = "//yun.duiba.com.cn"; dotenv.config({path: [`./config/.env.global`, `./config/.env.${mode}`]});
const uploadDir = `db_games/spark_template/${versionStamp}`; const {
NODE_ENV,
UPLOAD_DIR, CDN_DOMAIN,
OSS_REGION, OSS_BUCKET,
OSS_ACCESS_KEY_ID, OSS_ACCESS_SECRET,
} = process.env;
const prodBase = `${origin}/${uploadDir}/`; console.log(UPLOAD_DIR, NODE_ENV, CDN_DOMAIN, OSS_REGION, OSS_BUCKET, OSS_ACCESS_KEY_ID, OSS_ACCESS_SECRET)
// https://vitejs.dev/config/ const isDev = NODE_ENV == "development";
export default defineConfig({
base: isProd ? prodBase : "", const versionStamp = Date.now();
plugins: [
react({ const prodBase = `${CDN_DOMAIN}/${UPLOAD_DIR}/${versionStamp}/`;
babel: {
return {
base: !isDev ? prodBase : "",
server: {
// port: 3001
},
plugins: [ plugins: [
["@babel/plugin-proposal-decorators", {legacy: true}], react({
["@babel/plugin-proposal-class-properties", {loose: true}], babel: {
plugins: [
["@babel/plugin-proposal-decorators", {legacy: true}],
["@babel/plugin-proposal-class-properties", {loose: true}],
],
},
}),
legacy({
targets: ['defaults', 'not IE 11'],
}),
viteMockServe({
// default
mockPath: 'mock',
enable: true,
}),
!isDev && DuibaPublish({
buildVersion: versionStamp,
uploadDir: UPLOAD_DIR,
region: OSS_REGION,
bucket: OSS_BUCKET,
accessKeyId: OSS_ACCESS_KEY_ID,
accessKeySecret: OSS_ACCESS_SECRET,
}),
], ],
}, css: {
}), postcss: {
legacy({ plugins: [
targets: ['defaults', 'not IE 11'], autoprefixer({
}), overrideBrowserslist: [
viteMockServe({ "Android 4.1",
// default "iOS 7.1",
mockPath: 'mock', "Chrome > 31",
enable: true, "ff > 31",
}), "ie >= 8",
isProd && DuibaPublish({ "last 10 versions", // 所有主流浏览器最近10版本用
buildVersion: versionStamp, ],
uploadDir: uploadDir, grid: true
region: "oss-cn-hangzhou", }),
bucket: "duiba", postcsspxtorem({
accessKeyId: "LTAI5tPUSSxgkEmKPAfVXUQQ", rootValue: 100,
accessKeySecret: "6sk3EDd1BYrXlAUoh8maMuN7hOMkh1", // propList: ["*", "!border"], // 除 border 外所有px 转 rem
}), selectorBlackList: [".noRem-"], // 过滤掉.noRem-开头的class,不进行rem转换
], }),
css: { ],
postcss: { },
plugins: [ preprocessorOptions: {
autoprefixer({ less: {
overrideBrowserslist: [ javascriptEnabled: true,
"Android 4.1", },
"iOS 7.1", },
"Chrome > 31", modules: {
"ff > 31", localsConvention: 'camelCase'
"ie >= 8", }
"last 10 versions", // 所有主流浏览器最近10版本用 }
], }
grid: true
}),
postcsspxtorem({
rootValue: 100,
propList: ["*", "!border"], // 除 border 外所有px 转 rem
selectorBlackList: [".el-"], // 过滤掉.el-开头的class,不进行rem转换
}),
],
},
preprocessorOptions: {
less: {
javascriptEnabled: true,
},
},
modules: {
localsConvention: 'camelCase'
} }
} )
})
...@@ -1470,62 +1470,62 @@ ...@@ -1470,62 +1470,62 @@
"@types/prop-types" "*" "@types/prop-types" "*"
csstype "^3.0.2" csstype "^3.0.2"
"@typescript-eslint/eslint-plugin@8.3.0": "@typescript-eslint/eslint-plugin@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.3.0.tgz#726627fad16d41d20539637efee8c2329fe6be32" resolved "http://npm.dui88.com:80/@typescript-eslint%2feslint-plugin/-/eslint-plugin-8.10.0.tgz#9c8218ed62f9a322df10ded7c34990f014df44f2"
integrity sha512-FLAIn63G5KH+adZosDYiutqkOkYEx0nvcwNNfJAf+c7Ae/H35qWwTYvPZUKFj5AS+WfHG/WJJfWnDnyNUlp8UA== integrity sha512-phuB3hoP7FFKbRXxjl+DRlQDuJqhpOnm5MmtROXyWi3uS/Xg2ZXqiQfcG2BJHiN4QKyzdOJi3NEn/qTnjUlkmQ==
dependencies: dependencies:
"@eslint-community/regexpp" "^4.10.0" "@eslint-community/regexpp" "^4.10.0"
"@typescript-eslint/scope-manager" "8.3.0" "@typescript-eslint/scope-manager" "8.10.0"
"@typescript-eslint/type-utils" "8.3.0" "@typescript-eslint/type-utils" "8.10.0"
"@typescript-eslint/utils" "8.3.0" "@typescript-eslint/utils" "8.10.0"
"@typescript-eslint/visitor-keys" "8.3.0" "@typescript-eslint/visitor-keys" "8.10.0"
graphemer "^1.4.0" graphemer "^1.4.0"
ignore "^5.3.1" ignore "^5.3.1"
natural-compare "^1.4.0" natural-compare "^1.4.0"
ts-api-utils "^1.3.0" ts-api-utils "^1.3.0"
"@typescript-eslint/parser@8.3.0": "@typescript-eslint/parser@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-8.3.0.tgz#3c72c32bc909cb91ce3569e7d11d729ad84deafa" resolved "http://npm.dui88.com:80/@typescript-eslint%2fparser/-/parser-8.10.0.tgz#3cbe7206f5e42835878a74a76da533549f977662"
integrity sha512-h53RhVyLu6AtpUzVCYLPhZGL5jzTD9fZL+SYf/+hYOx2bDkyQXztXSc4tbvKYHzfMXExMLiL9CWqJmVz6+78IQ== integrity sha512-E24l90SxuJhytWJ0pTQydFT46Nk0Z+bsLKo/L8rtQSL93rQ6byd1V/QbDpHUTdLPOMsBCcYXZweADNCfOCmOAg==
dependencies: dependencies:
"@typescript-eslint/scope-manager" "8.3.0" "@typescript-eslint/scope-manager" "8.10.0"
"@typescript-eslint/types" "8.3.0" "@typescript-eslint/types" "8.10.0"
"@typescript-eslint/typescript-estree" "8.3.0" "@typescript-eslint/typescript-estree" "8.10.0"
"@typescript-eslint/visitor-keys" "8.3.0" "@typescript-eslint/visitor-keys" "8.10.0"
debug "^4.3.4" debug "^4.3.4"
"@typescript-eslint/scope-manager@8.3.0": "@typescript-eslint/scope-manager@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-8.3.0.tgz#834301d2e70baf924c26818b911bdc40086f7468" resolved "http://npm.dui88.com:80/@typescript-eslint%2fscope-manager/-/scope-manager-8.10.0.tgz#606ffe18314d7b5c2f118f2f02aaa2958107a19c"
integrity sha512-mz2X8WcN2nVu5Hodku+IR8GgCOl4C0G/Z1ruaWN4dgec64kDBabuXyPAr+/RgJtumv8EEkqIzf3X2U5DUKB2eg== integrity sha512-AgCaEjhfql9MDKjMUxWvH7HjLeBqMCBfIaBbzzIcBbQPZE7CPh1m6FF+L75NUMJFMLYhCywJXIDEMa3//1A0dw==
dependencies: dependencies:
"@typescript-eslint/types" "8.3.0" "@typescript-eslint/types" "8.10.0"
"@typescript-eslint/visitor-keys" "8.3.0" "@typescript-eslint/visitor-keys" "8.10.0"
"@typescript-eslint/type-utils@8.3.0": "@typescript-eslint/type-utils@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-8.3.0.tgz#c1ae6af8c21a27254321016b052af67ddb44a9ac" resolved "http://npm.dui88.com:80/@typescript-eslint%2ftype-utils/-/type-utils-8.10.0.tgz#99f1d2e21f8c74703e7d9c4a67a87271eaf57597"
integrity sha512-wrV6qh//nLbfXZQoj32EXKmwHf4b7L+xXLrP3FZ0GOUU72gSvLjeWUl5J5Ue5IwRxIV1TfF73j/eaBapxx99Lg== integrity sha512-PCpUOpyQSpxBn230yIcK+LeCQaXuxrgCm2Zk1S+PTIRJsEfU6nJ0TtwyH8pIwPK/vJoA+7TZtzyAJSGBz+s/dg==
dependencies: dependencies:
"@typescript-eslint/typescript-estree" "8.3.0" "@typescript-eslint/typescript-estree" "8.10.0"
"@typescript-eslint/utils" "8.3.0" "@typescript-eslint/utils" "8.10.0"
debug "^4.3.4" debug "^4.3.4"
ts-api-utils "^1.3.0" ts-api-utils "^1.3.0"
"@typescript-eslint/types@8.3.0": "@typescript-eslint/types@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-8.3.0.tgz#378e62447c2d7028236e55a81d3391026600563b" resolved "http://npm.dui88.com:80/@typescript-eslint%2ftypes/-/types-8.10.0.tgz#eb29c4bc2ed23489348c297469c76d28c38fb618"
integrity sha512-y6sSEeK+facMaAyixM36dQ5NVXTnKWunfD1Ft4xraYqxP0lC0POJmIaL/mw72CUMqjY9qfyVfXafMeaUj0noWw== integrity sha512-k/E48uzsfJCRRbGLapdZgrX52csmWJ2rcowwPvOZ8lwPUv3xW6CcFeJAXgx4uJm+Ge4+a4tFOkdYvSpxhRhg1w==
"@typescript-eslint/typescript-estree@8.3.0": "@typescript-eslint/typescript-estree@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.3.0.tgz#3e3d38af101ba61a8568f034733b72bfc9f176b9" resolved "http://npm.dui88.com:80/@typescript-eslint%2ftypescript-estree/-/typescript-estree-8.10.0.tgz#36cc66e06c5f44d6781f95cb03b132e985273a33"
integrity sha512-Mq7FTHl0R36EmWlCJWojIC1qn/ZWo2YiWYc1XVtasJ7FIgjo0MVv9rZWXEE7IK2CGrtwe1dVOxWwqXUdNgfRCA== integrity sha512-3OE0nlcOHaMvQ8Xu5gAfME3/tWVDpb/HxtpUZ1WeOAksZ/h/gwrBzCklaGzwZT97/lBbbxJ16dMA98JMEngW4w==
dependencies: dependencies:
"@typescript-eslint/types" "8.3.0" "@typescript-eslint/types" "8.10.0"
"@typescript-eslint/visitor-keys" "8.3.0" "@typescript-eslint/visitor-keys" "8.10.0"
debug "^4.3.4" debug "^4.3.4"
fast-glob "^3.3.2" fast-glob "^3.3.2"
is-glob "^4.0.3" is-glob "^4.0.3"
...@@ -1533,22 +1533,22 @@ ...@@ -1533,22 +1533,22 @@
semver "^7.6.0" semver "^7.6.0"
ts-api-utils "^1.3.0" ts-api-utils "^1.3.0"
"@typescript-eslint/utils@8.3.0": "@typescript-eslint/utils@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-8.3.0.tgz#b10972319deac5959c7a7075d0cf2b5e1de7ec08" resolved "http://npm.dui88.com:80/@typescript-eslint%2futils/-/utils-8.10.0.tgz#d78d1ce3ea3d2a88a2593ebfb1c98490131d00bf"
integrity sha512-F77WwqxIi/qGkIGOGXNBLV7nykwfjLsdauRB/DOFPdv6LTF3BHHkBpq81/b5iMPSF055oO2BiivDJV4ChvNtXA== integrity sha512-Oq4uZ7JFr9d1ZunE/QKy5egcDRXT/FrS2z/nlxzPua2VHFtmMvFNDvpq1m/hq0ra+T52aUezfcjGRIB7vNJF9w==
dependencies: dependencies:
"@eslint-community/eslint-utils" "^4.4.0" "@eslint-community/eslint-utils" "^4.4.0"
"@typescript-eslint/scope-manager" "8.3.0" "@typescript-eslint/scope-manager" "8.10.0"
"@typescript-eslint/types" "8.3.0" "@typescript-eslint/types" "8.10.0"
"@typescript-eslint/typescript-estree" "8.3.0" "@typescript-eslint/typescript-estree" "8.10.0"
"@typescript-eslint/visitor-keys@8.3.0": "@typescript-eslint/visitor-keys@8.10.0":
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.3.0.tgz#320d747d107af1eef1eb43fbc4ccdbddda13068b" resolved "http://npm.dui88.com:80/@typescript-eslint%2fvisitor-keys/-/visitor-keys-8.10.0.tgz#7ce4c0c3b82140415c9cd9babe09e0000b4e9979"
integrity sha512-RmZwrTbQ9QveF15m/Cl28n0LXD6ea2CjkhH5rQ55ewz3H24w+AMCJHPVYaZ8/0HoG8Z3cLLFFycRXxeO2tz9FA== integrity sha512-k8nekgqwr7FadWk548Lfph6V3r9OVqjzAIVskE7orMZR23cGJjAOVazsZSJW+ElyjfTM4wx/1g88Mi70DDtG9A==
dependencies: dependencies:
"@typescript-eslint/types" "8.3.0" "@typescript-eslint/types" "8.10.0"
eslint-visitor-keys "^3.4.3" eslint-visitor-keys "^3.4.3"
"@vitejs/plugin-legacy@^5.4.2": "@vitejs/plugin-legacy@^5.4.2":
...@@ -1678,7 +1678,7 @@ argparse@^2.0.1: ...@@ -1678,7 +1678,7 @@ argparse@^2.0.1:
autoprefixer@^10.4.20: autoprefixer@^10.4.20:
version "10.4.20" version "10.4.20"
resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.20.tgz#5caec14d43976ef42e32dcb4bd62878e96be5b3b" resolved "http://npm.dui88.com:80/autoprefixer/-/autoprefixer-10.4.20.tgz#5caec14d43976ef42e32dcb4bd62878e96be5b3b"
integrity sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g== integrity sha512-XY25y5xSv/wEoqzDyXXME4AFfkZI0P23z6Fs3YgymDnKJkCGOnkL0iTxCa85UTqaSgfcqyf3UA6+c7wUvx/16g==
dependencies: dependencies:
browserslist "^4.23.3" browserslist "^4.23.3"
...@@ -1821,6 +1821,11 @@ chalk@^4.0.0: ...@@ -1821,6 +1821,11 @@ chalk@^4.0.0:
ansi-styles "^4.1.0" ansi-styles "^4.1.0"
supports-color "^7.1.0" supports-color "^7.1.0"
chalk@^5.3.0:
version "5.3.0"
resolved "http://npm.dui88.com:80/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385"
integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w==
chokidar@^3.5.3: chokidar@^3.5.3:
version "3.6.0" version "3.6.0"
resolved "http://npm.dui88.com:80/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b" resolved "http://npm.dui88.com:80/chokidar/-/chokidar-3.6.0.tgz#197c6cc669ef2a8dc5e7b4d97ee4e092c3eb0d5b"
...@@ -2003,6 +2008,11 @@ digest-header@^1.0.0: ...@@ -2003,6 +2008,11 @@ digest-header@^1.0.0:
resolved "https://registry.npmmirror.com/digest-header/-/digest-header-1.1.0.tgz#e16ab6cf4545bc4eea878c8c35acd1b89664d800" resolved "https://registry.npmmirror.com/digest-header/-/digest-header-1.1.0.tgz#e16ab6cf4545bc4eea878c8c35acd1b89664d800"
integrity sha512-glXVh42vz40yZb9Cq2oMOt70FIoWiv+vxNvdKdU8CwjLad25qHM3trLxhl9bVjdr6WaslIXhWpn0NO8T/67Qjg== integrity sha512-glXVh42vz40yZb9Cq2oMOt70FIoWiv+vxNvdKdU8CwjLad25qHM3trLxhl9bVjdr6WaslIXhWpn0NO8T/67Qjg==
dotenv@^16.4.5:
version "16.4.5"
resolved "http://npm.dui88.com:80/dotenv/-/dotenv-16.4.5.tgz#cdd3b3b604cb327e286b4762e13502f717cb099f"
integrity sha512-ZmdL2rui+eB2YwhsWzjInR8LldtZHGDoQ1ugH85ppHKwpUHL7j7rN0Ti9NCnGiQbhaZ11FpR+7ao1dNsmduNUg==
duiba-utils@^1.0.11, duiba-utils@^1.0.2, duiba-utils@^1.0.6: duiba-utils@^1.0.11, duiba-utils@^1.0.2, duiba-utils@^1.0.6:
version "1.0.13" version "1.0.13"
resolved "http://npm.dui88.com:80/duiba-utils/-/duiba-utils-1.0.13.tgz#78dcd9c0389089f2c51c73fc61032edb91d3c0a8" resolved "http://npm.dui88.com:80/duiba-utils/-/duiba-utils-1.0.13.tgz#78dcd9c0389089f2c51c73fc61032edb91d3c0a8"
...@@ -2223,7 +2233,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: ...@@ -2223,7 +2233,7 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
fast-glob@^3.2.12, fast-glob@^3.3.2: fast-glob@^3.2.12, fast-glob@^3.3.2:
version "3.3.2" version "3.3.2"
resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" resolved "http://npm.dui88.com:80/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129"
integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==
dependencies: dependencies:
"@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.stat" "^2.0.2"
...@@ -2755,8 +2765,8 @@ merge-descriptors@^1.0.1: ...@@ -2755,8 +2765,8 @@ merge-descriptors@^1.0.1:
merge2@^1.3.0: merge2@^1.3.0:
version "1.4.1" version "1.4.1"
resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" resolved "http://npm.dui88.com:80/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== integrity sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4=
micromatch@^4.0.4: micromatch@^4.0.4:
version "4.0.8" version "4.0.8"
...@@ -3011,6 +3021,11 @@ picocolors@^1.0.0, picocolors@^1.0.1: ...@@ -3011,6 +3021,11 @@ picocolors@^1.0.0, picocolors@^1.0.1:
resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1" resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.1.tgz#a8ad579b571952f0e5d25892de5445bcfe25aaa1"
integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew== integrity sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==
picocolors@^1.1.0:
version "1.1.1"
resolved "http://npm.dui88.com:80/picocolors/-/picocolors-1.1.1.tgz#3d321af3eab939b083c8f929a1d12cda81c26b6b"
integrity sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==
picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1: picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.3.1:
version "2.3.1" version "2.3.1"
resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
...@@ -3036,7 +3051,7 @@ postcss-value-parser@^4.2.0: ...@@ -3036,7 +3051,7 @@ postcss-value-parser@^4.2.0:
resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514"
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
postcss@^8.2.6, postcss@^8.4.41: postcss@^8.2.6:
version "8.4.41" version "8.4.41"
resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.41.tgz#d6104d3ba272d882fe18fc07d15dc2da62fa2681" resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.41.tgz#d6104d3ba272d882fe18fc07d15dc2da62fa2681"
integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ== integrity sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==
...@@ -3045,6 +3060,15 @@ postcss@^8.2.6, postcss@^8.4.41: ...@@ -3045,6 +3060,15 @@ postcss@^8.2.6, postcss@^8.4.41:
picocolors "^1.0.1" picocolors "^1.0.1"
source-map-js "^1.2.0" source-map-js "^1.2.0"
postcss@^8.4.41:
version "8.4.47"
resolved "http://npm.dui88.com:80/postcss/-/postcss-8.4.47.tgz#5bf6c9a010f3e724c503bf03ef7947dcb0fea365"
integrity sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==
dependencies:
nanoid "^3.3.7"
picocolors "^1.1.0"
source-map-js "^1.2.1"
prelude-ls@^1.2.1: prelude-ls@^1.2.1:
version "1.2.1" version "1.2.1"
resolved "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" resolved "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
...@@ -3359,6 +3383,11 @@ source-map-js@^1.2.0: ...@@ -3359,6 +3383,11 @@ source-map-js@^1.2.0:
resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af" resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.2.0.tgz#16b809c162517b5b8c3e7dcd315a2a5c2612b2af"
integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg== integrity sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==
source-map-js@^1.2.1:
version "1.2.1"
resolved "http://npm.dui88.com:80/source-map-js/-/source-map-js-1.2.1.tgz#1ce5650fddd87abc099eda37dcff024c2667ae46"
integrity sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==
source-map-support@~0.5.20: source-map-support@~0.5.20:
version "0.5.21" version "0.5.21"
resolved "http://npm.dui88.com:80/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" resolved "http://npm.dui88.com:80/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"
...@@ -3515,17 +3544,17 @@ type-check@^0.4.0, type-check@~0.4.0: ...@@ -3515,17 +3544,17 @@ type-check@^0.4.0, type-check@~0.4.0:
prelude-ls "^1.2.1" prelude-ls "^1.2.1"
typescript-eslint@^8.0.1: typescript-eslint@^8.0.1:
version "8.3.0" version "8.10.0"
resolved "https://registry.npmmirror.com/typescript-eslint/-/typescript-eslint-8.3.0.tgz#f4d9c5ba71f6bead03ec41ecb2bece1de511e49f" resolved "http://npm.dui88.com:80/typescript-eslint/-/typescript-eslint-8.10.0.tgz#7f7d51577e9b93538cc8801f2cbfdd66098a00e7"
integrity sha512-EvWjwWLwwKDIJuBjk2I6UkV8KEQcwZ0VM10nR1rIunRDIP67QJTZAHBXTX0HW/oI1H10YESF8yWie8fRQxjvFA== integrity sha512-YIu230PeN7z9zpu/EtqCIuRVHPs4iSlqW6TEvjbyDAE3MZsSl2RXBo+5ag+lbABCG8sFM1WVKEXhlQ8Ml8A3Fw==
dependencies: dependencies:
"@typescript-eslint/eslint-plugin" "8.3.0" "@typescript-eslint/eslint-plugin" "8.10.0"
"@typescript-eslint/parser" "8.3.0" "@typescript-eslint/parser" "8.10.0"
"@typescript-eslint/utils" "8.3.0" "@typescript-eslint/utils" "8.10.0"
typescript@^5.5.3: typescript@5.5.4:
version "5.5.4" version "5.5.4"
resolved "https://registry.npmmirror.com/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba" resolved "http://npm.dui88.com:80/typescript/-/typescript-5.5.4.tgz#d9852d6c82bad2d2eda4fd74a5762a8f5909e9ba"
integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q== integrity sha512-Mtq29sKDAEYP7aljRgtPOpTvOfbwRWlS6dPRzwjdE+C0R4brX/GUyhHSecbHMFLNBLcJIPt9nl9yG5TZ1weH+Q==
undici-types@~6.19.2: undici-types@~6.19.2:
...@@ -3645,9 +3674,9 @@ vite-plugin-mock@^3.0.2: ...@@ -3645,9 +3674,9 @@ vite-plugin-mock@^3.0.2:
path-to-regexp "^6.2.1" path-to-regexp "^6.2.1"
picocolors "^1.0.0" picocolors "^1.0.0"
vite@^5.4.1: vite@5.4.2:
version "5.4.2" version "5.4.2"
resolved "https://registry.npmmirror.com/vite/-/vite-5.4.2.tgz#8acb6ec4bfab823cdfc1cb2d6c53ed311bc4e47e" resolved "http://npm.dui88.com:80/vite/-/vite-5.4.2.tgz#8acb6ec4bfab823cdfc1cb2d6c53ed311bc4e47e"
integrity sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA== integrity sha512-dDrQTRHp5C1fTFzcSaMxjk6vdpKvT+2/mIdE07Gw2ykehT49O0z/VHS3zZ8iV/Gh8BJJKHWOe5RjaNrW5xf/GA==
dependencies: dependencies:
esbuild "^0.21.3" esbuild "^0.21.3"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment