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

[Deps]: bump 3.16 and Node 10 minimum #396

Merged
merged 23 commits into from
Oct 7, 2020
Merged

Conversation

snewcomer
Copy link
Contributor

ember-data relies on external partner tests for its CI suite. The result of a new change to convert our Model class to native classes also requires the external partner tests to follow suite.

emberjs/data#7226

@snewcomer snewcomer closed this Sep 7, 2020
@snewcomer snewcomer reopened this Sep 7, 2020
@ryanto
Copy link
Member

ryanto commented Sep 7, 2020

Awesome, thanks for doing this work!

Just a few questions.

  1. Looks like some tests are failing, anyway to get those passing?

  2. I noticed you removed old try scenarios, does this mean that this addon will now only support 3.12+? Should be fine if so, just want to understand.

Excited to get this merged!

@snewcomer snewcomer changed the title [Deps]: bump 3.16 [Deps]: bump 3.16 and Node 10 minimum Sep 7, 2020
@snewcomer
Copy link
Contributor Author

Happy to help!

  1. Awaiting a minor release for this library - Add ember-data as a peer dep ember-learn/ember-cli-addon-docs#552

  2. Once I get the bump in addon-docs, I'll keep adding back until it fails!

Copy link
Contributor Author

@snewcomer snewcomer left a comment

Choose a reason for hiding this comment

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

@ryanto This is ready for your review! Lmk if you have any questions.

},
env: {
browser: false,
node: true
},
plugins: ['node'],
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
// add your custom rules and overrides for node files here
'node/no-unpublished-require': 'off'
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've looked up this issue and still not sure why it is warning. We have glob, express, etc in devDeps 🤔

mysticatea/eslint-plugin-node#47

- 'ember-lts-2.18'
- 'ember-3.1'
- 'ember-lts-3.4'
- 'ember-lts-3.8'
- 'ember-lts-3.12'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

3.10 is the minimum for classes and decorators and 3.6 is the minimum for classes. We could install something to get us back to 3.8 but I'm not sure that is necessary if we release a new major bump

@@ -3,7 +3,7 @@ language: node_js
sudo: false
dist: trusty
node_js:
- "8"
- "10"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This will require a major bump

@@ -32,11 +31,8 @@ module('Integration | Changing data render test', function(hooks) {
let serverPost = this.server.create('post', { title: 'Lorem' });
let postId = serverPost.id;

await run(() => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

run isn't necessary (can't remember when though)

@snewcomer
Copy link
Contributor Author

@ryanto 👋 How is this looking to you?

@snewcomer
Copy link
Contributor Author

Hi @ryanto! Do you happen to have time to give this a look? We can further iterate on ember-data work once we can get this PR merged. If not, we can temporarily patch our test suite.

@ryanto ryanto merged commit a45340d into embermap:master Oct 7, 2020
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