Skip to content

Commit

Permalink
feat: use .dumirc & new tmp dir (umijs#1238)
Browse files Browse the repository at this point in the history
* feat: temp file directory changes and config name changes

* feat: alias config change

* feat: custom servie paths

* chore: Update examples/normal/src/.gitignore

Co-authored-by: Peach <[email protected]>

* chore: Update .gitignore

Co-authored-by: Peach <[email protected]>

* chore: code style

* chore: update .gitignore

* chore: umi deps upgrade

* chore: umi deps upgrade

* chore: add nothing.tsx

* chore: update pnpm lock

* docs: rename config file

Co-authored-by: Peach <[email protected]>
  • Loading branch information
xierenyuan and PeachScript committed Oct 28, 2022
1 parent b264fc1 commit d49d372
Show file tree
Hide file tree
Showing 17 changed files with 1,471 additions and 1,380 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@
.umi
.umi-production
.vscode
.dumi/tmp
.dumi/tmp-production
/examples/*/dist
/examples/*/.dumi/tmp
/examples/*/.dumi/tmp-production
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
3 changes: 3 additions & 0 deletions bin/forkedDev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../dist/service/forkedDev');
File renamed without changes.
1 change: 1 addition & 0 deletions examples/normal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"scripts": {
"build": "node ../../bin/dumi.js build",
"dev": "node ../../bin/dumi.js dev",
"preview": "node ../../bin/dumi.js preview",
"setup": "node ../../bin/dumi.js setup",
"start": "npm run dev"
},
Expand Down
2 changes: 2 additions & 0 deletions examples/normal/src/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.dumi/tmp
.dumi/tmp-production
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,11 @@
"@swc/core": "^1.2.224",
"@types/hast": "^2.3.4",
"@types/mdast": "^3.0.10",
"@umijs/bundler-utils": "^4.0.26",
"enhanced-resolve": "^5.10.0",
"@umijs/core": "^4.0.26",
"@umijs/bundler-utils": "^4.0.27",
"@umijs/core": "^4.0.27",
"@umijs/utils": "^4.0.27",
"deepmerge": "^4.2.2",
"enhanced-resolve": "^5.10.0",
"dumi-afx-deps": "^1.0.0-alpha.1",
"dumi-assets-types": "2.0.0-alpha.0",
"estree-util-to-js": "^1.1.0",
Expand Down Expand Up @@ -93,7 +94,7 @@
"remark-parse": "^10.0.1",
"remark-rehype": "^10.1.0",
"sass": "^1.55.0",
"umi": "^4.0.26",
"umi": "^4.0.27",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.0",
"unist-util-visit-parents": "^5.1.1",
Expand Down
Loading

0 comments on commit d49d372

Please sign in to comment.