@woosmap/ui 4.251.0 → 4.251.6

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.
@@ -16,17 +16,21 @@ jobs:
16
16
  pull-requests: read
17
17
  environment: npm-publish
18
18
  steps:
19
+ - name: Generate GitHub App token
20
+ id: app-token
21
+ uses: actions/create-github-app-token@v1
22
+ with:
23
+ app-id: ${{ secrets.APP_ID }}
24
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
25
+
19
26
  - uses: actions/checkout@v4
20
27
  with:
21
- token: ${{ secrets.GITHUB_TOKEN }}
28
+ token: ${{ steps.app-token.outputs.token }}
22
29
 
23
30
  - name: Use Node.js
24
31
  uses: actions/setup-node@v4
25
32
  with:
26
- node-version: "22.x"
27
-
28
- - name: Upgrade npm for OIDC trusted publishing
29
- run: npm install -g npm@latest
33
+ node-version: "24"
30
34
 
31
35
  - name: Install dependencies
32
36
  run: yarn
@@ -45,12 +49,10 @@ jobs:
45
49
  commit_sha: context.sha,
46
50
  });
47
51
  const pr = commits.find(p => p.merged_at);
48
- let bump = 'minor';
52
+ let bump = 'patch';
49
53
  if (pr) {
50
54
  const labels = pr.labels.map(l => l.name.toLowerCase());
51
- if (labels.includes('patch')) {
52
- bump = 'patch';
53
- } else if (labels.includes('minor')) {
55
+ if (labels.includes('minor')) {
54
56
  bump = 'minor';
55
57
  }
56
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.251.0",
3
+ "version": "4.251.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Woosmap/ui.git"
@@ -37,6 +37,8 @@ import transitImgSq from '../../images/products/product-transit-sq.png';
37
37
  import distanceTollImgSq from '../../images/products/product-distance-toll-sq.png';
38
38
  import localitiesIeImg from '../../images/products/product-localities-ie.png';
39
39
  import localitiesIeImgSq from '../../images/products/product-localities-ie-sq.png';
40
+ import mapSatelliteImgSq from '../../images/products/product-satellite-sq.png';
41
+ import mapSatelliteImg from '../../images/products/product-satellite.png';
40
42
 
41
43
  const productImg = {
42
44
  DATASETS: datasetsImg,
@@ -55,6 +57,7 @@ const productImg = {
55
57
  TRANSIT: transitImg,
56
58
  DISTANCE_WITH_TOLLS: distanceTollImg,
57
59
  DISTANCE_ASYNC: distanceImgAsync,
60
+ MAP_SATELLITE: mapSatelliteImg,
58
61
  };
59
62
  const productImgSq = {
60
63
  DATASETS: datasetsImgSq,
@@ -73,6 +76,7 @@ const productImgSq = {
73
76
  TRANSIT: transitImgSq,
74
77
  DISTANCE_WITH_TOLLS: distanceTollImgSq,
75
78
  DISTANCE_ASYNC: distanceImgSqAsync,
79
+ MAP_SATELLITE: mapSatelliteImgSq,
76
80
  };
77
81
 
78
82
  class Header extends Component {
@@ -347,6 +351,7 @@ Card.propTypes = {
347
351
  'DISTANCE_WITH_TOLLS',
348
352
  'TRANSIT',
349
353
  'MERCHANTS',
354
+ 'MAP_SATELLITE',
350
355
  ]),
351
356
  iconSize: PropTypes.number,
352
357
  isClickable: PropTypes.bool,