Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<img src="https://img.shields.io/npm/v/bootstrap-icons-vue?color=blue" alt="NPM">
</a>
<a href="https://icons.getbootstrap.com/">
<img src="https://img.shields.io/badge/Bootstrap%20Icons-1.11.3-blueviolet" alt="Bootstrap Icons">
<img src="https://img.shields.io/badge/Bootstrap%20Icons-1.13.1-blueviolet" alt="Bootstrap Icons">
</a>
<a href="https://github.com/vuejs/vue-next">
<img src="https://img.shields.io/badge/Vue.js-3.x-success" alt="Vue JS">
Expand All @@ -17,7 +17,7 @@

This library provides Bootstrap icons as Vue 3.x components.

Built from Bootstrap Icons v1.11.3.
Built from Bootstrap Icons v1.13.1.

## Installation

Expand All @@ -33,7 +33,7 @@ Alternatively, you can use them straight from a CDN without installation.

```html
<script src="https://unpkg.com/vue@3.2.23"></script>
<script src="https://unpkg.com/bootstrap-icons-vue@1.11.3"></script>
<script src="https://unpkg.com/bootstrap-icons-vue@1.13.1"></script>
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions dev-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"build": "vite build"
},
"dependencies": {
"vue": "~3.4.15"
"vue": "~3.5.22"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.0.3",
"@vue/compiler-sfc": "^3.4.15",
"vite": "^5.0.12"
"@vitejs/plugin-vue": "^6.0.1",
"@vue/compiler-sfc": "^3.5.22",
"vite": "^7.1.8"
}
}
817 changes: 469 additions & 348 deletions dev-vite/yarn.lock

Large diffs are not rendered by default.

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-icons-vue",
"version": "1.11.3",
"version": "1.13.1",
"description": "Bootstrap icons as Vue components.",
"author": "Thomas Ip <thomas@ipthomas.com>",
"license": "MIT",
Expand Down Expand Up @@ -36,21 +36,21 @@
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"bootstrap-icons": "^1.11.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.20.1",
"@rollup/plugin-typescript": "^12.1.4",
"@typescript-eslint/eslint-plugin": "^8.45.0",
"@typescript-eslint/parser": "^8.45.0",
"bootstrap-icons": "^1.13.1",
"eslint": "^9.36.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-vue": "^10.5.0",
"http-server": "^14.1.0",
"prettier": "^3.2.4",
"rollup": "^4.9.6",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vue": "^3.4.15",
"vue-eslint-parser": "^9.4.2"
"prettier": "^3.6.2",
"rollup": "^4.52.3",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"vue": "^3.5.22",
"vue-eslint-parser": "^10.2.0"
},
"files": [
"/dist"
Expand Down
128 changes: 120 additions & 8 deletions src/icons.ts

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions upgrade.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
#!/usr/bin/env bash

set -euo pipefail

function version_of() {
echo "$(awk "match(\$0, \"\\\"$1\\\": \\\"(.+)\\\"\", m) {print m[1]}" package.json)"
echo "$(node -p "require('./package.json')$1")"
}

LIB_CURRENT="$(version_of 'version')"
LIB_CURRENT="$(version_of '.version')"
LIB_NEXT="$1"
if [[ -z "$LIB_NEXT" ]]; then
echo "Missing version argument"
exit 1
fi

BICON_CURRENT="$(version_of 'bootstrap-icons')"
BICON_CURRENT="$(version_of ".devDependencies['bootstrap-icons']")"

echo "Upgrading from v$LIB_CURRENT to v$LIB_NEXT..."

Expand All @@ -22,7 +24,7 @@ pushd dev-vite
yarn upgrade --latest || { echo '`yarn upgrade` failed'; exit 1; }
popd

BICON_NEXT="$(version_of 'bootstrap-icons')"
BICON_NEXT="$(version_of ".devDependencies['bootstrap-icons']")"

sed -i "s/$LIB_CURRENT/$LIB_NEXT/g" package.json README.md

Expand Down
Loading