-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove deprecated usage refactor: remove unused code chore: release v0.4.1
- Loading branch information
Showing
9 changed files
with
55 additions
and
53 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,6 +1,6 @@ | ||
{ | ||
"name": "create-ant-design-pro", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"keywords": [ | ||
|
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
4 changes: 2 additions & 2 deletions
4
packages/create-ant-design-pro/template-react-ts/src/components/SelectLang/utils.ts
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,7 @@ | ||
import type { defaultLangUConfigMap } from './constants' | ||
|
||
export const getAllLocales = () => { | ||
return Object.keys(import.meta.glob('../../*.ts')).map((key) => | ||
key.replace('../../', '').replace('.ts', '') | ||
return Object.keys(import.meta.glob('../../locales/*.ts')).map((key) => | ||
key.replace('../../locales/', '').replace('.ts', '') | ||
) as (keyof typeof defaultLangUConfigMap)[] | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "ant-design-pro-layout", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"keywords": [], | ||
|
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,6 +1,6 @@ | ||
{ | ||
"name": "vite-plugin-antd-layout", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"packageManager": "[email protected]", | ||
"description": "", | ||
"keywords": [], | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
import type { defaultLangUConfigMap } from './constants' | ||
|
||
export const getAllLocales = () => { | ||
return Object.keys(import.meta.glob('../../*.ts')).map((key) => | ||
key.replace('../../', '').replace('.ts', '') | ||
return Object.keys(import.meta.glob('../../locales/*.ts')).map((key) => | ||
key.replace('../../locales/', '').replace('.ts', '') | ||
) as (keyof typeof defaultLangUConfigMap)[] | ||
} |
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
e31ef0c
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:
vite-ant-design-pro – ./
vite-ant-design-pro-dengqing.vercel.app
vite-ant-design-pro-git-main-dengqing.vercel.app
vite-ant-design-pro.vercel.app