-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: 全量依赖大版本升级
- Loading branch information
Showing
37 changed files
with
203 additions
and
23,873 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { defineConfig } from 'dumi'; | ||
|
||
export default defineConfig({ | ||
title: 'monorepo-template', | ||
// 部署在非根目录时, base 和 publicPath 都需要配置 | ||
base: '/', | ||
publicPath: '/', | ||
themeConfig: { | ||
name: '@arvinxx/monorepo-template', | ||
}, | ||
}); |
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,25 +1 @@ | ||
module.exports = { | ||
extends: [require.resolve('@umijs/fabric/dist/eslint')], | ||
globals: { | ||
page: true, | ||
}, | ||
rules: { | ||
'import/no-extraneous-dependencies': 0, | ||
'import/default': 0, | ||
'import/no-named-default': 0, | ||
'import/no-unresolved': 0, | ||
'import/no-named-as-default-member': 0, | ||
'import/named': 0, | ||
'no-param-reassign': 0, | ||
'consistent-return': 0, | ||
'no-useless-return': 0, | ||
'no-restricted-globals': 0, | ||
'no-continue': 0, | ||
'no-shadow': 'warn', | ||
'no-console': 0, | ||
'no-underscore-dangle': 0, | ||
'@typescript-eslint/consistent-type-definitions': 0, | ||
'@typescript-eslint/no-shadow': 0, | ||
}, | ||
ignorePatterns: ['*.js'], | ||
}; | ||
module.exports = require('@umijs/lint/dist/config/eslint'); |
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
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
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 |
---|---|---|
|
@@ -29,8 +29,7 @@ lambda/mock/index.js | |
.temp/** | ||
|
||
# umi | ||
.umi | ||
.umi-production | ||
.dumi | ||
|
||
# screenshot | ||
screenshot | ||
|
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install commitlint --edit $1 |
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,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
npx --no-install lint-staged |
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,3 @@ | ||
# .npmrc | ||
lockfile=false | ||
resolution-mode=highest |
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,7 +1,6 @@ | ||
--- | ||
title: 快速上手 | ||
order: 1 | ||
toc: menu | ||
--- | ||
|
||
# 使用指南 | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
a7ed506
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
monorepo-template – ./
monorepo-template-git-master-arvinxx.vercel.app
monorepo-template.arvinx.app
monorepo-template.vercel.app
monorepo-template-arvinxx.vercel.app