@nordicsemiconductor/pc-nrfconnect-shared 242.0.0 → 244.0.0
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 +21 -0
- package/README.md +10 -0
- package/config/eslintrc.js +13 -0
- package/dist/bootstrap.css +250 -233
- package/dist/scripts/nordic-publish.js +3 -3
- package/dist/typings/nrfutil/sandbox.d.ts.map +1 -1
- package/dist/typings/scripts/esbuild-renderer.d.ts +4 -3
- package/dist/typings/scripts/esbuild-renderer.d.ts.map +1 -1
- package/nrfutil/sandbox.ts +0 -1
- package/package.json +3 -3
- package/release_notes.md +2 -17
- package/scripts/esbuild-renderer.ts +5 -3
- package/scripts/installHusky.ts +3 -2
- package/src/variables.scss +20 -18
package/Changelog.md
CHANGED
|
@@ -7,6 +7,27 @@ This project does _not_ adhere to
|
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html) but contrary to it
|
|
8
8
|
every new version is a new major version.
|
|
9
9
|
|
|
10
|
+
## 244.0.0 - 2026-01-22
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Major upgrade of `esbuild` and `esbuild-sass-plugin` which brings along Sass
|
|
15
|
+
updates and deprecations.
|
|
16
|
+
|
|
17
|
+
## 243.0.0 - 2026-01-22
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- shared@232 introduced a bug that the `NRFUTIL_*` env variables were not
|
|
22
|
+
cleared which could cause problems if users set them in their environment.
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Added an ESLint error if the module 'process' is imported. This is usually not
|
|
27
|
+
needed (because it is available as the global `process`) and might cause
|
|
28
|
+
problems (if it is imported as `process` it may hinder replacing NODE_ENV
|
|
29
|
+
during compilation).
|
|
30
|
+
|
|
10
31
|
## 242.0.0 - 2026-01-20
|
|
11
32
|
|
|
12
33
|
### Added
|
package/README.md
CHANGED
|
@@ -17,6 +17,16 @@ If there is no latest entry there yet, and you do not intend to release the
|
|
|
17
17
|
change as a new version right ahead, add a new section with the heading
|
|
18
18
|
`## Unreleased` at the top.
|
|
19
19
|
|
|
20
|
+
## Disabled Sass warnings
|
|
21
|
+
|
|
22
|
+
Because we still use an outdated version of Bootstrap, we would get several Sass
|
|
23
|
+
warnings when using the latest version of Sass. Our goal is to move away from
|
|
24
|
+
Bootstrap (and mostly also plain CSS/Sass) but until that is accomplished we
|
|
25
|
+
would get those warnings. Because of that, some Sass warnings are silenced. If
|
|
26
|
+
you want to see all Sass warnings, set the env variable
|
|
27
|
+
`ENABLE_ALL_SASS_WARNINGS` to `true` while building an app or shared, e.g. by
|
|
28
|
+
calling `ENABLE_ALL_SASS_WARNINGS=true npm run build:dev`.
|
|
29
|
+
|
|
20
30
|
## Releasing
|
|
21
31
|
|
|
22
32
|
To release, two files must be up-to-date:
|
package/config/eslintrc.js
CHANGED
|
@@ -82,6 +82,19 @@ module.exports = {
|
|
|
82
82
|
],
|
|
83
83
|
'no-console': 'off',
|
|
84
84
|
'no-param-reassign': 'off',
|
|
85
|
+
'no-restricted-imports': [
|
|
86
|
+
'error',
|
|
87
|
+
{
|
|
88
|
+
name: 'process',
|
|
89
|
+
message:
|
|
90
|
+
'Do not import process, it is available as a global `process` and importing it may cause issues with replacing NODE_ENV.',
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: 'node:process',
|
|
94
|
+
message:
|
|
95
|
+
'Do not import node:process, it is available as a global `process` and importing it may cause issues with replacing NODE_ENV.',
|
|
96
|
+
},
|
|
97
|
+
],
|
|
85
98
|
'no-shadow': 'off',
|
|
86
99
|
'no-undef': 'error',
|
|
87
100
|
'no-unused-expressions': 'off',
|