Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

fix: ignore yarn cache when updating notebook package #19

Merged
merged 3 commits into from Sep 13, 2019
Merged

Conversation

severo
Copy link
Contributor

@severo severo commented Sep 13, 2019

yarn doesn't have any mechanism yet to avoid using the cache when
installing a package (see yarnpkg/yarn#2165).
But for local packages, we want to force install whan we download a new
version.
The trick here is to used a different filename for the tgz file... A
hack, not a solution.

yarn doesn't have any mechanism yet to avoid using the cache when
installing a package (see yarnpkg/yarn#2165).
But for local packages, we want to force install whan we download a new
version.
The trick here is to used a different filename for the tgz file... A
hack, not a solution.
@vercel
Copy link

vercel bot commented Sep 13, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://sphericalcontoursstandalone-git-ignore-yarn-cache.fil.now.sh

@severo
Copy link
Contributor Author

severo commented Sep 13, 2019

Note that the problem only appears with yarn. With npm (see https://github.com/severo/observable-to-standalone/blob/master/bundle/joyplot/package.json#L11) there is no need for that hack, no cache is used.

package.json Outdated Show resolved Hide resolved
@severo
Copy link
Contributor Author

severo commented Sep 13, 2019

Please see if we include 76d94e5 or not...

@Fil Fil merged commit 88a80a5 into master Sep 13, 2019
@Fil Fil deleted the ignore-yarn-cache branch September 13, 2019 15:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants