Commit c0f1b07
Stop using experimental syntax to load package version (#2616)
* chore: stop using experimental syntax to load package version
The import attribute syntax (`with { type: "json" }`)
is still experimental so warnings showed up when
using the library as it was being used to import
the package.json file to extract the package version
As an alternative, the current version will be injected
on build time through tsup configuration.
* Create healthy-moose-kneel.md
* fix: failing test on node v22 after warning format change
The test was failing because the line number in one of
the warnings being suppressed changed from 5 characters
to 7 on node v22.
The other rule suppression was removed as a previous
commit fixed the undelying issue.
---------
Co-authored-by: Felipe Cortés <[email protected]>
Co-authored-by: Dimitri POSTOLOV <[email protected]>1 parent b916bc9 commit c0f1b07
File tree
4 files changed
+11
-9
lines changed- .changeset
- packages/plugin
- __tests__
- src
4 files changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
| 28 | + | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments