Skip to content

Commit

Permalink
Merge pull request peggyjs#438 from markw65/deterministic-tests
Browse files Browse the repository at this point in the history
Make test build deterministic
  • Loading branch information
hildjj authored Dec 7, 2023
2 parents 274cd48 + f69e6dd commit df33c16
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
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

0 comments on commit df33c16

Please sign in to comment.