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

Configure React and TypeScript #1

Merged
merged 1 commit into from
Jul 17, 2020
Merged

Conversation

maecapozzi
Copy link
Owner

No description provided.

package.json Outdated
},
"npmClient": "yarn",
"useWorkspaces": true,
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"dependencies": {
"@types/react": "^16.9.43",
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this, as well as typescript be a dev dependency?

@@ -0,0 +1,5 @@
import React from "react";
Copy link
Contributor

Choose a reason for hiding this comment

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

This should probably be import * as React from 'react' 👇

facebook/react#18102

@@ -3,7 +3,8 @@
"version": "independent",
"command": {
"publish": {
"message": "chore: release"
"message": "chore: release",
"allowBranch": ["master", "feature/"]
Copy link
Owner Author

Choose a reason for hiding this comment

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

@mattrothenberg, this is what will allow us to publish canary builds for branches prefixed with feature/.

@maecapozzi maecapozzi force-pushed the configure-typescript branch from e6b6a07 to b740d25 Compare July 17, 2020 22:17
@maecapozzi maecapozzi merged commit 7f025b8 into master Jul 17, 2020
@maecapozzi maecapozzi deleted the configure-typescript branch July 17, 2020 22:19
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