From abb5a1add2b706520d0d9d6f023297761e64e1c7 Mon Sep 17 00:00:00 2001 From: Xavier Stouder Date: Mon, 9 Jan 2023 22:31:23 +0100 Subject: [PATCH 1/2] fix: temporary fix MaxCDN outage (#581) * fix: temporary fix * fix: update yarn command line in build script --- .gitignore | 7 + .yarnrc.yml | 1 + README.md | 2 +- index.d.ts | 2 +- index.html | 2 +- scripts/build.js | 2 +- scripts/create-dist | 4 +- src/test/preview-svg.html | 2 +- src/test/test.js | 2 +- yarn.lock | 2509 +++++++++++++++++++++---------------- 10 files changed, 1461 insertions(+), 1072 deletions(-) create mode 100644 .yarnrc.yml diff --git a/.gitignore b/.gitignore index 7a745edb..ecfe4ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,10 @@ node_modules/ build dist/ .npmrc +.yarn/* +!.yarn/cache +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions \ No newline at end of file diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 00000000..3186f3f0 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/README.md b/README.md index 751463cb..d302f28a 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This guarantees that you will always use the latest version of the library. If, instead, you'd like to include the latest version explicitly, you can add the following tag: ```html - + ``` ### Download diff --git a/index.d.ts b/index.d.ts index 4b7455ae..da76b2ce 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,7 +13,7 @@ export type ReplacerFunction = (substring: string, ...args: any[]) => string; export type TwemojiOptions = { /** - * Default: MaxCDN + * Default: Cloudflare */ base?: string; /** diff --git a/index.html b/index.html index d8e46dfe..6649d817 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@

Code licensed under MIT. Graphics licensed under CC-BY

- + +