Skip to content

Commit

Permalink
[migrate] update FontAwesome Icon & Media Object components
Browse files Browse the repository at this point in the history
[fix] several detail bugs
[optimize] upgrade to PNPM 9 & other latest Upstream packages
[remove] QRCode utility method
  • Loading branch information
TechQuery committed Jun 12, 2024
1 parent 0c1e219 commit 18ef29d
Show file tree
Hide file tree
Showing 17 changed files with 3,916 additions and 3,368 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
8 changes: 2 additions & 6 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[Web Components][1] UI library based on [WebCell v3][2], [BootStrap v5][3], [BootStrap Icon v1][4] & [FontAwesome v6][5]

[![NPM Dependency](https://img.shields.io/librariesio/github/EasyWebApp/WebCell.svg)][6]
[![NPM Dependency](https://img.shields.io/librariesio/github/EasyWebApp/BootCell.svg)][6]
[![CI & CD](https://github.com/EasyWebApp/BootCell/actions/workflows/main.yml/badge.svg)][7]

[![Anti 996 license](https://img.shields.io/badge/license-Anti%20996-blue.svg)][8]
Expand Down Expand Up @@ -63,7 +63,7 @@ npm install parcel @parcel/config-default @parcel/transformer-typescript-tsc -D
```html
<link
rel="stylesheet"
href="https://unpkg.com/bootstrap@5.3.2/dist/css/bootstrap.min.css"
href="https://unpkg.com/bootstrap@5.3.3/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
Expand Down Expand Up @@ -179,10 +179,6 @@ npm install parcel @parcel/config-default @parcel/transformer-typescript-tsc -D
8. [Position](https://web-cell.dev/BootCell/enums/utility_constant.position.html)
9. [JustifyType](https://web-cell.dev/BootCell/enums/utility_constant.justifytype.html)

## Utilities

1. [encodeQRC](https://web-cell.dev/BootCell/modules/utility_qrcode.html#encodeqrc)

## Theme

Replace **BootStrap official CSS** file with these 3th-party libraries's directly:
Expand Down
44 changes: 21 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "boot-cell",
"version": "2.0.0-beta.13",
"version": "2.0.0-beta.23",
"license": "LGPL-3.0",
"author": "shiy2008@gmail.com",
"description": "Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6",
Expand All @@ -24,17 +24,16 @@
"main": "dist/index.js",
"module": "dist/index.esm.js",
"dependencies": {
"@swc/helpers": "^0.5.6",
"@swc/helpers": "^0.5.11",
"classnames": "^2.5.1",
"dom-renderer": "^2.1.1",
"mobx": "^6.12.0",
"dom-renderer": "^2.1.7",
"mobx": "^6.12.3",
"regenerator-runtime": "^0.14.1",
"web-cell": "^3.0.0-rc.10",
"web-utility": "^4.1.3"
"web-cell": "^3.0.0-rc.15",
"web-utility": "^4.4.0"
},
"peerDependencies": {
"@fortawesome/fontawesome-free": "^6",
"@nuintun/qrcode": "^3",
"bootstrap": "^5",
"bootstrap-icons": "^1",
"dialog-polyfill": "^0.5",
Expand All @@ -43,35 +42,34 @@
},
"devDependencies": {
"@jest/types": "^29.6.3",
"@nuintun/qrcode": "^3.4.0",
"@parcel/config-default": "^2.11.0",
"@parcel/packager-ts": "~2.11.0",
"@parcel/transformer-less": "~2.11.0",
"@parcel/transformer-typescript-tsc": "^2.11.0",
"@parcel/transformer-typescript-types": "~2.11.0",
"@peculiar/webcrypto": "^1.4.5",
"@parcel/config-default": "^2.12.0",
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-less": "~2.12.0",
"@parcel/transformer-typescript-tsc": "^2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@peculiar/webcrypto": "^1.5.0",
"@tech_query/snabbdom-looks-like": "^2.0.1",
"@types/classnames": "^2.3.1",
"@types/jest": "^29.5.12",
"@types/resize-observer-browser": "^0.1.11",
"@types/turndown": "^5.0.4",
"cross-env": "^7.0.3",
"element-internals-polyfill": "^1.3.10",
"husky": "^9.0.10",
"element-internals-polyfill": "^1.3.11",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"iterable-observer": "^1.0.1",
"jest": "^29.7.0",
"less": "^4.2.0",
"lint-staged": "^15.2.2",
"lint-staged": "^15.2.6",
"markdown-area-element": "^0.2.3",
"open-cli": "^8.0.0",
"parcel": "~2.11.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.2",
"parcel": "~2.12.0",
"prettier": "^3.3.2",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"typedoc": "^0.25.7",
"typedoc-plugin-mdn-links": "^3.1.15",
"typescript": "~5.3.3"
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.29",
"typescript": "~5.4.5"
},
"scripts": {
"prepare": "husky",
Expand Down
Loading

0 comments on commit 18ef29d

Please sign in to comment.