Skip to content

Commit

Permalink
Merge pull request peggyjs#480 from hildjj/from-mem
Browse files Browse the repository at this point in the history
Refactor fromMem.
  • Loading branch information
hildjj authored Feb 17, 2024
2 parents 601058a + 85930bd commit 38b2b80
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 194 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ Released: TBD

### Bug fixes

- [#479](https://github.com/peggyjs/peggy/issues/379)
Refactor `cli/fromMem.js` into separate project
[from-mem](https://github.com/peggyjs/from-mem/).

4.0.0
-----

Expand Down
188 changes: 0 additions & 188 deletions bin/fromMem.js

This file was deleted.

2 changes: 1 addition & 1 deletion bin/peggy-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class PeggyCLI extends Command {
? path.resolve(this.outputJS)
: path.join(process.cwd(), "stdout.js"); // Synthetic

const fromMem = require("./fromMem.js");
const fromMem = require("@peggyjs/from-mem");
const exec = await fromMem(source, {
filename,
format: this.argv.format,
Expand Down
2 changes: 1 addition & 1 deletion docs/js/test-bundle.min.js

Large diffs are not rendered by default.

17 changes: 13 additions & 4 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@peggyjs/from-mem": "1.0.0",
"commander": "^12.0.0",
"source-map-generator": "0.8.0"
},
Expand Down

0 comments on commit 38b2b80

Please sign in to comment.