Skip to content

Commit

Permalink
fix(cli): #1966 Migrates blockset command dependency to use glob now …
Browse files Browse the repository at this point in the history
…supporting Promises and resolving error coming from now deprecated glob-promise dependency
  • Loading branch information
Diego Avalon committed Oct 29, 2024
1 parent 9011492 commit b492214
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 29 deletions.
5 changes: 5 additions & 0 deletions .changeset/tender-beers-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@faustwp/cli': patch
---

Migrates blockset command dependency to use glob now supporting Promises and resolving error coming from now deprecated glob-promise dependency
29 changes: 2 additions & 27 deletions package-lock.json

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

1 change: 0 additions & 1 deletion packages/faustwp-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"form-data": "^4.0.0",
"fs-extra": "^11.1.1",
"glob": "^10.3",
"glob-promise": "^6.0.5",
"isomorphic-fetch": "^3.0.0",
"lodash": "^4.17.21",
"webpack-cli": "5.1.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/faustwp-cli/src/blockset.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fetch from 'isomorphic-fetch';
import path from 'path';
import fs from 'fs-extra';
import glob from 'glob-promise';
import { glob } from 'glob';
import FormData from 'form-data';
import archiver from 'archiver';
import { spawnSync } from 'child_process';
Expand Down

0 comments on commit b492214

Please sign in to comment.