Skip to content

Commit

Permalink
[add] Intl Segmenter polyfill (toeverything/intl-segmenter-polyfill-r…
Browse files Browse the repository at this point in the history
…s#18)

[fix] 3 URL bugs in Read Me document
[optimize] update Upstream packages
  • Loading branch information
TechQuery committed Jan 11, 2024
1 parent 7e31051 commit b8a9351
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 198 deletions.
27 changes: 13 additions & 14 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ self.importScripts('https://polyfill.web-cell.dev/feature/Regenerator.js');
## Add more polyfills

1. For **junior engineers**, you can [submit an issue][8] and wait for the maintainer reaction
2. For **senior engineers**, just [edit the Polyfill directory][9], and make a pull request
3. After your pull request reviewd & merged, the polyfills will be updated by [GitHub actions][10] automatically
2. For **senior engineers**, just [edit the Polyfill files][7], and make a pull request
3. After your pull request reviewd & merged, the polyfills will be updated by [GitHub actions][9] automatically

## Host your own mirror

1. Fork [this repository][11]
2. Replace original **HTTP domain** with yours in [GitHub action configuration][12]
3. You can replace [GitHub pages][13] with an **Object Storage service** (AWS S3, etc.)
1. Fork [this repository][10]
2. Replace original **HTTP domain** with yours in [GitHub action configuration][11]
3. You can replace [GitHub pages][12] with an **Object Storage service** (AWS S3, etc.)

### China mainland

Thanks for [KaiYuanShe][14]'s donation, we get a fast local mirror for China mainland:
Thanks for [KaiYuanShe][13]'s donation, we get a fast local mirror for China mainland:

> https://polyfill.kaiyuanshe.cn/
Expand All @@ -65,19 +65,18 @@ LAN_HOST=https://polyfill.example.kp
## Inspired by

1. https://polyfill.io/
2. https://polyfill.dev/
2. https://polyfiller.kaiyuanshe.cn/

[1]: https://en.wikipedia.org/wiki/Content_delivery_network
[2]: https://remysharp.com/2010/10/08/what-is-a-polyfill
[3]: https://www.typescriptlang.org/
[4]: https://nodejs.org/
[5]: https://www.jsdelivr.com/
[6]: https://github.com/EasyWebApp/Web-polyfill/actions/workflows/main.yml
[7]: https://github.com/EasyWebApp/Web-polyfill/blob/master/source/list.ts
[7]: https://github.com/EasyWebApp/Web-polyfill/blob/master/source/list
[8]: https://github.com/EasyWebApp/Web-polyfill/issues/new?assignees=TechQuery&labels=package&template=package.yml
[9]: https://github.com/EasyWebApp/Web-polyfill/edit/master/source/list.ts
[10]: https://github.com/features/actions
[11]: https://github.com/EasyWebApp/Web-polyfill
[12]: https://github.com/EasyWebApp/Web-polyfill/blob/master/.github/workflows/main.yml#L27
[13]: https://pages.github.com/
[14]: https://kaiyuanshe.cn/
[9]: https://github.com/features/actions
[10]: https://github.com/EasyWebApp/Web-polyfill
[11]: https://github.com/EasyWebApp/Web-polyfill/blob/master/.github/workflows/main.yml#L27
[12]: https://pages.github.com/
[13]: https://kaiyuanshe.cn/
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-polyfill",
"version": "0.6.5",
"version": "0.6.6",
"license": "AGPL-3.0",
"author": "[email protected]",
"description": "An automatic CDN service for Web polyfills, which is based on TypeScript, Node.js & JSDelivr.",
Expand All @@ -27,18 +27,18 @@
"dependencies": {
"@tech_query/node-toolkit": "^1.2.1",
"dotenv": "^16.3.1",
"fs-extra": "^11.1.1",
"fs-extra": "^11.2.0",
"koapache": "^2.2.2",
"marked": "^10.0.0"
"marked": "^11.1.1"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.18.9",
"@types/node": "^18.19.6",
"husky": "^8.0.3",
"lint-staged": "^15.1.0",
"prettier": "^3.1.0",
"tsx": "^4.1.3",
"typescript": "~5.2.2"
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"tsx": "^4.7.0",
"typescript": "~5.3.3"
},
"prettier": {
"singleQuote": true,
Expand Down
Loading

0 comments on commit b8a9351

Please sign in to comment.