diff --git a/CHANGELOG.md b/CHANGELOG.md index a6f5fabdab..8c7ff7af96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- **Breaking change**: Moved `GPU.js` from `dependencies` to `devDependencies` and `optionalDependencies`. (#642) + ### Added - Added two new fired events, for suspending and resuming execution. (#637) diff --git a/docs/guide/dependencies.md b/docs/guide/dependencies.md index a572e916b9..c33f732c6d 100644 --- a/docs/guide/dependencies.md +++ b/docs/guide/dependencies.md @@ -7,7 +7,7 @@ features. | Name | License | Author | | :--- | :--- | :--- | | [Chevrotain](https://github.com/SAP/chevrotain) | Apache v2.0 | SAP SE or an SAP affiliate company | -| [GPU.js](https://github.com/gpujs/gpu.js/) | The MIT License | gpu.js Team | +| [GPU.js](https://github.com/gpujs/gpu.js/) ([optional](enabling-gpu-acceleration.md)) | The MIT License | gpu.js Team | | [core-js](https://github.com/zloirock/core-js) | The MIT License | Denis Pushkarev | | [tiny-emitter](https://github.com/scottcorgan/tiny-emitter) | The MIT License | Scott Corgan | | [regenerator-runtime](https://github.com/facebook/regenerator/tree/master/packages/regenerator-runtime) | The MIT License | Facebook, Inc. | diff --git a/package.json b/package.json index e34994d2b7..20d85c80ac 100644 --- a/package.json +++ b/package.json @@ -107,6 +107,7 @@ "eslint": "^6.8.0", "eslint-plugin-license-header": "^0.2.0", "full-icu": "^1.3.1", + "gpu.js": "2.3.0", "jasmine": "^3.5.0", "jest": "^26.1.0", "jsdom": "^16.2.2", @@ -142,8 +143,10 @@ "dependencies": { "chevrotain": "^6.5.0", "core-js": "^3.6.4", - "gpu.js": "2.3.0", "regenerator-runtime": "^0.13.3", "tiny-emitter": "^2.1.0" + }, + "optionalDependencies": { + "gpu.js": "2.3.0" } }