Skip to content

Commit

Permalink
refactor: migrate import command to listr2 (#3048)
Browse files Browse the repository at this point in the history
* refactor: migrate import command to listr2

* refactor: clean up unused dependencies

* Update packages/api/core/src/api/import.ts

Co-authored-by: Erick Zhao <[email protected]>

Co-authored-by: Erick Zhao <[email protected]>
  • Loading branch information
MarshallOfSound and erickzhao authored Nov 6, 2022
1 parent 6f9f220 commit d4bdc80
Show file tree
Hide file tree
Showing 11 changed files with 210 additions and 604 deletions.
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,13 @@
"find-up": "^5.0.0",
"form-data": "^4.0.0",
"fs-extra": "^10.0.0",
"global": "^4.3.2",
"got": "^11.8.5",
"html-webpack-plugin": "^5.3.1",
"inquirer": "^8.0.0",
"interpret": "^3.1.1",
"lodash": "^4.17.20",
"log-symbols": "^4.0.0",
"mime-types": "^2.1.25",
"node-fetch": "^2.6.7",
"ora": "^5.0.0",
"parse-author": "^2.0.0",
"pretty-ms": "^7.0.0",
"progress": "^2.0.3",
Expand Down Expand Up @@ -108,7 +105,6 @@
"@types/express-ws": "^3.0.0",
"@types/fetch-mock": "^7.3.1",
"@types/fs-extra": "^9.0.6",
"@types/inquirer": "^8.1.1",
"@types/interpret": "^1.1.1",
"@types/listr": "^0.14.2",
"@types/lodash": "^4.14.166",
Expand Down
1 change: 0 additions & 1 deletion packages/api/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"commander": "^4.1.1",
"debug": "^4.3.1",
"fs-extra": "^10.0.0",
"inquirer": "^8.0.0",
"listr2": "^5.0.3",
"semver": "^7.2.1"
},
Expand Down
1 change: 0 additions & 1 deletion packages/api/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"sinon-chai": "^3.6.0"
},
"dependencies": {
"@electron-forge/async-ora": "6.0.0",
"@electron-forge/core-utils": "6.0.0",
"@electron-forge/maker-base": "6.0.0",
"@electron-forge/plugin-base": "6.0.0",
Expand Down
372 changes: 207 additions & 165 deletions packages/api/core/src/api/import.ts

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/plugin/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"chalk": "^4.0.0",
"debug": "^4.3.1",
"fs-extra": "^10.0.0",
"global": "^4.3.2",
"html-webpack-plugin": "^5.3.1",
"webpack": "^5.69.1",
"webpack-dev-server": "^4.0.0",
Expand Down
29 changes: 0 additions & 29 deletions packages/utils/async-ora/package.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages/utils/async-ora/src/index.ts

This file was deleted.

87 changes: 0 additions & 87 deletions packages/utils/async-ora/src/ora-handler.ts

This file was deleted.

55 changes: 0 additions & 55 deletions packages/utils/async-ora/src/ora.ts

This file was deleted.

170 changes: 0 additions & 170 deletions packages/utils/async-ora/test/ora-handler_spec.ts

This file was deleted.

Loading

0 comments on commit d4bdc80

Please sign in to comment.