Skip to content

Commit 3b7216a

Browse files
committed
fix: add rollup analyze
1 parent dd14c24 commit 3b7216a

File tree

4 files changed

+13
-109
lines changed

4 files changed

+13
-109
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# @quranjs/api
66

7-
A library for fetching quran data from the quran.com API. It is a wrapper around the [quran.com API](https://quran.api-docs.io/). This library also works in both Node.js and the browser.
7+
A library for fetching quran data from the [quran.com API](https://quran.api-docs.io/). This library also works on both Node.js and the browser.
88

99
## Installation
1010

dts.config.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const alias = require('@rollup/plugin-alias');
22
const resolve = require('@rollup/plugin-node-resolve').nodeResolve;
3-
const buble = require('rollup-plugin-buble');
4-
const sizes = require('rollup-plugin-sizes');
3+
const analyze = require('rollup-plugin-analyzer');
54
const path = require('path');
65

76
const customResolver = resolve({
@@ -15,8 +14,7 @@ const plugins = [
1514
customResolver,
1615
}),
1716
resolve(),
18-
buble(),
19-
sizes(),
17+
analyze(),
2018
];
2119

2220
module.exports = {

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"dts-cli": "^1.4.0",
3333
"husky": "^7.0.4",
3434
"msw": "^0.39.2",
35-
"rollup-plugin-buble": "^0.19.8",
36-
"rollup-plugin-sizes": "^1.0.4",
35+
"rollup-plugin-analyzer": "^4.0.0",
3736
"size-limit": "^7.0.8",
3837
"tslib": "^2.3.1",
3938
"typescript": "^4.6.2"
@@ -47,11 +46,11 @@
4746
"size-limit": [
4847
{
4948
"path": "dist/api.cjs.production.min.js",
50-
"limit": "10 KB"
49+
"limit": "15 KB"
5150
},
5251
{
5352
"path": "dist/api.esm.js",
54-
"limit": "10 KB"
53+
"limit": "15 KB"
5554
}
5655
],
5756
"engines": {

yarn.lock

Lines changed: 7 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -1613,11 +1613,6 @@ abab@^2.0.3, abab@^2.0.5:
16131613
resolved "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz"
16141614
integrity sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==
16151615

1616-
acorn-dynamic-import@^4.0.0:
1617-
version "4.0.0"
1618-
resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948"
1619-
integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw==
1620-
16211616
acorn-globals@^6.0.0:
16221617
version "6.0.0"
16231618
resolved "https://registry.yarnpkg.com/acorn-globals/-/acorn-globals-6.0.0.tgz#46cdd39f0f8ff08a876619b55f5ac8a6dc770b45"
@@ -1626,7 +1621,7 @@ acorn-globals@^6.0.0:
16261621
acorn "^7.1.1"
16271622
acorn-walk "^7.1.1"
16281623

1629-
acorn-jsx@^5.0.1, acorn-jsx@^5.3.1:
1624+
acorn-jsx@^5.3.1:
16301625
version "5.3.2"
16311626
resolved "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz"
16321627
integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==
@@ -1641,11 +1636,6 @@ acorn-walk@^8.1.1:
16411636
resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1"
16421637
integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==
16431638

1644-
acorn@^6.1.1:
1645-
version "6.4.2"
1646-
resolved "https://registry.yarnpkg.com/acorn/-/acorn-6.4.2.tgz#35866fd710528e92de10cf06016498e47e39e1e6"
1647-
integrity sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==
1648-
16491639
acorn@^7.1.1:
16501640
version "7.4.1"
16511641
resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz"
@@ -2009,20 +1999,6 @@ bser@2.1.1:
20091999
dependencies:
20102000
node-int64 "^0.4.0"
20112001

2012-
buble@^0.19.8:
2013-
version "0.19.8"
2014-
resolved "https://registry.yarnpkg.com/buble/-/buble-0.19.8.tgz#d642f0081afab66dccd897d7b6360d94030b9d3d"
2015-
integrity sha512-IoGZzrUTY5fKXVkgGHw3QeXFMUNBFv+9l8a4QJKG1JhG3nCMHTdEX1DCOg8568E2Q9qvAQIiSokv6Jsgx8p2cA==
2016-
dependencies:
2017-
acorn "^6.1.1"
2018-
acorn-dynamic-import "^4.0.0"
2019-
acorn-jsx "^5.0.1"
2020-
chalk "^2.4.2"
2021-
magic-string "^0.25.3"
2022-
minimist "^1.2.0"
2023-
os-homedir "^2.0.0"
2024-
regexpu-core "^4.5.4"
2025-
20262002
buffer-from@^1.0.0:
20272003
version "1.1.2"
20282004
resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz"
@@ -2082,7 +2058,7 @@ chalk@4.1.1:
20822058
ansi-styles "^4.1.0"
20832059
supports-color "^7.1.0"
20842060

2085-
chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2:
2061+
chalk@^2.0.0, chalk@^2.4.1:
20862062
version "2.4.2"
20872063
resolved "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz"
20882064
integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
@@ -2991,11 +2967,6 @@ estraverse@^5.1.0, estraverse@^5.2.0, estraverse@^5.3.0:
29912967
resolved "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz"
29922968
integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==
29932969

2994-
estree-walker@^0.6.1:
2995-
version "0.6.1"
2996-
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"
2997-
integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==
2998-
29992970
estree-walker@^1.0.1:
30002971
version "1.0.1"
30012972
resolved "https://registry.npmjs.org/estree-walker/-/estree-walker-1.0.1.tgz"
@@ -3134,11 +3105,6 @@ file-entry-cache@^6.0.1:
31343105
dependencies:
31353106
flat-cache "^3.0.4"
31363107

3137-
filesize@^6.0.1:
3138-
version "6.4.0"
3139-
resolved "https://registry.yarnpkg.com/filesize/-/filesize-6.4.0.tgz#914f50471dd66fdca3cefe628bd0cde4ef769bcd"
3140-
integrity sha512-mjFIpOHC4jbfcTfoh4rkWpI31mF7viw9ikj/JyLoKzqlwG/YsefKfvYlYhdYdg/9mtK2z1AzgN/0LvVQ3zdlSQ==
3141-
31423108
fill-range@^7.0.1:
31433109
version "7.0.1"
31443110
resolved "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz"
@@ -4459,7 +4425,7 @@ lru-cache@^6.0.0:
44594425
dependencies:
44604426
yallist "^4.0.0"
44614427

4462-
magic-string@^0.25.3, magic-string@^0.25.7:
4428+
magic-string@^0.25.7:
44634429
version "0.25.9"
44644430
resolved "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz"
44654431
integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==
@@ -4549,11 +4515,6 @@ mkdirp@^1.0.4:
45494515
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"
45504516
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
45514517

4552-
module-details-from-path@^1.0.3:
4553-
version "1.0.3"
4554-
resolved "https://registry.yarnpkg.com/module-details-from-path/-/module-details-from-path-1.0.3.tgz#114c949673e2a8a35e9d35788527aa37b679da2b"
4555-
integrity sha1-EUyUlnPiqKNenTV4hSeqN7Z52is=
4556-
45574518
mri@^1.1.0:
45584519
version "1.2.0"
45594520
resolved "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz"
@@ -4783,11 +4744,6 @@ ora@^5.4.1:
47834744
strip-ansi "^6.0.0"
47844745
wcwidth "^1.0.1"
47854746

4786-
os-homedir@^2.0.0:
4787-
version "2.0.0"
4788-
resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-2.0.0.tgz#a0c76bb001a8392a503cbd46e7e650b3423a923c"
4789-
integrity sha512-saRNz0DSC5C/I++gFIaJTXoFJMRwiP5zHar5vV3xQ2TkgEw6hDCcU5F272JjUylpiVgBrZNQHnfjkLabTfb92Q==
4790-
47914747
os-tmpdir@~1.0.2:
47924748
version "1.0.2"
47934749
resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
@@ -5102,13 +5058,6 @@ regenerate-unicode-properties@^10.0.1:
51025058
dependencies:
51035059
regenerate "^1.4.2"
51045060

5105-
regenerate-unicode-properties@^9.0.0:
5106-
version "9.0.0"
5107-
resolved "https://registry.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-9.0.0.tgz#54d09c7115e1f53dc2314a974b32c1c344efe326"
5108-
integrity sha512-3E12UeNSPfjrgwjkR81m5J7Aw/T55Tu7nUyZVQYCKEOs+2dkxEY+DpPtZzO4YruuiPb7NkYLVcyJC4+zCbk5pA==
5109-
dependencies:
5110-
regenerate "^1.4.2"
5111-
51125061
regenerate@^1.4.2:
51135062
version "1.4.2"
51145063
resolved "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz"
@@ -5139,18 +5088,6 @@ regexpp@^3.2.0:
51395088
resolved "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz"
51405089
integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
51415090

5142-
regexpu-core@^4.5.4:
5143-
version "4.8.0"
5144-
resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-4.8.0.tgz#e5605ba361b67b1718478501327502f4479a98f0"
5145-
integrity sha512-1F6bYsoYiz6is+oz70NWur2Vlh9KWtswuRuzJOfeYUrfPX2o8n74AnUVaOGDbUqVGO9fNHu48/pjJO4sNVwsOg==
5146-
dependencies:
5147-
regenerate "^1.4.2"
5148-
regenerate-unicode-properties "^9.0.0"
5149-
regjsgen "^0.5.2"
5150-
regjsparser "^0.7.0"
5151-
unicode-match-property-ecmascript "^2.0.0"
5152-
unicode-match-property-value-ecmascript "^2.0.0"
5153-
51545091
regexpu-core@^5.0.1:
51555092
version "5.0.1"
51565093
resolved "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.0.1.tgz"
@@ -5163,23 +5100,11 @@ regexpu-core@^5.0.1:
51635100
unicode-match-property-ecmascript "^2.0.0"
51645101
unicode-match-property-value-ecmascript "^2.0.0"
51655102

5166-
regjsgen@^0.5.2:
5167-
version "0.5.2"
5168-
resolved "https://registry.yarnpkg.com/regjsgen/-/regjsgen-0.5.2.tgz#92ff295fb1deecbf6ecdab2543d207e91aa33733"
5169-
integrity sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==
5170-
51715103
regjsgen@^0.6.0:
51725104
version "0.6.0"
51735105
resolved "https://registry.npmjs.org/regjsgen/-/regjsgen-0.6.0.tgz"
51745106
integrity sha512-ozE883Uigtqj3bx7OhL1KNbCzGyW2NQZPl6Hs09WTvCuZD5sTI4JY58bkbQWa/Y9hxIsvJ3M8Nbf7j54IqeZbA==
51755107

5176-
regjsparser@^0.7.0:
5177-
version "0.7.0"
5178-
resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.7.0.tgz#a6b667b54c885e18b52554cb4960ef71187e9968"
5179-
integrity sha512-A4pcaORqmNMDVwUjWoTzuhwMGpP+NykpfqAsEgI1FSH/EzC7lrN5TMd+kN8YCovX+jMpu8eaqXgXPCa0g8FQNQ==
5180-
dependencies:
5181-
jsesc "~0.5.0"
5182-
51835108
regjsparser@^0.8.2:
51845109
version "0.8.4"
51855110
resolved "https://registry.npmjs.org/regjsparser/-/regjsparser-0.8.4.tgz"
@@ -5259,13 +5184,10 @@ rimraf@^3.0.0, rimraf@^3.0.2:
52595184
dependencies:
52605185
glob "^7.1.3"
52615186

5262-
rollup-plugin-buble@^0.19.8:
5263-
version "0.19.8"
5264-
resolved "https://registry.yarnpkg.com/rollup-plugin-buble/-/rollup-plugin-buble-0.19.8.tgz#f9232e2bb62a7573d04f9705c1bd6f02c2a02c6a"
5265-
integrity sha512-8J4zPk2DQdk3rxeZvxgzhHh/rm5nJkjwgcsUYisCQg1QbT5yagW+hehYEW7ZNns/NVbDCTv4JQ7h4fC8qKGOKw==
5266-
dependencies:
5267-
buble "^0.19.8"
5268-
rollup-pluginutils "^2.3.3"
5187+
rollup-plugin-analyzer@^4.0.0:
5188+
version "4.0.0"
5189+
resolved "https://registry.yarnpkg.com/rollup-plugin-analyzer/-/rollup-plugin-analyzer-4.0.0.tgz#96b757ed64a098b59d72f085319e68cdd86d5798"
5190+
integrity sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==
52695191

52705192
rollup-plugin-delete@^2.0.0:
52715193
version "2.0.0"
@@ -5283,14 +5205,6 @@ rollup-plugin-dts@^4.1.0:
52835205
optionalDependencies:
52845206
"@babel/code-frame" "^7.16.7"
52855207

5286-
rollup-plugin-sizes@^1.0.4:
5287-
version "1.0.4"
5288-
resolved "https://registry.yarnpkg.com/rollup-plugin-sizes/-/rollup-plugin-sizes-1.0.4.tgz#a395699c69740b3075836893dbc7ee95c9ded02e"
5289-
integrity sha512-sZtFW+X/d4qytqFG6aKxhUj5aJadxOpMZbDrB9j9GpMKrXy2jt4RD/xbfnagbSbH+0q1kBcNd8L9tuoETjOu6g==
5290-
dependencies:
5291-
filesize "^6.0.1"
5292-
module-details-from-path "^1.0.3"
5293-
52945208
rollup-plugin-sourcemaps@^0.6.3:
52955209
version "0.6.3"
52965210
resolved "https://registry.npmjs.org/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz"
@@ -5321,13 +5235,6 @@ rollup-plugin-typescript2@^0.31.2:
53215235
resolve "^1.20.0"
53225236
tslib "^2.3.1"
53235237

5324-
rollup-pluginutils@^2.3.3:
5325-
version "2.8.2"
5326-
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
5327-
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
5328-
dependencies:
5329-
estree-walker "^0.6.1"
5330-
53315238
rollup@^2.66.0:
53325239
version "2.70.1"
53335240
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.70.1.tgz#824b1f1f879ea396db30b0fc3ae8d2fead93523e"

0 commit comments

Comments
 (0)