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 addEvents from examples #1179

Merged
merged 3 commits into from
Jul 25, 2019
Merged

Remove addEvents from examples #1179

merged 3 commits into from
Jul 25, 2019

Conversation

Pessimistress
Copy link
Collaborator

No description provided.

@coveralls
Copy link

coveralls commented Jul 25, 2019

Coverage Status

Coverage decreased (-4.6%) to 53.332% when pulling 3f8c7b4 on x/add-events into 72d3e96 on master.

@@ -61,6 +61,7 @@
"eslint-plugin-tree-shaking": "^1.7.3",
"gl": "^4.2.2",
"mkdirp": "^0.5.1",
"mjolnir.js": "^2.1.2",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why would we have mjolnir.js in the main package.json? Shouldn't this be an optional dependency for examples.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We load the examples in the browser render tests. They would crash if mjolnir is not found from the test directory.

@@ -4493,6 +4493,11 @@ gzip-size@^5.0.0:
duplexer "^0.1.1"
pify "^4.0.1"

hammerjs@^2.0.8:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Related to above, do these need to appear in the master yarn.lock?

examples/lessons/11/app.js Outdated Show resolved Hide resolved
examples/lessons/10/app.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

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

Trust these examples have been tested both locally and when built in the website, (and depending on its current condition, if at all possible also in the gatsby website), it is always a frustration for the website maintainer to have to fix example breakages at the release stage.

Thinking about that, could there be an issue in the website (where all examples are in one app) with mjolnir event managers not being finalized?

@Pessimistress Pessimistress merged commit 6e04e6e into master Jul 25, 2019
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

3 participants