@amedia/jest-config 1.0.2-next.3 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +56 -0
- package/package.json +2 -2
- /package/{index.js → index.cjs} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @amedia/jest-config
|
|
2
2
|
|
|
3
|
+
## 1.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- dbb3437: add two new rules to eslint-base
|
|
8
|
+
|
|
9
|
+
Adding rules may cause previously linted code to fail, though these two
|
|
10
|
+
rules may be automatically fixed, so running `kragl lint --fix` should
|
|
11
|
+
resolve the simple cases automatically.
|
|
12
|
+
|
|
13
|
+
The reason for adding a requirement for the `node:` protocol prefix is
|
|
14
|
+
to make it absolutely clear that this is an internal node module. This
|
|
15
|
+
makes it easier for the reader to, as one example, immediately spot any
|
|
16
|
+
node modules that may need polyfill for the browser.
|
|
17
|
+
|
|
18
|
+
The second rules pushes us to use ESM everywhere it is expected by
|
|
19
|
+
default. All CommonJS code needs to be moved to `.cjs` files, regardless
|
|
20
|
+
if the module type is "module" or not.
|
|
21
|
+
|
|
22
|
+
This also serves to help us move to a pure ESM based ecosystem for
|
|
23
|
+
our internal codebase.
|
|
24
|
+
|
|
25
|
+
## 1.0.2
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- a1cf31a: drop config exports from kragl-\* packages
|
|
30
|
+
- a1cf31a: drop esoteric options for lint and format
|
|
31
|
+
|
|
32
|
+
There are many options for lint and format, and most of them are never
|
|
33
|
+
used. They were added for debugging purposes, and are superfluous after
|
|
34
|
+
breaking out the runners to standalone kragl tools.
|
|
35
|
+
|
|
36
|
+
This makes the lint and format commands a lot more straight-foward to
|
|
37
|
+
use as intended, with fewer sharp edges.
|
|
38
|
+
|
|
39
|
+
- a1cf31a: modularize kragl
|
|
40
|
+
|
|
41
|
+
Introduce `kragl-eslint` and `kragl-prettier`, and expose an API so they
|
|
42
|
+
can be used from `kragl`.
|
|
43
|
+
|
|
44
|
+
The breaking change is that each runner's internal help text is now
|
|
45
|
+
available under `--help`, e.g. `kragl prettier --help` or `kragl eslint --help`.
|
|
46
|
+
|
|
47
|
+
They will print the help for Prettier and ESLint respectively, and
|
|
48
|
+
replaces `--prettier-help`.
|
|
49
|
+
|
|
50
|
+
Each command's usage matches the internal tool's, so `--eslint-config`
|
|
51
|
+
is no longer necessary, just `--config` with suffice.
|
|
52
|
+
|
|
53
|
+
`kragl lint` and `kragl format` serves as shortcuts to run all the
|
|
54
|
+
configured formatters and runners with it's own options that normalize
|
|
55
|
+
usage.
|
|
56
|
+
|
|
57
|
+
- a1cf31a: drop config exports from kragl packages
|
|
58
|
+
|
|
3
59
|
## 1.0.2-next.3
|
|
4
60
|
|
|
5
61
|
### Patch Changes
|
package/package.json
CHANGED
/package/{index.js → index.cjs}
RENAMED
|
File without changes
|