1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/tests/registry/npm
Nathan Whitaker 04ae1a5517
fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639)
Fixes #25342.

Still not sure on the exact user agent to set (should it include
`node`?).

After this PR, here's the state of running some `create-*` packages
(just ones I could think of off the top of my head):

| package                  | prints/runs/suggests deno install | notes |
| ---------------- | ------------- | ------ |
| `create-next-app` |  | falls back to npm, needs a PR
([code](c32e280209/packages/create-next-app/helpers/get-pkg-manager.ts (L3)))
| `sv create` |  | uses `package-manager-detector`, needs a PR
([code](https://github.com/antfu-collective/package-manager-detector/tree/main))
| `create-qwik` |  | runs `deno install` but suggests `deno start`
which doesn't work (should be `deno task start` or `deno run start`)
| `create-astro` |  | runs `deno install` but suggests `npm run dev`
later in output, probably needs a PR
| `nuxi init` |  | deno not an option in dialog, needs a PR
([code](f04e2e8944/src/commands/init.ts (L96-L102)))
| `create-react-app` |  | uses npm
| `ng new` (`@angular/cli`) |  | uses npm
| `create-vite` |  | suggests working deno commands 🎉 
| `create-solid` |   | suggests npm commands, needs PR

It's possible that fixing `package-manager-detector` or other packages
might make some of these just work, but haven't looked too carefully at
each
2024-10-31 22:19:19 -07:00
..
@babel/parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@denotest fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-10-31 22:19:19 -07:00
@isaacs/cliui chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@ljharb/has-package-exports-patterns chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@npmcli chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@pkgjs/parseargs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
@types feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954) 2024-10-01 22:55:02 +01:00
@vue chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
abbrev chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
agent-base chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
aggregate-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ajv chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ajv-formats chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ansi-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ansi-styles chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
asn1 chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
assertion-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
autoprefixer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
balanced-match chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
bcrypt-pbkdf chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
brace-expansion chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
browserslist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
buildcheck chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cacache chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
camelcase chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
caniuse-lite chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chai chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chalk chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
check-error chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
chownr chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
clean-stack chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cliui chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
color-convert chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
color-name chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cowsay chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cpu-features chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
cross-spawn chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
crypto-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
csstype feat(lsp): quick fix for @deno-types="npm:@types/*" (#25954) 2024-10-01 22:55:02 +01:00
debug chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
decamelize chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
deep-eql chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
define-properties chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
eastasianwidth chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
electron-to-chromium chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
emoji-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
encoding chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
env-paths chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
err-code chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
escalade chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
estree-walker chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
exponential-backoff chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fast-deep-equal chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
find-up chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
foreground-child chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fraction.js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fs-extra chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fs-minipass chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
fsevents chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
function-bind chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-caller-file chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-func-name chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-intrinsic chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
get-stdin chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
glob chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
globals chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
graceful-fs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-flag chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-package-exports chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-property-descriptors chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
has-symbols chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
http-cache-semantics chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
http-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
https-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
iconv-lite chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
imurmurhash chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
indent-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ip-address chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
is-fullwidth-code-point chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
is-lambda chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
isexe chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jackspeak chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
js-tokens chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jsbn chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
json-schema-traverse chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
jsonfile chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
locate-path chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
loose-envify chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
loupe chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
lru-cache chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
lz-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
magic-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
make-fetch-happen chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minimatch chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-collect chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-fetch chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-flush chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-pipeline chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minipass-sized chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
minizlib chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
mkdirp chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ms chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nan chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nanoid chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
negotiator chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
node-gyp chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
node-releases chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
nopt chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
normalize-range chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
object-keys chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-limit chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-locate chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-map chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
p-try chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
package-json-from-dist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-exists chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-key chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
path-scurry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
pathval chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
picocolors chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
postcss chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
postcss-value-parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
preact chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
preact-render-to-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
pretty-format chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
proc-log chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
promise-retry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
punycode chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
react chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
react-dom chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-directory chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-from-string chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
require-main-filename chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
retry chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
safer-buffer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
scheduler chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
semver chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
set-blocking chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
shebang-command chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
shebang-regex chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
signal-exit chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
smart-buffer chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
socks chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
socks-proxy-agent chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
source-map chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
source-map-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
sourcemap-codec chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
sprintf-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ssh2 chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
ssri chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
string-width chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
strip-ansi chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
strip-final-newline chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
supports-color chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
supports-esm chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
tar chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
tweetnacl chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
type-detect chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
type-fest chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
undici-types feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00
unique-filename chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
unique-slug chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
universalify chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
update-browserslist-db chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
uri-js chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
v8flags chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
vue chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
which chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
which-module chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
wrap-ansi chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
y18n chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yallist chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yargs chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
yargs-parser chore: update more registry.json files (#25615) 2024-09-13 15:27:20 +01:00
trim_registry_files.js feat: TypeScript 5.6 and npm:@types/node@22 (#25614) 2024-09-14 11:58:47 +01:00