Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Conversation

john-conroy
Copy link
Collaborator

@john-conroy john-conroy commented Jan 8, 2021

Setup jest, add eslint import resolver and add example test.

@john-conroy john-conroy requested a review from mccalluc January 8, 2021 20:42
transform: {
'^.+\\.(ts)$': 'ts-jest',
},
};
Copy link
Contributor

Choose a reason for hiding this comment

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

All these PRs have a lot of bootstrapping: They all seems reasonable, but if I were to come back to it, I'd be hard-pressed to to say what the motivation for any particular choice is. If there are any corners that aren't just obviously the right thing to do, commenting in the PR or the file iteself could helpful. (something like: "Configuration from the tutorial at this url ..." / "Configuration based on this stackoverflow ..." / "Configuration generated by this init command...")

Use your judgement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Filed #7

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>
@john-conroy john-conroy merged commit e96d4c9 into john-conroy/rollup Jan 11, 2021
@john-conroy john-conroy deleted the john-conroy/jest branch January 11, 2021 15:06
john-conroy added a commit that referenced this pull request Jan 11, 2021
* Install rollup and rollup-plugin-typescript2

* Add rollup config

* Add eslintignore and ignore dist

* Add entries in package.json for esm and cjs and build script

* Add include and exclude to tsconfig

* Add example index.ts

* John conroy/jest (#5)

* Install jest, @types/jest and ts-jest

* Add test scripts to package.json

* Add jest config

* Install eslint import plugins

* Configure eslint import plugins

* Configure eslint for jest

* Add example file

* Add example test

* Add types to example file and test

* Exclude tests in tsconfig

* Add github actions ci (#6)

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>
john-conroy added a commit that referenced this pull request Jan 11, 2021
* Initialize npm and install eslint

* Initialize eslint

* Install typescript

* Initialize typescript

* Install prettier and plugins

* Update eslint config

* Add prettier yml

* Add lint scripts

* John conroy/rollup (#3)

* Install rollup and rollup-plugin-typescript2

* Add rollup config

* Add eslintignore and ignore dist

* Add entries in package.json for esm and cjs and build script

* Add include and exclude to tsconfig

* Add example index.ts

* John conroy/jest (#5)

* Install jest, @types/jest and ts-jest

* Add test scripts to package.json

* Add jest config

* Install eslint import plugins

* Configure eslint import plugins

* Configure eslint for jest

* Add example file

* Add example test

* Add types to example file and test

* Exclude tests in tsconfig

* Add github actions ci (#6)

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

* John conroy/husky lint staged (#2)

* Install husky and lint-staged

* Add husky and lint-staged

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>

Co-authored-by: John Conroy <john-conroy@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants