Skip to content

Commit

Permalink
chore: use umi rc6
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaohuoni committed Mar 10, 2022
1 parent 084013e commit 6046653
Show file tree
Hide file tree
Showing 11 changed files with 368 additions and 1,023 deletions.
8 changes: 8 additions & 0 deletions .changeset/tiny-boxes-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'alita': patch
'@alita/create-alita': patch
'@alita/native': patch
'@alita/plugins': patch
---

chore: use umi rc6
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"devDependencies": {
"@types/rimraf": "3.0.2",
"@umijs/utils": "4.0.0-rc.5",
"@umijs/utils": "4.0.0-rc.6",
"@changesets/cli": "2.19.0",
"@changesets/changelog-github": "0.4.2",
"alita": "workspace:*",
Expand Down
6 changes: 3 additions & 3 deletions packages/alita/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
"dependencies": {
"@alita/native": "workspace:*",
"@alita/plugins": "workspace:*",
"@umijs/utils": "4.0.0-rc.5",
"@umijs/core": "4.0.0-rc.5",
"umi": "4.0.0-rc.5",
"@umijs/utils": "4.0.0-rc.6",
"@umijs/core": "4.0.0-rc.6",
"umi": "4.0.0-rc.6",
"v8-compile-cache": "^2.3.0"
}
}
53 changes: 0 additions & 53 deletions packages/alita/src/features/umiExports.ts

This file was deleted.

5 changes: 2 additions & 3 deletions packages/alita/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ export default (api: IApi) => {
console.log('Hello alita@3');
});
const plugins = [
require.resolve('./features/config/config'),
require.resolve('./features/config/alitaconfig'),
require.resolve('./features/apptype'),
require.resolve('./features/umiExports'),
require.resolve('./commands/generate/page'),
require.resolve('./commands/generate/pages'),
require.resolve('@alita/plugins/dist/aconsole'),
require.resolve('@alita/plugins/dist/keepalive'),
require.resolve('@alita/plugins/dist/mainpath'),
Expand Down
2 changes: 1 addition & 1 deletion packages/create-alita/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"create-alita": "bin/create-alita.js"
},
"dependencies": {
"@umijs/utils": "4.0.0-rc.5"
"@umijs/utils": "4.0.0-rc.6"
}
}
2 changes: 1 addition & 1 deletion packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"alita": "workspace:*",
"@umijs/utils": "4.0.0-rc.5"
"@umijs/utils": "4.0.0-rc.6"
},
"license": "MIT"
}
6 changes: 3 additions & 3 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"@alita/alita-layout": "^3.0.5",
"@alita/inspx": "0.0.2",
"@alita/request": "3.0.0-beta.5",
"@umijs/bundler-utils": "4.0.0-rc.5",
"@umijs/plugins": "4.0.0-rc.5",
"@umijs/utils": "4.0.0-rc.5",
"@umijs/bundler-utils": "4.0.0-rc.6",
"@umijs/plugins": "4.0.0-rc.6",
"@umijs/utils": "4.0.0-rc.6",
"ahooks": "^3.0.8",
"alita": "workspace:*",
"antd-mobile": "5.0.0-rc.25",
Expand Down
Loading

0 comments on commit 6046653

Please sign in to comment.