Skip to content

Commit

Permalink
feat(packages): optimistic subpackage @sa/alova (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
JOU-amjs authored and honghuangdc committed Oct 17, 2024
1 parent 24bb6d9 commit 4b3ac11
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/alova/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@
"version": "0.1.0",
"exports": {
".": "./src/index.ts",
"./client": "./src/client.ts"
"./fetch": "./src/fetch.ts",
"./client": "./src/client.ts",
"./mock": "./src/mock.ts"
},
"typesVersions": {
"*": {
"*": ["./src/*"]
}
},
"dependencies": {
"@alova/mock": "2.0.7",
"@sa/utils": "workspace:*",
"alova": "3.0.20"
}
Expand Down
2 changes: 2 additions & 0 deletions packages/alova/src/fetch.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import adapterFetch from 'alova/fetch';
export default adapterFetch;
1 change: 1 addition & 0 deletions packages/alova/src/mock.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@alova/mock';
18 changes: 18 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b3ac11

Please sign in to comment.