mirror of
https://github.com/iconify/iconify.git
synced 2024-11-09 14:50:56 +00:00
Start moving to pnpm
This commit is contained in:
parent
ffe8ebacc0
commit
25298bb7bf
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,4 +3,5 @@ node_modules
|
|||||||
debug/
|
debug/
|
||||||
debug_packages/
|
debug_packages/
|
||||||
lerna-debug.log
|
lerna-debug.log
|
||||||
|
.pnpm-debug.log
|
||||||
.idea/
|
.idea/
|
||||||
|
613
components-demo/nextjs-demo/package-lock.json
generated
613
components-demo/nextjs-demo/package-lock.json
generated
@ -1,613 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify-demo/nextjs",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "@iconify-demo/nextjs",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/react": "^3.2.1",
|
|
||||||
"next": "^12.0.8",
|
|
||||||
"react": "^17.0.2",
|
|
||||||
"react-dom": "^17.0.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@iconify-icons/mdi-light": "^1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify-icons/mdi-light": {
|
|
||||||
"version": "1.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icons/mdi-light/-/mdi-light-1.2.1.tgz",
|
|
||||||
"integrity": "sha512-hayKSkkKxBwrul35sx3HoWDlSrPK2cJEDkVwAEPA4eJcFizsnyUvFvONVRRxOjCmE2eJFhemyKdt+drEq1/cDA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/types": "^1.0.12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify/react": {
|
|
||||||
"version": "3.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/react/-/react-3.2.1.tgz",
|
|
||||||
"integrity": "sha512-yKzixjC9ct9RC/aSGo1OGxkG2rpfhlr/urRz6k2YZlIBzn92PBTlqtSx8o8dFYEorr3eUFSCBZFzBy1yw5jsAA==",
|
|
||||||
"funding": {
|
|
||||||
"url": "http://github.com/sponsors/cyberalien"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/@next/env": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-nrIgY6t17FQ9xxwH3jj0a6EOiQ/WDHUos35Hghtr+SWN/ntHIQ7UpuvSi0vaLzZVHQWaDupKI+liO5vANcDeTQ=="
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-android-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-/280MLdZe0W03stA69iL+v6I+J1ascrQ6FrXBlXGCsGzrfMaGr7fskMa0T5AhQIVQD4nA/46QQWxG//DYuFBcA==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"android"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-darwin-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-R8vcXE2/iONJ1Unf5Ptqjk6LRW3bggH+8drNkkzH4FLEQkHtELhvcmJwkXcuipyQCsIakldAXhRbZmm3YN1vXg==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-darwin-x64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm-gnueabihf": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-njUd9hpl6o6A5d08dC0cKAgXKCzm5fFtgGe6i0eko8IAdtAPbtHxtpre3VeSxdZvuGFh+hb0REySQP9T1ttkog==",
|
|
||||||
"cpu": [
|
|
||||||
"arm"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OqangJLkRxVxMhDtcb7Qn1xjzFA3s50EIxY7mljbSCLybU+sByPaWAHY4px97ieOlr2y4S0xdPKkQ3BCAwyo6Q==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-hB8cLSt4GdmOpcwRe2UzI5UWn6HHO/vLkr5OTuNvCJ5xGDwpPXelVkYW/0+C3g5axbDW2Tym4S+MQCkkH9QfWA==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-x64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OKO4R/digvrVuweSw/uBM4nSdyzsBV5EwkUeeG4KVpkIZEe64ZwRpnFB65bC6hGwxIBnTv5NMSnJ+0K/WmG78A==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-x64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-JohhgAHZvOD3rQY7tlp7NlmvtvYHBYgY0x5ZCecUT6eCCcl9lv6iV3nfu82ErkxNk1H893fqH0FUpznZ/H3pSw==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-arm64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-T/3gIE6QEfKIJ4dmJk75v9hhNiYZhQYAoYm4iVo1TgcsuaKLFa+zMPh4056AHiG6n9tn2UQ1CFE8EoybEsqsSw==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-ia32-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-iwnKgHJdqhIW19H9PRPM9j55V6RdcOo6rX+5imx832BCWzkDbyomWnlzBfr6ByUYfhohb8QuH4hSGEikpPqI0Q==",
|
|
||||||
"cpu": [
|
|
||||||
"ia32"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-x64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/caniuse-lite": {
|
|
||||||
"version": "1.0.30001319",
|
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz",
|
|
||||||
"integrity": "sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw==",
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/browserslist"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "tidelift",
|
|
||||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/js-tokens": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
||||||
},
|
|
||||||
"node_modules/loose-envify": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
||||||
"dependencies": {
|
|
||||||
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"loose-envify": "cli.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/nanoid": {
|
|
||||||
"version": "3.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
|
||||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==",
|
|
||||||
"bin": {
|
|
||||||
"nanoid": "bin/nanoid.cjs"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/next": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/next/-/next-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==",
|
|
||||||
"dependencies": {
|
|
||||||
"@next/env": "12.1.0",
|
|
||||||
"caniuse-lite": "^1.0.30001283",
|
|
||||||
"postcss": "8.4.5",
|
|
||||||
"styled-jsx": "5.0.0",
|
|
||||||
"use-subscription": "1.5.1"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"next": "dist/bin/next"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.22.0"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"@next/swc-android-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-x64": "12.1.0",
|
|
||||||
"@next/swc-linux-arm-gnueabihf": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-musl": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-musl": "12.1.0",
|
|
||||||
"@next/swc-win32-arm64-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-ia32-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-x64-msvc": "12.1.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"fibers": ">= 3.1.0",
|
|
||||||
"node-sass": "^6.0.0 || ^7.0.0",
|
|
||||||
"react": "^17.0.2 || ^18.0.0-0",
|
|
||||||
"react-dom": "^17.0.2 || ^18.0.0-0",
|
|
||||||
"sass": "^1.3.0"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"fibers": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"node-sass": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"sass": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/object-assign": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
||||||
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/picocolors": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
|
||||||
},
|
|
||||||
"node_modules/postcss": {
|
|
||||||
"version": "8.4.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
|
|
||||||
"integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
|
|
||||||
"dependencies": {
|
|
||||||
"nanoid": "^3.1.30",
|
|
||||||
"picocolors": "^1.0.0",
|
|
||||||
"source-map-js": "^1.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >=14"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/postcss/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react-dom": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"scheduler": "^0.20.2"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "17.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/scheduler": {
|
|
||||||
"version": "0.20.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
|
|
||||||
"integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/source-map-js": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/styled-jsx": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 12.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": ">= 16.8.0 || 17.x.x || 18.x.x"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"@babel/core": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"babel-plugin-macros": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/use-subscription": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",
|
|
||||||
"dependencies": {
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^16.8.0 || ^17.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify-icons/mdi-light": {
|
|
||||||
"version": "1.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icons/mdi-light/-/mdi-light-1.2.1.tgz",
|
|
||||||
"integrity": "sha512-hayKSkkKxBwrul35sx3HoWDlSrPK2cJEDkVwAEPA4eJcFizsnyUvFvONVRRxOjCmE2eJFhemyKdt+drEq1/cDA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@iconify/types": "^1.0.12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@iconify/react": {
|
|
||||||
"version": "3.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/react/-/react-3.2.1.tgz",
|
|
||||||
"integrity": "sha512-yKzixjC9ct9RC/aSGo1OGxkG2rpfhlr/urRz6k2YZlIBzn92PBTlqtSx8o8dFYEorr3eUFSCBZFzBy1yw5jsAA=="
|
|
||||||
},
|
|
||||||
"@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"@next/env": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-nrIgY6t17FQ9xxwH3jj0a6EOiQ/WDHUos35Hghtr+SWN/ntHIQ7UpuvSi0vaLzZVHQWaDupKI+liO5vANcDeTQ=="
|
|
||||||
},
|
|
||||||
"@next/swc-android-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-/280MLdZe0W03stA69iL+v6I+J1ascrQ6FrXBlXGCsGzrfMaGr7fskMa0T5AhQIVQD4nA/46QQWxG//DYuFBcA==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-darwin-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-R8vcXE2/iONJ1Unf5Ptqjk6LRW3bggH+8drNkkzH4FLEQkHtELhvcmJwkXcuipyQCsIakldAXhRbZmm3YN1vXg==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-darwin-x64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm-gnueabihf": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-njUd9hpl6o6A5d08dC0cKAgXKCzm5fFtgGe6i0eko8IAdtAPbtHxtpre3VeSxdZvuGFh+hb0REySQP9T1ttkog==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OqangJLkRxVxMhDtcb7Qn1xjzFA3s50EIxY7mljbSCLybU+sByPaWAHY4px97ieOlr2y4S0xdPKkQ3BCAwyo6Q==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-hB8cLSt4GdmOpcwRe2UzI5UWn6HHO/vLkr5OTuNvCJ5xGDwpPXelVkYW/0+C3g5axbDW2Tym4S+MQCkkH9QfWA==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-x64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OKO4R/digvrVuweSw/uBM4nSdyzsBV5EwkUeeG4KVpkIZEe64ZwRpnFB65bC6hGwxIBnTv5NMSnJ+0K/WmG78A==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-x64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-JohhgAHZvOD3rQY7tlp7NlmvtvYHBYgY0x5ZCecUT6eCCcl9lv6iV3nfu82ErkxNk1H893fqH0FUpznZ/H3pSw==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-arm64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-T/3gIE6QEfKIJ4dmJk75v9hhNiYZhQYAoYm4iVo1TgcsuaKLFa+zMPh4056AHiG6n9tn2UQ1CFE8EoybEsqsSw==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-ia32-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-iwnKgHJdqhIW19H9PRPM9j55V6RdcOo6rX+5imx832BCWzkDbyomWnlzBfr6ByUYfhohb8QuH4hSGEikpPqI0Q==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-x64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"caniuse-lite": {
|
|
||||||
"version": "1.0.30001319",
|
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz",
|
|
||||||
"integrity": "sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw=="
|
|
||||||
},
|
|
||||||
"js-tokens": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
||||||
},
|
|
||||||
"loose-envify": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
||||||
"requires": {
|
|
||||||
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nanoid": {
|
|
||||||
"version": "3.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
|
||||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw=="
|
|
||||||
},
|
|
||||||
"next": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/next/-/next-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==",
|
|
||||||
"requires": {
|
|
||||||
"@next/env": "12.1.0",
|
|
||||||
"@next/swc-android-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-x64": "12.1.0",
|
|
||||||
"@next/swc-linux-arm-gnueabihf": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-musl": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-musl": "12.1.0",
|
|
||||||
"@next/swc-win32-arm64-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-ia32-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-x64-msvc": "12.1.0",
|
|
||||||
"caniuse-lite": "^1.0.30001283",
|
|
||||||
"postcss": "8.4.5",
|
|
||||||
"styled-jsx": "5.0.0",
|
|
||||||
"use-subscription": "1.5.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"object-assign": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
||||||
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
|
|
||||||
},
|
|
||||||
"picocolors": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
|
||||||
},
|
|
||||||
"postcss": {
|
|
||||||
"version": "8.4.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
|
|
||||||
"integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
|
|
||||||
"requires": {
|
|
||||||
"nanoid": "^3.1.30",
|
|
||||||
"picocolors": "^1.0.0",
|
|
||||||
"source-map-js": "^1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"react": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"react-dom": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"scheduler": "^0.20.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scheduler": {
|
|
||||||
"version": "0.20.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
|
|
||||||
"integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"source-map-js": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
|
|
||||||
},
|
|
||||||
"styled-jsx": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA==",
|
|
||||||
"requires": {}
|
|
||||||
},
|
|
||||||
"use-subscription": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",
|
|
||||||
"requires": {
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
14216
components-demo/nuxt3-demo/package-lock.json
generated
14216
components-demo/nuxt3-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2923
components-demo/react-demo/package-lock.json
generated
2923
components-demo/react-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
6544
components-demo/sapper-demo/package-lock.json
generated
6544
components-demo/sapper-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2322
components-demo/svelte-demo-vite/package-lock.json
generated
2322
components-demo/svelte-demo-vite/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
1881
components-demo/svelte-demo/package-lock.json
generated
1881
components-demo/svelte-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2412
components-demo/sveltekit-demo/package-lock.json
generated
2412
components-demo/sveltekit-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
1234
components-demo/vue-demo/package-lock.json
generated
1234
components-demo/vue-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
9448
components/ember/package-lock.json
generated
9448
components/ember/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16126
components/react/package-lock.json
generated
16126
components/react/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13885
components/svelte/package-lock.json
generated
13885
components/svelte/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
3397
components/svelte/pnpm-lock.yaml
Normal file
3397
components/svelte/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
18499
components/svg-framework/package-lock.json
generated
18499
components/svg-framework/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
8971
components/vue/package-lock.json
generated
8971
components/vue/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14118
components/vue2/package-lock.json
generated
14118
components/vue2/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
43807
iconify-icon-demo/ember-icon-demo/package-lock.json
generated
43807
iconify-icon-demo/ember-icon-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11702
iconify-icon-demo/lit-demo/package-lock.json
generated
11702
iconify-icon-demo/lit-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
645
iconify-icon-demo/nextjs-demo/package-lock.json
generated
645
iconify-icon-demo/nextjs-demo/package-lock.json
generated
@ -1,645 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify-icon/nextjs-demo",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "@iconify-icon/nextjs-demo",
|
|
||||||
"version": "0.1.0",
|
|
||||||
"dependencies": {
|
|
||||||
"next": "^12.0.8",
|
|
||||||
"react": "^17.0.2",
|
|
||||||
"react-dom": "^17.0.2"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@iconify-icon/react": "^0.0.1",
|
|
||||||
"@iconify-icons/mdi-light": "^1.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify-icon/react": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icon/react/-/react-0.0.1.tgz",
|
|
||||||
"integrity": "sha512-ZPnpcu4MA4WuWaphTFHMrAJDgQ/Ilf9a+BWMbxRXfz5tjmC78FmXroRBnKS8V76h4nn1GdnNoJSFCK48pEWPWg==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"iconify-icon": "^0.0.4"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "http://github.com/sponsors/cyberalien"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": ">=16"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify-icons/mdi-light": {
|
|
||||||
"version": "1.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icons/mdi-light/-/mdi-light-1.2.1.tgz",
|
|
||||||
"integrity": "sha512-hayKSkkKxBwrul35sx3HoWDlSrPK2cJEDkVwAEPA4eJcFizsnyUvFvONVRRxOjCmE2eJFhemyKdt+drEq1/cDA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/types": "^1.0.12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/@next/env": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-nrIgY6t17FQ9xxwH3jj0a6EOiQ/WDHUos35Hghtr+SWN/ntHIQ7UpuvSi0vaLzZVHQWaDupKI+liO5vANcDeTQ=="
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-android-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-/280MLdZe0W03stA69iL+v6I+J1ascrQ6FrXBlXGCsGzrfMaGr7fskMa0T5AhQIVQD4nA/46QQWxG//DYuFBcA==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"android"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-darwin-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-R8vcXE2/iONJ1Unf5Ptqjk6LRW3bggH+8drNkkzH4FLEQkHtELhvcmJwkXcuipyQCsIakldAXhRbZmm3YN1vXg==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-darwin-x64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"darwin"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm-gnueabihf": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-njUd9hpl6o6A5d08dC0cKAgXKCzm5fFtgGe6i0eko8IAdtAPbtHxtpre3VeSxdZvuGFh+hb0REySQP9T1ttkog==",
|
|
||||||
"cpu": [
|
|
||||||
"arm"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OqangJLkRxVxMhDtcb7Qn1xjzFA3s50EIxY7mljbSCLybU+sByPaWAHY4px97ieOlr2y4S0xdPKkQ3BCAwyo6Q==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-arm64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-hB8cLSt4GdmOpcwRe2UzI5UWn6HHO/vLkr5OTuNvCJ5xGDwpPXelVkYW/0+C3g5axbDW2Tym4S+MQCkkH9QfWA==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-x64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OKO4R/digvrVuweSw/uBM4nSdyzsBV5EwkUeeG4KVpkIZEe64ZwRpnFB65bC6hGwxIBnTv5NMSnJ+0K/WmG78A==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-linux-x64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-JohhgAHZvOD3rQY7tlp7NlmvtvYHBYgY0x5ZCecUT6eCCcl9lv6iV3nfu82ErkxNk1H893fqH0FUpznZ/H3pSw==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-arm64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-T/3gIE6QEfKIJ4dmJk75v9hhNiYZhQYAoYm4iVo1TgcsuaKLFa+zMPh4056AHiG6n9tn2UQ1CFE8EoybEsqsSw==",
|
|
||||||
"cpu": [
|
|
||||||
"arm64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-ia32-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-iwnKgHJdqhIW19H9PRPM9j55V6RdcOo6rX+5imx832BCWzkDbyomWnlzBfr6ByUYfhohb8QuH4hSGEikpPqI0Q==",
|
|
||||||
"cpu": [
|
|
||||||
"ia32"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@next/swc-win32-x64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==",
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
],
|
|
||||||
"optional": true,
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 10"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/caniuse-lite": {
|
|
||||||
"version": "1.0.30001319",
|
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz",
|
|
||||||
"integrity": "sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw==",
|
|
||||||
"funding": [
|
|
||||||
{
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/browserslist"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "tidelift",
|
|
||||||
"url": "https://tidelift.com/funding/github/npm/caniuse-lite"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"node_modules/iconify-icon": {
|
|
||||||
"version": "0.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/iconify-icon/-/iconify-icon-0.0.4.tgz",
|
|
||||||
"integrity": "sha512-pne6HpoDyV0eVFtrMtfN3A74BPBrVq3kfgxuZOiefJ9P/Ql0gscw9ZMIXbJUtg2cEORklazUL3vi41c9QsT0AA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/types": "^1.1.0"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "http://github.com/sponsors/cyberalien"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/js-tokens": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
||||||
},
|
|
||||||
"node_modules/loose-envify": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
||||||
"dependencies": {
|
|
||||||
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"loose-envify": "cli.js"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/nanoid": {
|
|
||||||
"version": "3.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
|
||||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw==",
|
|
||||||
"bin": {
|
|
||||||
"nanoid": "bin/nanoid.cjs"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/next": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/next/-/next-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==",
|
|
||||||
"dependencies": {
|
|
||||||
"@next/env": "12.1.0",
|
|
||||||
"caniuse-lite": "^1.0.30001283",
|
|
||||||
"postcss": "8.4.5",
|
|
||||||
"styled-jsx": "5.0.0",
|
|
||||||
"use-subscription": "1.5.1"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"next": "dist/bin/next"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=12.22.0"
|
|
||||||
},
|
|
||||||
"optionalDependencies": {
|
|
||||||
"@next/swc-android-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-x64": "12.1.0",
|
|
||||||
"@next/swc-linux-arm-gnueabihf": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-musl": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-musl": "12.1.0",
|
|
||||||
"@next/swc-win32-arm64-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-ia32-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-x64-msvc": "12.1.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"fibers": ">= 3.1.0",
|
|
||||||
"node-sass": "^6.0.0 || ^7.0.0",
|
|
||||||
"react": "^17.0.2 || ^18.0.0-0",
|
|
||||||
"react-dom": "^17.0.2 || ^18.0.0-0",
|
|
||||||
"sass": "^1.3.0"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"fibers": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"node-sass": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"sass": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/object-assign": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
||||||
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/picocolors": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
|
||||||
},
|
|
||||||
"node_modules/postcss": {
|
|
||||||
"version": "8.4.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
|
|
||||||
"integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
|
|
||||||
"dependencies": {
|
|
||||||
"nanoid": "^3.1.30",
|
|
||||||
"picocolors": "^1.0.0",
|
|
||||||
"source-map-js": "^1.0.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "^10 || ^12 || >=14"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"type": "opencollective",
|
|
||||||
"url": "https://opencollective.com/postcss/"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/react-dom": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"scheduler": "^0.20.2"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "17.0.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/scheduler": {
|
|
||||||
"version": "0.20.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
|
|
||||||
"integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
|
|
||||||
"dependencies": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/source-map-js": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/styled-jsx": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA==",
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 12.0.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": ">= 16.8.0 || 17.x.x || 18.x.x"
|
|
||||||
},
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"@babel/core": {
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"babel-plugin-macros": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/use-subscription": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",
|
|
||||||
"dependencies": {
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"react": "^16.8.0 || ^17.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify-icon/react": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icon/react/-/react-0.0.1.tgz",
|
|
||||||
"integrity": "sha512-ZPnpcu4MA4WuWaphTFHMrAJDgQ/Ilf9a+BWMbxRXfz5tjmC78FmXroRBnKS8V76h4nn1GdnNoJSFCK48pEWPWg==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"iconify-icon": "^0.0.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@iconify-icons/mdi-light": {
|
|
||||||
"version": "1.2.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify-icons/mdi-light/-/mdi-light-1.2.1.tgz",
|
|
||||||
"integrity": "sha512-hayKSkkKxBwrul35sx3HoWDlSrPK2cJEDkVwAEPA4eJcFizsnyUvFvONVRRxOjCmE2eJFhemyKdt+drEq1/cDA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@iconify/types": "^1.0.12"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"@next/env": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/env/-/env-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-nrIgY6t17FQ9xxwH3jj0a6EOiQ/WDHUos35Hghtr+SWN/ntHIQ7UpuvSi0vaLzZVHQWaDupKI+liO5vANcDeTQ=="
|
|
||||||
},
|
|
||||||
"@next/swc-android-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-android-arm64/-/swc-android-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-/280MLdZe0W03stA69iL+v6I+J1ascrQ6FrXBlXGCsGzrfMaGr7fskMa0T5AhQIVQD4nA/46QQWxG//DYuFBcA==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-darwin-arm64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-R8vcXE2/iONJ1Unf5Ptqjk6LRW3bggH+8drNkkzH4FLEQkHtELhvcmJwkXcuipyQCsIakldAXhRbZmm3YN1vXg==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-darwin-x64": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-ieAz0/J0PhmbZBB8+EA/JGdhRHBogF8BWaeqR7hwveb6SYEIJaDNQy0I+ZN8gF8hLj63bEDxJAs/cEhdnTq+ug==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm-gnueabihf": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm-gnueabihf/-/swc-linux-arm-gnueabihf-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-njUd9hpl6o6A5d08dC0cKAgXKCzm5fFtgGe6i0eko8IAdtAPbtHxtpre3VeSxdZvuGFh+hb0REySQP9T1ttkog==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OqangJLkRxVxMhDtcb7Qn1xjzFA3s50EIxY7mljbSCLybU+sByPaWAHY4px97ieOlr2y4S0xdPKkQ3BCAwyo6Q==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-arm64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-hB8cLSt4GdmOpcwRe2UzI5UWn6HHO/vLkr5OTuNvCJ5xGDwpPXelVkYW/0+C3g5axbDW2Tym4S+MQCkkH9QfWA==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-x64-gnu": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-OKO4R/digvrVuweSw/uBM4nSdyzsBV5EwkUeeG4KVpkIZEe64ZwRpnFB65bC6hGwxIBnTv5NMSnJ+0K/WmG78A==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-linux-x64-musl": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-JohhgAHZvOD3rQY7tlp7NlmvtvYHBYgY0x5ZCecUT6eCCcl9lv6iV3nfu82ErkxNk1H893fqH0FUpznZ/H3pSw==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-arm64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-T/3gIE6QEfKIJ4dmJk75v9hhNiYZhQYAoYm4iVo1TgcsuaKLFa+zMPh4056AHiG6n9tn2UQ1CFE8EoybEsqsSw==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-ia32-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-iwnKgHJdqhIW19H9PRPM9j55V6RdcOo6rX+5imx832BCWzkDbyomWnlzBfr6ByUYfhohb8QuH4hSGEikpPqI0Q==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"@next/swc-win32-x64-msvc": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-aBvcbMwuanDH4EMrL2TthNJy+4nP59Bimn8egqv6GHMVj0a44cU6Au4PjOhLNqEh9l+IpRGBqMTzec94UdC5xg==",
|
|
||||||
"optional": true
|
|
||||||
},
|
|
||||||
"caniuse-lite": {
|
|
||||||
"version": "1.0.30001319",
|
|
||||||
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz",
|
|
||||||
"integrity": "sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw=="
|
|
||||||
},
|
|
||||||
"iconify-icon": {
|
|
||||||
"version": "0.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/iconify-icon/-/iconify-icon-0.0.4.tgz",
|
|
||||||
"integrity": "sha512-pne6HpoDyV0eVFtrMtfN3A74BPBrVq3kfgxuZOiefJ9P/Ql0gscw9ZMIXbJUtg2cEORklazUL3vi41c9QsT0AA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"@iconify/types": "^1.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"js-tokens": {
|
|
||||||
"version": "4.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz",
|
|
||||||
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
|
|
||||||
},
|
|
||||||
"loose-envify": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
|
|
||||||
"integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
|
|
||||||
"requires": {
|
|
||||||
"js-tokens": "^3.0.0 || ^4.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nanoid": {
|
|
||||||
"version": "3.3.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.1.tgz",
|
|
||||||
"integrity": "sha512-n6Vs/3KGyxPQd6uO0eH4Bv0ojGSUvuLlIHtC3Y0kEO23YRge8H9x1GCzLn28YX0H66pMkxuaeESFq4tKISKwdw=="
|
|
||||||
},
|
|
||||||
"next": {
|
|
||||||
"version": "12.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/next/-/next-12.1.0.tgz",
|
|
||||||
"integrity": "sha512-s885kWvnIlxsUFHq9UGyIyLiuD0G3BUC/xrH0CEnH5lHEWkwQcHOORgbDF0hbrW9vr/7am4ETfX4A7M6DjrE7Q==",
|
|
||||||
"requires": {
|
|
||||||
"@next/env": "12.1.0",
|
|
||||||
"@next/swc-android-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-arm64": "12.1.0",
|
|
||||||
"@next/swc-darwin-x64": "12.1.0",
|
|
||||||
"@next/swc-linux-arm-gnueabihf": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-arm64-musl": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-gnu": "12.1.0",
|
|
||||||
"@next/swc-linux-x64-musl": "12.1.0",
|
|
||||||
"@next/swc-win32-arm64-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-ia32-msvc": "12.1.0",
|
|
||||||
"@next/swc-win32-x64-msvc": "12.1.0",
|
|
||||||
"caniuse-lite": "^1.0.30001283",
|
|
||||||
"postcss": "8.4.5",
|
|
||||||
"styled-jsx": "5.0.0",
|
|
||||||
"use-subscription": "1.5.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"object-assign": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",
|
|
||||||
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
|
|
||||||
},
|
|
||||||
"picocolors": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
|
|
||||||
"integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
|
|
||||||
},
|
|
||||||
"postcss": {
|
|
||||||
"version": "8.4.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.5.tgz",
|
|
||||||
"integrity": "sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg==",
|
|
||||||
"requires": {
|
|
||||||
"nanoid": "^3.1.30",
|
|
||||||
"picocolors": "^1.0.0",
|
|
||||||
"source-map-js": "^1.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"react": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react/-/react-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"react-dom": {
|
|
||||||
"version": "17.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/react-dom/-/react-dom-17.0.2.tgz",
|
|
||||||
"integrity": "sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1",
|
|
||||||
"scheduler": "^0.20.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"scheduler": {
|
|
||||||
"version": "0.20.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.20.2.tgz",
|
|
||||||
"integrity": "sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==",
|
|
||||||
"requires": {
|
|
||||||
"loose-envify": "^1.1.0",
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"source-map-js": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw=="
|
|
||||||
},
|
|
||||||
"styled-jsx": {
|
|
||||||
"version": "5.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/styled-jsx/-/styled-jsx-5.0.0.tgz",
|
|
||||||
"integrity": "sha512-qUqsWoBquEdERe10EW8vLp3jT25s/ssG1/qX5gZ4wu15OZpmSMFI2v+fWlRhLfykA5rFtlJ1ME8A8pm/peV4WA==",
|
|
||||||
"requires": {}
|
|
||||||
},
|
|
||||||
"use-subscription": {
|
|
||||||
"version": "1.5.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/use-subscription/-/use-subscription-1.5.1.tgz",
|
|
||||||
"integrity": "sha512-Xv2a1P/yReAjAbhylMfFplFKj9GssgTwN7RlcTxBujFQcloStWNDQdc4g4NRWH9xS4i/FDk04vQBptAXoF3VcA==",
|
|
||||||
"requires": {
|
|
||||||
"object-assign": "^4.1.1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
14242
iconify-icon-demo/nuxt3-demo/package-lock.json
generated
14242
iconify-icon-demo/nuxt3-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2391
iconify-icon-demo/react-demo/package-lock.json
generated
2391
iconify-icon-demo/react-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2873
iconify-icon-demo/solid-demo/package-lock.json
generated
2873
iconify-icon-demo/solid-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2321
iconify-icon-demo/svelte-demo/package-lock.json
generated
2321
iconify-icon-demo/svelte-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2396
iconify-icon-demo/sveltekit-demo/package-lock.json
generated
2396
iconify-icon-demo/sveltekit-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
1213
iconify-icon-demo/vue-demo/package-lock.json
generated
1213
iconify-icon-demo/vue-demo/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14218
iconify-icon/icon/package-lock.json
generated
14218
iconify-icon/icon/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13690
iconify-icon/react/package-lock.json
generated
13690
iconify-icon/react/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
301
iconify-icon/solid/package-lock.json
generated
301
iconify-icon/solid/package-lock.json
generated
@ -1,301 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify-icon/solid",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "@iconify-icon/solid",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"license": "MIT",
|
|
||||||
"dependencies": {
|
|
||||||
"iconify-icon": "^0.0.4"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"rimraf": "^3.0.2",
|
|
||||||
"solid-js": "^1.4.1",
|
|
||||||
"typescript": "^4.6.2"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "http://github.com/sponsors/cyberalien"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"solid-js": ">=1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
|
|
||||||
},
|
|
||||||
"node_modules/balanced-match": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/brace-expansion": {
|
|
||||||
"version": "1.1.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
||||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"balanced-match": "^1.0.0",
|
|
||||||
"concat-map": "0.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/concat-map": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
||||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/fs.realpath": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/glob": {
|
|
||||||
"version": "7.2.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
|
||||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"fs.realpath": "^1.0.0",
|
|
||||||
"inflight": "^1.0.4",
|
|
||||||
"inherits": "2",
|
|
||||||
"minimatch": "^3.1.1",
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"path-is-absolute": "^1.0.0"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "*"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/iconify-icon": {
|
|
||||||
"version": "0.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/iconify-icon/-/iconify-icon-0.0.4.tgz",
|
|
||||||
"integrity": "sha512-pne6HpoDyV0eVFtrMtfN3A74BPBrVq3kfgxuZOiefJ9P/Ql0gscw9ZMIXbJUtg2cEORklazUL3vi41c9QsT0AA==",
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/types": "^1.1.0"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "http://github.com/sponsors/cyberalien"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/inflight": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
||||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/inherits": {
|
|
||||||
"version": "2.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
|
||||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/minimatch": {
|
|
||||||
"version": "3.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
|
||||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"brace-expansion": "^1.1.7"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": "*"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/once": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
||||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/path-is-absolute": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
|
||||||
"dev": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=0.10.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/rimraf": {
|
|
||||||
"version": "3.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
|
||||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"glob": "^7.1.3"
|
|
||||||
},
|
|
||||||
"bin": {
|
|
||||||
"rimraf": "bin.js"
|
|
||||||
},
|
|
||||||
"funding": {
|
|
||||||
"url": "https://github.com/sponsors/isaacs"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/solid-js": {
|
|
||||||
"version": "1.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.4.1.tgz",
|
|
||||||
"integrity": "sha512-ts480PccmUW9WAludSXET2dbBevjv+l6XMmN/OyG/a/xA8ZQoX4hNBN3gGhW785ZZv90fowbUSuSQUwOISm3YA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/typescript": {
|
|
||||||
"version": "4.6.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz",
|
|
||||||
"integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==",
|
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
|
||||||
"tsc": "bin/tsc",
|
|
||||||
"tsserver": "bin/tsserver"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=4.2.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/wrappy": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@iconify/types": {
|
|
||||||
"version": "1.1.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@iconify/types/-/types-1.1.0.tgz",
|
|
||||||
"integrity": "sha512-Jh0llaK2LRXQoYsorIH8maClebsnzTcve+7U3rQUSnC11X4jtPnFuyatqFLvMxZ8MLG8dB4zfHsbPfuvxluONw=="
|
|
||||||
},
|
|
||||||
"balanced-match": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
|
||||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"brace-expansion": {
|
|
||||||
"version": "1.1.11",
|
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
||||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"balanced-match": "^1.0.0",
|
|
||||||
"concat-map": "0.0.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"concat-map": {
|
|
||||||
"version": "0.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
||||||
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"fs.realpath": {
|
|
||||||
"version": "1.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
||||||
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"glob": {
|
|
||||||
"version": "7.2.3",
|
|
||||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
|
|
||||||
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"fs.realpath": "^1.0.0",
|
|
||||||
"inflight": "^1.0.4",
|
|
||||||
"inherits": "2",
|
|
||||||
"minimatch": "^3.1.1",
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"path-is-absolute": "^1.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"iconify-icon": {
|
|
||||||
"version": "0.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/iconify-icon/-/iconify-icon-0.0.4.tgz",
|
|
||||||
"integrity": "sha512-pne6HpoDyV0eVFtrMtfN3A74BPBrVq3kfgxuZOiefJ9P/Ql0gscw9ZMIXbJUtg2cEORklazUL3vi41c9QsT0AA==",
|
|
||||||
"requires": {
|
|
||||||
"@iconify/types": "^1.1.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inflight": {
|
|
||||||
"version": "1.0.6",
|
|
||||||
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
||||||
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"once": "^1.3.0",
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"inherits": {
|
|
||||||
"version": "2.0.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
|
|
||||||
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"minimatch": {
|
|
||||||
"version": "3.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
|
|
||||||
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"brace-expansion": "^1.1.7"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"once": {
|
|
||||||
"version": "1.4.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
||||||
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"wrappy": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"path-is-absolute": {
|
|
||||||
"version": "1.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
|
||||||
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"rimraf": {
|
|
||||||
"version": "3.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
|
|
||||||
"integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"glob": "^7.1.3"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"solid-js": {
|
|
||||||
"version": "1.4.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/solid-js/-/solid-js-1.4.1.tgz",
|
|
||||||
"integrity": "sha512-ts480PccmUW9WAludSXET2dbBevjv+l6XMmN/OyG/a/xA8ZQoX4hNBN3gGhW785ZZv90fowbUSuSQUwOISm3YA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"typescript": {
|
|
||||||
"version": "4.6.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz",
|
|
||||||
"integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"wrappy": {
|
|
||||||
"version": "1.0.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
||||||
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
16
lerna.json
16
lerna.json
@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"version": "independent",
|
|
||||||
"npmClient": "npm",
|
|
||||||
"packages": [
|
|
||||||
"packages/types",
|
|
||||||
"packages/api-redundancy",
|
|
||||||
"packages/utils",
|
|
||||||
"packages/core",
|
|
||||||
"iconify-icon/icon",
|
|
||||||
"iconify-icon/*",
|
|
||||||
"components/*",
|
|
||||||
"components-demo/*",
|
|
||||||
"iconify-icon-demo/*",
|
|
||||||
"debug/*"
|
|
||||||
]
|
|
||||||
}
|
|
3
monorepo/.gitignore
vendored
3
monorepo/.gitignore
vendored
@ -1,3 +0,0 @@
|
|||||||
.DS_Store
|
|
||||||
node_modules
|
|
||||||
lib
|
|
@ -1,61 +0,0 @@
|
|||||||
# Monorepo
|
|
||||||
|
|
||||||
This package was created to manage Iconify monorepo.
|
|
||||||
|
|
||||||
Iconify monorepo used to be managed by Lerna. Unfortunately, Lerna has been abandoned and has a lot of issues. One of those issues is inability to create symblic links for local packages that depend on other local packages, which makes it unusable for monorepos like Iconify.
|
|
||||||
|
|
||||||
## What does it do?
|
|
||||||
|
|
||||||
This is a simple script to manage multiple packages, placed in the same monorepo.
|
|
||||||
|
|
||||||
### Symbolic links
|
|
||||||
|
|
||||||
Main feature is symbolic links. It creates links between all local packages, so when you can work on multiple packages at the same time.
|
|
||||||
|
|
||||||
Unlike Lerna, currently this sctipt is very basic: it does not check dependencies, does not check versions, does not mess with `package.json`.
|
|
||||||
|
|
||||||
## Requirements
|
|
||||||
|
|
||||||
Script requires NPM. It was not designed to work with other package managers yet.
|
|
||||||
|
|
||||||
## Config file
|
|
||||||
|
|
||||||
This script uses `lerna.json`, where the only property that matters is `packages`.
|
|
||||||
|
|
||||||
Order of packages in `packages` property affects execution order, so if execution order (such as build order) matters, list most important packages first. Basic wildcards are supported, such as `packages/*`.
|
|
||||||
|
|
||||||
## Symbolic links
|
|
||||||
|
|
||||||
Script creates symbolic links for all local packages, except:
|
|
||||||
|
|
||||||
- Packages with `private` set to `true`.
|
|
||||||
- Packages without version number (assumed to be private).
|
|
||||||
|
|
||||||
## Commands
|
|
||||||
|
|
||||||
- `install`: runs `npm install` for all packages, then creates symbolic links.
|
|
||||||
- `link`: creates symbolic links (can be used to fix links after messing with packages).
|
|
||||||
- `unlink`: removes local symbolic links.
|
|
||||||
- `clean`: removes `node_modules` in all packages.
|
|
||||||
- `run <command>`: runs command specified in next parameter (also `run-script <command>`).
|
|
||||||
|
|
||||||
## Options
|
|
||||||
|
|
||||||
Options for all commands:
|
|
||||||
|
|
||||||
- `--if-present` will check if command is present before running it, used for `run` command.
|
|
||||||
- `--public` will execute command for public packages.
|
|
||||||
- `--private` will execute command only for private packages.
|
|
||||||
- `--silent` will execute command silently.
|
|
||||||
- `--workspace <workspace>` or `-w=<workspace>` filters by workspace directory, such as `-w=packages/core`. You can use this option several times to specify multiple workspaces.
|
|
||||||
- `--package <package>` or `-p=<package>` filter by package name, such as `-p=@iconify/core`. You can use this option several times to specify multiple packages.
|
|
||||||
|
|
||||||
You can add custom parameters for `run` or `run-script` commands by listing them after `--` argument: `run <command> -- <param1> <param2>`. Everything after `--` argument is treated as parameters for `run` command, so you need to specify other options before it.
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
This package is licensed under MIT license.
|
|
||||||
|
|
||||||
`SPDX-License-Identifier: MIT`
|
|
||||||
|
|
||||||
© 2022 Vjacheslav Trushkin / Iconify OÜ
|
|
@ -1,107 +0,0 @@
|
|||||||
/**
|
|
||||||
* Build package
|
|
||||||
*/
|
|
||||||
const fs = require('fs');
|
|
||||||
const child_process = require('child_process');
|
|
||||||
|
|
||||||
const rootDir = __dirname.replace(/\\/g, '/');
|
|
||||||
const mainFile = rootDir + '/lib/index.js';
|
|
||||||
|
|
||||||
// Check if required modules in same monorepo are available
|
|
||||||
const fileExists = (file) => {
|
|
||||||
try {
|
|
||||||
fs.statSync(file);
|
|
||||||
} catch (e) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
return true;
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get NPM command
|
|
||||||
*/
|
|
||||||
function getNPMCommand() {
|
|
||||||
const clients = ['npm', 'npm.cmd'];
|
|
||||||
for (let i = 0; i < clients.length; i++) {
|
|
||||||
const cmd = clients[i];
|
|
||||||
const result = child_process.spawnSync(cmd, ['--version']);
|
|
||||||
if (result.status === 0) {
|
|
||||||
return cmd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
throw new Error('Cannot execute NPM commands');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Build scripts, return imported main file on success
|
|
||||||
*/
|
|
||||||
function build() {
|
|
||||||
return new Promise((fulfill, reject) => {
|
|
||||||
const npm = getNPMCommand();
|
|
||||||
|
|
||||||
// List of commands to execute
|
|
||||||
const commands = [];
|
|
||||||
|
|
||||||
// Build script
|
|
||||||
if (!fileExists(mainFile)) {
|
|
||||||
commands.push({
|
|
||||||
cmd: npm,
|
|
||||||
args: ['run', 'build'],
|
|
||||||
cwd: rootDir,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Install dependencies before building
|
|
||||||
if (!fileExists(rootDir + '/node_modules/typescript')) {
|
|
||||||
commands.unshift({
|
|
||||||
cmd: npm,
|
|
||||||
args: ['install'],
|
|
||||||
cwd: rootDir,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run next command
|
|
||||||
*/
|
|
||||||
function next() {
|
|
||||||
const item = commands.shift();
|
|
||||||
if (item === void 0) {
|
|
||||||
const functions = require(mainFile);
|
|
||||||
fulfill(functions);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (item.cwd === void 0) {
|
|
||||||
item.cwd = rootDir;
|
|
||||||
}
|
|
||||||
|
|
||||||
const result = child_process.spawnSync(item.cmd, item.args, {
|
|
||||||
cwd: item.cwd,
|
|
||||||
stdio: 'inherit',
|
|
||||||
});
|
|
||||||
|
|
||||||
if (result.status === 0) {
|
|
||||||
process.nextTick(next);
|
|
||||||
} else {
|
|
||||||
reject(result.status);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
next();
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Export or build
|
|
||||||
*/
|
|
||||||
if (!module.parent) {
|
|
||||||
build()
|
|
||||||
.then((functions) => {
|
|
||||||
functions.run();
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.error(err);
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
module.exports = { build };
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) 2022 Vjacheslav Trushkin / Iconify OÜ
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE.
|
|
50
monorepo/package-lock.json
generated
50
monorepo/package-lock.json
generated
@ -1,50 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify/monorepo",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "@iconify/monorepo",
|
|
||||||
"version": "0.0.1",
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^17.0.12",
|
|
||||||
"typescript": "^4.5.5"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/@types/node": {
|
|
||||||
"version": "17.0.12",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.12.tgz",
|
|
||||||
"integrity": "sha512-4YpbAsnJXWYK/fpTVFlMIcUIho2AYCi4wg5aNPrG1ng7fn/1/RZfCIpRCiBX+12RVa34RluilnvCqD+g3KiSiA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/typescript": {
|
|
||||||
"version": "4.5.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz",
|
|
||||||
"integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==",
|
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
|
||||||
"tsc": "bin/tsc",
|
|
||||||
"tsserver": "bin/tsserver"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=4.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@types/node": {
|
|
||||||
"version": "17.0.12",
|
|
||||||
"resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.12.tgz",
|
|
||||||
"integrity": "sha512-4YpbAsnJXWYK/fpTVFlMIcUIho2AYCi4wg5aNPrG1ng7fn/1/RZfCIpRCiBX+12RVa34RluilnvCqD+g3KiSiA==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"typescript": {
|
|
||||||
"version": "4.5.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.5.5.tgz",
|
|
||||||
"integrity": "sha512-TCTIul70LyWe6IJWT8QSYeA54WQe8EjQFU4wY52Fasj5UKx88LNYKCgBEHcOMOrFF1rKGbD8v/xcNWVUq9SymA==",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,14 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify/monorepo",
|
|
||||||
"private": true,
|
|
||||||
"version": "0.0.1",
|
|
||||||
"license": "MIT",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"build": "tsc -b"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"@types/node": "^17.0.12",
|
|
||||||
"typescript": "^4.5.5"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
import { consoleLog } from './log';
|
|
||||||
import { PackageInfo } from './types';
|
|
||||||
import { filterWorkspaces } from './workspaces';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run callback for all workspaces
|
|
||||||
*/
|
|
||||||
export function runAction(
|
|
||||||
log: string,
|
|
||||||
callback: (workspace: PackageInfo) => void
|
|
||||||
): void {
|
|
||||||
const workspaces = filterWorkspaces();
|
|
||||||
if (!workspaces.length) {
|
|
||||||
throw new Error('No packages found');
|
|
||||||
}
|
|
||||||
consoleLog(`${log}...`);
|
|
||||||
workspaces.forEach(callback);
|
|
||||||
}
|
|
@ -1,48 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import type { PackageName, PackageInfo } from './types';
|
|
||||||
import { pathToString } from './dirs';
|
|
||||||
import { addToPath } from './dirs';
|
|
||||||
import { scanPackages } from './packages';
|
|
||||||
import { findWorkspaces } from './workspaces';
|
|
||||||
import { createLink } from './link';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add all necessary symbolic links to workspace
|
|
||||||
*/
|
|
||||||
export function addLinksToWorkspace(workspace: PackageInfo) {
|
|
||||||
// Get all packages
|
|
||||||
const workspaces = findWorkspaces();
|
|
||||||
|
|
||||||
// Create node_module if it doesn't exist
|
|
||||||
const moduleDir = addToPath(workspace.path, 'node_modules');
|
|
||||||
try {
|
|
||||||
fs.mkdirSync(pathToString(moduleDir), {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
// Find all existing packages
|
|
||||||
const linkedPackages: Set<PackageName> = new Set();
|
|
||||||
const staticPackages: Set<PackageName> = new Set();
|
|
||||||
scanPackages(moduleDir, (dirs, isLink) => {
|
|
||||||
const packageName = dirs.join('/');
|
|
||||||
(isLink ? linkedPackages : staticPackages).add(packageName);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Add links to other workspaces
|
|
||||||
workspaces.forEach((info) => {
|
|
||||||
// Ignore current package or package with existing link
|
|
||||||
if (
|
|
||||||
info.private ||
|
|
||||||
info.name === workspace.name ||
|
|
||||||
linkedPackages.has(info.name)
|
|
||||||
) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create link
|
|
||||||
createLink(addToPath(moduleDir, info.name), info.path);
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,29 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import { addToPath, pathToString, relativePath } from './dirs';
|
|
||||||
import { consoleLog } from './log';
|
|
||||||
import { PackageInfo } from './types';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove node_modules
|
|
||||||
*/
|
|
||||||
export function cleanWorkspace(workspace: PackageInfo) {
|
|
||||||
const modulesPath = addToPath(workspace.path, 'node_modules');
|
|
||||||
const dir = pathToString(modulesPath);
|
|
||||||
try {
|
|
||||||
const stat = fs.lstatSync(dir);
|
|
||||||
if (!stat.isDirectory()) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
consoleLog('Removing:', relativePath(dir));
|
|
||||||
try {
|
|
||||||
fs.rmSync(dir, {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,95 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import { dirname } from 'path';
|
|
||||||
import type { PathList } from './types';
|
|
||||||
|
|
||||||
export const fixDir = dirname(dirname(__dirname.replace(/\\/g, '/')));
|
|
||||||
export const rootDir = dirname(fixDir);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Add entry to array of path elements
|
|
||||||
*/
|
|
||||||
export function addToPath(
|
|
||||||
parentDirs: PathList,
|
|
||||||
dir: PathList | string
|
|
||||||
): PathList {
|
|
||||||
let result = parentDirs.slice(0);
|
|
||||||
if (dir instanceof Array) {
|
|
||||||
result = result.concat(dir);
|
|
||||||
} else {
|
|
||||||
result.push(dir);
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert array of path parts to string
|
|
||||||
*/
|
|
||||||
export function pathToString(path: PathList, absolute = true): string {
|
|
||||||
const isAbsolute =
|
|
||||||
path.length && (path[0] === '' || path[0].slice(0, 1) === '/' || path[0].indexOf(':') !== -1);
|
|
||||||
return (isAbsolute ? '' : absolute ? rootDir + '/' : './') + path.join('/');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert string to array of path parts
|
|
||||||
*/
|
|
||||||
export function stringToPath(dir: string): PathList {
|
|
||||||
// Absolute to relative
|
|
||||||
if (dir.slice(0, rootDir.length) === rootDir) {
|
|
||||||
dir = dir.slice(rootDir.length + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Convert to array
|
|
||||||
const parts = dir.split('/');
|
|
||||||
|
|
||||||
// Remove dot at start for relative paths
|
|
||||||
if (parts[0] === '.') {
|
|
||||||
parts.shift();
|
|
||||||
}
|
|
||||||
return parts;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Attempt to get relative path from absolute
|
|
||||||
*/
|
|
||||||
export function relativePath(dir: string): string {
|
|
||||||
if (dir.slice(0, rootDir.length) === rootDir) {
|
|
||||||
return '.' + dir.slice(rootDir.length);
|
|
||||||
}
|
|
||||||
return dir;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Subdirs list
|
|
||||||
*/
|
|
||||||
type FindSubdirsResult = Record<string, boolean>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Find sub-directories
|
|
||||||
*/
|
|
||||||
export function findSubdirs(
|
|
||||||
parentPath: PathList,
|
|
||||||
includeLinks?: boolean
|
|
||||||
): FindSubdirsResult {
|
|
||||||
const items: FindSubdirsResult = Object.create(null);
|
|
||||||
|
|
||||||
try {
|
|
||||||
const files = fs.readdirSync(pathToString(parentPath));
|
|
||||||
files.forEach((file) => {
|
|
||||||
const filename = pathToString(addToPath(parentPath, file));
|
|
||||||
try {
|
|
||||||
const stat = fs.lstatSync(filename);
|
|
||||||
if (includeLinks !== false && stat.isSymbolicLink()) {
|
|
||||||
items[file] = true;
|
|
||||||
} else if (stat.isDirectory() && !includeLinks) {
|
|
||||||
items[file] = false;
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
});
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
return items;
|
|
||||||
}
|
|
@ -1,45 +0,0 @@
|
|||||||
import { spawnSync } from 'child_process';
|
|
||||||
import { pathToString, relativePath } from './dirs';
|
|
||||||
import { consoleError, consoleLog } from './log';
|
|
||||||
import { actionOptions } from './options';
|
|
||||||
import { PackageInfo } from './types';
|
|
||||||
|
|
||||||
let npm: string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get NPM command
|
|
||||||
*/
|
|
||||||
function getNPMCommand(): string {
|
|
||||||
const clients = ['npm', 'npm.cmd'];
|
|
||||||
for (let i = 0; i < clients.length; i++) {
|
|
||||||
const cmd = clients[i];
|
|
||||||
const result = spawnSync(cmd, ['--version']);
|
|
||||||
if (result.status === 0) {
|
|
||||||
return cmd;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
consoleError('Cannot detect NPM client');
|
|
||||||
process.exit(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run NPM command
|
|
||||||
*/
|
|
||||||
export function runNPMCommand(workspace: PackageInfo, params: string[]): void {
|
|
||||||
if (npm === void 0) {
|
|
||||||
npm = getNPMCommand();
|
|
||||||
}
|
|
||||||
|
|
||||||
const cwd = pathToString(workspace.path);
|
|
||||||
consoleLog('\n' + relativePath(cwd) + ':', npm, params.join(' '));
|
|
||||||
const result = spawnSync(npm, params, {
|
|
||||||
cwd,
|
|
||||||
stdio: actionOptions.silent ? 'pipe' : 'inherit',
|
|
||||||
});
|
|
||||||
if (result.status !== 0) {
|
|
||||||
consoleError(
|
|
||||||
`Failed to run "${npm} ${params.join(' ')}" at ${relativePath(cwd)}`
|
|
||||||
);
|
|
||||||
process.exit(result.status);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,75 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import { dirname } from 'path';
|
|
||||||
import { addToPath, pathToString, relativePath } from './dirs';
|
|
||||||
import { consoleLog } from './log';
|
|
||||||
import type { PathList } from './types';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create symbolic link
|
|
||||||
*/
|
|
||||||
export function createLink(from: PathList, to: PathList, unlink = true): void {
|
|
||||||
const fromDir = pathToString(from, true);
|
|
||||||
const targetDir = pathToString(to, true);
|
|
||||||
if (unlink) {
|
|
||||||
rmdir(fromDir);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create parent directory
|
|
||||||
const dir = dirname(fromDir);
|
|
||||||
try {
|
|
||||||
fs.mkdirSync(dir, {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
|
|
||||||
// Create link
|
|
||||||
consoleLog(
|
|
||||||
'Creating link:',
|
|
||||||
relativePath(fromDir),
|
|
||||||
'->',
|
|
||||||
relativePath(targetDir)
|
|
||||||
);
|
|
||||||
fs.symlinkSync(targetDir, fromDir, 'dir');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove symbolic link
|
|
||||||
*/
|
|
||||||
export function removeLink(path: PathList, packageName: string): void {
|
|
||||||
const dir = pathToString(addToPath(path, packageName));
|
|
||||||
consoleLog('Removing link:', relativePath(dir));
|
|
||||||
try {
|
|
||||||
fs.unlinkSync(dir);
|
|
||||||
} catch (err) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Remove parent directory if empty
|
|
||||||
if (packageName.split('/').length === 2) {
|
|
||||||
const parentDir = dirname(dir);
|
|
||||||
try {
|
|
||||||
fs.rmSync(parentDir);
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove directory or link if exists, recursively
|
|
||||||
*/
|
|
||||||
function rmdir(dir: string) {
|
|
||||||
try {
|
|
||||||
const stat = fs.lstatSync(dir);
|
|
||||||
if (stat.isDirectory() || stat.isSymbolicLink()) {
|
|
||||||
consoleLog('Removing', relativePath(dir));
|
|
||||||
fs.rmSync(dir, {
|
|
||||||
recursive: true,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
//
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
import { actionOptions } from './options';
|
|
||||||
|
|
||||||
export function consoleLog(...args: unknown[]) {
|
|
||||||
if (!actionOptions.silent) {
|
|
||||||
console.log(...args);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export function consoleError(...args: unknown[]) {
|
|
||||||
if (!actionOptions.silent) {
|
|
||||||
console.error(...args);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
type PackageTypeFilter = 'private' | 'public' | 'all';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Interface for options
|
|
||||||
*/
|
|
||||||
export interface ActionOptions {
|
|
||||||
// Run command if present, applies to 'run' and 'run-script'
|
|
||||||
ifPresent: boolean;
|
|
||||||
|
|
||||||
// Filter packages by `private` property, undefined if not set
|
|
||||||
private?: PackageTypeFilter;
|
|
||||||
|
|
||||||
// Filter by workspace
|
|
||||||
workspaces: string[];
|
|
||||||
|
|
||||||
// Filter by package name
|
|
||||||
packages: string[];
|
|
||||||
|
|
||||||
// Silent
|
|
||||||
silent: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Options
|
|
||||||
*/
|
|
||||||
export const actionOptions: ActionOptions = {
|
|
||||||
ifPresent: false,
|
|
||||||
workspaces: [],
|
|
||||||
packages: [],
|
|
||||||
silent: false,
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Toggle private filter
|
|
||||||
*/
|
|
||||||
export function enablePrivateFilter(value: boolean) {
|
|
||||||
const newValue: PackageTypeFilter = value ? 'private' : 'public';
|
|
||||||
|
|
||||||
if (!actionOptions.private) {
|
|
||||||
// Not set: set to new value
|
|
||||||
actionOptions.private = newValue;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (actionOptions.private !== newValue) {
|
|
||||||
// Enable all
|
|
||||||
actionOptions.private = 'all';
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,82 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import type { PathList, PackageName, PackageInfo } from './types';
|
|
||||||
import { fixDir } from './dirs';
|
|
||||||
import { addToPath } from './dirs';
|
|
||||||
import { pathToString } from './dirs';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get package name
|
|
||||||
*/
|
|
||||||
export function getPackageInfo(path: PathList): PackageInfo | null {
|
|
||||||
const packageFilename = pathToString(addToPath(path, 'package.json'));
|
|
||||||
|
|
||||||
let data: Record<string, unknown>;
|
|
||||||
let name: string;
|
|
||||||
try {
|
|
||||||
data = JSON.parse(fs.readFileSync(packageFilename, 'utf8'));
|
|
||||||
if (
|
|
||||||
typeof data !== 'object' ||
|
|
||||||
!data ||
|
|
||||||
typeof data.name !== 'string'
|
|
||||||
) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
name = data.name;
|
|
||||||
} catch (err) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
const version = typeof data.version === 'string' ? data.version : '';
|
|
||||||
const isPrivate = version ? !!data.private : true;
|
|
||||||
const scripts =
|
|
||||||
typeof data.scripts === 'object' ? Object.keys(data.scripts) : [];
|
|
||||||
return {
|
|
||||||
name,
|
|
||||||
private: isPrivate,
|
|
||||||
version,
|
|
||||||
scripts,
|
|
||||||
path,
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get package name
|
|
||||||
*/
|
|
||||||
export function getPackageName(path: PathList): PackageName | null {
|
|
||||||
const packageFilename = pathToString(addToPath(path, 'package.json'));
|
|
||||||
|
|
||||||
let packageName: unknown;
|
|
||||||
try {
|
|
||||||
packageName = JSON.parse(fs.readFileSync(packageFilename, 'utf8')).name;
|
|
||||||
} catch (err) {
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
return typeof packageName === 'string' ? packageName : null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if package exists
|
|
||||||
*/
|
|
||||||
export function packageExists(path: PathList, name: PackageName): boolean {
|
|
||||||
const newPath = addToPath(path, name);
|
|
||||||
return getPackageName(newPath) !== null;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cache
|
|
||||||
*/
|
|
||||||
let fixPackageName: PackageName;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get package name for fix
|
|
||||||
*/
|
|
||||||
export function getFixPackageName(): PackageName {
|
|
||||||
if (!fixPackageName) {
|
|
||||||
// Get name of current package
|
|
||||||
fixPackageName = getPackageName([fixDir]);
|
|
||||||
if (fixPackageName === null) {
|
|
||||||
throw new Error('Cannot get package name for fix');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return fixPackageName;
|
|
||||||
}
|
|
@ -1,43 +0,0 @@
|
|||||||
import type { PathList, PackageName } from './types';
|
|
||||||
import { addToPath, findSubdirs } from './dirs';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Callback for scanPackages()
|
|
||||||
*/
|
|
||||||
export type ScanPackagesCallback = (dirs: PathList, isLink: boolean) => void;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Scan path for packages, using callback
|
|
||||||
*/
|
|
||||||
export function scanPackages(
|
|
||||||
path: PathList,
|
|
||||||
callback: ScanPackagesCallback
|
|
||||||
): void {
|
|
||||||
const subdirs = findSubdirs(path);
|
|
||||||
Object.keys(subdirs).forEach((subdir) => {
|
|
||||||
const isLink = subdirs[subdir];
|
|
||||||
if (subdir.slice(0, 1) === '@' && !isLink) {
|
|
||||||
// Namespace
|
|
||||||
const nestedPath = addToPath(path, subdir);
|
|
||||||
const subdirs2 = findSubdirs(nestedPath);
|
|
||||||
Object.keys(subdirs2).forEach((subdir2) => {
|
|
||||||
callback([subdir, subdir2], subdirs2[subdir2]);
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
callback([subdir], isLink);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Find all linked packages
|
|
||||||
*/
|
|
||||||
export function findLinkedPackages(path: PathList): PackageName[] {
|
|
||||||
const result = [];
|
|
||||||
scanPackages(path, (dirs, isLink) => {
|
|
||||||
if (isLink) {
|
|
||||||
result.push(dirs.join('/'));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
return result;
|
|
||||||
}
|
|
@ -1,49 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import type { PackageName, PackageInfo } from './types';
|
|
||||||
import { pathToString } from './dirs';
|
|
||||||
import { addToPath } from './dirs';
|
|
||||||
import { scanPackages } from './packages';
|
|
||||||
import { findWorkspaces } from './workspaces';
|
|
||||||
import { removeLink } from './link';
|
|
||||||
|
|
||||||
// Cache
|
|
||||||
let packageNames: Set<PackageName>;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get all local packages
|
|
||||||
*/
|
|
||||||
function getLocalPackages(): Set<PackageName> {
|
|
||||||
if (!packageNames) {
|
|
||||||
packageNames = new Set(findWorkspaces().map((item) => item.name));
|
|
||||||
}
|
|
||||||
|
|
||||||
return packageNames;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Remove all symbolic links from workspace
|
|
||||||
*/
|
|
||||||
export function removeLinksFromWorkspace(workspace: PackageInfo) {
|
|
||||||
// Create node_module if it doesn't exist
|
|
||||||
const modulesDir = addToPath(workspace.path, 'node_modules');
|
|
||||||
try {
|
|
||||||
fs.lstatSync(pathToString(modulesDir));
|
|
||||||
} catch (err) {
|
|
||||||
// Directory does not exist
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Get all packages
|
|
||||||
const localPackages = getLocalPackages();
|
|
||||||
|
|
||||||
// Find all existing packages
|
|
||||||
scanPackages(modulesDir, (dirs, isLink) => {
|
|
||||||
if (!isLink) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
const packageName = dirs.join('/');
|
|
||||||
if (localPackages.has(packageName)) {
|
|
||||||
removeLink(modulesDir, packageName);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
/**
|
|
||||||
* List of directories
|
|
||||||
*/
|
|
||||||
export type PathList = string[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Package name
|
|
||||||
*/
|
|
||||||
export type PackageName = string;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Package info
|
|
||||||
*/
|
|
||||||
export interface PackageInfo {
|
|
||||||
name: PackageName;
|
|
||||||
private: boolean;
|
|
||||||
version: string;
|
|
||||||
scripts: string[];
|
|
||||||
path: PathList;
|
|
||||||
}
|
|
@ -1,89 +0,0 @@
|
|||||||
import fs from 'fs';
|
|
||||||
import { addLinksToWorkspace } from './add-links';
|
|
||||||
import { addToPath, pathToString, relativePath } from './dirs';
|
|
||||||
import { runNPMCommand } from './exec';
|
|
||||||
import { consoleLog } from './log';
|
|
||||||
import { PackageInfo } from './types';
|
|
||||||
import { findWorkspaces } from './workspaces';
|
|
||||||
|
|
||||||
const props: string[] = [
|
|
||||||
'dependencies',
|
|
||||||
'devDependencies',
|
|
||||||
'optionalDependencies',
|
|
||||||
];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Change versions of local package
|
|
||||||
*/
|
|
||||||
export function updateVersions(workspace: PackageInfo) {
|
|
||||||
// Find all workspaces
|
|
||||||
const workspaces = findWorkspaces();
|
|
||||||
|
|
||||||
// Get package.json
|
|
||||||
const packageFilename = pathToString(
|
|
||||||
addToPath(workspace.path, 'package.json')
|
|
||||||
);
|
|
||||||
|
|
||||||
let data: Record<string, unknown>;
|
|
||||||
try {
|
|
||||||
data = JSON.parse(fs.readFileSync(packageFilename, 'utf8'));
|
|
||||||
} catch {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const updated: Set<string> = new Set();
|
|
||||||
props.forEach((prop) => {
|
|
||||||
const dependencies = data[prop];
|
|
||||||
if (typeof dependencies !== 'object') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Find local packages
|
|
||||||
workspaces.forEach((item) => {
|
|
||||||
if (
|
|
||||||
item.name === workspace.name ||
|
|
||||||
item.private ||
|
|
||||||
typeof dependencies[item.name] !== 'string'
|
|
||||||
) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const newVersion = item.version;
|
|
||||||
const oldValue = dependencies[item.name] as string;
|
|
||||||
|
|
||||||
// ^*
|
|
||||||
if (oldValue.slice(0, 1) === '^') {
|
|
||||||
const oldVersion = oldValue.slice(1);
|
|
||||||
if (oldVersion !== newVersion) {
|
|
||||||
// Change version
|
|
||||||
dependencies[item.name] = '^' + newVersion;
|
|
||||||
updated.add(item.name);
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// exact version
|
|
||||||
if (oldValue.match(/^[0-9]/) && oldValue !== newVersion) {
|
|
||||||
dependencies[item.name] = newVersion;
|
|
||||||
updated.add(item.name);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
if (!updated.size) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Update package.json
|
|
||||||
const newContent = JSON.stringify(data, null, '\t') + '\n';
|
|
||||||
fs.writeFileSync(packageFilename, newContent, 'utf8');
|
|
||||||
consoleLog(
|
|
||||||
`Updated dependencies in ${relativePath(packageFilename)}: ${Array.from(
|
|
||||||
updated
|
|
||||||
).join(', ')}`
|
|
||||||
);
|
|
||||||
|
|
||||||
// Reinstall dependencies to update package-lock.json
|
|
||||||
runNPMCommand(workspace, ['install']);
|
|
||||||
addLinksToWorkspace(workspace);
|
|
||||||
}
|
|
@ -1,105 +0,0 @@
|
|||||||
import type { PathList, PackageInfo } from './types';
|
|
||||||
import { rootDir } from './dirs';
|
|
||||||
import { addToPath, findSubdirs } from './dirs';
|
|
||||||
import { getFixPackageName, getPackageInfo } from './package';
|
|
||||||
import { actionOptions } from './options';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Workspaces cache
|
|
||||||
*/
|
|
||||||
let workspaces: PackageInfo[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Find workspaces
|
|
||||||
*/
|
|
||||||
export function findWorkspaces(): PackageInfo[] {
|
|
||||||
if (!workspaces) {
|
|
||||||
workspaces = [];
|
|
||||||
|
|
||||||
// Get name of current package
|
|
||||||
const fixPackageName = getFixPackageName();
|
|
||||||
|
|
||||||
function checkWorkspace(path: PathList) {
|
|
||||||
const info = getPackageInfo(path);
|
|
||||||
if (
|
|
||||||
info &&
|
|
||||||
info.name !== fixPackageName &&
|
|
||||||
!workspaces.find((item) => item.name === info.name)
|
|
||||||
) {
|
|
||||||
workspaces.push({
|
|
||||||
...info,
|
|
||||||
path,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
function checkEntry(parentPath: PathList, parts: PathList) {
|
|
||||||
const nextParts = parts.slice(0);
|
|
||||||
const next = nextParts.shift();
|
|
||||||
const subdirs =
|
|
||||||
next === '*'
|
|
||||||
? Object.keys(findSubdirs(parentPath, false))
|
|
||||||
: [next];
|
|
||||||
|
|
||||||
subdirs.forEach((subdir) => {
|
|
||||||
const dir = addToPath(parentPath, subdir);
|
|
||||||
if (nextParts.length) {
|
|
||||||
checkEntry(dir, nextParts);
|
|
||||||
} else {
|
|
||||||
checkWorkspace(dir);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Check all workspaces from lerna.json
|
|
||||||
const rootPackageJSON = require(rootDir + '/lerna.json');
|
|
||||||
rootPackageJSON.packages?.forEach((value: string) => {
|
|
||||||
checkEntry([], value.split('/'));
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
// Cache and return result
|
|
||||||
return workspaces;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Cache for filterWorkspaces() result
|
|
||||||
let filteredWorkspaces: PackageInfo[];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get only workspaces that match options
|
|
||||||
*/
|
|
||||||
export function filterWorkspaces(): PackageInfo[] {
|
|
||||||
if (!filteredWorkspaces) {
|
|
||||||
filteredWorkspaces = findWorkspaces().filter((item) => {
|
|
||||||
// Filter by `private` property
|
|
||||||
if (
|
|
||||||
actionOptions.private !== void 0 &&
|
|
||||||
actionOptions.private !== 'all'
|
|
||||||
) {
|
|
||||||
if (item.private !== (actionOptions.private === 'private')) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Match workspace
|
|
||||||
if (actionOptions.workspaces.length) {
|
|
||||||
const workspace = item.path.join('/');
|
|
||||||
if (actionOptions.workspaces.indexOf(workspace) === -1) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Match package
|
|
||||||
if (
|
|
||||||
actionOptions.packages.length &&
|
|
||||||
actionOptions.packages.indexOf(item.name) === -1
|
|
||||||
) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Match
|
|
||||||
return true;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
return filteredWorkspaces;
|
|
||||||
}
|
|
@ -1,197 +0,0 @@
|
|||||||
import { runAction } from './helpers/action';
|
|
||||||
import { addLinksToWorkspace } from './helpers/add-links';
|
|
||||||
import { cleanWorkspace } from './helpers/clean';
|
|
||||||
import { runNPMCommand } from './helpers/exec';
|
|
||||||
import { actionOptions, enablePrivateFilter } from './helpers/options';
|
|
||||||
import { removeLinksFromWorkspace } from './helpers/remove-links';
|
|
||||||
import { updateVersions } from './helpers/versions';
|
|
||||||
|
|
||||||
/**
|
|
||||||
* All actions
|
|
||||||
*/
|
|
||||||
const actionFunctions: Record<string, () => void> = {
|
|
||||||
link: () => {
|
|
||||||
runAction('Creating/fixing symbolic links', addLinksToWorkspace);
|
|
||||||
},
|
|
||||||
unlink: () => {
|
|
||||||
runAction('Removing symbolic links', removeLinksFromWorkspace);
|
|
||||||
},
|
|
||||||
clean: () => {
|
|
||||||
runAction('Removing node_modules', cleanWorkspace);
|
|
||||||
},
|
|
||||||
reinstall: () => {
|
|
||||||
runAction('Installing dependencies', (workspace) => {
|
|
||||||
runNPMCommand(workspace, ['install']);
|
|
||||||
addLinksToWorkspace(workspace);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
install: () => {
|
|
||||||
runAction(
|
|
||||||
'Installing dependencies and building packages',
|
|
||||||
(workspace) => {
|
|
||||||
if (workspace.scripts.indexOf('monorepo:preinstall') !== -1) {
|
|
||||||
runNPMCommand(workspace, ['run', 'monorepo:preinstall']);
|
|
||||||
}
|
|
||||||
runNPMCommand(workspace, ['install']);
|
|
||||||
addLinksToWorkspace(workspace);
|
|
||||||
if (workspace.scripts.indexOf('monorepo:postinstall') !== -1) {
|
|
||||||
runNPMCommand(workspace, ['run', 'monorepo:postinstall']);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
);
|
|
||||||
},
|
|
||||||
versions: () => {
|
|
||||||
runAction('Updating versions of local packages', updateVersions);
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Extra parameters for `run` or `run-script`
|
|
||||||
*/
|
|
||||||
let runParams: string[] | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Actions that require parameter
|
|
||||||
*/
|
|
||||||
interface ActionWithParam {
|
|
||||||
action: string;
|
|
||||||
param: string;
|
|
||||||
}
|
|
||||||
const actionWithParamsFunctions: Record<string, (param: string) => void> = {
|
|
||||||
run: (param: string) => {
|
|
||||||
const params = ['run', param].concat(runParams || []);
|
|
||||||
runAction(`Running "npm ${params.join(' ')}"`, (workspace) => {
|
|
||||||
if (
|
|
||||||
!actionOptions.ifPresent ||
|
|
||||||
workspace.scripts.indexOf(param) !== -1
|
|
||||||
) {
|
|
||||||
runNPMCommand(workspace, params);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
},
|
|
||||||
};
|
|
||||||
|
|
||||||
// Aliases
|
|
||||||
actionWithParamsFunctions['run-script'] = actionWithParamsFunctions['run'];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Run code
|
|
||||||
*/
|
|
||||||
export function run() {
|
|
||||||
// List of actions
|
|
||||||
const actions: (string | ActionWithParam)[] = [];
|
|
||||||
|
|
||||||
// Process args
|
|
||||||
let args = process.argv.slice(2);
|
|
||||||
|
|
||||||
// Check for extra options for `run`
|
|
||||||
const customParamsIndex = args.indexOf('--');
|
|
||||||
if (customParamsIndex > 0) {
|
|
||||||
runParams = args.slice(customParamsIndex);
|
|
||||||
args = args.slice(0, customParamsIndex);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Process args
|
|
||||||
let nextActionParam: string | null = null;
|
|
||||||
let nextOptionValue: string | null = null;
|
|
||||||
args.forEach((arg) => {
|
|
||||||
// Parameter for action with param
|
|
||||||
if (nextActionParam !== null) {
|
|
||||||
actions.push({
|
|
||||||
action: nextActionParam,
|
|
||||||
param: arg,
|
|
||||||
});
|
|
||||||
nextActionParam = null;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Parameter for option with param
|
|
||||||
if (nextOptionValue !== null) {
|
|
||||||
switch (nextOptionValue) {
|
|
||||||
case '--workspace':
|
|
||||||
case '-w':
|
|
||||||
actionOptions.workspaces.push(arg);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case '--package':
|
|
||||||
case '-p':
|
|
||||||
actionOptions.packages.push(arg);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
nextOptionValue = null;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Options
|
|
||||||
switch (arg) {
|
|
||||||
case '--if-present':
|
|
||||||
actionOptions.ifPresent = true;
|
|
||||||
return;
|
|
||||||
|
|
||||||
case '--silent':
|
|
||||||
actionOptions.silent = true;
|
|
||||||
return;
|
|
||||||
|
|
||||||
case '--public':
|
|
||||||
enablePrivateFilter(false);
|
|
||||||
return;
|
|
||||||
|
|
||||||
case '--private':
|
|
||||||
enablePrivateFilter(true);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Options with '='
|
|
||||||
const argParts = arg.split('=');
|
|
||||||
if (argParts.length > 1) {
|
|
||||||
const cmd = argParts.shift();
|
|
||||||
const value = argParts.join('=');
|
|
||||||
switch (cmd) {
|
|
||||||
case '--workspace':
|
|
||||||
case '-w':
|
|
||||||
actionOptions.workspaces.push(value);
|
|
||||||
return;
|
|
||||||
|
|
||||||
case '--package':
|
|
||||||
case '-p':
|
|
||||||
actionOptions.packages.push(value);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Action
|
|
||||||
if (actionFunctions[arg] !== void 0) {
|
|
||||||
actions.push(arg);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Action with parameter
|
|
||||||
if (actionWithParamsFunctions[arg] !== void 0) {
|
|
||||||
nextActionParam = arg;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Invalid argument
|
|
||||||
throw new Error(`Invalid argument: ${arg}`);
|
|
||||||
});
|
|
||||||
|
|
||||||
// Make sure arguments list is complete
|
|
||||||
if (nextActionParam !== null) {
|
|
||||||
throw new Error(`Missing parameter for action: ${nextActionParam}`);
|
|
||||||
}
|
|
||||||
if (nextOptionValue !== null) {
|
|
||||||
throw new Error(`Missing parameter for option: ${nextOptionValue}`);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Run actions
|
|
||||||
if (!actions.length) {
|
|
||||||
throw new Error('Nothing to do');
|
|
||||||
}
|
|
||||||
actions.forEach((action) => {
|
|
||||||
if (typeof action === 'string') {
|
|
||||||
actionFunctions[action]();
|
|
||||||
} else {
|
|
||||||
actionWithParamsFunctions[action.action](action.param);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"rootDir": "./src",
|
|
||||||
"outDir": "./lib",
|
|
||||||
"target": "ESNext",
|
|
||||||
"module": "CommonJS",
|
|
||||||
"declaration": true,
|
|
||||||
"sourceMap": true,
|
|
||||||
"strict": false,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"esModuleInterop": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"skipLibCheck": true
|
|
||||||
}
|
|
||||||
}
|
|
13
package-lock.json
generated
13
package-lock.json
generated
@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "iconify",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "iconify",
|
|
||||||
"hasInstallScript": true,
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -11,9 +11,10 @@
|
|||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/iconify/iconify.git"
|
"url": "https://github.com/iconify/iconify.git"
|
||||||
},
|
},
|
||||||
|
"packageManager": "pnpm@7.3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"install": "node monorepo install",
|
"install": "node monorepo install",
|
||||||
"clean": "node monorepo clean",
|
"clean": "rm -rf */*/node_modules",
|
||||||
"link": "node monorepo link",
|
"link": "node monorepo link",
|
||||||
"unlink": "node monorepo unlink",
|
"unlink": "node monorepo unlink",
|
||||||
"reinstall": "node monorepo clean reinstall",
|
"reinstall": "node monorepo clean reinstall",
|
||||||
|
10017
packages/api-redundancy/package-lock.json
generated
10017
packages/api-redundancy/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
3716
packages/api-redundancy/pnpm-lock.yaml
Normal file
3716
packages/api-redundancy/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
12214
packages/core/package-lock.json
generated
12214
packages/core/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
37
packages/types/package-lock.json
generated
37
packages/types/package-lock.json
generated
@ -1,37 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@iconify/types",
|
|
||||||
"version": "1.1.0",
|
|
||||||
"lockfileVersion": 2,
|
|
||||||
"requires": true,
|
|
||||||
"packages": {
|
|
||||||
"": {
|
|
||||||
"name": "@iconify/types",
|
|
||||||
"version": "1.1.0",
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {
|
|
||||||
"typescript": "^4.6.2"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/typescript": {
|
|
||||||
"version": "4.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz",
|
|
||||||
"integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==",
|
|
||||||
"dev": true,
|
|
||||||
"bin": {
|
|
||||||
"tsc": "bin/tsc",
|
|
||||||
"tsserver": "bin/tsserver"
|
|
||||||
},
|
|
||||||
"engines": {
|
|
||||||
"node": ">=4.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"typescript": {
|
|
||||||
"version": "4.6.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.2.tgz",
|
|
||||||
"integrity": "sha512-HM/hFigTBHZhLXshn9sN37H085+hQGeJHJ/X7LpBWLID/fbc2acUMfU+lGD98X81sKP+pFa9f0DZmCwB9GnbAg==",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
15
packages/types/pnpm-lock.yaml
Normal file
15
packages/types/pnpm-lock.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
|
specifiers:
|
||||||
|
typescript: ^4.6.2
|
||||||
|
|
||||||
|
devDependencies:
|
||||||
|
typescript: 4.7.4
|
||||||
|
|
||||||
|
packages:
|
||||||
|
|
||||||
|
/typescript/4.7.4:
|
||||||
|
resolution: {integrity: sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==}
|
||||||
|
engines: {node: '>=4.2.0'}
|
||||||
|
hasBin: true
|
||||||
|
dev: true
|
12284
packages/utils/package-lock.json
generated
12284
packages/utils/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
11
pnpm-workspace.yaml
Normal file
11
pnpm-workspace.yaml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
packages:
|
||||||
|
- 'packages/types'
|
||||||
|
- 'packages/api-redundancy'
|
||||||
|
- 'packages/utils'
|
||||||
|
- 'packages/core'
|
||||||
|
- 'iconify-icon/icon'
|
||||||
|
- 'iconify-icon/*'
|
||||||
|
- 'components/*'
|
||||||
|
- 'components-demo/*'
|
||||||
|
- 'iconify-icon-demo/*'
|
||||||
|
- 'debug/*'
|
Loading…
Reference in New Issue
Block a user