David Sherret
f96f167dc8
feat(unstable/publish): error when a package's module is excluded from publishing ( #22948 )
...
Closes #22657
2024-03-21 21:42:23 +00:00
Divy Srivastava
11db68ce96
feat(publish): add npm:
suggestion for esm.sh specifiers ( #22343 )
...
![image](https://github.com/denoland/deno/assets/34997667/f32642ed-c109-4519-84c5-6f78e9452703 )
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2024-03-04 09:55:28 +05:30
Bartek Iwańczuk
211b3ff244
fix(publish): print a warning when .jsx or .tsx is imported ( #22631 )
...
This commit adds a warning when .jsx or .tsx is encountered during
publishing.
This is a stop-gap solution before we fix it proper.
2024-02-29 12:54:57 +01:00
Luca Casonato
8d5c231349
feat(publish): support sloppy imports and bare node built-ins ( #22588 )
2024-02-27 15:13:16 +00:00
David Sherret
66424032a2
feat(unstable/lint): no-slow-types for JSR packages ( #22430 )
...
1. Renames zap/fast-check to instead be a `no-slow-types` lint rule.
1. This lint rule is automatically run when doing `deno lint` for
packages (deno.json files with a name, version, and exports field)
1. This lint rules still occurs on publish. It can be skipped by running
with `--no-slow-types`
2024-02-19 15:28:41 +00:00
David Sherret
e5e2c45998
fix: upgrade to deno_ast 0.33 ( #22341 )
...
* Uses diagnostics from deno_ast
* Real fix for https://github.com/denoland/deno/pull/22310
* Moves `deno lint --json` code here
* Upgrades swc
Closes #22117
Closes #22109
Closes #21927
Closes #20993
2024-02-09 01:40:26 +00:00
David Sherret
c6def993e0
fix(publish): lazily parse sources ( #22301 )
...
Closes #22290
2024-02-06 15:57:10 -05:00
Bartek Iwańczuk
830d096b66
fix(publish): rename --no-fast-check to --no-zap ( #22214 )
...
Also prints an information about the flag when there are `zap` errors.
2024-02-01 02:16:52 +00:00
Luca Casonato
316093fec4
feat(publish): error on invalid external imports ( #22088 )
2024-01-24 21:59:18 +00:00
Luca Casonato
52ad1ef154
feat(publish): give diagnostic on invalid package files ( #22082 )
2024-01-24 21:24:52 +00:00
Luca Casonato
745333f073
chore: improve unanalyzable dynamic import diagnostic ( #22051 )
2024-01-24 14:49:33 +01:00
Luca Casonato
137f1a0c68
feat(cli): improved diagnostics printing ( #22049 )
...
This initially uses the new diagnostic printer in `deno lint`,
`deno doc` and `deno publish`. In the limit we should also update
`deno check` to use this printer.
2024-01-23 16:37:43 +01:00