From bf73d021d67295a26b36599edd66e748f7cf31b3 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Mon, 12 Feb 2024 16:26:23 -0700 Subject: [PATCH 1/2] 4.0.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9d9c62fa..71a012db 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "peggy", - "version": "3.0.2", + "version": "4.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "peggy", - "version": "3.0.2", + "version": "4.0.0", "license": "MIT", "dependencies": { "commander": "^12.0.0", diff --git a/package.json b/package.json index b2cbb403..6a6bc8cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "peggy", - "version": "3.0.2", + "version": "4.0.0", "description": "Parser generator for JavaScript", "keywords": [ "grammar", From 2ddf5dd564bba6a1cf27b47ad6d2c6b9cdd9ec80 Mon Sep 17 00:00:00 2001 From: Joe Hildebrand Date: Tue, 13 Feb 2024 09:16:05 -0700 Subject: [PATCH 2/2] Version update. Check npmignore. Audit CHANGELOG.md. --- .npmignore | 6 +++++- CHANGELOG.md | 13 ++++++++++--- docs/index.html | 2 +- docs/js/benchmark-bundle.min.js | 4 ++-- docs/js/examples.js | 2 +- docs/js/test-bundle.min.js | 4 ++-- docs/vendor/peggy/peggy.min.js | 4 ++-- lib/parser.js | 2 +- lib/version.js | 2 +- test/cli/fixtures/imports_peggy.js | 2 +- test/cli/fixtures/lib.js | 2 +- 11 files changed, 27 insertions(+), 16 deletions(-) diff --git a/.npmignore b/.npmignore index 50107c59..ed8241d4 100644 --- a/.npmignore +++ b/.npmignore @@ -4,17 +4,22 @@ .eslintrc.js .gitattributes .github +.ncurc.cjs .nyc_output .vscode/ *.map benchmark bin/*.mjs build/ +CHANGELOG.md +CONTRIBUTING.md coverage/ docs +eslint.config.js examples jest.config.js lib/.eslintrc.json +peggy.code-workspace pnpm-lock.yaml rollup.config.mjs src @@ -23,4 +28,3 @@ tools tsconfig*.json web-test/ yarn.lock -peggy.code-workspace \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 93e24b86..45adc375 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,10 @@ Change Log This file documents all notable changes to Peggy. -Unreleased ----------- +4.0.0 +----- -Released: TBD +Released: 2024-02-13 ### Major Changes @@ -38,6 +38,8 @@ Released: TBD ### Minor Changes +- [#400](https://github.com/peggyjs/peggy/pull/400) Use `@generated` in generated + code - [#404](https://github.com/peggyjs/peggy/issues/404) Add support for -w/--watch to the command line interface. - [#415](https://github.com/peggyjs/peggy/issues/415) Added `browser` key to package.json, pointing to Webpack output. @@ -59,12 +61,17 @@ Released: TBD - [#451](https://github.com/peggyjs/peggy/pull/451) Make stack.js ts clean - [#452](https://github.com/peggyjs/peggy/pull/452) Fixes to prepare generate-bytecode.js for ts-check - [#453](https://github.com/peggyjs/peggy/pull/453) Make generate-bytecode.js ts-clean +- [#460](https://github.com/peggyjs/peggy/pull/453) Allow `-t` and `-T` testing + from the CLI with `--format es`. ### Bug Fixes - [#405](https://github.com/peggyjs/peggy/pull/405) Doc example doesn't correspond to code example. From @hildjj - [#415](https://github.com/peggyjs/peggy/issues/415) Make docs match reality with `import`. +- [#426](https://github.com/peggyjs/peggy/pull/426) Fix typo in XML example. +- [#434](https://github.com/peggyjs/peggy/issues/434) Fixed bad example in docs. - [#445](https://github.com/peggyjs/peggy/issues/415) Fix indentation in `examples/javascript.pegjs`. +- [#450](https://github.com/peggyjs/peggy/issues/450) Fixed misleading documentation. - [#466](https://github.com/peggyjs/peggy/issues/466) Add docs for developers. 3.0.2 diff --git a/docs/index.html b/docs/index.html index a644d9c2..7dcb2270 100644 --- a/docs/index.html +++ b/docs/index.html @@ -11,7 +11,7 @@
Download browser version
minified + href="https://unpkg.com/peggy@4.0.0/browser/peggy.min.js">minified