@vixoniccom/menu-daily 0.2.0-dev.1 → 0.2.0-dev.2
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/.github/workflows/npm-publish.yml +4 -2
- package/.github/workflows/sonarqube.yml +3 -3
- package/.vscode/settings.json +5 -1
- package/CHANGELOG.md +11 -0
- package/build/main.js +1 -1
- package/build.zip +0 -0
- package/package.json +1 -1
- package/src/logger.ts +1 -1
- package/src/scenes/App.tsx +27 -29
- package/src/scenes/components/FormattedText.tsx +9 -7
- package/src/scenes/components/Grid/Grid.tsx +28 -26
- package/src/scenes/components/Grid/GridItem.tsx +16 -14
- package/src/scenes/components/MealContainer/components/Title/index.tsx +5 -4
- package/src/scenes/components/MealContainer/index.tsx +1 -2
|
@@ -32,9 +32,11 @@ jobs:
|
|
|
32
32
|
|
|
33
33
|
- name: Configure npm authentication
|
|
34
34
|
run: |
|
|
35
|
-
echo "//registry.npmjs.org/:_authToken=${
|
|
35
|
+
echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc
|
|
36
36
|
echo "@vixoniccom:registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
37
37
|
echo "registry=https://registry.npmjs.org/" >> ~/.npmrc
|
|
38
|
+
env:
|
|
39
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
38
40
|
|
|
39
41
|
- name: Cache node modules
|
|
40
42
|
uses: actions/cache@v4
|
|
@@ -45,7 +47,7 @@ jobs:
|
|
|
45
47
|
${{ runner.os }}-node-
|
|
46
48
|
|
|
47
49
|
- name: Install dependencies
|
|
48
|
-
run: npm ci
|
|
50
|
+
run: npm ci --ignore-scripts
|
|
49
51
|
env:
|
|
50
52
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
51
53
|
|
|
@@ -3,7 +3,7 @@ name: Sonarqube Analysis
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
6
|
+
- development
|
|
7
7
|
pull_request:
|
|
8
8
|
types: [opened, synchronize, reopened]
|
|
9
9
|
|
|
@@ -17,13 +17,13 @@ jobs:
|
|
|
17
17
|
fetch-depth: 0
|
|
18
18
|
|
|
19
19
|
- name: SonarQube Scan
|
|
20
|
-
uses: sonarsource/sonarqube-scan-action@
|
|
20
|
+
uses: sonarsource/sonarqube-scan-action@c8357220fa7152a7881d87dcaefafbd129e37cb9
|
|
21
21
|
env:
|
|
22
22
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
|
23
23
|
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
|
|
24
24
|
|
|
25
25
|
- name: SonarQube Quality Gate Check
|
|
26
|
-
uses: sonarsource/sonarqube-quality-gate-action@
|
|
26
|
+
uses: sonarsource/sonarqube-quality-gate-action@cb3ed20f9fec62b4c3b8ad9e77656c6adaade913
|
|
27
27
|
timeout-minutes: 5
|
|
28
28
|
env:
|
|
29
29
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
package/.vscode/settings.json
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
{
|
|
2
|
-
"js/ts.tsdk.path": "node_modules/typescript/lib"
|
|
2
|
+
"js/ts.tsdk.path": "node_modules/typescript/lib",
|
|
3
|
+
"sonarlint.connectedMode.project": {
|
|
4
|
+
"connectionId": "https://sonar.visma.com",
|
|
5
|
+
"projectKey": "Vixonic_store-menu-daily_1e47740b-90ac-4376-9fb7-5d97065b6387"
|
|
6
|
+
}
|
|
3
7
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.2.0-dev.2](https://github.com/Vixonic/store-menu-daily/compare/v0.2.0-dev.1...v0.2.0-dev.2) (2026-06-24)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* apply sonar suggestions ([45476ce](https://github.com/Vixonic/store-menu-daily/commit/45476ced842624cb770ee735b6e8d29b8b292fc8))
|
|
11
|
+
* apply sonar suggestions ([b9c04e6](https://github.com/Vixonic/store-menu-daily/commit/b9c04e613957b81031d452921e3ce3da6099dea4))
|
|
12
|
+
* **GridItem:** prevent infinite loop in componentDidUpdate ([9682e77](https://github.com/Vixonic/store-menu-daily/commit/9682e776e56928248211a464c1f13dc6fed9e4c7)), closes [#185](https://github.com/Vixonic/store-menu-daily/issues/185)
|
|
13
|
+
* read props from this.props so sonar detects them as used ([6102474](https://github.com/Vixonic/store-menu-daily/commit/61024742d10b755b3f2b1ec80a190eabfee46fca))
|
|
14
|
+
* resolve sonar false positives for undetected props ([414c373](https://github.com/Vixonic/store-menu-daily/commit/414c3735744c7e3167541cfbc4caf4c97a30f3f2))
|
|
15
|
+
|
|
5
16
|
## [0.2.0-dev.1](https://github.com/Vixonic/store-menu-daily/compare/v0.2.0-dev.0...v0.2.0-dev.1) (2026-06-24)
|
|
6
17
|
|
|
7
18
|
|