Skip to content

Commit

Permalink
ui-components, icons, release.yml: add Italy, bump package version, f…
Browse files Browse the repository at this point in the history
…ix release scripts (#548)

* ui-components, icons, release.yml: add Italy, bump package version, fix release scripts

We are adding support for Italy as a region, so we need to add the flag. Bumping the version to release all new flag additions.

Bump versions of actions in `release.yml` so that they all support node v20. See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/ for more details. This allows the release script to run without failures.

Also bumped the version of `auto` to fix:
```
> auto shipit

fatal: ' 9007199254740991': not an integer

Error: fatal: ' 9007199254740991': not an integer
```
  • Loading branch information
laurenbarker authored Apr 12, 2024
1 parent 8931bc0 commit d2d711a
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 35 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ jobs:
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci') && !github.event.pull_request.head.repo.fork }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: pnpm/action-setup@v2
- uses: pnpm/action-setup@v3
with:
version: 8.6

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
cache: "pnpm"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "root",
"private": true,
"devDependencies": {
"auto": "11.0.4",
"auto": "11.1.6",
"lerna": "^7.2.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cockroachlabs/icons",
"version": "0.7.11",
"version": "0.7.12",
"description": "Icons for Cockroach UI exported as React Components",
"files": [
"dist/"
Expand Down
3 changes: 3 additions & 0 deletions packages/icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ import India from "./components/India";
import Indonesia from "./components/Indonesia";
import Ireland from "./components/Ireland";
import Israel from "./components/Israel";
import Italy from "./components/Italy";
import Japan from "./components/Japan";
import Korea from "./components/Korea";
import Netherlands from "./components/Netherlands";
Expand Down Expand Up @@ -332,6 +333,7 @@ const Flags = {
Indonesia,
Ireland,
Israel,
Italy,
Japan,
Korea,
Netherlands,
Expand Down Expand Up @@ -465,6 +467,7 @@ export {
India,
Ireland,
Israel,
Italy,
Japan,
Korea,
Netherlands,
Expand Down
10 changes: 10 additions & 0 deletions packages/icons/svg/preserveFill/italy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/ui-components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cockroachlabs/ui-components",
"version": "0.7.12",
"version": "0.7.13",
"description": "UI Components is a reusable component library. It provides the core components for the Cockroach design system.",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions packages/ui-components/src/Icon/Flag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const flagNameCountryCodeMap: Array<{
{ code: "idn", flag: "Indonesia" },
{ code: "irl", flag: "Ireland" },
{ code: "isr", flag: "Israel" },
{ code: "ita", flag: "Italy" },
{ code: "jpn", flag: "Japan" },
{ code: "kor", flag: "Korea" },
{ code: "nld", flag: "Netherlands" },
Expand Down
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d2d711a

Please sign in to comment.