Skip to content

Commit

Permalink
Merge pull request #288 from etn-ccis/dev
Browse files Browse the repository at this point in the history
Publish patch v1.13.1 for icons-svg; update demo build scripts
  • Loading branch information
joebochill authored Jul 7, 2023
2 parents b14f844 + 39681ec commit 16b7845
Show file tree
Hide file tree
Showing 12 changed files with 49 additions and 44 deletions.
8 changes: 4 additions & 4 deletions demos/react-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"private": true,
"dependencies": {
"@brightlayer-ui/colors": "^3.1.1",
"@brightlayer-ui/icons": "2.1.0",
"@brightlayer-ui/icons-mui": "3.4.0",
"@brightlayer-ui/icons-svg": "1.12.0",
"@brightlayer-ui/icons": "2.2.0",
"@brightlayer-ui/icons-mui": "3.5.0",
"@brightlayer-ui/icons-svg": "1.13.0",
"@brightlayer-ui/react-components": "^6.2.0",
"@brightlayer-ui/react-native-vector-icons": "^2.0.0",
"@brightlayer-ui/react-themes": "^7.0.0",
Expand All @@ -25,7 +25,7 @@
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "react-scripts start",
"start": "yarn update:demo && yarn && react-scripts start",
"build-app": "react-scripts build",
"test": "react-scripts test --passWithNoTests --watchAll=false",
"eject": "react-scripts eject",
Expand Down
6 changes: 3 additions & 3 deletions design/META.json
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@
{
"name": "Silo",
"filename": "silo.svg",
"family": ["Agriculture", "Building"],
"family": ["Agriculture", "Maps"],
"style": "baseline",
"tags": ["farm", "feed", "food", "grain", "structure"],
"author": "Unknown",
Expand Down Expand Up @@ -1761,7 +1761,7 @@
{
"name": "Building",
"filename": "building.svg",
"family": ["industrial"],
"family": ["Maps"],
"style": "baseline",
"tags": ["pins", "places", "locations", "office"],
"author": "GreenTurtwig",
Expand Down Expand Up @@ -4300,7 +4300,7 @@
{
"name": "Garage Closed",
"filename": "garage_closed.svg",
"family": ["System"],
"family": ["Maps"],
"style": "baseline",
"tags": ["car", "door", "shed", "storage", "tool", "house"],
"author": "Michael Irigoyen",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"demos/react-demo"
],
"scripts": {
"update:demo": "node ./scripts/updateDemoDependencies.js",
"build": "yarn workspaces foreach -v --topological-dev run build",
"start": "yarn workspaces foreach -v run start",
"prettier": "yarn workspaces foreach -v run prettier",
Expand Down
2 changes: 1 addition & 1 deletion packages/icon-font/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed, Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.
- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.

## v2.1.0 (Feb 28, 2023)

Expand Down
2 changes: 1 addition & 1 deletion packages/mui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed, Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.
- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.

## v3.4.0 (Feb 28, 2023)

Expand Down
6 changes: 3 additions & 3 deletions packages/mui/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@
{
"name": "Silo",
"filename": "silo.svg",
"family": ["Agriculture", "Building"],
"family": ["Agriculture", "Maps"],
"style": "baseline",
"tags": ["farm", "feed", "food", "grain", "structure"],
"author": "Unknown",
Expand Down Expand Up @@ -1761,7 +1761,7 @@
{
"name": "Building",
"filename": "building.svg",
"family": ["industrial"],
"family": ["Maps"],
"style": "baseline",
"tags": ["pins", "places", "locations", "office"],
"author": "GreenTurtwig",
Expand Down Expand Up @@ -4300,7 +4300,7 @@
{
"name": "Garage Closed",
"filename": "garage_closed.svg",
"family": ["System"],
"family": ["Maps"],
"style": "baseline",
"tags": ["car", "door", "shed", "storage", "tool", "house"],
"author": "Michael Irigoyen",
Expand Down
2 changes: 1 addition & 1 deletion packages/rn-vector/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Added

- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed, Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.
- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.

## v2.1.0 (Feb 28, 2023)

Expand Down
8 changes: 7 additions & 1 deletion packages/svg/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Changelog

## v1.13.1 (July 7, 2023)

### Changed

- Reassigned 3 icons (Silo, Building, Garage Closed) to the family "maps".

## v1.13.0 (June 30, 2023)

### Added

- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed, Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.
- New icons: Cloud Done, Cloud Off Filled, Utility Disabled, File CSV, Breaker Closed, Battery Disabled, EV Plug IEC 61851 GB/T, Notification Active Outline, Battery Disabled Alt, Sitemap Outline, Warehouse Alt, Floor Plan, Garage Closed.

## v1.12.0 (Feb 28, 2023)

Expand Down
6 changes: 3 additions & 3 deletions packages/svg/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@
{
"name": "Silo",
"filename": "silo.svg",
"family": ["Agriculture", "Building"],
"family": ["Agriculture", "Maps"],
"style": "baseline",
"tags": ["farm", "feed", "food", "grain", "structure"],
"author": "Unknown",
Expand Down Expand Up @@ -1761,7 +1761,7 @@
{
"name": "Building",
"filename": "building.svg",
"family": ["industrial"],
"family": ["Maps"],
"style": "baseline",
"tags": ["pins", "places", "locations", "office"],
"author": "GreenTurtwig",
Expand Down Expand Up @@ -4300,7 +4300,7 @@
{
"name": "Garage Closed",
"filename": "garage_closed.svg",
"family": ["System"],
"family": ["Maps"],
"style": "baseline",
"tags": ["car", "door", "shed", "storage", "tool", "house"],
"author": "Michael Irigoyen",
Expand Down
2 changes: 1 addition & 1 deletion packages/svg/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brightlayer-ui/icons-svg",
"version": "1.13.0",
"version": "1.13.1",
"description": "SVG icons for Eaton applications",
"main": "index.js",
"scripts": {
Expand Down
15 changes: 15 additions & 0 deletions scripts/updateDemoDependencies.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const fs = require('fs');

console.log('Updating demo dependency versions');
const demoJson = JSON.parse(fs.readFileSync('./demos/react-demo/package.json'));
const fontVersion = JSON.parse(fs.readFileSync('./packages/icon-font/package.json')).version;
const muiVersion = JSON.parse(fs.readFileSync('./packages/mui/package.json')).version;
const svgVersion = JSON.parse(fs.readFileSync('./packages/svg/package.json')).version;

demoJson.dependencies['@brightlayer-ui/icons'] = fontVersion;
demoJson.dependencies['@brightlayer-ui/icons-mui'] = muiVersion;
demoJson.dependencies['@brightlayer-ui/icons-svg'] = svgVersion;

fs.writeFileSync('./demos/react-demo/package.json', JSON.stringify(demoJson, null, 4), "utf8");

console.log('Updating demo dependency versions: COMPLETE');
35 changes: 9 additions & 26 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1785,17 +1785,7 @@ __metadata:
languageName: node
linkType: hard

"@brightlayer-ui/icons-mui@npm:3.4.0":
version: 3.4.0
resolution: "@brightlayer-ui/icons-mui@npm:3.4.0"
peerDependencies:
"@mui/icons-material": ^5.0.0
"@mui/material": ^5.0.0
checksum: e856da6935a20b28ee8e6c60c581e70c26cdd85a15abadfd89bc75d08d8dcb645a1bb7eea6865476bf417db2ab41c88a34787261b500e4b3c612d35d05bad131
languageName: node
linkType: hard

"@brightlayer-ui/icons-mui@workspace:packages/mui":
"@brightlayer-ui/[email protected], @brightlayer-ui/icons-mui@workspace:packages/mui":
version: 0.0.0-use.local
resolution: "@brightlayer-ui/icons-mui@workspace:packages/mui"
dependencies:
Expand All @@ -1821,14 +1811,14 @@ __metadata:
languageName: unknown
linkType: soft

"@brightlayer-ui/icons-svg@npm:1.12.0":
version: 1.12.0
resolution: "@brightlayer-ui/icons-svg@npm:1.12.0"
checksum: 0e36db3d7ba4b4b26c4f69e7d4fce8fadd09257cacff66ec771f9753c818fd23633975cca05c62a6aeca31965c1b1fc903c736d01ccf440e212c3d32dcce95da
"@brightlayer-ui/icons-svg@npm:1.13.0":
version: 1.13.0
resolution: "@brightlayer-ui/icons-svg@npm:1.13.0"
checksum: b61ac923222ce5084da4800a33483f71cb837369db71c618d9907d1af06bca3d915b0048a166b474573848059fd13320902e13a33a3ea52473278afff9335318
languageName: node
linkType: hard

"@brightlayer-ui/icons@^2.0.0, @brightlayer-ui/icons@workspace:packages/icon-font":
"@brightlayer-ui/icons@2.2.0, @brightlayer-ui/icons@^2.0.0, @brightlayer-ui/icons@workspace:packages/icon-font":
version: 0.0.0-use.local
resolution: "@brightlayer-ui/icons@workspace:packages/icon-font"
dependencies:
Expand All @@ -1839,13 +1829,6 @@ __metadata:
languageName: unknown
linkType: soft

"@brightlayer-ui/icons@npm:2.1.0":
version: 2.1.0
resolution: "@brightlayer-ui/icons@npm:2.1.0"
checksum: 7849044c50376c9a06eff49f91d3087f462aa6be9a298f3e48fc3e8699542f0408c74c70e44486a07360659ee21a62e090e5bbd7a13fa40e127010fe8a517120
languageName: node
linkType: hard

"@brightlayer-ui/prettier-config@npm:^1.0.3":
version: 1.0.3
resolution: "@brightlayer-ui/prettier-config@npm:1.0.3"
Expand Down Expand Up @@ -14381,9 +14364,9 @@ __metadata:
dependencies:
"@brightlayer-ui/colors": ^3.1.1
"@brightlayer-ui/eslint-config": ^3.0.1
"@brightlayer-ui/icons": 2.1.0
"@brightlayer-ui/icons-mui": 3.4.0
"@brightlayer-ui/icons-svg": 1.12.0
"@brightlayer-ui/icons": 2.2.0
"@brightlayer-ui/icons-mui": 3.5.0
"@brightlayer-ui/icons-svg": 1.13.0
"@brightlayer-ui/prettier-config": ^1.0.3
"@brightlayer-ui/react-components": ^6.2.0
"@brightlayer-ui/react-native-vector-icons": ^2.0.0
Expand Down

0 comments on commit 16b7845

Please sign in to comment.