remove npm components of bootstrap-icons

This commit is contained in:
tekh 2025-09-04 19:01:41 +02:00
parent aa8f46a303
commit 86eb687296
6 changed files with 0 additions and 2307 deletions

View File

@ -41,8 +41,6 @@
<ItemGroup> <ItemGroup>
<None Include="bundleconfig.json" /> <None Include="bundleconfig.json" />
<None Include="wwwroot\lib\bootstrap-icons\bootstrap-icons.svg" />
<None Include="wwwroot\lib\bootstrap-icons\font\bootstrap-icons.scss" />
<None Include="wwwroot\lib\bootstrap-icons\font\fonts\bootstrap-icons.woff2" /> <None Include="wwwroot\lib\bootstrap-icons\font\fonts\bootstrap-icons.woff2" />
<None Include="wwwroot\lib\bootstrap-icons\icons\0-circle-fill.svg" /> <None Include="wwwroot\lib\bootstrap-icons\icons\0-circle-fill.svg" />
<None Include="wwwroot\lib\bootstrap-icons\icons\0-circle.svg" /> <None Include="wwwroot\lib\bootstrap-icons\icons\0-circle.svg" />
@ -2094,8 +2092,6 @@
<None Include="wwwroot\lib\bootstrap-icons\icons\youtube.svg" /> <None Include="wwwroot\lib\bootstrap-icons\icons\youtube.svg" />
<None Include="wwwroot\lib\bootstrap-icons\icons\zoom-in.svg" /> <None Include="wwwroot\lib\bootstrap-icons\icons\zoom-in.svg" />
<None Include="wwwroot\lib\bootstrap-icons\icons\zoom-out.svg" /> <None Include="wwwroot\lib\bootstrap-icons\icons\zoom-out.svg" />
<None Include="wwwroot\lib\bootstrap-icons\LICENSE" />
<None Include="wwwroot\lib\bootstrap-icons\README.md" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2019-2024 The Bootstrap Authors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -1,100 +0,0 @@
<p align="center">
<a href="https://getbootstrap.com/">
<img src="https://getbootstrap.com/docs/5.2/assets/brand/bootstrap-logo-shadow.png" alt="Bootstrap logo" width="200" height="165">
</a>
</p>
<h3 align="center">Bootstrap Icons</h3>
<p align="center">
Official open source SVG icon library for Bootstrap with over 2,000 icons.
<br>
<a href="https://icons.getbootstrap.com/"><strong>Explore Bootstrap Icons »</strong></a>
<br>
<br>
<a href="https://getbootstrap.com/">Bootstrap</a>
·
<a href="https://themes.getbootstrap.com/">Themes</a>
·
<a href="https://blog.getbootstrap.com/">Blog</a>
<br>
</p>
[![Bootstrap Icons preview](https://github.com/twbs/icons/blob/main/.github/preview.png)](https://icons.getbootstrap.com/)
## Install
Bootstrap Icons are packaged up and published to npm. We only include the processed SVGs in this package—it's up to you and your team to implement. [Read our docs](https://icons.getbootstrap.com/) for usage instructions.
```shell
npm i bootstrap-icons
```
For those [using Packagist](https://packagist.org/packages/twbs/bootstrap-icons), you can also install Bootstrap Icons via Composer:
```shell
composer require twbs/bootstrap-icons
```
[Also available in Figma](https://www.figma.com/community/file/1042482994486402696/Bootstrap-Icons).
## Usage
Depending on your setup, you can include Bootstrap Icons in a handful of ways.
- Copy-paste SVGs as embedded HTML
- Reference via `<img>` element
- Use the SVG sprite
- Include via CSS
[See the docs for more information](https://icons.getbootstrap.com/#usage).
## Development
[![Build Status](https://img.shields.io/github/actions/workflow/status/twbs/icons/test.yml?branch=main&label=Tests&logo=github)](https://github.com/twbs/icons/actions/workflows/test.yml?query=workflow%3ATests+branch%3Amain)
[![npm version](https://img.shields.io/npm/v/bootstrap-icons?logo=npm&logoColor=fff)](https://www.npmjs.com/package/bootstrap-icons)
Clone the repo, install dependencies, and start the Hugo server locally.
```shell
git clone https://github.com/twbs/icons/
cd icons
npm i
npm start
```
Then open `http://localhost:4000` in your browser.
### npm scripts
Here are some key scripts you'll use during development. Be sure to look to our `package.json` or `npm run` output for a complete list of scripts.
| Script | Description |
|--------------|-------------------------------------------------------------------------------|
| `start` | Alias for running `docs-serve` |
| `docs-serve` | Starts a local Hugo server |
| `pages` | Generates permalink pages for each icon with template Markdown |
| `icons` | Processes and optimizes SVGs in `icons` directory, generates fonts and sprite |
## Adding SVGs
Icons are typically only added by @mdo, but exceptions can be made. New glyphs are designed in Figma first on a 16x16px grid, then exported as flattened SVGs with `fill` (no stroke). Once a new SVG icon has been added to the `icons` directory, we use an npm script to:
1. Optimize our SVGs with SVGO.
2. Modify the SVGs source code, removing all attributes before setting new attributes and values in our preferred order.
Use `npm run icons` to run the script, run `npm run pages` to build permalink pages, complete those pages, and, finally, commit the results in a new branch for updating.
**Warning**: Please exclude any auto-generated files, like `font/**` and `bootstrap-icons.svg` from your branch because they cause conflicts, and we generally update the dist files before a release.
## Publishing
Documentation is published automatically when a new Git tag is published. See our [GitHub Actions](https://github.com/twbs/icons/tree/main/.github/workflows) and [`package.json`](https://github.com/twbs/icons/blob/main/package.json) for more information.
## License
[MIT](LICENSE)
## Author
[@mdo](https://github.com/mdo)

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 1.0 MiB

File diff suppressed because it is too large Load Diff

View File

@ -1,91 +0,0 @@
{
"name": "bootstrap-icons",
"version": "1.11.3",
"description": "Official open source SVG icon library for Bootstrap",
"author": "mdo",
"license": "MIT",
"homepage": "https://icons.getbootstrap.com/",
"repository": {
"type": "git",
"url": "git+https://github.com/twbs/icons.git"
},
"bugs": {
"url": "https://github.com/twbs/icons/issues"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/twbs"
},
{
"type": "opencollective",
"url": "https://opencollective.com/bootstrap"
}
],
"keywords": [
"bootstrap",
"icons",
"svg",
"font",
"sprite",
"woff",
"woff2"
],
"style": "font/bootstrap-icons.css",
"sass": "font/bootstrap-icons.scss",
"files": [
"icons/*.svg",
"bootstrap-icons.svg",
"font",
"!.DS_Store"
],
"hugo-bin": {
"buildTags": "extended"
},
"scripts": {
"start": "npm run docs-serve",
"docs-serve": "hugo server --port 4000 --disableFastRender",
"docs-build": "hugo --cleanDestinationDir --printUnusedTemplates",
"docs-test": "npm-run-all docs-build docs-test:vnu",
"docs-test:vnu": "node build/vnu-jar.mjs",
"pages": "node build/build-pages.mjs",
"icons": "npm-run-all icons-main --aggregate-output --parallel icons-sprite icons-font",
"icons-main": "node build/build-svgs.mjs",
"icons-zip": "cross-env-shell \"rm -rf bootstrap-icons-$npm_package_version bootstrap-icons-$npm_package_version.zip && cp -r icons/ bootstrap-icons-$npm_package_version && cp bootstrap-icons.svg bootstrap-icons-$npm_package_version && cp -r font/ bootstrap-icons-$npm_package_version && zip -qr9 bootstrap-icons-$npm_package_version.zip bootstrap-icons-$npm_package_version && rm -rf bootstrap-icons-$npm_package_version\"",
"icons-sprite": "svg-sprite --config svg-sprite.json --log=info \"icons/*.svg\"",
"icons-font": "npm-run-all icons-font-*",
"icons-font-main": "fantasticon",
"icons-font-min": "cleancss -O1 --format breakWith=lf --with-rebase --output font/bootstrap-icons.min.css font/bootstrap-icons.css",
"release": "npm-run-all icons docs-build icons-zip",
"release-version": "node build/bump-version.mjs",
"netlify": "cross-env-shell HUGO_BASEURL=$DEPLOY_PRIME_URL npm-run-all icons docs-build",
"test:fusv": "fusv docs/assets/scss/",
"test:eslint": "eslint --cache --cache-location .cache/.eslintcache --report-unused-disable-directives --ext .js,.mjs .",
"test:stylelint": "stylelint docs/assets/scss/ --cache --cache-location .cache/.stylelintcache",
"test:lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
"test:check-icons": "node build/check-icons.mjs",
"test": "npm-run-all --parallel --aggregate-output --continue-on-error test:*"
},
"devDependencies": {
"@twbs/fantasticon": "^2.7.2",
"autoprefixer": "^10.4.16",
"bootstrap": "^5.3.2",
"clean-css-cli": "^5.6.3",
"clipboard": "^2.0.11",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"find-unused-sass-variables": "^5.0.0",
"fuse.js": "^7.0.0",
"hugo-bin": "^0.118.0",
"lockfile-lint": "^4.12.1",
"npm-run-all2": "^6.1.1",
"picocolors": "^1.0.0",
"postcss": "^8.4.32",
"postcss-cli": "^11.0.0",
"stylelint": "^16.1.0",
"stylelint-config-twbs-bootstrap": "^13.0.0",
"svg-sprite": "^3.0.0-beta3",
"svgo": "^3.2.0",
"vnu-jar": "23.4.11"
}
}