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

Accepting PRs on TypeScript rewrite? #469

Open
paarthenon opened this issue May 11, 2020 · 3 comments
Open

Accepting PRs on TypeScript rewrite? #469

paarthenon opened this issue May 11, 2020 · 3 comments

Comments

@paarthenon
Copy link

Hey there,

I noticed the 2.0 branch of the project is built, but pretty bare at the moment. Are you interested in some help on that branch? And do you have any guidelines for it? I'm pretty much wondering how interested you are in maintaining the 1.0 API (in terms of feature parity and/or structure) and how you'd like to split the functionality between the packages in the lerna repo.

@victorquinn
Copy link
Member

victorquinn commented May 24, 2020

Yes gladly! Apologies for my delay in response here, didn't see this earlier.

Mostly I've gotten it to a point of needing a lot of rote migration and haven't had a ton of time myself so it kind of stalled unfortunately. But the base framework is built up to where it should be fairly straightforward for others to jump in and help.

I put most of my thoughts here on #438 and would love small atomic PRs for each generator and can give feedback there.

But mostly my hope was to have the clean code-splitting, TS, and the main change is in the initialization. Otherwise I hoped to keep most of the generators with a similar API to what they have today.

But if you have any specific questions don't hesitate to ask before implementing and I can give my thoughts

@victorquinn
Copy link
Member

Just added this file to the 2.0 branch on contributing which should help https://github.com/chancejs/chancejs/blob/2.0/CONTRIBUTING.md

@paarthenon
Copy link
Author

paarthenon commented May 28, 2020

Hey Victor I just added this, let me know if that is up to snuff.

#476

I noticed that yarn test doesn't seem to work at the top level, but will work fine in individual package folders.

yarn test

yarn run v1.22.4
$ lerna bootstrap --use-workspaces --npm-client=yarn && yarn run lint
lerna notice cli v3.16.4
lerna info bootstrap root only
[1/4] Resolving packages...
success Already up-to-date.
$ eslint --ignore-path .gitignore '**/*.ts'

Oops! Something went wrong! :(

ESLint: 6.3.0.

No files matching the pattern "'**/*.ts'" were found.
Please check for typing mistakes in the pattern.

error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this 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

No branches or pull requests

2 participants