Skip to content

Commit e3a4aa5

Browse files
committed
feat: add antd-toolkit
1 parent ab10770 commit e3a4aa5

File tree

3 files changed

+3667
-81
lines changed

3 files changed

+3667
-81
lines changed

js/src/utils/env.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* eslint-disable @typescript-eslint/ban-ts-comment */
22
// @ts-nocheck
33

4-
import { removeTrailingSlash } from '@/utils'
4+
import { removeTrailingSlash } from 'antd-toolkit'
55

66
const APP_DOMAIN = 'my_app_data' as string
77
export const snake = window?.[APP_DOMAIN]?.env?.SNAKE || 'my_app'

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "wp-react-plugin",
33
"private": true,
4-
"version": "2.0.10",
4+
"version": "2.0.11",
55
"type": "module",
66
"scripts": {
77
"bootstrap": "yarn install && composer install --no-interaction",
@@ -25,14 +25,15 @@
2525
],
2626
"dependencies": {
2727
"@tanstack/react-query": "^5.28.9",
28+
"antd-toolkit": "^0.1.23",
2829
"axios": "^1.6.8",
2930
"react": "^18.2.0",
3031
"react-dom": "^18.2.0"
3132
},
3233
"devDependencies": {
33-
"@rollup/plugin-alias": "^5.1.0",
3434
"@ant-design/cssinjs": "^1.19.1",
3535
"@kucrut/vite-for-wp": "^0.8.0",
36+
"@rollup/plugin-alias": "^5.1.0",
3637
"@soderlind/wp-project-version-sync": "^2.0.2",
3738
"@tanstack/react-query-devtools": "^5.28.10",
3839
"@types/lodash-es": "^4.17.12",

0 commit comments

Comments
 (0)