Skip to content

Commit

Permalink
refactor: migrate codebase to TypeScript
Browse files Browse the repository at this point in the history
  • Loading branch information
yobacca committed Nov 13, 2022
1 parent c2199b0 commit f8e2b0a
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 1 deletion.
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"format": "prettier --ignore-path .eslintignore --write src",
"lint": "eslint src",
"test": "cross-env TZ=UTC jest src",
"size": "filesize",
"prepublishOnly": "yarn build",
"prepare": "husky install"
},
Expand Down Expand Up @@ -62,6 +63,7 @@
"homepage": "https://yobacca.github.io/natural-orderby",
"dependencies": {},
"devDependencies": {
"@ampproject/filesize": "^4.3.0",
"@babel/core": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-modules": "^0.1.5",
Expand Down Expand Up @@ -106,5 +108,13 @@
},
"engines": {
"node": ">=18"
},
"filesize": {
"./dist/umd/natural-orderby.production.min.js": {
"none": "5.5 kB"
},
"./dist/natural-orderby.production.min.js": {
"none": "4.6 kB"
}
}
}
45 changes: 44 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# yarn lockfile v1


"@ampproject/filesize@^4.3.0":
version "4.3.0"
resolved "https://registry.yarnpkg.com/@ampproject/filesize/-/filesize-4.3.0.tgz#5a7226fb57333c18de4043c7fb606b86b73ac64d"
integrity sha512-ruXED0Xv1gg7STkhs32k+qKFg4eMnnYLjPZ5PhJbYG5Klf9TvcJlVrjjVpbo17gl3pp5mKLSFxbRrI7Le8vaRQ==
dependencies:
"@kristoferbaxter/async" "1.0.0"
"@kristoferbaxter/bytes" "0.1.2"
"@kristoferbaxter/kleur" "4.0.2"
fast-glob "3.2.5"
mri "1.1.6"

"@ampproject/remapping@^2.1.0":
version "2.2.0"
resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d"
Expand Down Expand Up @@ -1619,6 +1630,21 @@
"@jridgewell/resolve-uri" "3.1.0"
"@jridgewell/sourcemap-codec" "1.4.14"

"@kristoferbaxter/async@1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@kristoferbaxter/async/-/async-1.0.0.tgz#33c8e8c6b055f15f4ee8a711b9594336a6fb1671"
integrity sha512-CAQQQ8mUUBKI2P7stYojHwHb+ShdFN8SrC90/96V4m2XlDSctXAA+5PD5CqCICs0o5c/83cYJCeub+FSetKLrw==

"@kristoferbaxter/bytes@0.1.2":
version "0.1.2"
resolved "https://registry.yarnpkg.com/@kristoferbaxter/bytes/-/bytes-0.1.2.tgz#e682edcbbde50fb021e3d50f0e80a9dd58f76c23"
integrity sha512-jEnik0TVc+nxANari0ZQ+4dZYxxA3HTcK9OVglK8kptsczKpW7I7AVCjKcfujTi8V3qrd9oklr8fJAzA4FjWDA==

"@kristoferbaxter/kleur@4.0.2":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@kristoferbaxter/kleur/-/kleur-4.0.2.tgz#1ead84dbe6e51b8933bd6504ccdc2c115fa0f2b4"
integrity sha512-qZzvfOCXECWaCv3GDOd0uw2iqY+/VqMKvrAu1ufwZNjZEVSMjrFWpeQa+8UnezFOtaBF1FxnzN1Y3u42doK01g==

"@manypkg/find-root@^1.1.0":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@manypkg/find-root/-/find-root-1.1.0.tgz#a62d8ed1cd7e7d4c11d9d52a8397460b5d4ad29f"
Expand Down Expand Up @@ -3430,6 +3456,18 @@ fast-diff@^1.1.2:
resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03"
integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==

fast-glob@3.2.5:
version "3.2.5"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661"
integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==
dependencies:
"@nodelib/fs.stat" "^2.0.2"
"@nodelib/fs.walk" "^1.2.3"
glob-parent "^5.1.0"
merge2 "^1.3.0"
micromatch "^4.0.2"
picomatch "^2.2.1"

fast-glob@^3.0.3, fast-glob@^3.2.9:
version "3.2.12"
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80"
Expand Down Expand Up @@ -3663,7 +3701,7 @@ git-raw-commits@^2.0.0:
split2 "^3.0.0"
through2 "^4.0.0"

glob-parent@^5.1.2, glob-parent@~5.1.2:
glob-parent@^5.1.0, glob-parent@^5.1.2, glob-parent@~5.1.2:
version "5.1.2"
resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
Expand Down Expand Up @@ -5024,6 +5062,11 @@ mixme@^0.5.1:
resolved "https://registry.yarnpkg.com/mixme/-/mixme-0.5.4.tgz#8cb3bd0cd32a513c161bf1ca99d143f0bcf2eff3"
integrity sha512-3KYa4m4Vlqx98GPdOHghxSdNtTvcP8E0kkaJ5Dlh+h2DRzF7zpuVVcA8B0QpKd11YJeP9QQ7ASkKzOeu195Wzw==

mri@1.1.6:
version "1.1.6"
resolved "https://registry.yarnpkg.com/mri/-/mri-1.1.6.tgz#49952e1044db21dbf90f6cd92bc9c9a777d415a6"
integrity sha512-oi1b3MfbyGa7FJMP9GmLTttni5JoICpYBRlq+x5V16fZbLsnL9N3wFqqIm/nIG43FjUFkFh9Epzp/kzUGUnJxQ==

ms@2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
Expand Down

0 comments on commit f8e2b0a

Please sign in to comment.