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

1.0.0 branch PR #94

Merged
merged 19 commits into from
Aug 18, 2018
Merged

1.0.0 branch PR #94

merged 19 commits into from
Aug 18, 2018

Conversation

hartzis
Copy link
Collaborator

@hartzis hartzis commented Aug 14, 2018

PR to track 1.x branch progress for 1.0.0 release and will close issue #91 when merged. 🎉

@hartzis hartzis added the do not merge work in progress, don't merge yet label Aug 14, 2018
@hartzis
Copy link
Collaborator Author

hartzis commented Aug 14, 2018

@dozoisch if you're able to cut a release candidate from the 1.x branch thad be sweet 😺

@dozoisch
Copy link
Owner

Perfect! Will cut a @next release

- now use manual process, makes it easier and is consistent with async-script
@hartzis hartzis mentioned this pull request Aug 14, 2018
3 tasks
@dozoisch
Copy link
Owner

@hartzis alright rc.2 should be good =) rc.1 doesn't have the correct build files

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 14, 2018

@dozoisch thank you, you rock! It looks like we need to add the same shims we did in react-async-script for the tests, lol. Looks like we also may need to update eslint since it doesn't know how to handle a scoped class correctly 🤣

Also want to update the node versions for travis to match react-async-script

@dozoisch
Copy link
Owner

Oh wow yeah eslint is old pretty old.. I can update them tomorrow if you want. I'd be down to put prettier in and use like eslint-preset-prettier and be done with codestyle/eslint!

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 14, 2018

just a heads up - Working 1.0.0 release candidate - https://codesandbox.io/s/1y4zzjq37l

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 14, 2018

well... the tests and lint pass locally. travis seems to be having trouble with node 8/10 with yarn and phantomJS.

This might be the opportunity to update to enzyme/jest? Shouldn't be too bad. may even be able to just do jest and no enzyme and keep the test exactly like they are?

@dozoisch
Copy link
Owner

Jest is fine with me ! The stacked used here is pretty old 😅😅 so I’m all for modernizing it!

package.json Outdated
"directories": {
"lib": "lib/"
},
"scripts": {
"build": "rm -rf lib && npm run build:cjs && npm run build:es",
"build:cjs": "babel src --out-dir lib",
"build:es": "BABEL_ENV=es babel src --out-dir lib/es",
"prepublish": "npm run build",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

heads up @dozoisch i think we're supposed to use prepare now.
warnings i get with npm:

npm WARN prepublish-on-install As of npm@5, `prepublish` scripts are deprecated.
npm WARN prepublish-on-install Use `prepare` for build steps and `prepublishOnly` for upload-only.
npm WARN prepublish-on-install See the deprecation note in `npm help scripts` for more information.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

apologies about the notification spam if it happened, was trying to get the comment code snippet to work, but i don't think it works cross repo...

Copy link
Owner

Choose a reason for hiding this comment

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

No worries! Alright I'll change it to prepare, good to know.

@dozoisch
Copy link
Owner

Alright eslint/prettier is done! I'll go do the same in react-async-script

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 16, 2018

cut another rc? 😸

@dozoisch
Copy link
Owner

Will do!

@dozoisch
Copy link
Owner

Done!

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 16, 2018

@dozoisch rc.3 looking good - https://codesandbox.io/s/1y4zzjq37l

we're getting close!

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 17, 2018

@dozoisch updated the readme, let me know what you think

  • added a link to the codesandbox.io example above
  • attempted to make a few things "more clear"?

@hartzis
Copy link
Collaborator Author

hartzis commented Aug 17, 2018

last thing is to release 1.0.0 of react-async-script before we cut official 1.0.0 of this

@hartzis hartzis removed the do not merge work in progress, don't merge yet label Aug 17, 2018
@hartzis hartzis changed the title [WIP] 1.0.0 branch PR 1.0.0 branch PR Aug 17, 2018
@dozoisch
Copy link
Owner

awesome work :) I'll check everything tomorrow and cut r-a-s!!

@dozoisch dozoisch merged commit 1ff4eae into master Aug 18, 2018
@dozoisch dozoisch deleted the 1.x branch August 18, 2018 01:16
@dozoisch
Copy link
Owner

@hartzis 🙌 published 1.0.0 on both repos :)! Awesome work

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.

None yet

2 participants