chore: use nolyfill to speed up installation process (#597)

This commit is contained in:
Sadegh Barati 2024-06-09 13:43:11 +03:30 committed by GitHub
parent 9960925881
commit a1faecc7d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 40 additions and 33 deletions

View File

@ -72,7 +72,7 @@
"shiki": "^1.6.3",
"tailwind-merge": "^2.3.0",
"tailwindcss": "^3.4.4",
"tsx": "^4.14.1",
"tsx": "^4.15.0",
"typescript": "^5.4.5",
"unplugin-icons": "^0.19.0",
"vitepress": "^1.2.3",

View File

@ -45,6 +45,13 @@
"@commitlint/config-conventional"
]
},
"pnpm": {
"overrides": {
"hasown": "npm:@nolyfill/hasown@latest",
"isarray": "npm:@nolyfill/isarray@latest",
"typedarray": "npm:@nolyfill/typedarray@latest"
}
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged",
"commit-msg": "pnpm commitlint --edit ${1}"

View File

@ -4,6 +4,11 @@ settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
overrides:
hasown: npm:@nolyfill/hasown@latest
isarray: npm:@nolyfill/isarray@latest
typedarray: npm:@nolyfill/typedarray@latest
importers:
.:
@ -208,8 +213,8 @@ importers:
specifier: ^3.4.4
version: 3.4.4
tsx:
specifier: ^4.14.1
version: 4.14.1
specifier: ^4.15.0
version: 4.15.0
typescript:
specifier: ^5.4.5
version: 5.4.5
@ -1436,6 +1441,18 @@ packages:
resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==}
engines: {node: '>= 8'}
'@nolyfill/hasown@1.0.29':
resolution: {integrity: sha512-9h/nxZqmCy26r9VXGUz+Q77vq3eINXOYgE4st3dj6DoE7tulfJueCLw5d4hfDy3S8mKg4cFXaP+KxYQ+txvMzw==}
engines: {node: '>=12.4.0'}
'@nolyfill/isarray@1.0.29':
resolution: {integrity: sha512-YXk/GW1mquC9LpdjrwhY/RjGWp3ud4JZopFjU0XDHHOCy1h1lzMaiUzH8cjLDrbgSDe3yuk2wL4DNPgpkypulA==}
engines: {node: '>=12.4.0'}
'@nolyfill/typedarray@1.0.29':
resolution: {integrity: sha512-TpE/Cf2GXKIz86DHIRtwUBAOpMC9SWGiS2nX1b/wGbYvwhH0N2LPDt2o8V4uoLQHjCduiT6HqEipiY9cm+Q3pA==}
engines: {node: '>=12.4.0'}
'@npmcli/agent@2.2.2':
resolution: {integrity: sha512-OrcNPXdpSl9UX7qPVRWbmWMCSXrcDa2M9DvrbOTj7ao1S4PlqVFYv9/yLKMkrJKZ/V5A/kDBC690or307i26Og==}
engines: {node: ^16.14.0 || >=18.0.0}
@ -4237,9 +4254,6 @@ packages:
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
os: [darwin]
function-bind@1.1.2:
resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}
gauge@3.0.2:
resolution: {integrity: sha512-+5J6MS/5XksCuXq++uFRsnUd7Ovu1XenbeuIuNRJxYWjgQbPuFhT14lAvsWfqfAmnwluf1OwMjz39HjfLPci0Q==}
engines: {node: '>=10'}
@ -4434,10 +4448,6 @@ packages:
hash-sum@2.0.0:
resolution: {integrity: sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg==}
hasown@2.0.2:
resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}
engines: {node: '>= 0.4'}
he@1.2.0:
resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}
hasBin: true
@ -4788,9 +4798,6 @@ packages:
resolution: {integrity: sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw==}
engines: {node: '>=18'}
isarray@1.0.0:
resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==}
isexe@2.0.0:
resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}
@ -7001,8 +7008,8 @@ packages:
typescript:
optional: true
tsx@4.14.1:
resolution: {integrity: sha512-GU8pPJq8DdxcJDSK6Bc64c2jW8zBK2hb0jzwHZDfjapbwu6AqvFnAElnzZ17Xb9TH5a/j6/sicTCVYF+eO/cmA==}
tsx@4.15.0:
resolution: {integrity: sha512-yPThHvkUdsyi3pUb+2a6JM0y0shxxLlIEfms2ZztL/rHqK+4dFYdVxh2X/0bcieo16Kvjq77VU/ML/nVICK/0g==}
engines: {node: '>=18.0.0'}
hasBin: true
@ -7045,9 +7052,6 @@ packages:
type-level-regexp@0.1.17:
resolution: {integrity: sha512-wTk4DH3cxwk196uGLK/E9pE45aLfeKJacKmcEgEOA/q5dnPGNxXt0cfYdFxb57L+sEpf1oJH4Dnx/pnRcku9jg==}
typedarray@0.0.6:
resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==}
typescript@5.4.5:
resolution: {integrity: sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==}
engines: {node: '>=14.17'}
@ -8772,6 +8776,12 @@ snapshots:
'@nodelib/fs.scandir': 2.1.5
fastq: 1.17.1
'@nolyfill/hasown@1.0.29': {}
'@nolyfill/isarray@1.0.29': {}
'@nolyfill/typedarray@1.0.29': {}
'@npmcli/agent@2.2.2':
dependencies:
agent-base: 7.1.1
@ -11131,7 +11141,7 @@ snapshots:
buffer-from: 1.1.2
inherits: 2.0.4
readable-stream: 2.3.8
typedarray: 0.0.6
typedarray: '@nolyfill/typedarray@1.0.29'
confbox@0.1.7: {}
@ -12388,8 +12398,6 @@ snapshots:
fsevents@2.3.3:
optional: true
function-bind@1.1.2: {}
gauge@3.0.2:
dependencies:
aproba: 2.0.0
@ -12625,10 +12633,6 @@ snapshots:
hash-sum@2.0.0: {}
hasown@2.0.2:
dependencies:
function-bind: 1.1.2
he@1.2.0: {}
homedir-polyfill@1.0.3:
@ -12824,7 +12828,7 @@ snapshots:
is-core-module@2.13.1:
dependencies:
hasown: 2.0.2
hasown: '@nolyfill/hasown@1.0.29'
is-decimal@1.0.4: {}
@ -12932,8 +12936,6 @@ snapshots:
dependencies:
system-architecture: 0.1.0
isarray@1.0.0: {}
isexe@2.0.0: {}
isexe@3.1.1: {}
@ -14654,7 +14656,7 @@ snapshots:
dependencies:
core-util-is: 1.0.3
inherits: 2.0.4
isarray: 1.0.0
isarray: '@nolyfill/isarray@1.0.29'
process-nextick-args: 2.0.1
safe-buffer: 5.1.2
string_decoder: 1.1.1
@ -15441,9 +15443,9 @@ snapshots:
- supports-color
- ts-node
tsx@4.14.1:
tsx@4.15.0:
dependencies:
esbuild: 0.20.2
esbuild: 0.21.4
get-tsconfig: 4.7.5
optionalDependencies:
fsevents: 2.3.3
@ -15476,8 +15478,6 @@ snapshots:
type-level-regexp@0.1.17: {}
typedarray@0.0.6: {}
typescript@5.4.5: {}
uc.micro@2.1.0: {}