Skip to content

Commit

Permalink
fixes icon import issue and bumps version (#360)
Browse files Browse the repository at this point in the history
## 📝 Changes

### Issue

currently icons cant be imported from `@easypost/easy-ui-icons`
https://www.npmjs.com/package/@easypost/easy-ui-icons?activeTab=code .
we've identified that it might be caused by specifying the `files` prop
in `package.json` in the `easy-ui-icons` project. unfortunately, i was
unable to test this scenario using `npm pack/publish` with `--dry-run`
and it seemed unwise to preform trial and error and bump versions. i
created a _roughly_ equivalent scenario to test by forking `easy-ui`:

<img width="924" alt="fork"
src="https://github.com/EasyPost/easy-ui/assets/44451175/28a97ac6-3288-4567-a2f6-f3315226f99e">
  • Loading branch information
OskiTheCoder authored Jun 30, 2023
1 parent 1bdf32b commit f7e6ec7
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@
"curly-poems-attend",
"empty-carrots-smash",
"empty-pandas-matter",
"forty-books-peel",
"fresh-kids-peel",
"large-cows-destroy",
"metal-comics-clap",
"new-balloons-breathe",
"rich-keys-guess",
"shaggy-bats-hope",
"six-monkeys-chew",
"small-dodos-sniff",
"small-houses-confess",
"smooth-seahorses-drive",
"strange-olives-deliver",
"ten-toes-grin",
"tricky-dogs-live",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/smooth-seahorses-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@easypost/easy-ui-icons": minor
---

Adds CopyContent and MoreVert icons
7 changes: 7 additions & 0 deletions easy-ui-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @easypost/easy-ui-icons

## 1.0.0-alpha.5

### Minor Changes

- 1bdf32b: Add `Select` component
- Adds CopyContent and MoreVert icons

## 1.0.0-alpha.4

### Minor Changes
Expand Down
5 changes: 1 addition & 4 deletions easy-ui-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@easypost/easy-ui-icons",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"exports": {
"./*": {
"types": "./dist/*.d.ts",
Expand All @@ -9,9 +9,6 @@
},
"./svg/*.svg": "./dist/svg/*.svg"
},
"files": [
"dist/*"
],
"publishConfig": {
"access": "public",
"directory": "dist"
Expand Down
5 changes: 5 additions & 0 deletions easy-ui-icons/src/ContentCopy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "content_copy",
"style": "outlined",
"source": "@material-symbols/svg-300"
}
5 changes: 5 additions & 0 deletions easy-ui-icons/src/MoreVert.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "more_vert",
"style": "outlined",
"source": "@material-symbols/svg-300"
}
13 changes: 13 additions & 0 deletions easy-ui-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# @easypost/easy-ui

## 1.0.0-alpha.5

### Minor Changes

- 1bdf32b: Add `Select` component

### Patch Changes

- 88673e3: Add layout primitive stories
- Updated dependencies [1bdf32b]
- Updated dependencies
- @easypost/easy-ui-icons@1.0.0-alpha.5

## 1.0.0-alpha.4

### Minor Changes
Expand Down
4 changes: 2 additions & 2 deletions easy-ui-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@easypost/easy-ui",
"version": "1.0.0-alpha.4",
"version": "1.0.0-alpha.5",
"exports": {
"./*": {
"types": "./dist/*.d.ts",
Expand Down Expand Up @@ -29,7 +29,7 @@
"test:watch": "vitest"
},
"dependencies": {
"@easypost/easy-ui-icons": "1.0.0-alpha.4",
"@easypost/easy-ui-icons": "1.0.0-alpha.5",
"@easypost/easy-ui-tokens": "1.0.0-alpha.3",
"@react-aria/toast": "^3.0.0-beta.2",
"@react-aria/utils": "^3.18.0",
Expand Down

0 comments on commit f7e6ec7

Please sign in to comment.