Pierre Vanduynslager
Pierre Vanduynslager
That said, even in a local install you can't predict that you won't have two version of the same package coexisting. `npm` or `yarn` flatten the tree in some circumstances...
> Why not create a .remarkrc in ~, and install everything except remark-cli there? remark-cli will always look for and load ~/.remarkrc if it exists (or a closer one if...
I just tried that: ``` // ~/.remarkrc { "plugins": [ "./.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide", ["./.npm-packages/lib/node_modules/remark-lint-maximum-line-length", false] ] } ``` `~/.npm-packages/lib/node_modules` is where my global packages are installed. It doesn't work, and still report...
With: ``` // ~/.remarkrc { "plugins": [ "~/.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide", ["~/.npm-packages/lib/node_modules/remark-lint-maximum-line-length", false] ] } ``` I get the error: `Error: Could not find module `~/.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide` Even though: ```bash $ ls ~/.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide 400ms...
To make it works I have to configure: ``` // ~/.remarkrc { "plugins": [ "./.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide", ["./.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide/node_modules/remark-lint-maximum-line-length", false] ] } ```
Interestingly `remark-lint-maximum-line-length` doesn't exist anywhere other than in `./.npm-packages/lib/node_modules/remark-preset-lint-markdown-style-guide/node_modules/remark-lint-maximum-line-length` So it doesn't seems to be related to duplicate packages in the tree with different versions.
> No, it’s exactly because global mode doesn’t dedupe! I'm not sure it's a dedupe issue as I have only one time the package `remark-lint-maximum-line-length`. So when I configure `["remark-lint-maximum-line-length",...
> When I’m talking about deduping I mean the flatting that npm and yarn do automatically. A clean npm install creates that flattened state. I understand. But as you develop...
As far as I can semantic-release verify the format of it's config. It's also the case for each plugins in the `@semantic-release` org. In addition of verifying the format we...
I have a few question regarding the implementation of those end-to-end tests. ### PRs from third parties Would tests run on a PR opened by someone outside of the semantic-release...