Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make test build deterministic #438

Merged
merged 2 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Released: TBD

### Minor Changes

- [#438](https://github.com/peggyjs/peggy/pull/438) Make test build deterministic
- [#436](https://github.com/peggyjs/peggy/pull/436) Get rid of tsd
- [#430](https://github.com/peggyjs/peggy/pull/430) Make generate-js.js ts clean
- [#446](https://github.com/peggyjs/peggy/pull/446) Add a right-associative `ExponentiationExpression` rule (operator `**`) to `javascript.pegjs` example grammar.
Expand Down
2 changes: 1 addition & 1 deletion docs/js/test-bundle.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 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 @@ -69,6 +69,7 @@
"copyfiles": "^2.4.1",
"eslint": "^8.47.0",
"express": "4.18.2",
"glob": "^8.1.0",
"jest": "^29.6.2",
"rimraf": "^5.0.1",
"rollup": "^3.28.0",
Expand Down
3 changes: 2 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

import commonjs from "@rollup/plugin-commonjs";
import glob from "glob";
import ignore from "rollup-plugin-ignore";
import json from "@rollup/plugin-json";
import multiEntry from "@rollup/plugin-multi-entry";
Expand Down Expand Up @@ -50,7 +51,7 @@ const browser_test_config = {
console.error(message);
},

input: "build/ts/test/**/*.spec.js",
input: glob.sync("build/ts/test/**/*.spec.js").sort(),

output: {
file : "build/rollup/test.umd.js",
Expand Down