From 0685cc34926f192839e77783dd478649f44afd4b Mon Sep 17 00:00:00 2001 From: winston Date: Mon, 27 Nov 2023 14:09:45 +0100 Subject: [PATCH] build(yarn): add supportedArchitectures --- .yarnrc.yml | 5 +++-- package.json | 4 ---- yarn-project.nix | 12 ++++++++---- yarn.lock | 8 -------- 4 files changed, 11 insertions(+), 18 deletions(-) diff --git a/.yarnrc.yml b/.yarnrc.yml index baa1df6e..07a8a70b 100644 --- a/.yarnrc.yml +++ b/.yarnrc.yml @@ -1,8 +1,9 @@ compressionLevel: mixed - enableGlobalCache: false - nodeLinker: node-modules +supportedArchitectures: + os: [linux, darwin, win32] + cpu: [x64, arm64] plugins: - path: .yarn/plugins/plugin-list.cjs diff --git a/package.json b/package.json index 4984f256..d01a5722 100644 --- a/package.json +++ b/package.json @@ -161,10 +161,6 @@ }, "devDependencies": { "@catppuccin/palette": "^0.2.0", - "@esbuild/darwin-arm64": "npm:0.18.20", - "@esbuild/darwin-x64": "npm:0.18.20", - "@esbuild/linux-arm64": "npm:0.18.20", - "@esbuild/linux-x64": "npm:0.18.20", "@storybook/addon-essentials": "^7.5.1", "@storybook/addon-styling": "^1.3.7", "@storybook/addon-themes": "^7.5.1", diff --git a/yarn-project.nix b/yarn-project.nix index 17cb033c..b6aad9e3 100644 --- a/yarn-project.nix +++ b/yarn-project.nix @@ -298,10 +298,12 @@ cacheEntries = { "@colors/colors@npm:1.5.0" = { filename = "@colors-colors-npm-1.5.0-875af3a8b4-9d226461c1.zip"; sha512 = "9d226461c1e91e95f067be2bdc5e6f99cfe55a721f45afb44122e23e4b8602eeac4ff7325af6b5a369f36396ee1514d3809af3f57769066d80d83790d8e53339"; }; "@discoveryjs/json-ext@npm:0.5.7" = { filename = "@discoveryjs-json-ext-npm-0.5.7-fe04af1f31-b95682a852.zip"; sha512 = "b95682a852448e8ef50d6f8e3b7ba288aab3fd98a2bafbe46881a3db0c6e7248a2debe9e1ee0d4137c521e4743ca5bbcb1c0765c9d7b3e0ef53231506fec42b4"; }; "@emotion/use-insertion-effect-with-fallbacks@npm:1.0.1" = { filename = "@emotion-use-insertion-effect-with-fallbacks-npm-1.0.1-730758c66c-7d7ead9ba3.zip"; sha512 = "7d7ead9ba3f615510f550aea67815281ec5a5487de55aafc250f820317afc1fd419bd9e9e27602a0206ec5c152f13dc6130bccad312c1036706c584c65d66ef7"; }; -"@esbuild/darwin-arm64@npm:0.18.20" = { filename = "@esbuild-darwin-arm64-npm-0.18.20-00b3504077-cae5707498.zip"; sha512 = "cae57074985fd2c8f95534cf54c99b42d075f38cdc2fe183460a12076ef69aa79d4762a68737efb394ab08a87652defcf3fc6e873122edfbe29eac457fe6a9f8"; }; -"@esbuild/darwin-x64@npm:0.18.20" = { filename = "@esbuild-darwin-x64-npm-0.18.20-767fe27d1b-caefbddac8.zip"; sha512 = "caefbddac8d45c955bbd85bebcbade6e5c131c4c71422a7bbb8b43666f80b6aacaecd5dbc9a4570a8c5922da0d8a2110432bb4f5a5983701603cc6646b6d7ce7"; }; -"@esbuild/linux-arm64@npm:0.18.20" = { filename = "@esbuild-linux-arm64-npm-0.18.20-7b48b328fe-defa751c97.zip"; sha512 = "defa751c9771a4cebab63762d8a59127eaa6dfa690298245bc8c33826e74c67eeca1ae53d1640f6cf0b09786046e3817f298443bc8e1eaadc4ca2284b83d73d5"; }; -"@esbuild/linux-x64@npm:0.18.20" = { filename = "@esbuild-linux-x64-npm-0.18.20-de8e99b449-8d55c62c9c.zip"; sha512 = "8d55c62c9c1bc0556c39d1c6662c4d07d35e4baf6bb2b67f44fea24047b7e3eae5df9e6afc6eab6b671c1b24884ebb73be55a3072465c6c2328a8bdb885dcea1"; }; +"@esbuild/darwin-arm64@npm:0.18.20" = { filename = "@esbuild-darwin-arm64-npm-0.18.20-00b3504077-10.zip"; sha512 = "cae57074985fd2c8f95534cf54c99b42d075f38cdc2fe183460a12076ef69aa79d4762a68737efb394ab08a87652defcf3fc6e873122edfbe29eac457fe6a9f8"; }; +"@esbuild/darwin-x64@npm:0.18.20" = { filename = "@esbuild-darwin-x64-npm-0.18.20-767fe27d1b-10.zip"; sha512 = "caefbddac8d45c955bbd85bebcbade6e5c131c4c71422a7bbb8b43666f80b6aacaecd5dbc9a4570a8c5922da0d8a2110432bb4f5a5983701603cc6646b6d7ce7"; }; +"@esbuild/linux-arm64@npm:0.18.20" = { filename = "@esbuild-linux-arm64-npm-0.18.20-7b48b328fe-10.zip"; sha512 = "defa751c9771a4cebab63762d8a59127eaa6dfa690298245bc8c33826e74c67eeca1ae53d1640f6cf0b09786046e3817f298443bc8e1eaadc4ca2284b83d73d5"; }; +"@esbuild/linux-x64@npm:0.18.20" = { filename = "@esbuild-linux-x64-npm-0.18.20-de8e99b449-10.zip"; sha512 = "8d55c62c9c1bc0556c39d1c6662c4d07d35e4baf6bb2b67f44fea24047b7e3eae5df9e6afc6eab6b671c1b24884ebb73be55a3072465c6c2328a8bdb885dcea1"; }; +"@esbuild/win32-arm64@npm:0.18.20" = { filename = "@esbuild-win32-arm64-npm-0.18.20-a58fe6c6a3-10.zip"; sha512 = "e236d99c1df48a9575c70c1c7faa563b0fa10b6f03ece60d9b1ed8fd0dcf8422e11401fb080e193f5a8d4d664e5e12199e4344087a3381698aab6e75873ca9ec"; }; +"@esbuild/win32-x64@npm:0.18.20" = { filename = "@esbuild-win32-x64-npm-0.18.20-37a9ab2bda-10.zip"; sha512 = "04018d69a0f019f1393a0a1f01e172698b4f80b5a1fef3bf3b6a068b34f8b17f98ca552aba5e6cb918fadffd406292d34cb0d3e89dc00a2202db916968e95d8b"; }; "@eslint-community/eslint-utils@npm:4.4.0" = { filename = "@eslint-community-eslint-utils-npm-4.4.0-d1791bd5a3-8d70bcdcd8.zip"; sha512 = "8d70bcdcd8cd279049183aca747d6c2ed7092a5cf0cf5916faac1ef37ffa74f0c245c2a3a3d3b9979d9dfdd4ca59257b4c5621db699d637b847a2c5e02f491c2"; }; "@eslint-community/regexpp@npm:4.8.0" = { filename = "@eslint-community-regexpp-npm-4.8.0-92ece47e3d-bca98aff5f.zip"; sha512 = "bca98aff5fd4236ef6030e91bd323e57b8d42705d4ddcdd56041e3c1ff7f4d9eb4a3f1fffcbf0e0400cba0703ea9e496f521ae0ad65f269024d07c56edfa5e08"; }; "@eslint/eslintrc@npm:2.1.2" = { filename = "@eslint-eslintrc-npm-2.1.2-feb0771c9f-fa25638f26.zip"; sha512 = "fa25638f2666cac6810f98ee7d0f4b912f191806467c1b40d72bac759fffef0b3357f12a1869817286837b258e4de3517e0c7408520e156ca860fc53a1fbaed9"; }; @@ -758,6 +760,8 @@ cacheEntries = { "fs.realpath@npm:1.0.0" = { filename = "fs.realpath-npm-1.0.0-c8f05d8126-e703107c28.zip"; sha512 = "e703107c28e362d8d7b910bbcbfd371e640a3bb45ae157a362b5952c0030c0b6d4981140ec319b347bce7adc025dd7813da1ff908a945ac214d64f5402a51b96"; }; "fsevents@npm:2.3.2" = { filename = "fsevents-npm-2.3.2-a881d6ac9f-6b5b6f5692.zip"; sha512 = "6b5b6f5692372446ff81cf9501c76e3e0459a4852b3b5f1fc72c103198c125a6b8c72f5f166bdd76ffb2fca261e7f6ee5565daf80dca6e571e55bcc589cc1256"; }; "fsevents@npm:2.3.3" = { filename = "fsevents-npm-2.3.3-ce9fb0ffae-4c1ade961d.zip"; sha512 = "4c1ade961ded57cdbfbb5cac5106ec17bc8bccd62e16343c569a0ceeca83b9dfef87550b4dc5cbb89642da412b20c5071f304c8c464b80415446e8e155a038c0"; }; +"fsevents@patch:fsevents@npm%3A2.3.2#optional!builtin::version=2.3.2&hash=df0bf1" = { filename = "fsevents-patch-19706e7e35-10.zip"; sha512 = "b0c412692361408180494b90a50496184aa3491a868223c2c79cc2b7bfb0020fb02fa3a199f99ae46f567d910022560f0336bdcc148312e0f5f2cdc9f44dccda"; }; +"fsevents@patch:fsevents@npm%3A2.3.3#optional!builtin::version=2.3.3&hash=df0bf1" = { filename = "fsevents-patch-6b67494872-10.zip"; sha512 = "9c18c4d71a273ca6e83c898f201478d62178a33ae4c4151af9120dea4ab3c3c0407936cbe07c77642851ec678dddf6abb5d664ed162b299396e53063f59ebec5"; }; "function-bind@npm:1.1.1" = { filename = "function-bind-npm-1.1.1-b56b322ae9-d83f296803.zip"; sha512 = "d83f2968030678f0b8c3f2183d63dcd969344eb8b55b4eb826a94ccac6de8b87c95bebffda37a6386c74f152284eb02956ff2c496897f35d32bdc2628ac68ac5"; }; "gauge@npm:4.0.4" = { filename = "gauge-npm-4.0.4-8f878385e9-09535dd53b.zip"; sha512 = "09535dd53b5ced6a34482b1fa9f3929efdeac02f9858569cde73cef3ed95050e0f3d095706c1689614059898924b7a74aa14042f51381a1ccc4ee5c29d2389c4"; }; "gensync@npm:1.0.0-beta.2" = { filename = "gensync-npm-1.0.0-beta.2-224666d72f-17d8333460.zip"; sha512 = "17d8333460204fbf1f9160d067e1e77f908a5447febb49424b8ab043026049835c9ef3974445c57dbd39161f4d2b04356d7de12b2eecaa27a7a7ea7d871cbedd"; }; diff --git a/yarn.lock b/yarn.lock index fd4e4c08..1490d1b7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1682,7 +1682,6 @@ __metadata: "@esbuild/darwin-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-arm64@npm:0.18.20" - checksum: cae57074985fd2c8f95534cf54c99b42d075f38cdc2fe183460a12076ef69aa79d4762a68737efb394ab08a87652defcf3fc6e873122edfbe29eac457fe6a9f8 conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -1690,7 +1689,6 @@ __metadata: "@esbuild/darwin-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/darwin-x64@npm:0.18.20" - checksum: caefbddac8d45c955bbd85bebcbade6e5c131c4c71422a7bbb8b43666f80b6aacaecd5dbc9a4570a8c5922da0d8a2110432bb4f5a5983701603cc6646b6d7ce7 conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -1712,7 +1710,6 @@ __metadata: "@esbuild/linux-arm64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-arm64@npm:0.18.20" - checksum: defa751c9771a4cebab63762d8a59127eaa6dfa690298245bc8c33826e74c67eeca1ae53d1640f6cf0b09786046e3817f298443bc8e1eaadc4ca2284b83d73d5 conditions: os=linux & cpu=arm64 languageName: node linkType: hard @@ -1769,7 +1766,6 @@ __metadata: "@esbuild/linux-x64@npm:0.18.20": version: 0.18.20 resolution: "@esbuild/linux-x64@npm:0.18.20" - checksum: 8d55c62c9c1bc0556c39d1c6662c4d07d35e4baf6bb2b67f44fea24047b7e3eae5df9e6afc6eab6b671c1b24884ebb73be55a3072465c6c2328a8bdb885dcea1 conditions: os=linux & cpu=x64 languageName: node linkType: hard @@ -5266,10 +5262,6 @@ __metadata: resolution: "catppuccin-vsc@workspace:." dependencies: "@catppuccin/palette": "npm:^0.2.0" - "@esbuild/darwin-arm64": "npm:0.18.20" - "@esbuild/darwin-x64": "npm:0.18.20" - "@esbuild/linux-arm64": "npm:0.18.20" - "@esbuild/linux-x64": "npm:0.18.20" "@storybook/addon-essentials": "npm:^7.5.1" "@storybook/addon-styling": "npm:^1.3.7" "@storybook/addon-themes": "npm:^7.5.1"