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

Upgrade to node 14, rework project structure slightly #85

Merged
merged 17 commits into from
Nov 27, 2020

Conversation

koddsson
Copy link
Collaborator

@koddsson koddsson commented Nov 26, 2020

Updated to use node 14 which is the long-term support release at the time of writing. Had to rework the project slightly to accommodate and used the opportunity to drop some unneeded packages.

The project now compiles TypeScript into JS using the TypeScript compiler before loading it in Karma and we get to drop all the babel and karma-ESM packages for that.

@koddsson koddsson changed the title Upgrade to node 14, the current LTS Upgrade to node 14, rework project structure slightly Nov 26, 2020
@koddsson koddsson marked this pull request as ready for review November 26, 2020 17:13
@koddsson
Copy link
Collaborator Author

@mkay581 @keithamus; This is ready for review. I really tried to not change everything at once. This feels like a small enough change to make sense as a PR and still be impactful.

Copy link
Collaborator

@keithamus keithamus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM

@keithamus keithamus merged commit e5de952 into markcellus:master Nov 27, 2020
@koddsson koddsson mentioned this pull request Nov 28, 2020
markcellus pushed a commit that referenced this pull request Aug 18, 2022
* Upgrade to node 14, the current LTS

* Rename karma.conf.js -> karma.conf.cjs

* Compile TypeScript into ES2020 syntax

* Fix TypeScript violations

* Use `karma-chai` instead of just `chai`.

* Simplify karma tests

* Actually include tests in javascript in the repo

* Remove chai import from tests

* Convert config files to JSON

* Fix some linting issues

* Only lint JS and TS files

* Restructure project slightly

* Remove unneeded declaration file

* Remove babel and karma-esm packages

* Rename husky to have a cjs extension

* Include all files in `dist/` in package

* Update banner-cli command
markcellus pushed a commit that referenced this pull request Aug 18, 2022
* Upgrade to node 14, the current LTS

* Rename karma.conf.js -> karma.conf.cjs

* Compile TypeScript into ES2020 syntax

* Fix TypeScript violations

* Use `karma-chai` instead of just `chai`.

* Simplify karma tests

* Actually include tests in javascript in the repo

* Remove chai import from tests

* Convert config files to JSON

* Fix some linting issues

* Only lint JS and TS files

* Restructure project slightly

* Remove unneeded declaration file

* Remove babel and karma-esm packages

* Rename husky to have a cjs extension

* Include all files in `dist/` in package

* Update banner-cli command
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.

2 participants