Skip to content

Commit

Permalink
Version Packages (#41)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 27, 2024
1 parent 5f6340e commit c4cdc5e
Show file tree
Hide file tree
Showing 17 changed files with 82 additions and 59 deletions.
7 changes: 0 additions & 7 deletions .changeset/flat-rabbits-allow.md

This file was deleted.

16 changes: 0 additions & 16 deletions .changeset/tricky-bobcats-count.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/twelve-forks-cry.md

This file was deleted.

4 changes: 2 additions & 2 deletions examples/shared-library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"build": "tsx generate-icon-modules.mts && tshy && cp src/icons/*.svg dist/esm/icons"
},
"dependencies": {
"@svg-use/core": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.3.0"
"@svg-use/core": "workspace:^0.4.0",
"@svg-use/react": "workspace:^0.4.0"
},
"peerDependencies": {
"react": "^18"
Expand Down
4 changes: 2 additions & 2 deletions examples/vite-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"test:e2e": "playwright test"
},
"dependencies": {
"@svg-use/react": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"shared-library": "workspace:*"
},
"devDependencies": {
"@svg-use/vite": "workspace:^0.1.1",
"@svg-use/vite": "workspace:^0.1.2",
"@types/node": "^20",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/webpack-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
"test:e2e": "playwright test"
},
"dependencies": {
"@svg-use/react": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.4.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@svg-use/react": "workspace:^0.3.0",
"@svg-use/webpack": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.4.0",
"@svg-use/webpack": "workspace:^0.3.1",
"@swc-node/register": "1.10.9",
"@swc/core": "^1.7.6",
"@types/node": "20.14.14",
Expand Down
17 changes: 17 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# @svg-use/core

## 0.4.0

### Minor Changes

- 0ea4fd9: Breaking: `defaultThemeSubstitution` now takes an option object, so
its signature has changed to a factory:

```diff-js
const options = {
- getThemeSubstitutions: defaultThemeSubstitution
+ getThemeSubstitutions: defaultThemeSubstitution()
}
```

`defaultThemeSubstitution` now provides a `monochromeCssVarFallback` option,
to allow passing `currentColor` as the `var()` fallback.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svg-use/core",
"version": "0.3.0",
"version": "0.4.0",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
Expand Down
9 changes: 9 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @svg-use/react

## 0.4.0

### Minor Changes

- 05fa11e: Breaking change: `Props` now extend `SVGAttributes<SVGSVGElement>`
instead of `HTMLAttributes<SVGSVGElement>`. This should be _more_ permissive
in most practical SVG cases, but it might cause type errors with existing uses
of `ThemedExternalSvg`.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svg-use/react",
"version": "0.3.0",
"version": "0.4.0",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
Expand Down
10 changes: 10 additions & 0 deletions packages/rollup/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @svg-use/rollup

## 0.4.1

### Patch Changes

- 5f6340e: Make `@svg-use/react` a dependency of plugins.
- Updated dependencies [0ea4fd9]
- Updated dependencies [05fa11e]
- @svg-use/core@0.4.0
- @svg-use/react@0.4.0

## 0.4.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/rollup/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svg-use/rollup",
"version": "0.4.0",
"version": "0.4.1",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
Expand Down Expand Up @@ -47,8 +47,8 @@
},
"dependencies": {
"@rollup/pluginutils": "^5.1.0",
"@svg-use/core": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.3.0",
"@svg-use/core": "workspace:^0.4.0",
"@svg-use/react": "workspace:^0.4.0",
"rollup": "4.20.0"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions packages/vite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @svg-use/vite

## 0.1.2

### Patch Changes

- 5f6340e: Make `@svg-use/react` a dependency of plugins.
- Updated dependencies [5f6340e]
- @svg-use/rollup@0.4.1

## 0.1.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/vite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svg-use/vite",
"version": "0.1.1",
"version": "0.1.2",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
Expand Down Expand Up @@ -46,7 +46,7 @@
"test": "vitest --pass-with-no-tests"
},
"dependencies": {
"@svg-use/rollup": "workspace:^0.4.0"
"@svg-use/rollup": "workspace:^0.4.1"
},
"devDependencies": {
"@types/node": "20.16.1",
Expand Down
10 changes: 10 additions & 0 deletions packages/webpack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @svg-use/webpack

## 0.3.1

### Patch Changes

- 5f6340e: Make `@svg-use/react` a dependency of plugins.
- Updated dependencies [0ea4fd9]
- Updated dependencies [05fa11e]
- @svg-use/core@0.4.0
- @svg-use/react@0.4.0

## 0.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/webpack/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@svg-use/webpack",
"version": "0.3.0",
"version": "0.3.1",
"description": "Tools and bundler plugins for loading SVG images via use[href], for use in components.",
"license": "MIT",
"author": "Fotis Papadogeorgopoulos <[email protected]> (https://fotis.xyz)",
Expand Down Expand Up @@ -46,8 +46,8 @@
"test": "vitest"
},
"dependencies": {
"@svg-use/core": "workspace:^0.3.0",
"@svg-use/react": "workspace:^0.3.0",
"@svg-use/core": "workspace:^0.4.0",
"@svg-use/react": "workspace:^0.4.0",
"loader-utils": "^3.3.1"
},
"devDependencies": {
Expand Down
22 changes: 11 additions & 11 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 c4cdc5e

Please sign in to comment.