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

Refactor: typescript #80

Merged
merged 11 commits into from
Oct 28, 2019
Merged

Refactor: typescript #80

merged 11 commits into from
Oct 28, 2019

Conversation

kaisermann
Copy link
Member

The current index.d.ts file is pretty much outdated and while starting to update it, I've decided to experiment with refactoring this project in typescript. Unfortunately, there are some uses that can't be exactly transformed into valid es6 import/export syntax, so I'll need to still mess around with module.exports and some require()s in the code (mainly to delay importing standalone processors dependencies).

@kaisermann kaisermann added the enhancement New feature or request label Oct 23, 2019
@kaisermann kaisermann self-assigned this Oct 23, 2019
@kaisermann kaisermann marked this pull request as ready for review October 28, 2019 23:53
@kaisermann kaisermann merged commit 159a550 into master Oct 28, 2019
@kaisermann kaisermann deleted the refactor/typescript branch October 28, 2019 23:55
kaisermann added a commit that referenced this pull request Oct 29, 2019
* refactor: move code to typescript

* Add build command to travis

* Add minimum node version

* Import types from svelte

* Convert some tests to ts

* Convert rest of tests to ts

* Type processors options

* Remove unneeded console.error

* Remove unneeded type package

* Disallow ts transpilation to es5 or lower

* Add @types/stylus as devDependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant