create-umi 4.0.0-beta.18 → 4.0.0-canary-20240513.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/bin/create-umi.js +1 -0
- package/dist/cli.js +20 -28
- package/dist/index.d.ts +42 -3
- package/dist/index.js +286 -96
- package/dist/template.d.ts +12 -0
- package/dist/template.js +113 -0
- package/package.json +13 -12
- package/templates/app/.gitignore.tpl +2 -3
- package/templates/app/.npmrc.tpl +1 -0
- package/templates/app/.umirc.ts.tpl +9 -3
- package/templates/app/package.json.tpl +6 -4
- package/templates/app/{layouts → src/layouts}/index.tsx.tpl +0 -1
- package/templates/app/{pages → src/pages}/docs.tsx +3 -3
- package/templates/app/{pages → src/pages}/index.tsx +2 -2
- package/templates/app/tsconfig.json.tpl +3 -0
- package/templates/app/typings.d.ts +1 -3
- package/templates/max/.eslintrc.js.tpl +3 -0
- package/templates/max/.gitignore.tpl +13 -0
- package/templates/max/.husky/commit-msg +1 -0
- package/templates/max/.husky/pre-commit +1 -0
- package/templates/max/.lintstagedrc.tpl +17 -0
- package/templates/max/.npmrc.tpl +2 -0
- package/templates/max/.prettierignore.tpl +3 -0
- package/templates/max/.prettierrc.tpl +8 -0
- package/templates/max/.stylelintrc.js.tpl +3 -0
- package/templates/max/.umirc.ts.tpl +35 -0
- package/templates/max/README.md +3 -0
- package/templates/max/mock/userAPI.ts +20 -0
- package/templates/max/package.json.tpl +29 -0
- package/templates/max/src/access.ts +10 -0
- package/templates/max/src/app.ts +16 -0
- package/templates/max/src/assets/.gitkeep +0 -0
- package/templates/max/src/components/Guide/Guide.less +4 -0
- package/templates/max/src/components/Guide/Guide.tsx +23 -0
- package/templates/max/src/components/Guide/index.ts +2 -0
- package/templates/max/src/constants/index.ts +1 -0
- package/templates/max/src/models/global.ts +13 -0
- package/templates/max/src/pages/Access/index.tsx +21 -0
- package/templates/max/src/pages/Home/index.less +3 -0
- package/templates/max/src/pages/Home/index.tsx +18 -0
- package/templates/max/src/pages/Table/components/CreateForm.tsx +26 -0
- package/templates/max/src/pages/Table/components/UpdateForm.tsx +138 -0
- package/templates/max/src/pages/Table/index.tsx +270 -0
- package/templates/max/src/services/demo/UserController.ts +96 -0
- package/templates/max/src/services/demo/index.ts +7 -0
- package/templates/max/src/services/demo/typings.d.ts +68 -0
- package/templates/max/src/utils/format.ts +4 -0
- package/templates/max/tsconfig.json +3 -0
- package/templates/max/typings.d.ts +1 -0
- package/templates/plugin/.fatherrc.ts +5 -5
- package/templates/plugin/.gitignore.tpl +1 -1
- package/templates/plugin/.npmrc.tpl +1 -0
- package/templates/plugin/README.md.tpl +5 -14
- package/templates/plugin/package.json.tpl +12 -10
- package/templates/plugin/src/index.ts.tpl +2 -2
- package/templates/plugin/tsconfig.json +20 -0
- package/templates/vue-app/.gitignore.tpl +13 -0
- package/templates/vue-app/.npmrc.tpl +2 -0
- package/templates/vue-app/.umirc.ts.tpl +6 -0
- package/templates/vue-app/package.json.tpl +18 -0
- package/templates/vue-app/src/assets/yay.jpg +0 -0
- package/templates/vue-app/src/layouts/index.vue +28 -0
- package/templates/vue-app/src/pages/docs.vue +5 -0
- package/templates/vue-app/src/pages/index.vue +9 -0
- package/templates/vue-app/tsconfig.json.tpl +3 -0
- package/templates/vue-app/typings.d.ts +1 -0
- package/templates/app/tsconfig.json +0 -18
- /package/templates/app/{assets → src/assets}/yay.jpg +0 -0
- /package/templates/app/{layouts → src/layouts}/index.less +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"importHelpers": true,
|
|
7
|
-
"jsx": "react",
|
|
8
|
-
"esModuleInterop": true,
|
|
9
|
-
"sourceMap": true,
|
|
10
|
-
"baseUrl": ".",
|
|
11
|
-
"strict": true,
|
|
12
|
-
"paths": {
|
|
13
|
-
"@/*": ["*"],
|
|
14
|
-
"@@/*": [".umi/*"]
|
|
15
|
-
},
|
|
16
|
-
"allowSyntheticDefaultImports": true
|
|
17
|
-
}
|
|
18
|
-
}
|
|
File without changes
|
|
File without changes
|