From 721e63c67cf1f0b27f8d114be66eabf47cb7c527 Mon Sep 17 00:00:00 2001 From: steeeee0223 Date: Fri, 19 Apr 2024 05:18:37 +0000 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=9A=80=20`ui`=20Setup=20`tsup`=20for?= =?UTF-8?q?=20build?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/ui/package.json | 39 ++++++-- packages/ui/tsup.config.ts | 35 +++++++ pnpm-lock.yaml | 191 +++++++++++++++++++++++++++---------- 3 files changed, 209 insertions(+), 56 deletions(-) create mode 100644 packages/ui/tsup.config.ts diff --git a/packages/ui/package.json b/packages/ui/package.json index 45f4c2cc..b05ef7c4 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -4,16 +4,38 @@ "version": "0.1.0", "type": "module", "exports": { - "./components": "./src/components/index.ts", - "./shadcn": "./src/components/ui/index.ts", - "./custom": "./src/components/custom/index.ts", - "./dnd": "./src/components/dnd/index.ts", - "./notion": "./src/components/notion/index.ts", - "./hooks": "./src/hooks/index.ts", - "./lib": "./src/lib/index.ts" + "./custom": { + "import": "./dist/custom.cjs", + "types": "./dist/custom.d.cts" + }, + "./dnd": { + "import": "./dist/dnd.cjs", + "types": "./dist/dnd.d.cts" + }, + "./form": { + "import": "./dist/form.cjs", + "types": "./dist/form.d.cts" + }, + "./hooks": { + "import": "./dist/hooks.cjs", + "types": "./dist/hooks.d.cts" + }, + "./notion": { + "import": "./dist/notion.cjs", + "types": "./dist/notion.d.cts" + }, + "./shadcn": { + "import": "./dist/shadcn.cjs", + "types": "./dist/shadcn.d.cts" + }, + "./lib": { + "import": "./dist/lib.js", + "types": "./dist/lib.d.ts" + } }, "license": "MIT", "scripts": { + "build": "rm -rf dist && tsup", "ui:add": "pnpm dlx shadcn-ui@latest add", "clean": "rm -rf .turbo node_modules", "format": "prettier --check . --ignore-path ../../.gitignore", @@ -80,6 +102,7 @@ "jsdom": "^23.0.1", "prettier": "^3.1.1", "tailwindcss": "^3.4.0", + "tsup": "^8.0.2", "typescript": "^5.3.3", "vitest": "^1.1.0", "zod": "^3.22.4" @@ -94,4 +117,4 @@ ] }, "prettier": "@acme/prettier-config" -} +} \ No newline at end of file diff --git a/packages/ui/tsup.config.ts b/packages/ui/tsup.config.ts new file mode 100644 index 00000000..03db4b06 --- /dev/null +++ b/packages/ui/tsup.config.ts @@ -0,0 +1,35 @@ +import { defineConfig } from "tsup"; + +export default defineConfig([ + { + banner: { + js: `"use client";`, + }, + entry: { + custom: "src/components/custom/index.ts", + dnd: "src/components/dnd/index.ts", + form: "src/components/form/index.ts", + notion: "src/components/notion/index.ts", + shadcn: "src/components/ui/index.ts", + hooks: "src/hooks/index.ts", + }, + splitting: false, + target: "esnext", + sourcemap: true, + clean: false, + dts: true, + tsconfig: "tsconfig.json", + }, + { + entry: { + lib: "src/lib/index.ts", + }, + splitting: false, + target: "esnext", + sourcemap: true, + clean: false, + dts: true, + format: "esm", + tsconfig: "tsconfig.json", + }, +]); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4661a4ae..85722631 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -716,6 +716,9 @@ importers: tailwindcss: specifier: ^3.4.0 version: 3.4.0 + tsup: + specifier: ^8.0.2 + version: 8.0.2(postcss@8.4.37)(typescript@5.3.3) typescript: specifier: ^5.3.3 version: 5.3.3 @@ -7762,8 +7765,8 @@ packages: next: 14.0.4(@babel/core@7.23.7)(react-dom@18.2.0)(react@18.2.0) node-polyfill-webpack-plugin: 2.0.1(webpack@5.90.3) pnp-webpack-plugin: 1.7.0(typescript@5.3.3) - postcss: 8.4.32 - postcss-loader: 7.3.4(postcss@8.4.32)(typescript@5.3.3)(webpack@5.90.3) + postcss: 8.4.37 + postcss-loader: 7.3.4(postcss@8.4.37)(typescript@5.3.3)(webpack@5.90.3) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) resolve-url-loader: 5.0.0 @@ -8726,7 +8729,7 @@ packages: resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==} dependencies: '@types/eslint': 8.56.0 - '@types/estree': 1.0.1 + '@types/estree': 1.0.5 dev: true /@types/eslint@8.56.0: @@ -10377,6 +10380,16 @@ packages: semver: 7.5.4 dev: true + /bundle-require@4.0.2(esbuild@0.19.12): + resolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.17' + dependencies: + esbuild: 0.19.12 + load-tsconfig: 0.2.5 + dev: true + /busboy@1.6.0: resolution: {integrity: sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==} engines: {node: '>=10.16.0'} @@ -11072,12 +11085,12 @@ packages: peerDependencies: webpack: ^5.0.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.32) - postcss: 8.4.32 - postcss-modules-extract-imports: 3.0.0(postcss@8.4.32) - postcss-modules-local-by-default: 4.0.3(postcss@8.4.32) - postcss-modules-scope: 3.1.0(postcss@8.4.32) - postcss-modules-values: 4.0.0(postcss@8.4.32) + icss-utils: 5.1.0(postcss@8.4.37) + postcss: 8.4.37 + postcss-modules-extract-imports: 3.0.0(postcss@8.4.37) + postcss-modules-local-by-default: 4.0.3(postcss@8.4.37) + postcss-modules-scope: 3.1.0(postcss@8.4.37) + postcss-modules-values: 4.0.0(postcss@8.4.37) postcss-value-parser: 4.2.0 semver: 7.5.4 webpack: 5.89.0(@swc/core@1.3.102)(esbuild@0.18.20) @@ -11089,12 +11102,12 @@ packages: peerDependencies: webpack: ^5.0.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.32) - postcss: 8.4.32 - postcss-modules-extract-imports: 3.0.0(postcss@8.4.32) - postcss-modules-local-by-default: 4.0.3(postcss@8.4.32) - postcss-modules-scope: 3.1.0(postcss@8.4.32) - postcss-modules-values: 4.0.0(postcss@8.4.32) + icss-utils: 5.1.0(postcss@8.4.37) + postcss: 8.4.37 + postcss-modules-extract-imports: 3.0.0(postcss@8.4.37) + postcss-modules-local-by-default: 4.0.3(postcss@8.4.37) + postcss-modules-scope: 3.1.0(postcss@8.4.37) + postcss-modules-values: 4.0.0(postcss@8.4.37) postcss-value-parser: 4.2.0 semver: 7.5.4 webpack: 5.90.3(@swc/core@1.3.102)(esbuild@0.18.20) @@ -11115,7 +11128,7 @@ packages: engines: {node: ^10 || ^12.20.0 || ^14.13.0 || >=15.0.0} dependencies: mdn-data: 2.0.30 - source-map-js: 1.0.2 + source-map-js: 1.2.0 dev: true /css-what@6.1.0: @@ -13689,13 +13702,13 @@ packages: safer-buffer: 2.1.2 dev: true - /icss-utils@5.1.0(postcss@8.4.32): + /icss-utils@5.1.0(postcss@8.4.37): resolution: {integrity: sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.32 + postcss: 8.4.37 dev: true /ieee754@1.2.1: @@ -14281,6 +14294,11 @@ packages: resolution: {integrity: sha512-GPExOkcMsCLBTi1YetY2LmkoY559fss0+0KVa6kOfb2YFe84nAM7Nm/XzuZozah4iHgmBGrCOHL5/cy670SBRw==} dev: false + /joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + dev: true + /js-base64@3.7.6: resolution: {integrity: sha512-NPrWuHFxFUknr1KqJRDgUQPexQF0uIJWjeT+2KjEePhitQxQEx5EJBG1lVn5/hc8aLycTpXrDOgPQ6Zq+EDiTA==} dev: false @@ -14563,6 +14581,11 @@ packages: uqr: 0.1.2 dev: true + /load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + /loader-runner@4.3.0: resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==} engines: {node: '>=6.11.5'} @@ -14637,6 +14660,10 @@ packages: /lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + dev: true + /lodash.throttle@4.1.1: resolution: {integrity: sha512-wIkUCfVKpVsWo3JSZlc+8MB5it+2AN5W8J7YVMST30UrvcQNZ1Okbj+rbVniijTWE6FGYy4XJq/rHkas8qJMLQ==} dev: true @@ -16417,27 +16444,27 @@ packages: '@babel/runtime': 7.23.7 dev: true - /postcss-import@15.1.0(postcss@8.4.32): + /postcss-import@15.1.0(postcss@8.4.37): resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==} engines: {node: '>=14.0.0'} peerDependencies: postcss: ^8.0.0 dependencies: - postcss: 8.4.32 + postcss: 8.4.37 postcss-value-parser: 4.2.0 read-cache: 1.0.0 resolve: 1.22.4 - /postcss-js@4.0.1(postcss@8.4.32): + /postcss-js@4.0.1(postcss@8.4.37): resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==} engines: {node: ^12 || ^14 || >= 16} peerDependencies: postcss: ^8.4.21 dependencies: camelcase-css: 2.0.1 - postcss: 8.4.32 + postcss: 8.4.37 - /postcss-load-config@4.0.1(postcss@8.4.32): + /postcss-load-config@4.0.1(postcss@8.4.37): resolution: {integrity: sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA==} engines: {node: '>= 14'} peerDependencies: @@ -16450,10 +16477,10 @@ packages: optional: true dependencies: lilconfig: 2.1.0 - postcss: 8.4.32 + postcss: 8.4.37 yaml: 2.2.2 - /postcss-loader@7.3.4(postcss@8.4.32)(typescript@5.3.3)(webpack@5.90.3): + /postcss-loader@7.3.4(postcss@8.4.37)(typescript@5.3.3)(webpack@5.90.3): resolution: {integrity: sha512-iW5WTTBSC5BfsBJ9daFMPVrLT36MrNiC6fqOZTTaHjBNX6Pfd5p+hSBqe/fEeNd7pc13QiAyGt7VdGMw4eRC4A==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -16462,61 +16489,61 @@ packages: dependencies: cosmiconfig: 8.3.6(typescript@5.3.3) jiti: 1.21.0 - postcss: 8.4.32 + postcss: 8.4.37 semver: 7.5.4 webpack: 5.90.3(@swc/core@1.3.102)(esbuild@0.18.20) transitivePeerDependencies: - typescript dev: true - /postcss-modules-extract-imports@3.0.0(postcss@8.4.32): + /postcss-modules-extract-imports@3.0.0(postcss@8.4.37): resolution: {integrity: sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.32 + postcss: 8.4.37 dev: true - /postcss-modules-local-by-default@4.0.3(postcss@8.4.32): + /postcss-modules-local-by-default@4.0.3(postcss@8.4.37): resolution: {integrity: sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.32) - postcss: 8.4.32 + icss-utils: 5.1.0(postcss@8.4.37) + postcss: 8.4.37 postcss-selector-parser: 6.0.12 postcss-value-parser: 4.2.0 dev: true - /postcss-modules-scope@3.1.0(postcss@8.4.32): + /postcss-modules-scope@3.1.0(postcss@8.4.37): resolution: {integrity: sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - postcss: 8.4.32 + postcss: 8.4.37 postcss-selector-parser: 6.0.12 dev: true - /postcss-modules-values@4.0.0(postcss@8.4.32): + /postcss-modules-values@4.0.0(postcss@8.4.37): resolution: {integrity: sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==} engines: {node: ^10 || ^12 || >= 14} peerDependencies: postcss: ^8.1.0 dependencies: - icss-utils: 5.1.0(postcss@8.4.32) - postcss: 8.4.32 + icss-utils: 5.1.0(postcss@8.4.37) + postcss: 8.4.37 dev: true - /postcss-nested@6.0.1(postcss@8.4.32): + /postcss-nested@6.0.1(postcss@8.4.37): resolution: {integrity: sha512-mEp4xPMi5bSWiMbsgoPfcP74lsWLHkQbZc3sY+jWYd65CUwXrUaTp0fmNpa01ZcETKlIgUdFN/MpS2xZtqL9dQ==} engines: {node: '>=12.0'} peerDependencies: postcss: ^8.2.14 dependencies: - postcss: 8.4.32 + postcss: 8.4.37 postcss-selector-parser: 6.0.12 /postcss-selector-parser@6.0.12: @@ -16535,7 +16562,7 @@ packages: dependencies: nanoid: 3.3.7 picocolors: 1.0.0 - source-map-js: 1.0.2 + source-map-js: 1.2.0 /postcss@8.4.32: resolution: {integrity: sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw==} @@ -16552,7 +16579,6 @@ packages: nanoid: 3.3.7 picocolors: 1.0.0 source-map-js: 1.2.0 - dev: true /preact-render-to-string@5.2.3(preact@10.11.3): resolution: {integrity: sha512-aPDxUn5o3GhWdtJtW0svRC2SS/l8D9MAgo2+AWml+BhDImb27ALf04Q2d+AHqUUOc6RdSXFIBVa2gxzgMKgtZA==} @@ -17734,7 +17760,7 @@ packages: adjust-sourcemap-loader: 4.0.0 convert-source-map: 1.9.0 loader-utils: 2.0.4 - postcss: 8.4.32 + postcss: 8.4.37 source-map: 0.6.1 dev: true @@ -18260,7 +18286,6 @@ packages: /source-map-js@1.2.0: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} - dev: true /source-map-support@0.5.21: resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} @@ -18279,6 +18304,13 @@ packages: engines: {node: '>= 8'} dev: true + /source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + dependencies: + whatwg-url: 7.1.0 + dev: true + /space-separated-tokens@1.1.5: resolution: {integrity: sha512-q/JSVd1Lptzhf5bkYm4ob4iWPjx0KiRe3sRFBNrVqbJkFaBm5vbbowy1mymoPNLRa52+oadOhJ+K49wsSeSjTA==} dev: true @@ -18688,11 +18720,11 @@ packages: normalize-path: 3.0.0 object-hash: 3.0.0 picocolors: 1.0.0 - postcss: 8.4.32 - postcss-import: 15.1.0(postcss@8.4.32) - postcss-js: 4.0.1(postcss@8.4.32) - postcss-load-config: 4.0.1(postcss@8.4.32) - postcss-nested: 6.0.1(postcss@8.4.32) + postcss: 8.4.37 + postcss-import: 15.1.0(postcss@8.4.37) + postcss-js: 4.0.1(postcss@8.4.37) + postcss-load-config: 4.0.1(postcss@8.4.37) + postcss-nested: 6.0.1(postcss@8.4.37) postcss-selector-parser: 6.0.12 resolve: 1.22.4 sucrase: 3.32.0 @@ -19007,6 +19039,12 @@ packages: /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} + /tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + dependencies: + punycode: 2.3.1 + dev: true + /tr46@5.0.0: resolution: {integrity: sha512-tk2G5R2KRwBd+ZN0zaEXpmzdKyOYksXwywulIX95MBODjSzMIuQnQ3m8JxgbhnL1LeVo7lqQKsYa1O3Htl7K5g==} engines: {node: '>=18'} @@ -19014,6 +19052,11 @@ packages: punycode: 2.3.1 dev: true + /tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + dev: true + /trim-lines@3.0.1: resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==} dev: false @@ -19126,6 +19169,46 @@ packages: /tslib@2.6.2: resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + /tsup@8.0.2(postcss@8.4.37)(typescript@5.3.3): + resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + dependencies: + bundle-require: 4.0.2(esbuild@0.19.12) + cac: 6.7.14 + chokidar: 3.5.3 + debug: 4.3.4 + esbuild: 0.19.12 + execa: 5.1.1 + globby: 11.1.0 + joycon: 3.1.1 + postcss: 8.4.37 + postcss-load-config: 4.0.1(postcss@8.4.37) + resolve-from: 5.0.0 + rollup: 4.13.0 + source-map: 0.8.0-beta.0 + sucrase: 3.32.0 + tree-kill: 1.2.2 + typescript: 5.3.3 + transitivePeerDependencies: + - supports-color + - ts-node + dev: true + /tsutils@3.21.0(typescript@5.3.3): resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} @@ -19959,7 +20042,7 @@ packages: dependencies: '@types/node': 20.10.6 esbuild: 0.19.8 - postcss: 8.4.32 + postcss: 8.4.37 rollup: 4.6.1 optionalDependencies: fsevents: 2.3.3 @@ -20118,6 +20201,10 @@ packages: /webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} + /webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + dev: true + /webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -20267,6 +20354,14 @@ packages: tr46: 0.0.3 webidl-conversions: 3.0.1 + /whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + dev: true + /which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} dependencies: From 55934ef7efeae6996edeff5337a293a8a490941a Mon Sep 17 00:00:00 2001 From: steeeee0223 Date: Fri, 19 Apr 2024 05:21:23 +0000 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=9A=A7=20`build`=20Fix=20import=20pat?= =?UTF-8?q?h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/app/_components/auth-showcase.tsx | 2 +- apps/nextjs/src/app/_components/posts.tsx | 4 +- apps/nextjs/src/app/layout.tsx | 2 +- .../app/(marketing)/_components/footer.tsx | 2 +- .../app/(marketing)/_components/heading.tsx | 2 +- .../app/(marketing)/_components/navbar.tsx | 2 +- apps/worxpace/src/app/layout.tsx | 2 +- apps/worxpace/src/constants/images.ts | 977 ------------------ packages/ui/package.json | 2 +- 9 files changed, 9 insertions(+), 986 deletions(-) delete mode 100644 apps/worxpace/src/constants/images.ts diff --git a/apps/nextjs/src/app/_components/auth-showcase.tsx b/apps/nextjs/src/app/_components/auth-showcase.tsx index 418300a5..be11a349 100644 --- a/apps/nextjs/src/app/_components/auth-showcase.tsx +++ b/apps/nextjs/src/app/_components/auth-showcase.tsx @@ -1,5 +1,5 @@ import { auth, signIn, signOut } from "@acme/auth"; -import { Button } from "@acme/ui/components"; +import { Button } from "@acme/ui/shadcn"; export async function AuthShowcase() { const session = await auth(); diff --git a/apps/nextjs/src/app/_components/posts.tsx b/apps/nextjs/src/app/_components/posts.tsx index 49233e22..ee43e99e 100644 --- a/apps/nextjs/src/app/_components/posts.tsx +++ b/apps/nextjs/src/app/_components/posts.tsx @@ -1,6 +1,7 @@ "use client"; import type { RouterOutputs } from "@acme/api"; +import { cn } from "@acme/ui/lib"; import { Button, Form, @@ -11,8 +12,7 @@ import { Input, toast, useForm, -} from "@acme/ui/components"; -import { cn } from "@acme/ui/lib"; +} from "@acme/ui/shadcn"; import { CreatePostSchema } from "@acme/validators"; import { api } from "~/trpc/react"; diff --git a/apps/nextjs/src/app/layout.tsx b/apps/nextjs/src/app/layout.tsx index 51b26332..e7c7de22 100644 --- a/apps/nextjs/src/app/layout.tsx +++ b/apps/nextjs/src/app/layout.tsx @@ -4,8 +4,8 @@ import { headers } from "next/headers"; import { GeistMono } from "geist/font/mono"; import { GeistSans } from "geist/font/sans"; -import { ThemeProvider, ThemeToggle, Toaster } from "@acme/ui/components"; import { cn } from "@acme/ui/lib"; +import { ThemeProvider, ThemeToggle, Toaster } from "@acme/ui/shadcn"; import { env } from "~/env"; import { TRPCReactProvider } from "~/trpc/react"; diff --git a/apps/worxpace/src/app/(marketing)/_components/footer.tsx b/apps/worxpace/src/app/(marketing)/_components/footer.tsx index e6c4b6e9..2fae3661 100644 --- a/apps/worxpace/src/app/(marketing)/_components/footer.tsx +++ b/apps/worxpace/src/app/(marketing)/_components/footer.tsx @@ -1,5 +1,5 @@ -import { Button } from "@acme/ui/components"; import { cn } from "@acme/ui/lib"; +import { Button } from "@acme/ui/shadcn"; import { theme } from "~/constants/theme"; import Logo from "./logo"; diff --git a/apps/worxpace/src/app/(marketing)/_components/heading.tsx b/apps/worxpace/src/app/(marketing)/_components/heading.tsx index 7650716a..59668ac0 100644 --- a/apps/worxpace/src/app/(marketing)/_components/heading.tsx +++ b/apps/worxpace/src/app/(marketing)/_components/heading.tsx @@ -3,7 +3,7 @@ import Link from "next/link"; import { ArrowRight } from "lucide-react"; -import { Button } from "@acme/ui/components"; +import { Button } from "@acme/ui/shadcn"; import { theme } from "~/constants/theme"; diff --git a/apps/worxpace/src/app/(marketing)/_components/navbar.tsx b/apps/worxpace/src/app/(marketing)/_components/navbar.tsx index e230d3ce..5cf136dd 100644 --- a/apps/worxpace/src/app/(marketing)/_components/navbar.tsx +++ b/apps/worxpace/src/app/(marketing)/_components/navbar.tsx @@ -1,8 +1,8 @@ "use client"; -import { ThemeToggle } from "@acme/ui/components"; import { useScrollTop } from "@acme/ui/hooks"; import { cn } from "@acme/ui/lib"; +import { ThemeToggle } from "@acme/ui/shadcn"; import { theme } from "~/constants/theme"; import Logo from "./logo"; diff --git a/apps/worxpace/src/app/layout.tsx b/apps/worxpace/src/app/layout.tsx index 7f9a8508..46a737d5 100644 --- a/apps/worxpace/src/app/layout.tsx +++ b/apps/worxpace/src/app/layout.tsx @@ -1,7 +1,7 @@ import type { Metadata, Viewport } from "next"; import { Inter } from "next/font/google"; -import { ThemeProvider } from "@acme/ui/components"; +import { ThemeProvider } from "@acme/ui/shadcn"; import { env } from "~/env"; diff --git a/apps/worxpace/src/constants/images.ts b/apps/worxpace/src/constants/images.ts deleted file mode 100644 index 80e6eb77..00000000 --- a/apps/worxpace/src/constants/images.ts +++ /dev/null @@ -1,977 +0,0 @@ -export const defaultImages = [ - { - id: "HUiNRjXr-bQ", - slug: "selective-focus-photography-of-brown-leaves-HUiNRjXr-bQ", - created_at: "2017-10-12T04:46:43Z", - updated_at: "2023-11-11T05:02:31Z", - promoted_at: "2017-10-12T17:00:48Z", - width: 5184, - height: 3456, - color: "#592626", - blur_hash: "LZK]V|IU0gxuxuIpt6S30#Ipxt%1", - description: "Maple Leaves", - alt_description: "selective focus photography of brown leaves", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1507783548227-544c3b8fc065?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1507783548227-544c3b8fc065?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1507783548227-544c3b8fc065?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1507783548227-544c3b8fc065?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1507783548227-544c3b8fc065?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1507783548227-544c3b8fc065", - }, - links: { - self: "https://api.unsplash.com/photos/selective-focus-photography-of-brown-leaves-HUiNRjXr-bQ", - html: "https://unsplash.com/photos/selective-focus-photography-of-brown-leaves-HUiNRjXr-bQ", - download: - "https://unsplash.com/photos/HUiNRjXr-bQ/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/HUiNRjXr-bQ/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 944, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: {}, - user: { - id: "gGlMyHI3glI", - updated_at: "2023-11-06T21:57:26Z", - username: "timothyeberly", - name: "Timothy Eberly", - first_name: "Timothy", - last_name: "Eberly", - twitter_username: "JestNinja", - portfolio_url: "https://www.timothyeberly.com/", - bio: "Graphic designer and photographer from the inland NW. God first. Camera second. My website is my name. It would be great to have you stop by and say hello! ", - location: null, - links: { - self: "https://api.unsplash.com/users/timothyeberly", - html: "https://unsplash.com/@timothyeberly", - photos: "https://api.unsplash.com/users/timothyeberly/photos", - likes: "https://api.unsplash.com/users/timothyeberly/likes", - portfolio: "https://api.unsplash.com/users/timothyeberly/portfolio", - following: "https://api.unsplash.com/users/timothyeberly/following", - followers: "https://api.unsplash.com/users/timothyeberly/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1555356959863-ee27d76a1d6e?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1555356959863-ee27d76a1d6e?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1555356959863-ee27d76a1d6e?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "iam_timothy_eberly", - total_collections: 0, - total_likes: 31, - total_photos: 422, - total_promoted_photos: 51, - accepted_tos: true, - for_hire: true, - social: { - instagram_username: "iam_timothy_eberly", - portfolio_url: "https://www.timothyeberly.com/", - twitter_username: "JestNinja", - paypal_email: null, - }, - }, - exif: { - make: "Canon", - model: "Canon EOS REBEL T3i", - name: "Canon, EOS REBEL T3i", - exposure_time: "1/3200", - aperture: "1.8", - focal_length: "50.0", - iso: 100, - }, - location: { - name: null, - city: null, - country: null, - position: { - latitude: null, - longitude: null, - }, - }, - views: 12811696, - downloads: 58168, - }, - { - id: "GGDuawxHUwo", - slug: "snow-covered-mountains-during-daytime-GGDuawxHUwo", - created_at: "2021-08-17T17:38:32Z", - updated_at: "2023-11-11T05:24:33Z", - promoted_at: "2021-08-18T10:30:02Z", - width: 4000, - height: 6000, - color: "#262626", - blur_hash: "LTD+G3fQNGoL~BayWCjt9uj[xZWV", - description: null, - alt_description: "snow covered mountains during daytime", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1629221892514-7abb71a803f7?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1629221892514-7abb71a803f7?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1629221892514-7abb71a803f7?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1629221892514-7abb71a803f7?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1629221892514-7abb71a803f7?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1629221892514-7abb71a803f7", - }, - links: { - self: "https://api.unsplash.com/photos/snow-covered-mountains-during-daytime-GGDuawxHUwo", - html: "https://unsplash.com/photos/snow-covered-mountains-during-daytime-GGDuawxHUwo", - download: - "https://unsplash.com/photos/GGDuawxHUwo/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/GGDuawxHUwo/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 546, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: { - wallpapers: { - status: "approved", - approved_on: "2021-08-20T15:41:07Z", - }, - nature: { - status: "approved", - approved_on: "2021-08-25T15:13:19Z", - }, - }, - user: { - id: "oV79Kpt1X28", - updated_at: "2023-11-11T09:48:01Z", - username: "gantas", - name: "Gantas Vaičiulėnas", - first_name: "Gantas", - last_name: "Vaičiulėnas", - twitter_username: null, - portfolio_url: "http://www.gantasv.com", - bio: "Lithuania is home. Travel worldwide. Feel free to contact me for work or collaboration. ", - location: "Lithuania", - links: { - self: "https://api.unsplash.com/users/gantas", - html: "https://unsplash.com/@gantas", - photos: "https://api.unsplash.com/users/gantas/photos", - likes: "https://api.unsplash.com/users/gantas/likes", - portfolio: "https://api.unsplash.com/users/gantas/portfolio", - following: "https://api.unsplash.com/users/gantas/following", - followers: "https://api.unsplash.com/users/gantas/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1594981205756-88eda384bff2image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1594981205756-88eda384bff2image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1594981205756-88eda384bff2image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "gantasv", - total_collections: 0, - total_likes: 428, - total_photos: 403, - total_promoted_photos: 165, - accepted_tos: true, - for_hire: true, - social: { - instagram_username: "gantasv", - portfolio_url: "http://www.gantasv.com", - twitter_username: null, - paypal_email: null, - }, - }, - exif: { - make: "SONY", - model: "ILCE-7M3", - name: "SONY, ILCE-7M3", - exposure_time: "1/320", - aperture: "1.4", - focal_length: "35.0", - iso: 100, - }, - location: { - name: null, - city: null, - country: null, - position: { - latitude: null, - longitude: null, - }, - }, - views: 16454653, - downloads: 49789, - }, - { - id: "qmM6L-4f0eE", - slug: "green-leafed-plant-qmM6L-4f0eE", - created_at: "2016-11-08T13:35:49Z", - updated_at: "2023-11-10T21:01:05Z", - promoted_at: null, - width: 4000, - height: 6000, - color: "#d9c0c0", - blur_hash: "LaI=DI?HoMa{~Wt7NGs;%2D*WBax", - description: "Tree branch macro image", - alt_description: "green-leafed plant", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1478612068036-1eff8080e24b?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1478612068036-1eff8080e24b?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1478612068036-1eff8080e24b?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1478612068036-1eff8080e24b?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1478612068036-1eff8080e24b?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1478612068036-1eff8080e24b", - }, - links: { - self: "https://api.unsplash.com/photos/green-leafed-plant-qmM6L-4f0eE", - html: "https://unsplash.com/photos/green-leafed-plant-qmM6L-4f0eE", - download: - "https://unsplash.com/photos/qmM6L-4f0eE/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/qmM6L-4f0eE/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 456, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: {}, - user: { - id: "hnq0aaqF_Qo", - updated_at: "2023-11-05T22:52:02Z", - username: "scottwebb", - name: "Scott Webb", - first_name: "Scott", - last_name: "Webb", - twitter_username: null, - portfolio_url: "https://scottwebb.me/", - bio: "If you like my work and you'd like to support me, you can consider a donation 👉 http://www.paypal.me/scottrwebb | Donation goal for a new lens: $351.01 of $449 | Thank you Jay D. 🙏", - location: "London, Ontario, Canada", - links: { - self: "https://api.unsplash.com/users/scottwebb", - html: "https://unsplash.com/@scottwebb", - photos: "https://api.unsplash.com/users/scottwebb/photos", - likes: "https://api.unsplash.com/users/scottwebb/likes", - portfolio: "https://api.unsplash.com/users/scottwebb/portfolio", - following: "https://api.unsplash.com/users/scottwebb/following", - followers: "https://api.unsplash.com/users/scottwebb/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1598557047185-d94f7fc56f69image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1598557047185-d94f7fc56f69image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1598557047185-d94f7fc56f69image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "scottwebb", - total_collections: 46, - total_likes: 4179, - total_photos: 804, - total_promoted_photos: 387, - accepted_tos: true, - for_hire: true, - social: { - instagram_username: "scottwebb", - portfolio_url: "https://scottwebb.me/", - twitter_username: null, - paypal_email: null, - }, - }, - exif: { - make: "SONY", - model: "ILCE-7M2", - name: "SONY, ILCE-7M2", - exposure_time: "1/100", - aperture: "5.6", - focal_length: "29.0", - iso: 1000, - }, - location: { - name: "Royal Botanical Gardens, Burlington, Canada", - city: "Burlington", - country: "Canada", - position: { - latitude: 43.2899264, - longitude: -79.8761253, - }, - }, - views: 3469139, - downloads: 17568, - }, - { - id: "Qx4Jfk9lQZA", - slug: "brown-and-gray-mountains-under-blue-sky-during-daytime-Qx4Jfk9lQZA", - created_at: "2021-01-25T18:02:27Z", - updated_at: "2023-11-11T08:20:08Z", - promoted_at: "2021-01-25T22:54:02Z", - width: 5988, - height: 3992, - color: "#c0d9d9", - blur_hash: "LfM*Q*ozM{ofP;jZjYay9FWBjakC", - description: null, - alt_description: "brown and gray mountains under blue sky during daytime", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1611597617014-9970403724e9?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1611597617014-9970403724e9?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1611597617014-9970403724e9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1611597617014-9970403724e9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1611597617014-9970403724e9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1611597617014-9970403724e9", - }, - links: { - self: "https://api.unsplash.com/photos/brown-and-gray-mountains-under-blue-sky-during-daytime-Qx4Jfk9lQZA", - html: "https://unsplash.com/photos/brown-and-gray-mountains-under-blue-sky-during-daytime-Qx4Jfk9lQZA", - download: - "https://unsplash.com/photos/Qx4Jfk9lQZA/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/Qx4Jfk9lQZA/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 56, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: { - nature: { - status: "rejected", - }, - wallpapers: { - status: "rejected", - }, - }, - user: { - id: "QVRWQH_C_pw", - updated_at: "2023-11-08T01:21:00Z", - username: "zamax", - name: "Gustavo Zambelli", - first_name: "Gustavo", - last_name: "Zambelli", - twitter_username: "zamax4", - portfolio_url: "http://www.zamax.design", - bio: "I'm a graphic designer \u0026 illustrator currently working at Sticker Mule. I really enjoy taking photos, so these are for you. ", - location: "Neuquén, Argentina", - links: { - self: "https://api.unsplash.com/users/zamax", - html: "https://unsplash.com/@zamax", - photos: "https://api.unsplash.com/users/zamax/photos", - likes: "https://api.unsplash.com/users/zamax/likes", - portfolio: "https://api.unsplash.com/users/zamax/portfolio", - following: "https://api.unsplash.com/users/zamax/following", - followers: "https://api.unsplash.com/users/zamax/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1690302280077-f1791a11da86image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1690302280077-f1791a11da86image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1690302280077-f1791a11da86image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "zamax4", - total_collections: 17, - total_likes: 868, - total_photos: 157, - total_promoted_photos: 44, - accepted_tos: true, - for_hire: false, - social: { - instagram_username: "zamax4", - portfolio_url: "http://www.zamax.design", - twitter_username: "zamax4", - paypal_email: null, - }, - }, - exif: { - make: "Canon", - model: "Canon EOS Rebel SL2", - name: "Canon, EOS Rebel SL2", - exposure_time: "1/1600", - aperture: "6.3", - focal_length: "85.0", - iso: 400, - }, - location: { - name: "La atravesada, Neuquén, Argentina", - city: null, - country: "Argentina", - position: { - latitude: -38.949769, - longitude: -70.613689, - }, - }, - views: 9861761, - downloads: 34517, - }, - { - id: "C5mrwhFTEvY", - slug: "black-bird-on-person-left-hand-C5mrwhFTEvY", - created_at: "2017-07-18T13:23:54Z", - updated_at: "2023-11-11T01:01:53Z", - promoted_at: "2017-07-19T15:43:17Z", - width: 6000, - height: 4000, - color: "#f3f3f3", - blur_hash: "LcMQ^s-=W=D%~qxut7IU9ZIoIU-;", - description: - "Last winter I went with some good friends on the mountain “Säntis”. We had luck the sunset was beautiful and I had the chance to feed this awesome bird. By the way it was a Alpine chough.", - alt_description: "black bird on person left hand", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1500384066616-8a8d547abfc9?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1500384066616-8a8d547abfc9?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1500384066616-8a8d547abfc9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1500384066616-8a8d547abfc9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1500384066616-8a8d547abfc9?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1500384066616-8a8d547abfc9", - }, - links: { - self: "https://api.unsplash.com/photos/black-bird-on-person-left-hand-C5mrwhFTEvY", - html: "https://unsplash.com/photos/black-bird-on-person-left-hand-C5mrwhFTEvY", - download: - "https://unsplash.com/photos/C5mrwhFTEvY/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/C5mrwhFTEvY/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 1183, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: { - animals: { - status: "approved", - approved_on: "2020-05-01T11:26:23Z", - }, - }, - user: { - id: "XVCdiBcQBGs", - updated_at: "2023-09-25T05:20:32Z", - username: "flobyderman", - name: "Florian Biedermann", - first_name: "Florian", - last_name: "Biedermann", - twitter_username: null, - portfolio_url: "https://500px.com/flobyderman_photography", - bio: "My name is Florian and I live in Switzerland. Landscape photography is my passion. You can follow my adventures on instagram @flobyderman.", - location: null, - links: { - self: "https://api.unsplash.com/users/flobyderman", - html: "https://unsplash.com/@flobyderman", - photos: "https://api.unsplash.com/users/flobyderman/photos", - likes: "https://api.unsplash.com/users/flobyderman/likes", - portfolio: "https://api.unsplash.com/users/flobyderman/portfolio", - following: "https://api.unsplash.com/users/flobyderman/following", - followers: "https://api.unsplash.com/users/flobyderman/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1500381536202-a7552d8fc38a?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1500381536202-a7552d8fc38a?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1500381536202-a7552d8fc38a?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "Flobyderman", - total_collections: 0, - total_likes: 1, - total_photos: 3, - total_promoted_photos: 1, - accepted_tos: false, - for_hire: false, - social: { - instagram_username: "Flobyderman", - portfolio_url: "https://500px.com/flobyderman_photography", - twitter_username: null, - paypal_email: null, - }, - }, - exif: { - make: "NIKON CORPORATION", - model: "NIKON D7200", - name: "NIKON CORPORATION, NIKON D7200", - exposure_time: "1/500", - aperture: "4.0", - focal_length: "12.0", - iso: 160, - }, - location: { - name: "Säntis, Schwende District, Switzerland", - city: "Schwende District", - country: "Switzerland", - position: { - latitude: 47.249385, - longitude: 9.343234299999949, - }, - }, - views: 12429113, - downloads: 36310, - }, - { - id: "UjcM2ak00KQ", - slug: "rocks-by-the-sea-UjcM2ak00KQ", - created_at: "2019-04-20T14:13:21Z", - updated_at: "2023-11-11T00:07:27Z", - promoted_at: "2019-04-23T05:53:42Z", - width: 3578, - height: 5367, - color: "#737373", - blur_hash: "LmFYDWRjIpNH~BRjNHR*$%WVWVay", - description: null, - alt_description: "rocks by the sea", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1555769571-2ca68b9197cb?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1555769571-2ca68b9197cb?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1555769571-2ca68b9197cb?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1555769571-2ca68b9197cb?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1555769571-2ca68b9197cb?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1555769571-2ca68b9197cb", - }, - links: { - self: "https://api.unsplash.com/photos/rocks-by-the-sea-UjcM2ak00KQ", - html: "https://unsplash.com/photos/rocks-by-the-sea-UjcM2ak00KQ", - download: - "https://unsplash.com/photos/UjcM2ak00KQ/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/UjcM2ak00KQ/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 143, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: {}, - user: { - id: "v0JWsTdPwKI", - updated_at: "2023-11-09T02:08:30Z", - username: "danielmorris", - name: "Daniel Morris", - first_name: "Daniel", - last_name: "Morris", - twitter_username: null, - portfolio_url: "https://www.danielmorris.photography/", - bio: null, - location: "Wales, UK", - links: { - self: "https://api.unsplash.com/users/danielmorris", - html: "https://unsplash.com/@danielmorris", - photos: "https://api.unsplash.com/users/danielmorris/photos", - likes: "https://api.unsplash.com/users/danielmorris/likes", - portfolio: "https://api.unsplash.com/users/danielmorris/portfolio", - following: "https://api.unsplash.com/users/danielmorris/following", - followers: "https://api.unsplash.com/users/danielmorris/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1578388447051-a3e6c5576f32image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1578388447051-a3e6c5576f32image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1578388447051-a3e6c5576f32image?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "danielmorris51", - total_collections: 0, - total_likes: 38, - total_photos: 65, - total_promoted_photos: 22, - accepted_tos: true, - for_hire: false, - social: { - instagram_username: "danielmorris51", - portfolio_url: "https://www.danielmorris.photography/", - twitter_username: null, - paypal_email: null, - }, - }, - exif: { - make: "NIKON CORPORATION", - model: "NIKON D500", - name: "NIKON CORPORATION, NIKON D500", - exposure_time: "3", - aperture: "16.0", - focal_length: "38.0", - iso: 50, - }, - location: { - name: "Aberfelin, Pembrokeshire Coast National Park, Wales", - city: null, - country: "Wales", - position: { - latitude: null, - longitude: null, - }, - }, - views: 5949346, - downloads: 6333, - }, - { - id: "bWI4Vd4vI3w", - slug: "aerial-photography-of-buildings-inside-city-bWI4Vd4vI3w", - created_at: "2016-08-15T10:11:23Z", - updated_at: "2023-11-10T22:00:51Z", - promoted_at: "2016-08-15T10:11:23Z", - width: 3500, - height: 2333, - color: "#0c2626", - blur_hash: "LEC?+PShV?%M01Mx%1xZ-pslM{IU", - description: "Drone Manhattan shadow", - alt_description: "aerial photography of buildings inside city", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1471255618142-bc3ea8675f3a?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1471255618142-bc3ea8675f3a?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1471255618142-bc3ea8675f3a?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1471255618142-bc3ea8675f3a?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1471255618142-bc3ea8675f3a?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1471255618142-bc3ea8675f3a", - }, - links: { - self: "https://api.unsplash.com/photos/aerial-photography-of-buildings-inside-city-bWI4Vd4vI3w", - html: "https://unsplash.com/photos/aerial-photography-of-buildings-inside-city-bWI4Vd4vI3w", - download: - "https://unsplash.com/photos/bWI4Vd4vI3w/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/bWI4Vd4vI3w/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 1267, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: {}, - user: { - id: "BBkUG4Y4EQ4", - updated_at: "2023-09-12T23:02:20Z", - username: "gianpaololapaglia", - name: "Gianpaolo La Paglia", - first_name: "Gianpaolo", - last_name: "La Paglia", - twitter_username: "GianpaoloLP", - portfolio_url: "http://www.gianpaololapaglia.com", - bio: "Street and documentary photographer passionate about people, technology and travel - Available for assignments - Donations: paypal.me/GianpaoloLaPaglia", - location: "Dublin - Ireland", - links: { - self: "https://api.unsplash.com/users/gianpaololapaglia", - html: "https://unsplash.com/@gianpaololapaglia", - photos: "https://api.unsplash.com/users/gianpaololapaglia/photos", - likes: "https://api.unsplash.com/users/gianpaololapaglia/likes", - portfolio: "https://api.unsplash.com/users/gianpaololapaglia/portfolio", - following: "https://api.unsplash.com/users/gianpaololapaglia/following", - followers: "https://api.unsplash.com/users/gianpaololapaglia/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1470072831310-f345e0839302?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1470072831310-f345e0839302?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1470072831310-f345e0839302?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "gianpaololapaglia", - total_collections: 0, - total_likes: 5, - total_photos: 4, - total_promoted_photos: 3, - accepted_tos: false, - for_hire: false, - social: { - instagram_username: "gianpaololapaglia", - portfolio_url: "http://www.gianpaololapaglia.com", - twitter_username: "GianpaoloLP", - paypal_email: null, - }, - }, - exif: { - make: "Canon", - model: "Canon EOS 5D Mark II", - name: "Canon, EOS 5D Mark II", - exposure_time: "1/100", - aperture: "8.0", - focal_length: "154.0", - iso: 100, - }, - location: { - name: "Manhattan, New York, United States", - city: "New York", - country: "United States", - position: { - latitude: 40.7830603, - longitude: -73.9712488, - }, - }, - views: 10158103, - downloads: 32320, - }, - { - id: "UYgrVfIhBec", - slug: "pink-green-and-blue-abstract-painting-UYgrVfIhBec", - created_at: "2021-04-07T10:31:02Z", - updated_at: "2023-11-10T13:22:01Z", - promoted_at: "2021-04-07T13:30:01Z", - width: 3360, - height: 2100, - color: "#59408c", - blur_hash: "LE9Q,|GuR?NGV*exXlbwmiq]m.XL", - description: "FAKURIAN.com", - alt_description: "pink green and blue abstract painting", - breadcrumbs: [ - { - slug: "images", - title: "1,000,000+ Free Images", - index: 0, - type: "landing_page", - }, - { - slug: "feelings", - title: "Feelings Images", - index: 1, - type: "landing_page", - }, - { - slug: "transformation", - title: "Transformation Pictures", - index: 2, - type: "landing_page", - }, - ], - urls: { - raw: "https://images.unsplash.com/photo-1617791160505-6f00504e3519?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1617791160505-6f00504e3519?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1617791160505-6f00504e3519?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1617791160505-6f00504e3519?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1617791160505-6f00504e3519?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1617791160505-6f00504e3519", - }, - links: { - self: "https://api.unsplash.com/photos/pink-green-and-blue-abstract-painting-UYgrVfIhBec", - html: "https://unsplash.com/photos/pink-green-and-blue-abstract-painting-UYgrVfIhBec", - download: - "https://unsplash.com/photos/UYgrVfIhBec/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/UYgrVfIhBec/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 1222, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: { - "textures-patterns": { - status: "approved", - approved_on: "2023-01-10T16:59:47Z", - }, - "arts-culture": { - status: "rejected", - }, - wallpapers: { - status: "approved", - approved_on: "2021-04-09T12:16:56Z", - }, - "3d-renders": { - status: "approved", - approved_on: "2021-09-15T08:37:03Z", - }, - technology: { - status: "rejected", - }, - }, - user: { - id: "Kg7OSqFJfQE", - updated_at: "2023-11-11T02:59:39Z", - username: "fakurian", - name: "Milad Fakurian", - first_name: "Milad", - last_name: "Fakurian", - twitter_username: "miladfakurian", - portfolio_url: "https://linktr.ee/fakurian", - bio: "Brand designer l 3D artist with a passion for minimalism.\r\nIstanbul based l collaborating worldwide l Let's talk mbfakurian@gmail.com l onXRP team member ", - location: "Istanbul ", - links: { - self: "https://api.unsplash.com/users/fakurian", - html: "https://unsplash.com/@fakurian", - photos: "https://api.unsplash.com/users/fakurian/photos", - likes: "https://api.unsplash.com/users/fakurian/likes", - portfolio: "https://api.unsplash.com/users/fakurian/portfolio", - following: "https://api.unsplash.com/users/fakurian/following", - followers: "https://api.unsplash.com/users/fakurian/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/profile-1692035354777-e7e3ec591b4eimage?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/profile-1692035354777-e7e3ec591b4eimage?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/profile-1692035354777-e7e3ec591b4eimage?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: "fakuriandesign", - total_collections: 0, - total_likes: 1560, - total_photos: 563, - total_promoted_photos: 191, - accepted_tos: true, - for_hire: true, - social: { - instagram_username: "fakuriandesign", - portfolio_url: "https://linktr.ee/fakurian", - twitter_username: "miladfakurian", - paypal_email: null, - }, - }, - exif: { - make: null, - model: null, - name: null, - exposure_time: null, - aperture: null, - focal_length: null, - iso: null, - }, - location: { - name: "United Kingdom", - city: null, - country: "United Kingdom", - position: { - latitude: 55.378051, - longitude: -3.435973, - }, - }, - views: 30055822, - downloads: 133057, - }, - { - id: "H1SOELwNtTw", - slug: "aerial-photography-of-snow-capped-mountain-during-daytime-H1SOELwNtTw", - created_at: "2019-05-11T18:45:14Z", - updated_at: "2023-11-10T16:07:19Z", - promoted_at: "2019-05-13T07:25:06Z", - width: 6000, - height: 4000, - color: "#f3f3f3", - blur_hash: "L+LXV+M{M{WB?baxWBof01t6oeoe", - description: null, - alt_description: - "aerial photography of snow capped mountain during daytime", - breadcrumbs: [], - urls: { - raw: "https://images.unsplash.com/photo-1557600280-9ceddf1a3cc3?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3", - full: "https://images.unsplash.com/photo-1557600280-9ceddf1a3cc3?crop=entropy\u0026cs=srgb\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=85", - regular: - "https://images.unsplash.com/photo-1557600280-9ceddf1a3cc3?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=1080", - small: - "https://images.unsplash.com/photo-1557600280-9ceddf1a3cc3?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=400", - thumb: - "https://images.unsplash.com/photo-1557600280-9ceddf1a3cc3?crop=entropy\u0026cs=tinysrgb\u0026fit=max\u0026fm=jpg\u0026ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8\u0026ixlib=rb-4.0.3\u0026q=80\u0026w=200", - small_s3: - "https://s3.us-west-2.amazonaws.com/images.unsplash.com/small/photo-1557600280-9ceddf1a3cc3", - }, - links: { - self: "https://api.unsplash.com/photos/aerial-photography-of-snow-capped-mountain-during-daytime-H1SOELwNtTw", - html: "https://unsplash.com/photos/aerial-photography-of-snow-capped-mountain-during-daytime-H1SOELwNtTw", - download: - "https://unsplash.com/photos/H1SOELwNtTw/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - download_location: - "https://api.unsplash.com/photos/H1SOELwNtTw/download?ixid=M3w1MjY4NzN8MHwxfHJhbmRvbXx8fHx8fHx8fDE2OTk2OTcyNDN8", - }, - likes: 426, - liked_by_user: false, - current_user_collections: [], - sponsorship: null, - topic_submissions: { - nature: { - status: "approved", - approved_on: "2020-04-06T14:20:12Z", - }, - }, - user: { - id: "_Rd-iE6cAkU", - updated_at: "2023-09-13T04:14:00Z", - username: "doubleweber", - name: "Jeremy Weber", - first_name: "Jeremy", - last_name: "Weber", - twitter_username: null, - portfolio_url: null, - bio: null, - location: null, - links: { - self: "https://api.unsplash.com/users/doubleweber", - html: "https://unsplash.com/@doubleweber", - photos: "https://api.unsplash.com/users/doubleweber/photos", - likes: "https://api.unsplash.com/users/doubleweber/likes", - portfolio: "https://api.unsplash.com/users/doubleweber/portfolio", - following: "https://api.unsplash.com/users/doubleweber/following", - followers: "https://api.unsplash.com/users/doubleweber/followers", - }, - profile_image: { - small: - "https://images.unsplash.com/placeholder-avatars/extra-large.jpg?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=32\u0026h=32", - medium: - "https://images.unsplash.com/placeholder-avatars/extra-large.jpg?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=64\u0026h=64", - large: - "https://images.unsplash.com/placeholder-avatars/extra-large.jpg?ixlib=rb-4.0.3\u0026crop=faces\u0026fit=crop\u0026w=128\u0026h=128", - }, - instagram_username: null, - total_collections: 0, - total_likes: 0, - total_photos: 5, - total_promoted_photos: 4, - accepted_tos: true, - for_hire: false, - social: { - instagram_username: null, - portfolio_url: null, - twitter_username: null, - paypal_email: null, - }, - }, - exif: { - make: "Canon", - model: "Canon EOS 750D", - name: "Canon, EOS 750D", - exposure_time: "1/4000", - aperture: "4.0", - focal_length: "70.0", - iso: 100, - }, - location: { - name: null, - city: null, - country: null, - position: { - latitude: null, - longitude: null, - }, - }, - views: 14158181, - downloads: 20538, - }, -]; diff --git a/packages/ui/package.json b/packages/ui/package.json index b05ef7c4..034e498b 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -117,4 +117,4 @@ ] }, "prettier": "@acme/prettier-config" -} \ No newline at end of file +} From 42d66172e4fb917e7f6fc26e93222c3087f5a222 Mon Sep 17 00:00:00 2001 From: steeeee0223 Date: Fri, 19 Apr 2024 05:36:45 +0000 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=9A=A7=20`github`=20Update=20CI=20act?= =?UTF-8?q?ion=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tooling/github/setup/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tooling/github/setup/action.yml b/tooling/github/setup/action.yml index c2c339b5..5d89bf2d 100644 --- a/tooling/github/setup/action.yml +++ b/tooling/github/setup/action.yml @@ -18,3 +18,6 @@ runs: - shell: bash run: pnpm -F prisma build + + - shell: bash + run: pnpm -F ui build