Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); Release/v7.7.0 by ruyadorno · Pull Request #2922 · npm/cli · GitHub
Skip to content

Release/v7.7.0 - #2922

Merged
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0
Mar 23, 2021
Merged

Release/v7.7.0#2922
ruyadorno merged 42 commits into
latestfrom
release/v7.7.0

Conversation

@ruyadorno

@ruyadornoruyadorno commented Mar 23, 2021

Copy link
Copy Markdown
Contributor

v7.7.0 (2021-03-23)

FEATURES

BUG FIXES

DOCUMENTATION

DEPENDENCIES

  • 7b5606b93@npmcli/arborist@2.2.9
    • #254 Honor explicit prefix when saving dependencies (@jameschensmith)
    • #255 Never save to bundleDependencies when saving a peer or peerOptional dependency. (@isaacs)
  • f76e7c21fpacote@11.3.1
    • increases tarball compression level
  • 4928512bcsemver@7.3.5
    • fix handling prereleases/ANY ranges in subset
  • 1924eb457libnpmversion@1.0.12
    • fix removing undescored-prefixed package.json properties in npm version
  • 916623056@npmcli/run-script@1.8.4
    • fix expanding windows-style environment variables
  • a8d0751e4npm-pick-manifest@6.1.1
    • fix running packages with a single executable binary with npm exec
  • af7eaac50hosted-git-info@4.0.1
  • f52c51db1@npmcli/config@2.0.0

ruyadornoand others added 30 commits March 18, 2021 13:03
Iterative change moving us towards a more unified config.
No longer pulling config from flatOptions where we don't have to.
PR-URL: #2892
Credit: @wraithgarClose: #2892
Reviewed-by: @ruyadorno
When not handled, when there are multiple entries in
this.npm.config.list, it causes crash as described in #2834
The change here merge everything in this.npm.config.list, because as I
observed, the default config is present only at the last entry.
Fix: #2834
Co-authored-by: @wraithgar
PR-URL: #2865
Credit: @kenrick95Close: #2865
Reviewed-by: @isaacs, @wraithgar
This replaces the multiple separate sets of objects and documentation,
some of which had defaults and/or types, some of which didn't, and cleans
up a lot of configs that are no longer used.
Deprecated configs are now marked, and the approach used to create these
config definitions ensures that it is impossible to create a new config
option that lacks the appropriate data for it.
Eventually @npmcli/config will move back to the CLI under
lib/utils/config/, so this v2 will be a short-lived release family.
Lots of dead code removed thanks to streamlining of logic.
`npm help` `npm <command>` and `npm help-search` are all now separated
concerns, handling their own use cases. `help` calls `help-search` as a
last resort, but `npm <command>` no longer tries to wind its way through
to `help-search` just to get the basic npm usage displayed.
The `did you mean` output has been expanded. It now always suggests top
level commands, scripts, and bins, and suggests them in the way they
should be called.
PR-URL: #2859
Credit: @wraithgarClose: #2859
Reviewed-by: @ruyadorno
This was erroneously removed during a merge conflict
- Add workspaces-related configs:
- workspace: list of workspaces names/dir to filter for
- workspaces: boolean value to enable/disable workspaces awareness
- adds the proposed note in the docs of each of the commands
that are not affected by these configs.
- Add workspaces support to `npm run-script`
- add ability to serially run lifecycle scripts in workspaces
- add ability to list scripts for all workspaces
- add colors to `npm run` (no args) output
Relates to: npm/rfcs#117Fixes: npm/statusboard#276Fixes: npm/statusboard#283Fixes: npm/statusboard#284Fixes: npm/statusboard#285Fixes: npm/statusboard#286
PR-URL: #2864
Credit: @ruyadornoClose: #2864
Reviewed-by: @wraithgar
This is used by npm-registry-fetch to set the 'npm-command' HTTP header.
Will be cleaned up in a less ugly way in config refactor part 2.
PR-URL: #2903
Credit: @isaacsClose: #2903
Reviewed-by: @wraithgar
Base commands and `npm run` need different outputs
PR-URL: #2906
Credit: @wraithgarClose: #2906
Reviewed-by: @ruyadorno
This starts us down the path of tying the params our commands accept to
their config items. For now it is optional, and not every current
config item would cleanly render if we added them today.
The ones that are added here DO render nicely, and we can iterate from
here. We can also at a later date do the same kind of appraoch with our
positional args.
PR-URL: #2908
Credit: @wraithgarClose: #2908
Reviewed-by: @nlf, @isaacs
Add workspaces support to `npm exec`
- Refactored logic to read and filter workspaces into
`lib/workspaces/get-workspaces.js`
- Added location context message when entering interactive
shell using `npm exec` (with no args)
- Add ability to execute a package in the context of each
configured workspace
Fixes: npm/statusboard#288
PR-URL: #2886
Credit: @ruyadornoClose: #2886
Reviewed-by: @wraithgar
Sign up for freeto 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.

8 participants

@ruyadorno@wraithgar@kenrick95@isaacs@jansepke@augustobmoura@chowkapow@klausbayrhammer