diff --git a/.env b/.env index 2c38aa6..6a7ecbd 100644 --- a/.env +++ b/.env @@ -2,7 +2,7 @@ VITE_PORT = 3100 # spa-title -VITE_GLOB_APP_TITLE = 婚介管理后台 +VITE_GLOB_APP_TITLE = 招亲宝管理后台 # spa shortname -VITE_GLOB_APP_SHORT_NAME = dating_agency_opr +VITE_GLOB_APP_SHORT_NAME = dating_operation_opr diff --git a/.husky/commit-msg b/.husky/commit-msg deleted file mode 100644 index 567ff71..0000000 --- a/.husky/commit-msg +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# shellcheck source=./_/husky.sh -. "$(dirname "$0")/_/husky.sh" - -npx --no-install commitlint --edit "$1" diff --git a/.husky/common.sh b/.husky/common.sh deleted file mode 100644 index 9d5129b..0000000 --- a/.husky/common.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -command_exists () { - command -v "$1" >/dev/null 2>&1 -} - -# Workaround for Windows 10, Git Bash and Yarn -if command_exists winpty && test -t 1; then - exec < /dev/tty -fi diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 35f9242..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" -. "$(dirname "$0")/common.sh" - -[ -n "$CI" ] && exit 0 - -# Format and submit code according to lintstagedrc.js configuration -npm run lint:lint-staged diff --git a/package.json b/package.json index d5a09b3..c3cee3b 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,6 @@ "test:gzip": "npx http-server dist --cors --gzip -c-1", "test:br": "npx http-server dist --cors --brotli -c-1", "reinstall": "rimraf pnpm-lock.yaml && rimraf package.lock.json && rimraf node_modules && npm run bootstrap", - "prepare": "husky install", "gen:icon": "esno ./build/generate/icon/index.ts", "postbuild:dev": "yarn oss dev", "postbuild:test": "yarn oss test", diff --git a/pushOss.js b/pushOss.js index f7f4021..0778935 100644 --- a/pushOss.js +++ b/pushOss.js @@ -6,10 +6,10 @@ new WebpackAliyunOss({ from: ['./dist/**'], dist: '/', overwrite: true, - region: 'oss-cn-shenzhen', + region: 'oss-cn-guangzhou', accessKeyId: ifProd ? 'LTAI5tK6dDnADdj1mgS6X9oa' : 'LTAINmC91NqIGN38', accessKeySecret: ifProd ? 'fxg0tBxHj9gCGikaDXUmWj8pC9IrVu' : 'Hh10dQPjq1jMLLSpbDAR05ZzR3nXsU', - bucket: `dating-agency-opr${ifProd ? '-prod' : '-test'}`, + bucket: `dating-clue-opr${ifProd ? '-prod' : '-test'}`, setOssPath(filePath) { let index = filePath.lastIndexOf('dist') let Path = filePath.substring(index + 4, filePath.length) diff --git a/src/enums/appEnum.ts b/src/enums/appEnum.ts index 13c8319..88e26fe 100644 --- a/src/enums/appEnum.ts +++ b/src/enums/appEnum.ts @@ -2,7 +2,7 @@ export const SIDE_BAR_MINI_WIDTH = 48 export const SIDE_BAR_SHOW_TIT_MINI_WIDTH = 80 // 应用id -export const APP_ID = '50325897884795881' +export const APP_ID = '50325897884795884' export enum ContentEnum { // auto width