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

Remove electron references #184

Merged
merged 6 commits into from
May 1, 2021
Merged

Remove electron references #184

merged 6 commits into from
May 1, 2021

Conversation

ejfox
Copy link
Contributor

@ejfox ejfox commented Mar 3, 2021

Summary

Removes references to electron and makes it so that the script can be run by calling dataproofer file.csv when installed using npm install -g
Screen Shot 2021-03-03 at 2 08 01 PM

@ejfox ejfox changed the title Close 170 Remove electron references Mar 3, 2021
@ejfox ejfox requested a review from newsroomdev March 3, 2021 19:09
Copy link
Member

@newsroomdev newsroomdev left a comment

Choose a reason for hiding this comment

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

one question about name-spacing but this is looking good!

@@ -1,11 +1,18 @@
{
"name": "dataproofer",
Copy link
Member

Choose a reason for hiding this comment

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

interesting! silly question, won't this cause a name conflict with the other package.json named "dataproofer"? https://github.com/dataproofer/Dataproofer/blob/dev/src/package.json#L2

Copy link
Member

Choose a reason for hiding this comment

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

oh also seeing all the tests are failing now hm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think it's likely this is that's what is breaking it, maybe it should be dataproofer-cli

"private": true,
"workspaces": [
"src",
"packages/*"
],
"main": "./src/index.js",
"bin": {
"dataproofer": "./src/index.js"
Copy link
Member

Choose a reason for hiding this comment

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

oh smart!

Copy link
Member

Choose a reason for hiding this comment

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

i think you may need to update some of the workflows to get this passing

@ejfox
Copy link
Contributor Author

ejfox commented Apr 14, 2021

Should pull in latest yarn version updates

@newsroomdev newsroomdev merged commit 9659ec4 into dev May 1, 2021
@newsroomdev newsroomdev deleted the close-170 branch May 1, 2021 18:04
newsroomdev pushed a commit that referenced this pull request May 1, 2021
* docs: update README to remove electron references, use bin cli name

* refactor: update package.json with name, version, main script, and bin

Referenced https://medium.com/jspoint/creating-cli-executable-global-npm-module-5ef734febe32

* docs: remove reference to beta

* docs: tweak template language

* docs: update links for monorepo
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.

Update README and remove all documentation references to electron / UI
2 participants