@amedia/jest-config 1.0.2 → 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 +22 -0
- package/package.json +2 -2
- /package/{index.js → index.cjs} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
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
|
+
|
|
3
25
|
## 1.0.2
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/package.json
CHANGED
/package/{index.js → index.cjs}
RENAMED
|
File without changes
|