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

Support Coffeescript 2 and other changes #91

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

prantlf
Copy link

@prantlf prantlf commented Apr 10, 2023

  • Upgrade to CoffeeScript 2
  • Remove the dependency on object-assign
  • Modernise the JavaScript language
  • Add a project example and unit tests
  • Move coffeescript to peer dependencies

And other package modernisations.

Attempts to fix #87
Attempts to fix #89

Replace the deprecated package coffee-script with coffeescript. Use the version 2, which supports the version 2 of the language.

BREAKING CHANGE: CoffeeScript version 2 is not 100% compatible with the version 1. See https://coffeescript.org/#breaking-changes for more information.
Replace the polyfill with the direct usage of Object.assign.

BREAKING CHANGE: Upgrade Node.js to version 4 or later.
PNPM offers a better performance than NPM.
* The minimum version of Node.js to build and test this package is 12 now.
* Disable some eslint warnings temporarily.
Fix eslint warnings after upgrading eslint.

BREAKING CHANGE: The minimum supported version of Node.js is 8 now.
* Add a simple example of a text project.
* Test the example as a unit test of the preprocessor.
Allow to install coffeescript of the particular version used in the project.

BREAKING CHANGE: The package coffeescript was moved to peer dependencies. If you use a package manager with the feature parity of NPM 8, you won't notice a difference, because it will install the peer depednencies automatically. Otherwise you will need to install coffeescript as a dev dependency, like you did karma earlier.
Use c8 to compute the test code coverage.
Do not distribute development files.
@google-cla
Copy link

google-cla bot commented Apr 10, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

coffee-script moved to coffeescript (no hypen) CoffeeScript 2 support
1 participant