build: improve lint setup, use node20, add workspace constraints (#286)
* build: explicitly specify typescript in all workspaces * build(yarn): add workspace constraints * build: enforce constraints - nodejs 20 - publishConfig - license - repository url & type * build: tweak constraints * build: add eslint-unicorn, apply suggestions * chore: upgrade & simplify configs * build: build @catpuccin/vscode with js * chore: more explicit node stdlib override * chore: one last nodejs types bump [skip ci] * build: tweak tsconfig
This commit is contained in:
parent
80122d60e2
commit
712e80b510
@ -1,2 +0,0 @@
|
||||
dist/
|
||||
node_modules/
|
23
.eslintrc
Normal file
23
.eslintrc
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"env": {
|
||||
"es2023": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended",
|
||||
"plugin:unicorn/recommended"
|
||||
],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2021
|
||||
},
|
||||
"ignorePatterns": ["node_modules", "dist"],
|
||||
"plugins": ["@typescript-eslint", "prettier"],
|
||||
"rules": {
|
||||
"unicorn/filename-case": "off",
|
||||
"unicorn/prefer-module": "off",
|
||||
"unicorn/prefer-top-level-await": "off"
|
||||
}
|
||||
}
|
44
.eslintrc.js
44
.eslintrc.js
@ -1,44 +0,0 @@
|
||||
const nodeStdLib = [
|
||||
...require("node:module").builtinModules.flatMap((module) => [
|
||||
module,
|
||||
`node:${module}`,
|
||||
]),
|
||||
];
|
||||
|
||||
/** @type {import('eslint').Linter.Config} */
|
||||
module.exports = {
|
||||
env: {
|
||||
es2021: true,
|
||||
},
|
||||
extends: [
|
||||
"eslint:recommended",
|
||||
"plugin:@typescript-eslint/recommended",
|
||||
"plugin:prettier/recommended",
|
||||
],
|
||||
overrides: [
|
||||
{
|
||||
// eslint is having trouble linting its own config file
|
||||
files: [".eslintrc.js"],
|
||||
rules: {
|
||||
"@typescript-eslint/no-var-requires": "off",
|
||||
"no-undef": "off",
|
||||
},
|
||||
},
|
||||
{
|
||||
files: ["packages/catppuccin-vsc/src/**/*"],
|
||||
rules: {
|
||||
"no-restricted-imports": ["error", { paths: nodeStdLib }],
|
||||
"no-restricted-modules": ["error", { paths: nodeStdLib }],
|
||||
},
|
||||
},
|
||||
],
|
||||
parser: "@typescript-eslint/parser",
|
||||
parserOptions: {
|
||||
ecmaVersion: "latest",
|
||||
sourceType: "module",
|
||||
},
|
||||
plugins: ["@typescript-eslint", "prettier"],
|
||||
rules: {
|
||||
"@typescript-eslint/no-explicit-any": "off",
|
||||
},
|
||||
};
|
@ -1,3 +1,4 @@
|
||||
enableConstraintsChecks: true
|
||||
nodeLinker: pnp
|
||||
supportedArchitectures:
|
||||
os: [linux, darwin, win32]
|
||||
|
@ -23,9 +23,14 @@
|
||||
pname = "${name}-${version}";
|
||||
|
||||
options = builtins.removeAttrs inputs ["pkgs"];
|
||||
src = pkgs.nix-gitignore.gitignoreSource [] ../.;
|
||||
src = pkgs.nix-gitignore.gitignoreSource [] (builtins.path {
|
||||
name = pname;
|
||||
path = ../.;
|
||||
});
|
||||
|
||||
builder = pkgs.callPackage ./yarn-project.nix {} {
|
||||
nodejs = pkgs.nodejs_20;
|
||||
|
||||
builder = pkgs.callPackage ./yarn-project.nix {inherit nodejs;} {
|
||||
inherit src;
|
||||
overrideAttrs = {
|
||||
name = "${pname}-builder";
|
||||
|
35
nix/yarn-project.nix
generated
35
nix/yarn-project.nix
generated
@ -464,7 +464,7 @@ cacheEntries = {
|
||||
"@types/minimatch@npm:5.1.2" = { filename = "@types-minimatch-npm-5.1.2-aab9c394d3-83cf1c1174.zip"; sha512 = "83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562"; };
|
||||
"@types/node-fetch@npm:2.6.4" = { filename = "@types-node-fetch-npm-2.6.4-3e5a54c325-e43e4670ed.zip"; sha512 = "e43e4670ed8b7693dbf660ac1450b14fcfcdd8efca1eb0f501b6ad95af2d1fa06f8541db03e9511e82a5fee510a238fe0913330c9a58f8ac6892b985f6dd993e"; };
|
||||
"@types/node@npm:18.19.4" = { filename = "@types-node-npm-18.19.4-efa94a8f6a-e395bf591e.zip"; sha512 = "e395bf591e79bd91c0819e7bee39c56e881399da2ca37fba5a59194ff28941fb8ed663c3fb4fba89465842720d916110dee9b774a3e4aecbe08b9e1ada4ab4fe"; };
|
||||
"@types/node@npm:20.5.7" = { filename = "@types-node-npm-20.5.7-b5e80f1922-e5bce3d384.zip"; sha512 = "e5bce3d38478f2a135e254e910f40f844d379dbc8d5576ec6532122297c435f9c05e01f585c38fb9a83e21bde2652cc266b6aa98e45c8b5e51cc5b11a4f64cf0"; };
|
||||
"@types/node@npm:20.10.8" = { filename = "@types-node-npm-20.10.8-99e3cc8ac5-93268c33c3.zip"; sha512 = "93268c33c3bf0194427d696658160c77ab8661aa57107df5b248ff952898a372bf92cf0ba7fc07788fa35e59c69b6619cce63d45e4e67fca806e37da7ea42512"; };
|
||||
"@types/normalize-package-data@npm:2.4.1" = { filename = "@types-normalize-package-data-npm-2.4.1-c31c56ae6a-c90b163741.zip"; sha512 = "c90b163741f27a1a4c3b1869d7d5c272adbd355eb50d5f060f9ce122ce4342cf35f5b0005f55ef780596cacfeb69b7eee54cd3c2e02d37f75e664945b6e75fc6"; };
|
||||
"@types/prettier@npm:2.7.3" = { filename = "@types-prettier-npm-2.7.3-497316f37c-0960b5c111.zip"; sha512 = "0960b5c1115bb25e979009d0b44c42cf3d792accf24085e4bfce15aef5794ea042e04e70c2139a2c3387f781f18c89b5706f000ddb089e9a4a2ccb7536a2c5f0"; };
|
||||
"@types/pretty-hrtime@npm:1.0.1" = { filename = "@types-pretty-hrtime-npm-1.0.1-4d565fdb90-e990110a36.zip"; sha512 = "e990110a3626e987319092c5149d5ea244785b83fbbd8e62605714ec1fa4317a3524ae0b6381cdc2ca92619d9a451b3fe9ff4085c42826f5398e3380d3031bff"; };
|
||||
@ -472,7 +472,7 @@ cacheEntries = {
|
||||
"@types/qs@npm:6.9.8" = { filename = "@types-qs-npm-6.9.8-34e5143bd2-336358c279.zip"; sha512 = "336358c279818ecedc0b4f9b29fd5052ff6e05dba3f10bad4534a4624819408d0b4710a4cdf8b58dff948dbdb1ca95a00e237189505ef1abfce0e6341eb18022"; };
|
||||
"@types/range-parser@npm:1.2.4" = { filename = "@types-range-parser-npm-1.2.4-23d797fbde-8e3c3cda88.zip"; sha512 = "8e3c3cda88675efd9145241bcb454449715b7d015a7fb80d018dcb3d441fa1938b302242cc0dfa6b02c5d014dd8bc082ae90091e62b1e816cae3ec36c2a7dbcb"; };
|
||||
"@types/react@npm:16.14.46" = { filename = "@types-react-npm-16.14.46-182a2be349-815885cbae.zip"; sha512 = "815885cbae2c8653dddf8df4e6c2ce43ff8ff1d02c03f8356ce4b13aa7c8e6c72c588f04977c6f49fdd82419d46fdd895535d5e66726f0b0ea13c04065294995"; };
|
||||
"@types/react@npm:18.2.46" = { filename = "@types-react-npm-18.2.46-9c5f157b4c-814cc67107.zip"; sha512 = "814cc67107e5e69501d65bfc371cc2c716665d2a3608d395a2f81e24c3a2875db28e2cad717dfb17017eabcffd1d68ee2c9e09ecaba3f7108d5b7fbb9888ebab"; };
|
||||
"@types/react@npm:18.2.47" = { filename = "@types-react-npm-18.2.47-174a303ec9-e98ea1827f.zip"; sha512 = "e98ea1827fe60636d0f7ce206397159a29fc30613fae43e349e32c10ad3c0b7e0ed2ded2f3239e07bd5a3cba8736b6114ba196acccc39905ca4a06f56a8d2841"; };
|
||||
"@types/resolve@npm:1.20.4" = { filename = "@types-resolve-npm-1.20.4-b445318f16-662d3d9c1a.zip"; sha512 = "662d3d9c1a9bd277a5289f8530ee869e4f3f5db17024f41fd90c631942a89e0cc6c5dab447fbc024d29c173b3f165dfa9be28747596e6668824a1ef81f994e04"; };
|
||||
"@types/scheduler@npm:0.16.3" = { filename = "@types-scheduler-npm-0.16.3-887bfc0086-c249d4b96f.zip"; sha512 = "c249d4b96fa05165ac22c214f94a045ee0af8beedefdbc54b769febd0044cab3a874e55419841a0dcc76439e379a63e257f3253c87168e3261e7bc783d623302"; };
|
||||
"@types/semver@npm:7.5.1" = { filename = "@types-semver-npm-7.5.1-cda240741c-10746bd8c6.zip"; sha512 = "10746bd8c6b5ba4da8c5b8e246e0ce2ccde7df0e782cbb2b376bc8c6c25ae0aca39a3c82b762912c6eab801cd64ffd8582369c4b96f0d4e7898118b68717c93b"; };
|
||||
@ -484,25 +484,26 @@ cacheEntries = {
|
||||
"@types/vscode@npm:1.80.0" = { filename = "@types-vscode-npm-1.80.0-7ea3286e88-6f56a49ec8.zip"; sha512 = "6f56a49ec8cac5482e38f3e4fa42f9c0ab3f6968e301389a48fc77450881a0ce17f7cf887a734644de858e708f3671404dfbda959493bcfaf6e07ec8a9c438d5"; };
|
||||
"@types/yargs-parser@npm:21.0.0" = { filename = "@types-yargs-parser-npm-21.0.0-c8a3b32c52-cb89f3bb2e.zip"; sha512 = "cb89f3bb2e8002f1479a65a934e825be4cc18c50b350bbc656405d41cf90b8a299b105e7da497d7eb1aa460472a07d1e5a389f3af0862f1d1252279cfcdd017c"; };
|
||||
"@types/yargs@npm:17.0.24" = { filename = "@types-yargs-npm-17.0.24-b034cf1d8b-fbebf57e1d.zip"; sha512 = "fbebf57e1d04199e5e7eb0c67a402566fa27177ee21140664e63da826408793d203d262b48f8f41d4a7665126393d2e952a463e960e761226def247d9bbcdbd0"; };
|
||||
"@typescript-eslint/eslint-plugin@npm:6.17.0" = { filename = "@typescript-eslint-eslint-plugin-npm-6.17.0-77923ed085-44a3c914b7.zip"; sha512 = "44a3c914b72607b12925d07c04be97d325f8795f5d7de8501054a4405accc35b35eaa2aa93983c602d13e842503d49bdbf1f5af5c0a69d700351c005681dcd52"; };
|
||||
"@typescript-eslint/parser@npm:6.17.0" = { filename = "@typescript-eslint-parser-npm-6.17.0-c7b54d3943-66b5315968.zip"; sha512 = "66b53159688083eb48259de5b4daf076f3de284ac3b4d2618bda3f7ab2d8ee27b01ae851b08e8487047e33ff3668424f17d677d66413164cb231f1519dcff82f"; };
|
||||
"@typescript-eslint/eslint-plugin@npm:6.18.1" = { filename = "@typescript-eslint-eslint-plugin-npm-6.18.1-afb406fb8f-fbcfae9b92.zip"; sha512 = "fbcfae9b92f35ce10212f44f43f93c43f6eb3e28a571da7ed0d424396916aaf080f16ce91a5bffb9e1b42ca2d6003a3e2ad65131b4ef72ed2f94a4bedb35a735"; };
|
||||
"@typescript-eslint/parser@npm:6.18.1" = { filename = "@typescript-eslint-parser-npm-6.18.1-5f9fac0abf-78cf87c49b.zip"; sha512 = "78cf87c49be224a7fc7c9b1580b015b79e6f6b78d3db60843825b9657e6c5b852566ca7fcb9a51e7b781e910a89a73cdc36dfcd180ccb34febc535ad9b5a0be1"; };
|
||||
"@typescript-eslint/scope-manager@npm:5.62.0" = { filename = "@typescript-eslint-scope-manager-npm-5.62.0-c0013838b0-8612532355.zip"; sha512 = "861253235576c1c5c1772d23cdce1418c2da2618a479a7de4f6114a12a7ca853011a1e530525d0931c355a8fd237b9cd828fac560f85f9623e24054fd024726f"; };
|
||||
"@typescript-eslint/scope-manager@npm:6.17.0" = { filename = "@typescript-eslint-scope-manager-npm-6.17.0-487c8a3d96-b7ac7d9c39.zip"; sha512 = "b7ac7d9c39515c2a1b3844577fab967bf126ec25ccf28076240748b3f42d60ab3e64131bfffee61f66251bdf2d59e50e39f5cb0bee7987c85c49140c75d26b5f"; };
|
||||
"@typescript-eslint/type-utils@npm:6.17.0" = { filename = "@typescript-eslint-type-utils-npm-6.17.0-e9feb8698e-15bc9ba2d7.zip"; sha512 = "15bc9ba2d7f12c3825eced4e5c2283616496e4bca57914c98e895af23d920f94e47e2081fb4fd59da13d274809e08667ae43a76a2f1494a7043c75f980f21114"; };
|
||||
"@typescript-eslint/scope-manager@npm:6.18.1" = { filename = "@typescript-eslint-scope-manager-npm-6.18.1-3f533b51d7-66ef86688a.zip"; sha512 = "66ef86688a2eb69988a15d6c0176e5e1ec3994ab96526ca525226a1815eef63366e10e3e6a041ceb2cd63d1cced27874d2313045b785418330af68a288e50771"; };
|
||||
"@typescript-eslint/type-utils@npm:6.18.1" = { filename = "@typescript-eslint-type-utils-npm-6.18.1-40d38d6f53-5198752a51.zip"; sha512 = "5198752a51649afd960205708c4d765e0170a46a1eb96c97e706890fecb2642933a6377337cf3632f9737915da0201607872a46c9c551d1accf9176b0e025023"; };
|
||||
"@typescript-eslint/types@npm:5.62.0" = { filename = "@typescript-eslint-types-npm-5.62.0-5c2e0aab15-7febd3a7f0.zip"; sha512 = "7febd3a7f0701c0b927e094f02e82d8ee2cada2b186fcb938bc2b94ff6fbad88237afc304cbaf33e82797078bbbb1baf91475f6400912f8b64c89be79bfa4ddf"; };
|
||||
"@typescript-eslint/types@npm:6.17.0" = { filename = "@typescript-eslint-types-npm-6.17.0-96c56c0a75-c458d985b9.zip"; sha512 = "c458d985b9ab4f369018536bcb88f0aedafb0c8c4b22ffd376e0c0c768a44e3956475c85ebeef40ae44238841c8df268893477b85873aa2621995c37e738e37e"; };
|
||||
"@typescript-eslint/types@npm:6.18.1" = { filename = "@typescript-eslint-types-npm-6.18.1-a106ef5c16-58c1a1bcf2.zip"; sha512 = "58c1a1bcf2403891a4fcb0d21aac643a6f9d06119423230dad74ef2b95adf94201da7cf48617b0c27b51695225b622e48c739cf4186ef5f99294887d2d536557"; };
|
||||
"@typescript-eslint/typescript-estree@npm:5.62.0" = { filename = "@typescript-eslint-typescript-estree-npm-5.62.0-5d1ea132a9-d7984a3e9d.zip"; sha512 = "d7984a3e9d56897b2481940ec803cb8e7ead03df8d9cfd9797350be82ff765dfcf3cfec04e7355e1779e948da8f02bc5e11719d07a596eb1cb995c48a95e38cf"; };
|
||||
"@typescript-eslint/typescript-estree@npm:6.17.0" = { filename = "@typescript-eslint-typescript-estree-npm-6.17.0-c77ebc49a9-5a858288bb.zip"; sha512 = "5a858288bb05f45a2a45b04394115826ff19f85555144bfb67dc281d4e75fc3a1e1aceb3dee68022e86b91f199d1310c15bda3100a4890004b8e474d86afad51"; };
|
||||
"@typescript-eslint/typescript-estree@npm:6.18.1" = { filename = "@typescript-eslint-typescript-estree-npm-6.18.1-8c1bf6eb4a-5bca8f58d3.zip"; sha512 = "5bca8f58d3134c5296c7e6cbeef512feb3918cdc88b5b22e656a7978277278e7a86187690e7e3be3f3708feb98c952a6ab4d8bbc197fff3826e3afa8bc1e287e"; };
|
||||
"@typescript-eslint/utils@npm:5.62.0" = { filename = "@typescript-eslint-utils-npm-5.62.0-907f2d579e-f09b7d9952.zip"; sha512 = "f09b7d9952e4a205eb1ced31d7684dd55cee40bf8c2d78e923aa8a255318d97279825733902742c09d8690f37a50243f4c4d383ab16bd7aefaf9c4b438f785e1"; };
|
||||
"@typescript-eslint/utils@npm:6.17.0" = { filename = "@typescript-eslint-utils-npm-6.17.0-e1af9825ce-a85907c5fb.zip"; sha512 = "a85907c5fbe0a54944fff25df05bf5b8bbe524bb1907fb54c7c68135cf764aa45344e679965c17e235b328ad32e74b1357057c43035203ce874915c4687daa93"; };
|
||||
"@typescript-eslint/utils@npm:6.18.1" = { filename = "@typescript-eslint-utils-npm-6.18.1-6a422bc632-b9dcb2fa7c.zip"; sha512 = "b9dcb2fa7cc8c46254c22fee190032320a5dd8ce282fb01e99cb35da6c00e33b157f4285b062d841942e9aad1d7ce1a16aaa46dd05ca7d81de706aedbbfff396"; };
|
||||
"@typescript-eslint/visitor-keys@npm:5.62.0" = { filename = "@typescript-eslint-visitor-keys-npm-5.62.0-da1af55f83-7c3b8e4148.zip"; sha512 = "7c3b8e4148e9b94d9b7162a596a1260d7a3efc4e65199693b8025c71c4652b8042501c0bc9f57654c1e2943c26da98c0f77884a746c6ae81389fcb0b513d995d"; };
|
||||
"@typescript-eslint/visitor-keys@npm:6.17.0" = { filename = "@typescript-eslint-visitor-keys-npm-6.17.0-fe9f80b87e-75a48f5810.zip"; sha512 = "75a48f5810c6a69bc1c082b07d2b840c40895807b1b4ecf9d3ab9eb783176eeb3e7b11eb89d652e8331da79d604f82300f315ffc21cd937819197a8601b48d1d"; };
|
||||
"@typescript-eslint/visitor-keys@npm:6.18.1" = { filename = "@typescript-eslint-visitor-keys-npm-6.18.1-1fdb3bad24-f3dacdd1db.zip"; sha512 = "f3dacdd1db7347908ac207968da4fa72efb31e38a6dde652651633c5283f054832045f2ad00b4ca7478e7f2e09fe4ae6e3a32b76580c036b9e5c7b8dd55af9f3"; };
|
||||
"@ungap/structured-clone@npm:1.2.0" = { filename = "@ungap-structured-clone-npm-1.2.0-648f0b82e0-8209c937cb.zip"; sha512 = "8209c937cb39119f44eb63cf90c0b73e7c754209a6411c707be08e50e29ee81356dca1a848a405c8bdeebfe2f5e4f831ad310ae1689eeef65e7445c090c6657d"; };
|
||||
"@vitejs/plugin-react@npm:3.1.0" = { filename = "@vitejs-plugin-react-npm-3.1.0-98ff1f6673-259a92a303.zip"; sha512 = "259a92a303cd736240dc0d3282d1261339e7bbcf51c5b326868c910b35d4bd22a360334b2dafa5bfc7f3e935f2cd0fdc7ccb6ec6b519b81017c4c4812cd05290"; };
|
||||
"@vscode/vsce@npm:2.22.0" = { filename = "@vscode-vsce-npm-2.22.0-daf91a1f2b-809228e165.zip"; sha512 = "809228e165933c4c6606b82b2658995a31dbb70f28df3ee1b195314ad4da2440c1b4270d427c9fa217eb61745921fe23fbdad46251e7f540f00952846b7daab9"; };
|
||||
"@yarnpkg/esbuild-plugin-pnp@npm:3.0.0-rc.15" = { filename = "@yarnpkg-esbuild-plugin-pnp-npm-3.0.0-rc.15-b916c218b3-5095bc3168.zip"; sha512 = "5095bc316862971add31ca1fadb0095b6ad15f25120f6ab3a06086bb6a7be93c2f3c45bff80d5976689fc89b0e9bf82bd3d410e205c852739874d32d050c4e57"; };
|
||||
"@yarnpkg/fslib@npm:2.10.3" = { filename = "@yarnpkg-fslib-npm-2.10.3-dbfb509869-c4fbbed99e.zip"; sha512 = "c4fbbed99e801f17c381204e9699d9ea4fb51b14e99968985f477bdbc7b02b61e026860173f3f46bd60d9f46ae6a06f420a3edb3c02c3a45ae83779095928094"; };
|
||||
"@yarnpkg/libzip@npm:2.3.0" = { filename = "@yarnpkg-libzip-npm-2.3.0-ea36e8470b-0c2361ccb0.zip"; sha512 = "0c2361ccb002e28463ed98541f3bdaab54f52aad6a2080666c2a9ea605ebd9cdfb7b0340b1db6f105820d05bcb803cdfb3ce755a8f6034657298c291bf884f81"; };
|
||||
"@yarnpkg/types@npm:4.0.0" = { filename = "@yarnpkg-types-npm-4.0.0-cfa3270e50-41f67a4aa5.zip"; sha512 = "41f67a4aa5c414c1e228f51453451fa15e0dd70c5cf2b1ae1ca142a3f018f25e4a37e60372cd0f5970c755e1804a2e31e208bff427add1cf13f899b0b9adc1e0"; };
|
||||
"abbrev@npm:1.1.1" = { filename = "abbrev-npm-1.1.1-3659247eab-3f76267770.zip"; sha512 = "3f762677702acb24f65e813070e306c61fafe25d4b2583f9dfc935131f774863f3addd5741572ed576bd69cabe473c5af18e1e108b829cb7b6b4747884f726e6"; };
|
||||
"accepts@npm:1.3.8" = { filename = "accepts-npm-1.3.8-9a812371c9-3a35c5f558.zip"; sha512 = "3a35c5f5586cfb9a21163ca47a5f77ac34fa8ceb5d17d2fa2c0d81f41cbd7f8c6fa52c77e2c039acc0f4d09e71abdc51144246900f6bef5e3c4b333f77d89362"; };
|
||||
"acorn-jsx@npm:5.3.2" = { filename = "acorn-jsx-npm-5.3.2-d7594599ea-4c54868fbe.zip"; sha512 = "4c54868fbef3b8d58927d5e33f0a4de35f59012fe7b12cf9dfbb345fb8f46607709e1c4431be869a23fb63c151033d84c4198fa9f79385cec34fcb1dd53974c1"; };
|
||||
@ -564,6 +565,7 @@ cacheEntries = {
|
||||
"buffer-crc32@npm:0.2.13" = { filename = "buffer-crc32-npm-0.2.13-c4b6fceac1-cb0a8ddf5c.zip"; sha512 = "cb0a8ddf5cf4f766466db63279e47761eb825693eeba6a5a95ee4ec8cb8f81ede70aa7f9d8aeec083e781d47154290eb5d4d26b3f7a465ec57fb9e7d59c47150"; };
|
||||
"buffer-from@npm:1.1.2" = { filename = "buffer-from-npm-1.1.2-03d2f20d7e-124fff9d66.zip"; sha512 = "124fff9d66d691a86d3b062eff4663fe437a9d9ee4b47b1b9e97f5a5d14f6d5399345db80f796827be7c95e70a8e765dd404b7c3ff3b3324f98e9b0c8826cc34"; };
|
||||
"buffer@npm:5.7.1" = { filename = "buffer-npm-5.7.1-513ef8259e-27cac81cff.zip"; sha512 = "27cac81cff434ed2876058d72e7c4789d11ff1120ef32c9de48f59eab58179b66710c488987d295ae89a228f835fc66d088652dffeb8e3ba8659f80eb091d55e"; };
|
||||
"builtin-modules@npm:3.3.0" = { filename = "builtin-modules-npm-3.3.0-db4f3d32de-2cb3448b4f.zip"; sha512 = "2cb3448b4f7306dc853632a4fcddc95e8d4e4b9868c139400027b71938fc6806d4ff44007deffb362ac85724bd40c2c6452fb6a0aa4531650eeddb98d8e5ee8a"; };
|
||||
"bundle-require@npm:4.0.1" = { filename = "bundle-require-npm-4.0.1-cfa5ffc912-92a22b0618.zip"; sha512 = "92a22b0618bfc4017a7873ac6f989b8fb8c4e2d483f3b05cc3e066a8410934e43f459436113c31fe19f247760bd7f9fd60c15a7a23269d749f8dda7b1b67a01b"; };
|
||||
"bytes@npm:3.0.0" = { filename = "bytes-npm-3.0.0-19be09472d-91d42c3860.zip"; sha512 = "91d42c38601c76460519ffef88371caacaea483a354c8e4b8808e7b027574436a5713337c003ea3de63ee4991c2a9a637884fdfe7f761760d746929d9e8fec60"; };
|
||||
"bytes@npm:3.1.2" = { filename = "bytes-npm-3.1.2-28b8643004-76d1c43cbd.zip"; sha512 = "76d1c43cbd602794ad8ad2ae94095cddeb1de78c5dddaa7005c51af10b0176c69971a6d88e805a90c2b6550d76636e43c40d8427a808b8645ede885de4a0358e"; };
|
||||
@ -584,6 +586,8 @@ cacheEntries = {
|
||||
"chownr@npm:2.0.0" = { filename = "chownr-npm-2.0.0-638f1c9c61-594754e130.zip"; sha512 = "594754e1303672171cc04e50f6c398ae16128eb134a88f801bf5354fd96f205320f23536a045d9abd8b51024a149696e51231565891d4efdab8846021ecf88e6"; };
|
||||
"chromatic@npm:10.2.0" = { filename = "chromatic-npm-10.2.0-489fec0d77-e7716fc7a7.zip"; sha512 = "e7716fc7a7fbd33b525c48888ccd3ee75ec56c4f360eba2972eb7a9d42efff025fbb4a1877173eb0d916f0bc9cdab1a8e8dac615c5b35ac270cd5a8ab5f931eb"; };
|
||||
"ci-info@npm:3.8.0" = { filename = "ci-info-npm-3.8.0-d56a0b67d6-0d3052193b.zip"; sha512 = "0d3052193b58356372b34ab40d2668c3e62f1006d5ca33726d1d3c423853b19a85508eadde7f5908496fb41448f465263bf61c1ee58b7832cb6a924537e3863a"; };
|
||||
"ci-info@npm:4.0.0" = { filename = "ci-info-npm-4.0.0-90a0683096-ecc003e5b6.zip"; sha512 = "ecc003e5b60580bd081d83dd61d398ddb8607537f916313e40af4667f9c92a1243bd8e8a591a5aa78e418afec245dbe8e90a0e26e39ca0825129a99b978dd3f9"; };
|
||||
"clean-regexp@npm:1.0.0" = { filename = "clean-regexp-npm-1.0.0-f349f98f15-fd9c744655.zip"; sha512 = "fd9c7446551b8fc536f95e8a286d431017cd4ba1ec2e53997ec9159385e9c317672f6dfc4d49fdb97449fdb53b0bacd0a8bab9343b8fdd2e46c7ddf6173d0db7"; };
|
||||
"clean-stack@npm:2.2.0" = { filename = "clean-stack-npm-2.2.0-a8ce435a5c-1f90262d5f.zip"; sha512 = "1f90262d5f6230a17e27d0c190b09d47ebe7efdd76a03b5a1127863f7b3c9aec4c3e6c8bb3a7bbf81d553d56a1fd35728f5a8ef4c63f867ac8d690109742a8c1"; };
|
||||
"cli-color@npm:2.0.3" = { filename = "cli-color-npm-2.0.3-a40c4be777-9a14c2dbb3.zip"; sha512 = "9a14c2dbb352cee99e93f27ab6f105b55a57fa48b0704d39091df5ec155766e5a66a53c5384434d3dcaaab9f9258cb12d20eabbc9c39ec5f61034a681c449fc6"; };
|
||||
"cli-cursor@npm:3.1.0" = { filename = "cli-cursor-npm-3.1.0-fee1e46b5e-92a2f98ff9.zip"; sha512 = "92a2f98ff9037d09be3dfe1f0d749664797fb674bf388375a2207a1203b69d41847abf16434203e0089212479e47a358b13a0222ab9fccfe8e2644a7ccebd111"; };
|
||||
@ -691,6 +695,7 @@ cacheEntries = {
|
||||
"eslint-config-prettier@npm:9.1.0" = { filename = "eslint-config-prettier-npm-9.1.0-0e1fd42d7d-6d332694b3.zip"; sha512 = "6d332694b36bc9ac6fdb18d3ca2f6ac42afa2ad61f0493e89226950a7091e38981b66bac2b47ba39d15b73fff2cd32c78b850a9cf9eed9ca9a96bfb2f3a2f10d"; };
|
||||
"eslint-plugin-prettier@npm:5.1.2" = { filename = "eslint-plugin-prettier-npm-5.1.2-d18bb6313f-e16c9fbb0e.zip"; sha512 = "e16c9fbb0e9f8da45bdbb1cf6e4a190266235c3686deede3815196d2604bbe2bac531d1fc9adc3c0b9a03d88b55bd3bfaa4f9d85e34e73dc040d545a1931fab9"; };
|
||||
"eslint-plugin-storybook@npm:0.6.15" = { filename = "eslint-plugin-storybook-npm-0.6.15-f751412d22-c61f5f2af7.zip"; sha512 = "c61f5f2af72b614c30e8b36644672cfa25ca28e963e5e6cfab438f0cb287a6270f875a2dd8cd600a04c9864b9c549e269d95ea8da88c412e2b868fcd6a3605a4"; };
|
||||
"eslint-plugin-unicorn@npm:50.0.1" = { filename = "eslint-plugin-unicorn-npm-50.0.1-4ef4f09699-645992a210.zip"; sha512 = "645992a210066810bae4fc7557606a1f23b89a2b300c7a32d390c600a12a3283013a201a035a0943da605a38c4b7a5556086962b9ec785d45cf8c65c6a50cbcd"; };
|
||||
"eslint-scope@npm:5.1.1" = { filename = "eslint-scope-npm-5.1.1-71fe59b18a-d30ef9dc1c.zip"; sha512 = "d30ef9dc1c1cbdece34db1539a4933fe3f9b14e1ffb27ecc85987902ee663ad7c9473bbd49a9a03195a373741e62e2f807c4938992e019b511993d163450e70a"; };
|
||||
"eslint-scope@npm:7.2.2" = { filename = "eslint-scope-npm-7.2.2-53cb0df8e8-613c267aea.zip"; sha512 = "613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116"; };
|
||||
"eslint-visitor-keys@npm:3.4.3" = { filename = "eslint-visitor-keys-npm-3.4.3-a356ac7e46-92708e882c.zip"; sha512 = "92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820"; };
|
||||
@ -819,6 +824,7 @@ cacheEntries = {
|
||||
"is-arguments@npm:1.1.1" = { filename = "is-arguments-npm-1.1.1-eff4f6d4d7-5ff1f341ee.zip"; sha512 = "5ff1f341ee4475350adfc14b2328b38962564b7c2076be2f5bac7bd9b61779efba99b9f844a7b82ba7654adccf8e8eb19d1bb0cc6d1c1a085e498f6793d4328f"; };
|
||||
"is-arrayish@npm:0.2.1" = { filename = "is-arrayish-npm-0.2.1-23927dfb15-e7fb686a73.zip"; sha512 = "e7fb686a739068bb70f860b39b67afc62acc62e36bb61c5f965768abce1873b379c563e61dd2adad96ebb7edf6651111b385e490cf508378959b0ed4cac4e729"; };
|
||||
"is-binary-path@npm:2.1.0" = { filename = "is-binary-path-npm-2.1.0-e61d46f557-a16eaee59a.zip"; sha512 = "a16eaee59ae2b315ba36fad5c5dcaf8e49c3e27318f8ab8fa3cdb8772bf559c8d1ba750a589c2ccb096113bb64497084361a25960899cb6172a6925ab6123d38"; };
|
||||
"is-builtin-module@npm:3.2.1" = { filename = "is-builtin-module-npm-3.2.1-2f92a5d353-5a66937a03.zip"; sha512 = "5a66937a03f3b18803381518f0ef679752ac18cdb7dd53b5e23ee8df8d440558737bd8dcc04d2aae555909d2ecb4a81b5c0d334d119402584b61e6a003e31af1"; };
|
||||
"is-callable@npm:1.2.7" = { filename = "is-callable-npm-1.2.7-808a303e61-ceebaeb9d9.zip"; sha512 = "ceebaeb9d92e8adee604076971dd6000d38d6afc40bb843ea8e45c5579b57671c3f3b50d7f04869618242c6cee08d1b67806a8cb8edaaaf7c0748b3720d6066f"; };
|
||||
"is-core-module@npm:2.13.0" = { filename = "is-core-module-npm-2.13.0-e444c50225-a8e7f46f8c.zip"; sha512 = "a8e7f46f8cefd7c9f6f5d54f3dbf1c40bf79467b6612d6023421ec6ea7e8e4c22593b3963ff7a3f770db07bc19fccbe7987a550a8bc1a4d6ec4115db5e4c5dca"; };
|
||||
"is-deflate@npm:1.0.0" = { filename = "is-deflate-npm-1.0.0-9dd27645d8-35f7ffcbef.zip"; sha512 = "35f7ffcbef3549dd8a4d8df5dc09b4f4656a0fc88326e8b5201cda54114a9c2d8efb689d87c16f3f35c95bd71dcf13dc790d62b7504745b42c53ab4b40238f5a"; };
|
||||
@ -863,6 +869,7 @@ cacheEntries = {
|
||||
"jscodeshift@npm:0.15.1" = { filename = "jscodeshift-npm-0.15.1-cabf242d9a-334de6ffa7.zip"; sha512 = "334de6ffa776a68b3f59f2f18a285ea977f3339d85e3517f3854761e65769ffa7e453c35cde320fc969106d573df39bd3fb08b23db54ae17c1b1516e5bf05742"; };
|
||||
"jsesc@npm:0.5.0" = { filename = "jsesc-npm-0.5.0-6827074492-f93792440a.zip"; sha512 = "f93792440ae1d80f091b65f8ceddf8e55c4bb7f1a09dee5dcbdb0db5612c55c0f6045625aa6b7e8edb2e0a4feabd80ee48616dbe2d37055573a84db3d24f96d9"; };
|
||||
"jsesc@npm:2.5.2" = { filename = "jsesc-npm-2.5.2-c5acb78804-dbf59312e0.zip"; sha512 = "dbf59312e0ebf2b4405ef413ec2b25abb5f8f4d9bc5fb8d9f90381622ebca5f2af6a6aa9a8578f65903f9e33990a6dc798edd0ce5586894bf0e9e31803a1de88"; };
|
||||
"jsesc@npm:3.0.2" = { filename = "jsesc-npm-3.0.2-3b3b74ec0d-ef22148f9e.zip"; sha512 = "ef22148f9e793180b14d8a145ee6f9f60f301abf443288117b4b6c53d0ecd58354898dc506ccbb553a5f7827965cd38bc5fb726575aae93c5e8915e2de8290e1"; };
|
||||
"json-parse-even-better-errors@npm:2.3.1" = { filename = "json-parse-even-better-errors-npm-2.3.1-144d62256e-140932564c.zip"; sha512 = "140932564c8f0b88455432e0f33c4cb4086b8868e37524e07e723f4eaedb9425bdc2bafd71bd1d9765bd15fd1e2d126972bc83990f55c467168c228c24d665f3"; };
|
||||
"json-schema-to-typescript@npm:13.1.1" = { filename = "json-schema-to-typescript-npm-13.1.1-55a260b512-597b94f3ac.zip"; sha512 = "597b94f3acd87cfb7d77f03636b4cbc19ba67f3035bb8f59e94d4e0193194f951c117455a2ccb2f2343ac1861aca3c17e450867e6503544977e926275f735e4b"; };
|
||||
"json-schema-traverse@npm:0.4.1" = { filename = "json-schema-traverse-npm-0.4.1-4759091693-108fa90d4c.zip"; sha512 = "108fa90d4cc6f08243aedc6da16c408daf81793bf903e9fd5ab21983cda433d5d2da49e40711da016289465ec2e62e0324dcdfbc06275a607fe3233fde4942ce"; };
|
||||
@ -1018,6 +1025,7 @@ cacheEntries = {
|
||||
"pkg-dir@npm:3.0.0" = { filename = "pkg-dir-npm-3.0.0-16d8d93783-902a3d0c1f.zip"; sha512 = "902a3d0c1f8ac43b1795fa1ba6ffeb37dfd53c91469e969790f6ed5e29ff2bdc50b63ba6115dc056d2efb4a040aa2446d512b3804bdafdf302f734fb3ec21847"; };
|
||||
"pkg-dir@npm:4.2.0" = { filename = "pkg-dir-npm-4.2.0-2b5d0a8d32-c56bda7769.zip"; sha512 = "c56bda7769e04907a88423feb320babaed0711af8c436ce3e56763ab1021ba107c7b0cafb11cde7529f669cfc22bffcaebffb573645cbd63842ea9fb17cd7728"; };
|
||||
"pkg-dir@npm:5.0.0" = { filename = "pkg-dir-npm-5.0.0-3ba6768b42-793a496d68.zip"; sha512 = "793a496d685dc55bbbdbbb22d884535c3b29241e48e3e8d37e448113a71b9e42f5481a61fdc672d7322de12fbb2c584dd3a68bf89b18fffce5c48a390f911bc5"; };
|
||||
"pluralize@npm:8.0.0" = { filename = "pluralize-npm-8.0.0-f5f044ed52-2044cfc34b.zip"; sha512 = "2044cfc34b2e8c88b73379ea4a36fc577db04f651c2909041b054c981cd863dd5373ebd030123ab058d194ae615d3a97cfdac653991e499d10caf592e8b3dc33"; };
|
||||
"polished@npm:4.2.2" = { filename = "polished-npm-4.2.2-eb3d423b8d-1d054d1fea.zip"; sha512 = "1d054d1fea18ac7d921ca91504ffcf1ef0f505eda6acbfec6e205a98ebfea80b658664995deb35907dabc5f75f287dc2894812503a8aed28285bb91f25cf7400"; };
|
||||
"postcss-load-config@npm:4.0.1" = { filename = "postcss-load-config-npm-4.0.1-351eb776f5-5f568420c4.zip"; sha512 = "5f568420c4d758d77d661f26914c08fe8dfb0666c7b779dc4f48d7fd880d131e8aa232a45cc1a8ba3f47f9c5fca572b661ca0103c2212979e9dc00918cff3d5f"; };
|
||||
"postcss-loader@npm:7.3.3" = { filename = "postcss-loader-npm-7.3.3-df90db4d0c-d039654273.zip"; sha512 = "d039654273f858be1f75dfdf8b550869d88905b73a7684b3e48a2937a6087619e84fd1a3551cdef78685a965a2573e985b29a532c3878d834071ecd2da0eb304"; };
|
||||
@ -1078,7 +1086,9 @@ cacheEntries = {
|
||||
"regenerator-runtime@npm:0.14.0" = { filename = "regenerator-runtime-npm-0.14.0-e060897cf7-e25f062c1a.zip"; sha512 = "e25f062c1a183f81c99681691a342760e65c55e8d3a4d4fe347ebe72433b123754b942b70b622959894e11f8a9131dc549bd3c9a5234677db06a4af42add8d12"; };
|
||||
"regenerator-transform@npm:0.15.2" = { filename = "regenerator-transform-npm-0.15.2-109e57a69f-7cfe6931ec.zip"; sha512 = "7cfe6931ec793269701994a93bab89c0cc95379191fad866270a7fea2adfec67ea62bb5b374db77058b60ba4509319d9b608664d0d288bd9989ca8dbd08fae90"; };
|
||||
"regex-parser@npm:2.2.11" = { filename = "regex-parser-npm-2.2.11-946d73634f-6572acbd46.zip"; sha512 = "6572acbd46b5444215a73cf164f3c6fdbd73b8a2cde6a31a97307e514d20f5cbb8609f9e4994a7744207f2d1bf9e6fca4bbc0c9854f2b3da77ae0063efdc3f98"; };
|
||||
"regexp-tree@npm:0.1.27" = { filename = "regexp-tree-npm-0.1.27-e0324e6a9c-f636f44b4a.zip"; sha512 = "f636f44b4a0d93d7d6926585ecd81f63e4ce2ac895bc417b2ead0874cd36b337dcc3d0fedc63f69bf5aaeaa4340f36ca7e750c9687cceaf8087374e5284e843c"; };
|
||||
"regexpu-core@npm:5.3.2" = { filename = "regexpu-core-npm-5.3.2-89effc52a2-7945d5ab10.zip"; sha512 = "7945d5ab10c8bbed3ca383d4274687ea825aee4ab93a9c51c6e31e1365edd5ea807f6908f800ba017b66c462944ba68011164e7055207747ab651f8111ef3770"; };
|
||||
"regjsparser@npm:0.10.0" = { filename = "regjsparser-npm-0.10.0-f65a000af3-0f0508c142.zip"; sha512 = "0f0508c142eddbceae55dab9715e714305c19e1e130db53168e8fa5f9f7ff9a4901f674cf6f71e04a0973b2f883882ba05808c80778b2d52b053d925050010f4"; };
|
||||
"regjsparser@npm:0.9.1" = { filename = "regjsparser-npm-0.9.1-47cd7c2ee2-fe44fcf19a.zip"; sha512 = "fe44fcf19a99fe4f92809b0b6179530e5ef313ff7f87df143b08ce9a2eb3c4b6189b43735d645be6e8f4033bfb015ed1ca54f0583bc7561bed53fd379feb8225"; };
|
||||
"remark-external-links@npm:8.0.0" = { filename = "remark-external-links-npm-8.0.0-3d5c9bcaf8-5f0affc97e.zip"; sha512 = "5f0affc97e18ad3247e3b29449f4df98be5a75950cf0f0f13dd1755c4ef1065f9ab44626bba34d913d32bb92afd6f06a8e2f8068e83b48337f0b7a5d1f0cecfe"; };
|
||||
"remark-slug@npm:6.1.0" = { filename = "remark-slug-npm-6.1.0-71916abc75-7cc2857936.zip"; sha512 = "7cc2857936fce9c9c00b9c7d70de46d594cedf93bd8560fd006164dee7aacccdf472654ee35b33f4fb4bd0af882d89998c6d0c9088c2e95702a9fc15ebae002a"; };
|
||||
@ -1117,8 +1127,8 @@ cacheEntries = {
|
||||
"shallow-clone@npm:3.0.1" = { filename = "shallow-clone-npm-3.0.1-dab5873d0d-7bab09613a.zip"; sha512 = "7bab09613a1b9f480c85a9823aebec533015579fa055ba6634aa56ba1f984380670eaf33b8217502931872aa1401c9fcadaa15f9f604d631536df475b05bcf1e"; };
|
||||
"shebang-command@npm:2.0.0" = { filename = "shebang-command-npm-2.0.0-eb2b01921d-a41692e7d8.zip"; sha512 = "a41692e7d89a553ef21d324a5cceb5f686d1f3c040759c50aab69688634688c5c327f26f3ecf7001ebfd78c01f3c7c0a11a7c8bfd0a8bc9f6240d4f40b224e4e"; };
|
||||
"shebang-regex@npm:3.0.0" = { filename = "shebang-regex-npm-3.0.0-899a0cd65e-1dbed0726d.zip"; sha512 = "1dbed0726dd0e1152a92696c76c7f06084eb32a90f0528d11acd764043aacf76994b2fb30aa1291a21bd019d6699164d048286309a278855ee7bec06cf6fb690"; };
|
||||
"shikiji-core@npm:0.9.17" = { filename = "shikiji-core-npm-0.9.17-dd65d1cf59-461dcb908c.zip"; sha512 = "461dcb908c1f7055756a4e9a0bcdcbac6303b424a055cfa6be01c82383fe2163169bf6e12723dc93a402da5d476a796c4a3e8dcf7ba66a90ad3dcd8718836967"; };
|
||||
"shikiji@npm:0.9.17" = { filename = "shikiji-npm-0.9.17-06eb022e27-ed3ab09cef.zip"; sha512 = "ed3ab09cefcc61f9e205f0b9dc32aef913dac975e0f267d5a2f1c2bf67bf5d62ae7353e92f7f7c974646d4136408b2acf174e60543deee8e18ea733a94c52a95"; };
|
||||
"shikiji-core@npm:0.9.18" = { filename = "shikiji-core-npm-0.9.18-826293a3df-cc8673c664.zip"; sha512 = "cc8673c664d31a2392bb972c69c57c79f364056dd2361565d401165bee7d3afe8b358c15211d6356357fbc9d25c34dd9d06c9949fa7237031b840995e5eb5da2"; };
|
||||
"shikiji@npm:0.9.18" = { filename = "shikiji-npm-0.9.18-945ea5efcb-29651f5c39.zip"; sha512 = "29651f5c397c5862ff1c78e0c6b85e6fa47f9f3538f5672f64c4c9afea368e77dfb1697eb7cd5746bc259d7cbaec6d77c91c5e0b520dc4dcbb77ad8492dbef72"; };
|
||||
"side-channel@npm:1.0.4" = { filename = "side-channel-npm-1.0.4-e1f38b9e06-054a5d23ee.zip"; sha512 = "054a5d23ee35054b2c4609b9fd2a0587760737782b5d765a9c7852264710cc39c6dcb56a9bbd6c12cd84071648aea3edb2359d2f6e560677eedadce511ac1da5"; };
|
||||
"signal-exit@npm:3.0.7" = { filename = "signal-exit-npm-3.0.7-bd270458a3-25d272fa73.zip"; sha512 = "25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912"; };
|
||||
"signal-exit@npm:4.1.0" = { filename = "signal-exit-npm-4.1.0-61fb957687-41602dce54.zip"; sha512 = "41602dce540e46d599edba9d9860193398d135f7ff72cab629db5171516cfae628d21e7bfccde1bbfdf11c48726bc2a6d1a8fb8701125852fbfda7cf19c6aa83"; };
|
||||
@ -1157,6 +1167,7 @@ cacheEntries = {
|
||||
"strip-ansi@npm:7.1.0" = { filename = "strip-ansi-npm-7.1.0-7453b80b79-a198c3762e.zip"; sha512 = "a198c3762e8832505328cbf9e8c8381de14a4fa50a4f9b2160138158ea88c0f5549fb50cb13c651c3088f47e63a108b34622ec18c0499b6c8c3a5ddf6b305ac4"; };
|
||||
"strip-final-newline@npm:2.0.0" = { filename = "strip-final-newline-npm-2.0.0-340c4f7c66-bddf8ccd47.zip"; sha512 = "bddf8ccd47acd85c0e09ad7375409d81653f645fda13227a9d459642277c253d877b68f2e5e4d819fe75733b0e626bac7e954c04f3236f6d196f79c94fa4a96f"; };
|
||||
"strip-final-newline@npm:3.0.0" = { filename = "strip-final-newline-npm-3.0.0-7972cbec8b-a771a17901.zip"; sha512 = "a771a17901427bac6293fd416db7577e2bc1c34a19d38351e9d5478c3c415f523f391003b42ed475f27e33a78233035df183525395f731d3bfb8cdcbd4da08ce"; };
|
||||
"strip-indent@npm:3.0.0" = { filename = "strip-indent-npm-3.0.0-519e75a28d-ae0deaf41c.zip"; sha512 = "ae0deaf41c8d1001c5d4fbe16cb553865c1863da4fae036683b474fa926af9fc121e155cb3fc57a68262b2ae7d5b8420aa752c97a6428c315d00efe2a3875679"; };
|
||||
"strip-indent@npm:4.0.0" = { filename = "strip-indent-npm-4.0.0-12c489be86-6b1fb4e220.zip"; sha512 = "6b1fb4e22056867f5c9e7a6f3f45922d9a2436cac758607d58aeaac0d3b16ec40b1c43317de7900f1b8dd7a4107352fa47fb960f2c23566538c51e8585c8870e"; };
|
||||
"strip-json-comments@npm:2.0.1" = { filename = "strip-json-comments-npm-2.0.1-e7883b2d04-b509231cbd.zip"; sha512 = "b509231cbdee45064ff4f9fd73609e2bcc4e84a4d508e9dd0f31f70356473fde18abfb5838c17d56fb236f5a06b102ef115438de0600b749e818a35fbbc48c43"; };
|
||||
"strip-json-comments@npm:3.1.1" = { filename = "strip-json-comments-npm-3.1.1-dcb2324823-9681a6257b.zip"; sha512 = "9681a6257b925a7fa0f285851c0e613cc934a50661fa7bb41ca9cbbff89686bb4a0ee366e6ecedc4daafd01e83eee0720111ab294366fe7c185e935475ebcecd"; };
|
||||
|
21
package.json
21
package.json
@ -2,13 +2,15 @@
|
||||
"name": "@catppuccin/vscode-monorepo",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"@types/node": "^18.19.4",
|
||||
"@typescript-eslint/eslint-plugin": "^6.17.0",
|
||||
"@typescript-eslint/parser": "^6.17.0",
|
||||
"@types/node": "^20.10.8",
|
||||
"@typescript-eslint/eslint-plugin": "^6.18.1",
|
||||
"@typescript-eslint/parser": "^6.18.1",
|
||||
"@vscode/vsce": "^2.22.0",
|
||||
"@yarnpkg/types": "^4.0.0",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-prettier": "^5.1.2",
|
||||
"eslint-plugin-unicorn": "^50.0.1",
|
||||
"husky": "^8.0.3",
|
||||
"lint-staged": "^15.2.0",
|
||||
"prettier": "^3.1.1",
|
||||
@ -27,11 +29,20 @@
|
||||
},
|
||||
"scripts": {
|
||||
"g:typecheck": "tsc --noEmit -p packages/catppuccin-vsc && tsc --noEmit -p packages/catppuccin-vsc-storybook",
|
||||
"lint": "eslint . --ext .ts && yarn g:typecheck",
|
||||
"lint": "eslint . --ext .ts \"$@\" && yarn g:typecheck",
|
||||
"postinstall": "husky install"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
],
|
||||
"packageManager": "yarn@4.0.2"
|
||||
"packageManager": "yarn@4.0.2",
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "."
|
||||
}
|
||||
}
|
||||
|
@ -5,12 +5,15 @@
|
||||
"displayName": "Catppuccin Pack",
|
||||
"publisher": "catppuccin",
|
||||
"icon": "icon.png",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/catppuccin/vscode.git"
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "packages/catppuccin-vsc-pack"
|
||||
},
|
||||
"engines": {
|
||||
"vscode": "^1.70.0"
|
||||
"vscode": "^1.70.0",
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"categories": [
|
||||
"Extension Packs"
|
||||
@ -24,5 +27,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"pack:build": "vsce package --no-dependencies --out catppuccin-vsc-pack.vsix"
|
||||
}
|
||||
},
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -11,22 +11,31 @@
|
||||
"@storybook/blocks": "^7.6.7",
|
||||
"@storybook/react": "^7.6.7",
|
||||
"@storybook/react-vite": "^7.6.7",
|
||||
"@types/node": "^18.19.4",
|
||||
"@types/react": "^18.2.46",
|
||||
"@types/node": "^20.10.8",
|
||||
"@types/react": "^18.2.47",
|
||||
"catppuccin-vsc": "workspace:*",
|
||||
"chromatic": "^10.2.0",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-storybook": "^0.6.15",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"shikiji": "^0.9.17",
|
||||
"shikiji": "^0.9.18",
|
||||
"storybook": "^7.6.7",
|
||||
"tsx": "^4.7.0",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^4.5.1"
|
||||
},
|
||||
"scripts": {
|
||||
"storybook:chromatic": "chromatic --exit-zero-on-changes --exit-once-uploaded --project-token chpt_e3cba49738d7554",
|
||||
"storybook:build": "yarn core:build && storybook build",
|
||||
"storybook:dev": "storybook dev -p 6006"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "packages/catppuccin-vsc-storybook"
|
||||
}
|
||||
}
|
||||
|
@ -4,9 +4,18 @@
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"json-schema-to-typescript": "^13.1.1",
|
||||
"tsx": "^4.7.0"
|
||||
"tsx": "^4.7.0",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"typegen:update": "tsx update.ts"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "packages/catppuccin-vsc-typegen"
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,4 +1,3 @@
|
||||
/* eslint-disable */
|
||||
/**
|
||||
* This file was automatically generated.
|
||||
* DO NOT MODIFY IT BY HAND.
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { join } from "node:path";
|
||||
import { writeFileSync } from "node:fs";
|
||||
import { compile, JSONSchema } from "json-schema-to-typescript";
|
||||
@ -58,19 +59,22 @@ for (const { schema, name, fname, kind } of mappings) {
|
||||
.then((data) => data.json())
|
||||
.then((data) => {
|
||||
switch (kind) {
|
||||
case "jsonschema":
|
||||
case "jsonschema": {
|
||||
return compile(data as JSONSchema, name, {
|
||||
additionalProperties: false,
|
||||
bannerComment,
|
||||
});
|
||||
case "extension-packagejson":
|
||||
}
|
||||
case "extension-packagejson": {
|
||||
return fromVSIXColors(name, data);
|
||||
default:
|
||||
}
|
||||
default: {
|
||||
throw new Error(`Unknown kind: ${kind}`);
|
||||
}
|
||||
}
|
||||
})
|
||||
.then((typeDefs) =>
|
||||
writeFileSync(join(__dirname, "types", fname), typeDefs, "utf-8"),
|
||||
writeFileSync(join(__dirname, "types", fname), typeDefs, "utf8"),
|
||||
);
|
||||
}
|
||||
|
||||
|
21
packages/catppuccin-vsc/.eslintrc.cjs
Normal file
21
packages/catppuccin-vsc/.eslintrc.cjs
Normal file
@ -0,0 +1,21 @@
|
||||
// eslint-disable-next-line no-restricted-modules, @typescript-eslint/no-var-requires
|
||||
const nodeStdLibrary = require("node:module").builtinModules.map(
|
||||
(module) => `node:${module}`,
|
||||
);
|
||||
|
||||
/** @type {import("eslint").Linter["config"]} */
|
||||
module.exports = {
|
||||
rules: {
|
||||
"no-restricted-imports": ["error", { paths: nodeStdLibrary }],
|
||||
"no-restricted-modules": ["error", { paths: nodeStdLibrary }],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: "./src/hooks/**/*.ts",
|
||||
rules: {
|
||||
"no-restricted-imports": ["off", { paths: nodeStdLibrary }],
|
||||
"no-restricted-modules": ["off", { paths: nodeStdLibrary }],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
@ -7,7 +7,7 @@ import updatePackageJson from "./src/hooks/updatePackageJson";
|
||||
import generateThemes from "./src/hooks/generateThemes";
|
||||
|
||||
const buildForADS = getFlag("--ads", Boolean);
|
||||
const dev = getFlag("--dev", Boolean);
|
||||
const development = getFlag("--dev", Boolean);
|
||||
|
||||
(async () => {
|
||||
await generateThemes();
|
||||
@ -17,8 +17,8 @@ const dev = getFlag("--dev", Boolean);
|
||||
clean: true,
|
||||
entry: ["src/browser.ts", "src/main.ts", "src/hooks/generateThemes.ts"],
|
||||
external: ["vscode"],
|
||||
minify: !dev,
|
||||
sourcemap: dev,
|
||||
minify: !development,
|
||||
sourcemap: development,
|
||||
target: "node16",
|
||||
});
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
"version": "3.10.1",
|
||||
"engines": {
|
||||
"vscode": "^1.80.0",
|
||||
"node": ">=18.0.0"
|
||||
"node": ">=20.0.0"
|
||||
},
|
||||
"categories": [
|
||||
"Themes"
|
||||
@ -73,13 +73,13 @@
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"markdownDescription": "Custom color overrides. Assign your own hex codes to palette colors. See [the docs](https://github.com/catppuccin/vscode#override-palette-colors) for reference.",
|
||||
"$ref": "https://cdn.jsdelivr.net/gh/catppuccin/vscode@catppuccin-vsc-v3.10.0/packages/catppuccin-vsc/schemas/colorOverrides.schema.json"
|
||||
"$ref": "https://cdn.jsdelivr.net/gh/catppuccin/vscode@catppuccin-vsc-v3.10.1/packages/catppuccin-vsc/schemas/colorOverrides.schema.json"
|
||||
},
|
||||
"catppuccin.customUIColors": {
|
||||
"type": "object",
|
||||
"default": {},
|
||||
"markdownDescription": "Customize UI colors. Map `workbench.colorCustomizations` to palette colors. See [the docs](https://github.com/catppuccin/vscode#use-palette-colors-on-workbench-elements-ui) for reference.",
|
||||
"$ref": "https://cdn.jsdelivr.net/gh/catppuccin/vscode@catppuccin-vsc-v3.10.0/packages/catppuccin-vsc/schemas/customUIColors.schema.json"
|
||||
"$ref": "https://cdn.jsdelivr.net/gh/catppuccin/vscode@catppuccin-vsc-v3.10.1/packages/catppuccin-vsc/schemas/customUIColors.schema.json"
|
||||
},
|
||||
"catppuccin.accentColor": {
|
||||
"type": "string",
|
||||
@ -144,7 +144,8 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/catppuccin/vscode.git"
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "packages/catppuccin-vsc"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/catppuccin/vscode/issues"
|
||||
@ -163,14 +164,15 @@
|
||||
"@actions/core": "^1.10.1",
|
||||
"@catppuccin/palette": "^1.0.3",
|
||||
"@catppuccin/vsc-typegen": "workspace:*",
|
||||
"@types/node": "^18.19.4",
|
||||
"@types/node": "^20.10.8",
|
||||
"@types/tinycolor2": "^1.4.6",
|
||||
"@types/vscode": "~1.80.0",
|
||||
"@vscode/vsce": "^2.22.0",
|
||||
"tinycolor2": "^1.6.0",
|
||||
"tsup": "^8.0.1",
|
||||
"tsx": "^4.7.0",
|
||||
"type-flag": "^3.0.0"
|
||||
"type-flag": "^3.0.0",
|
||||
"typescript": "^5.3.3"
|
||||
},
|
||||
"scripts": {
|
||||
"core:build": "tsx build.ts",
|
||||
|
@ -5,8 +5,8 @@ import {
|
||||
ExtensionContext,
|
||||
} from "vscode";
|
||||
|
||||
export const activate = (ctx: ExtensionContext) => {
|
||||
ctx.subscriptions.push(
|
||||
export const activate = (context: ExtensionContext) => {
|
||||
context.subscriptions.push(
|
||||
workspace.onDidChangeConfiguration((event: ConfigurationChangeEvent) => {
|
||||
if (event.affectsConfiguration("catppuccin")) {
|
||||
window.showErrorMessage(
|
||||
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"rules": {
|
||||
// using Node APIs here is fine
|
||||
"no-restricted-imports": "off",
|
||||
"no-restricted-modules": "off"
|
||||
}
|
||||
}
|
@ -13,18 +13,20 @@ import { repoRoot } from "./constants";
|
||||
const flavors = flavorEntries.map(([flavorName]) => flavorName);
|
||||
|
||||
// options can also be passed as a JSON string as an environment variable
|
||||
const optEnvVar = process.env.CATPPUCCIN_OPTIONS;
|
||||
const optEnv = optEnvVar ? JSON.parse(optEnvVar) : {};
|
||||
const optEnvironmentVariable = process.env.CATPPUCCIN_OPTIONS;
|
||||
const optEnvironment = optEnvironmentVariable
|
||||
? JSON.parse(optEnvironmentVariable)
|
||||
: {};
|
||||
|
||||
const main = async () => {
|
||||
await mkdir(join(repoRoot, "themes"), { recursive: true });
|
||||
|
||||
flavors.map((flavor) => {
|
||||
const options = { ...defaultOptions, ...optEnv };
|
||||
const options = { ...defaultOptions, ...optEnvironment };
|
||||
const theme = compileTheme(flavor, options);
|
||||
writeFile(
|
||||
join(repoRoot, `themes/${flavor}.json`),
|
||||
JSON.stringify(theme, null, 2),
|
||||
JSON.stringify(theme, undefined, 2),
|
||||
);
|
||||
});
|
||||
};
|
||||
|
@ -95,7 +95,7 @@ const configuration = (version: string) => {
|
||||
const main = async (options: { buildForADS?: boolean } = {}) => {
|
||||
const productName = options.buildForADS ? "Azure Data Studio" : "VSCode";
|
||||
|
||||
return await readFile(join(repoRoot, "package.json"), "utf-8")
|
||||
return await readFile(join(repoRoot, "package.json"), "utf8")
|
||||
.then((data) => JSON.parse(data))
|
||||
.then((data) => {
|
||||
return {
|
||||
@ -111,8 +111,8 @@ const main = async (options: { buildForADS?: boolean } = {}) => {
|
||||
.then((data) => {
|
||||
writeFile(
|
||||
join(repoRoot, "package.json"),
|
||||
JSON.stringify(data, null, 2) + "\n",
|
||||
"utf-8",
|
||||
JSON.stringify(data, undefined, 2) + "\n",
|
||||
"utf8",
|
||||
);
|
||||
return data;
|
||||
});
|
||||
|
@ -1,3 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { writeFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
import { flavors } from "@catppuccin/palette";
|
||||
@ -49,22 +51,20 @@ const main = async () => {
|
||||
await fetch(vscodeSchemasRoot + "workbench-colors.json")
|
||||
.then((data) => data.json())
|
||||
.then((data: any) => {
|
||||
const schema = customUiColorsSchema(
|
||||
Object.entries<any>(data.properties).reduce(
|
||||
(acc, [name, { description }]) => {
|
||||
acc[name] = {
|
||||
description,
|
||||
$ref: "#/$defs/catppuccinColor",
|
||||
};
|
||||
return acc;
|
||||
},
|
||||
{} as any,
|
||||
),
|
||||
);
|
||||
const workbenchColors = {} as {
|
||||
[name: string]: { description: string; $ref: string };
|
||||
};
|
||||
for (const [name, description] of Object.entries<any>(data.properties)) {
|
||||
workbenchColors[name] = {
|
||||
description,
|
||||
$ref: "#/$defs/catppuccinColor",
|
||||
};
|
||||
}
|
||||
const schema = customUiColorsSchema(workbenchColors);
|
||||
writeFile(
|
||||
join(repoRoot, "schemas/customUIColors.schema.json"),
|
||||
JSON.stringify(schema, null, 2) + "\n",
|
||||
"utf-8",
|
||||
JSON.stringify(schema, undefined, 2) + "\n",
|
||||
"utf8",
|
||||
);
|
||||
});
|
||||
};
|
||||
|
@ -2,8 +2,8 @@ import { ExtensionContext, Uri, workspace } from "vscode";
|
||||
import * as utils from "./utils";
|
||||
import type { ThemePaths } from "./types";
|
||||
|
||||
export const activate = async (ctx: ExtensionContext) => {
|
||||
const base = ctx.extensionUri;
|
||||
export const activate = async (context: ExtensionContext) => {
|
||||
const base = context.extensionUri;
|
||||
const paths: ThemePaths = {
|
||||
latte: Uri.joinPath(base, "themes", "latte.json"),
|
||||
frappe: Uri.joinPath(base, "themes", "frappe.json"),
|
||||
@ -12,7 +12,7 @@ export const activate = async (ctx: ExtensionContext) => {
|
||||
};
|
||||
|
||||
// regenerate on a fresh install if non-default config is set
|
||||
if ((await utils.isFreshInstall(ctx)) && !utils.isDefaultConfig()) {
|
||||
if ((await utils.isFreshInstall(context)) && !utils.isDefaultConfig()) {
|
||||
utils.updateThemes(
|
||||
utils.getConfiguration(),
|
||||
paths,
|
||||
@ -20,7 +20,7 @@ export const activate = async (ctx: ExtensionContext) => {
|
||||
);
|
||||
}
|
||||
|
||||
ctx.subscriptions.push(
|
||||
context.subscriptions.push(
|
||||
workspace.onDidChangeConfiguration((event) => {
|
||||
// regenerate the theme files when the config changes
|
||||
if (event.affectsConfiguration("catppuccin")) {
|
||||
|
@ -21,7 +21,7 @@ export default function colors(context: ThemeContext): Partial<GitLensColors> {
|
||||
palette.sky,
|
||||
];
|
||||
|
||||
const accentIdx = graphLaneColors.indexOf(palette[options.accent]);
|
||||
const accentIndex = graphLaneColors.indexOf(palette[options.accent]);
|
||||
|
||||
return {
|
||||
"gitlens.gutterBackgroundColor": opacity(palette.surface0, 0.3),
|
||||
@ -70,25 +70,25 @@ export default function colors(context: ThemeContext): Partial<GitLensColors> {
|
||||
"gitlens.decorations.worktreeHasUncommittedChangesForegroundColor":
|
||||
palette.peach,
|
||||
"gitlens.decorations.worktreeMissingForegroundColor": palette.maroon,
|
||||
"gitlens.graphLane1Color": graphLaneColors[accentIdx],
|
||||
"gitlens.graphLane1Color": graphLaneColors[accentIndex],
|
||||
"gitlens.graphLane2Color":
|
||||
graphLaneColors[(accentIdx + 1) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 1) % graphLaneColors.length],
|
||||
"gitlens.graphLane3Color":
|
||||
graphLaneColors[(accentIdx + 2) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 2) % graphLaneColors.length],
|
||||
"gitlens.graphLane4Color":
|
||||
graphLaneColors[(accentIdx + 3) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 3) % graphLaneColors.length],
|
||||
"gitlens.graphLane5Color":
|
||||
graphLaneColors[(accentIdx + 4) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 4) % graphLaneColors.length],
|
||||
"gitlens.graphLane6Color":
|
||||
graphLaneColors[(accentIdx + 5) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 5) % graphLaneColors.length],
|
||||
"gitlens.graphLane7Color":
|
||||
graphLaneColors[(accentIdx + 6) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 6) % graphLaneColors.length],
|
||||
"gitlens.graphLane8Color":
|
||||
graphLaneColors[(accentIdx + 7) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 7) % graphLaneColors.length],
|
||||
"gitlens.graphLane9Color":
|
||||
graphLaneColors[(accentIdx + 8) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 8) % graphLaneColors.length],
|
||||
"gitlens.graphLane10Color":
|
||||
graphLaneColors[(accentIdx + 9) % graphLaneColors.length],
|
||||
graphLaneColors[(accentIndex + 9) % graphLaneColors.length],
|
||||
"gitlens.graphChangesColumnAddedColor": palette.green,
|
||||
"gitlens.graphChangesColumnDeletedColor": palette.red,
|
||||
"gitlens.graphMinimapMarkerHeadColor": palette.green,
|
||||
|
@ -27,10 +27,10 @@ export const compileTheme = (
|
||||
options: ThemeOptions = defaultOptions,
|
||||
) => {
|
||||
const flavorData = flavors[flavor];
|
||||
const ctpPalette = flavorData.colorEntries.reduce((acc, [k, v]) => {
|
||||
acc[k] = v.hex;
|
||||
return acc;
|
||||
}, {} as CatppuccinPalette);
|
||||
const ctpPalette = {} as CatppuccinPalette;
|
||||
for (const [k, v] of flavorData.colorEntries) {
|
||||
ctpPalette[k] = v.hex;
|
||||
}
|
||||
|
||||
const palette: CatppuccinPalette = {
|
||||
...ctpPalette,
|
||||
|
@ -304,6 +304,6 @@ export default (context: ThemeContext): TextmateColors => {
|
||||
regex,
|
||||
rust,
|
||||
shell,
|
||||
].flatMap((el) => el(context)),
|
||||
].flatMap((element) => element(context)),
|
||||
];
|
||||
};
|
||||
|
@ -17,15 +17,13 @@ const customNamedColors = (context: ThemeContext): CustomNamedColors => {
|
||||
// deal with accents
|
||||
if (v.startsWith("accent")) {
|
||||
const entry = v.split(" ");
|
||||
if (entry.length !== 1) {
|
||||
return {
|
||||
[k]: opacity(accent, Number(entry[1])),
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
[k]: accent,
|
||||
};
|
||||
}
|
||||
return entry.length === 1
|
||||
? {
|
||||
[k]: accent,
|
||||
}
|
||||
: {
|
||||
[k]: opacity(accent, Number(entry[1])),
|
||||
};
|
||||
}
|
||||
|
||||
// allow custom hex colors
|
||||
@ -37,22 +35,23 @@ const customNamedColors = (context: ThemeContext): CustomNamedColors => {
|
||||
|
||||
//check if the entry is a "color opacity" mapping
|
||||
const entry = v.split(" ");
|
||||
if (entry.length !== 1) {
|
||||
// call the opacity function
|
||||
v = opacity(
|
||||
palette[entry[0] as keyof CatppuccinPalette],
|
||||
Number(entry[1]),
|
||||
);
|
||||
} else {
|
||||
// resolve to the palette color
|
||||
v = palette[v as keyof CatppuccinPalette];
|
||||
}
|
||||
v =
|
||||
entry.length === 1
|
||||
? // resolve to the palette color
|
||||
palette[v as keyof CatppuccinPalette]
|
||||
: // call the opacity function
|
||||
opacity(
|
||||
palette[entry[0] as keyof CatppuccinPalette],
|
||||
Number(entry[1]),
|
||||
);
|
||||
|
||||
return {
|
||||
[k]: v,
|
||||
};
|
||||
})
|
||||
.reduce((prev, cur) => ({ ...prev, ...cur }), {}),
|
||||
// TODO: rework this to get rid of the reduce
|
||||
// eslint-disable-next-line unicorn/no-array-reduce
|
||||
.reduce((previous, current) => ({ ...previous, ...current }), {}),
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -29,31 +29,33 @@ export enum UpdateTrigger {
|
||||
type Entry<T> = { [K in keyof T]: [K, T[K]] }[keyof T];
|
||||
|
||||
const filterObject = <T extends object>(
|
||||
obj: T,
|
||||
fn: (entry: Entry<T>, i: number, arr: Entry<T>[]) => boolean,
|
||||
object: T,
|
||||
function_: (entry: Entry<T>, index: number, array: Entry<T>[]) => boolean,
|
||||
) => {
|
||||
return Object.fromEntries(
|
||||
(Object.entries(obj) as Entry<T>[]).filter(fn),
|
||||
(Object.entries(object) as Entry<T>[]).filter((element, index, array) =>
|
||||
function_(element, index, array),
|
||||
),
|
||||
) as Partial<T>;
|
||||
};
|
||||
|
||||
export const promptToReload = (trigger: UpdateTrigger) => {
|
||||
const msg = `Catppuccin: ${trigger} - Reload required.`;
|
||||
const message = `Catppuccin: ${trigger} - Reload required.`;
|
||||
const action = "Reload window";
|
||||
window.showInformationMessage(msg, action).then((selectedAction) => {
|
||||
window.showInformationMessage(message, action).then((selectedAction) => {
|
||||
if (selectedAction === action) {
|
||||
commands.executeCommand("workbench.action.reloadWindow");
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
const writeThemeFile = async (uri: Uri, data: any): Promise<void> => {
|
||||
const writeThemeFile = async (uri: Uri, data: unknown): Promise<void> => {
|
||||
return workspace.fs
|
||||
.writeFile(uri, Buffer.from(JSON.stringify(data, null, 2)))
|
||||
.writeFile(uri, Buffer.from(JSON.stringify(data, undefined, 2)))
|
||||
.then(
|
||||
() => {},
|
||||
(err) => {
|
||||
window.showErrorMessage(err.message);
|
||||
(error) => {
|
||||
window.showErrorMessage(error.message);
|
||||
},
|
||||
);
|
||||
};
|
||||
@ -69,15 +71,15 @@ const fileExists = async (uri: Uri): Promise<boolean> => {
|
||||
export const isMutable = async (uri: Uri): Promise<boolean> => {
|
||||
return workspace.fs.stat(uri).then(
|
||||
(stat) => stat.permissions !== FilePermission.Readonly,
|
||||
(err) => err,
|
||||
(error) => error,
|
||||
);
|
||||
};
|
||||
|
||||
export const isFreshInstall = async (
|
||||
ctx: ExtensionContext,
|
||||
context: ExtensionContext,
|
||||
): Promise<boolean | "error"> => {
|
||||
console.log("Checking if catppuccin is installed for the first time.");
|
||||
const flagUri = Uri.file(ctx.asAbsolutePath("themes/.flag"));
|
||||
const flagUri = Uri.file(context.asAbsolutePath("themes/.flag"));
|
||||
if (await fileExists(flagUri)) {
|
||||
console.log("Catppuccin has been installed before.");
|
||||
return false;
|
||||
@ -100,17 +102,17 @@ export const isDefaultConfig = (): boolean => {
|
||||
};
|
||||
|
||||
export const getConfiguration = (): ThemeOptions => {
|
||||
const conf = workspace.getConfiguration("catppuccin");
|
||||
const config = workspace.getConfiguration("catppuccin");
|
||||
const options = {
|
||||
accent: conf.get<CatppuccinAccent>("accentColor"),
|
||||
boldKeywords: conf.get<boolean>("boldKeywords"),
|
||||
italicKeywords: conf.get<boolean>("italicKeywords"),
|
||||
italicComments: conf.get<boolean>("italicComments"),
|
||||
colorOverrides: conf.get<ColorOverrides>("colorOverrides"),
|
||||
workbenchMode: conf.get<CatppuccinWorkbenchMode>("workbenchMode"),
|
||||
bracketMode: conf.get<CatppuccinBracketMode>("bracketMode"),
|
||||
extraBordersEnabled: conf.get<boolean>("extraBordersEnabled"),
|
||||
customUIColors: conf.get<CustomUIColors>("customUIColors"),
|
||||
accent: config.get<CatppuccinAccent>("accentColor"),
|
||||
boldKeywords: config.get<boolean>("boldKeywords"),
|
||||
italicKeywords: config.get<boolean>("italicKeywords"),
|
||||
italicComments: config.get<boolean>("italicComments"),
|
||||
colorOverrides: config.get<ColorOverrides>("colorOverrides"),
|
||||
workbenchMode: config.get<CatppuccinWorkbenchMode>("workbenchMode"),
|
||||
bracketMode: config.get<CatppuccinBracketMode>("bracketMode"),
|
||||
extraBordersEnabled: config.get<boolean>("extraBordersEnabled"),
|
||||
customUIColors: config.get<CustomUIColors>("customUIColors"),
|
||||
};
|
||||
return {
|
||||
...defaultOptions,
|
||||
|
23
packages/catppuccin-vscode/build.mjs
Normal file
23
packages/catppuccin-vscode/build.mjs
Normal file
@ -0,0 +1,23 @@
|
||||
import { mkdir, readdir, unlink, writeFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
|
||||
import mocha from "catppuccin-vsc/themes/mocha.json" assert { type: "json" };
|
||||
import macchiato from "catppuccin-vsc/themes/macchiato.json" assert { type: "json" };
|
||||
import frappe from "catppuccin-vsc/themes/frappe.json" assert { type: "json" };
|
||||
import latte from "catppuccin-vsc/themes/latte.json" assert { type: "json" };
|
||||
const root = new URL("themes", import.meta.url).pathname;
|
||||
|
||||
(async () => {
|
||||
// create the dir
|
||||
await mkdir(root, { recursive: true });
|
||||
// empty the dir
|
||||
const files = await readdir(root);
|
||||
await Promise.all(files.map((file) => unlink(join(root, file))));
|
||||
// write the files
|
||||
await Promise.all([
|
||||
writeFile(join(root, "mocha.json"), JSON.stringify(mocha)),
|
||||
writeFile(join(root, "macchiato.json"), JSON.stringify(macchiato)),
|
||||
writeFile(join(root, "frappe.json"), JSON.stringify(frappe)),
|
||||
writeFile(join(root, "latte.json"), JSON.stringify(latte)),
|
||||
]);
|
||||
})();
|
@ -1,34 +0,0 @@
|
||||
import { mkdir, readdir, unlink, writeFile } from "node:fs/promises";
|
||||
import { join } from "node:path";
|
||||
|
||||
import mocha from "catppuccin-vsc/themes/mocha.json";
|
||||
import macchiato from "catppuccin-vsc/themes/macchiato.json";
|
||||
import frappe from "catppuccin-vsc/themes/frappe.json";
|
||||
import latte from "catppuccin-vsc/themes/latte.json";
|
||||
|
||||
(async () => {
|
||||
await mkdir(join(__dirname, `themes`), { recursive: true });
|
||||
await Promise.all(
|
||||
(await readdir(join(__dirname, `themes`))).map((file) =>
|
||||
unlink(join(__dirname, `themes`, file)),
|
||||
),
|
||||
);
|
||||
await Promise.all([
|
||||
writeFile(
|
||||
join(__dirname, `themes/mocha.json`),
|
||||
JSON.stringify(mocha, null, 2),
|
||||
),
|
||||
writeFile(
|
||||
join(__dirname, `themes/macchiato.json`),
|
||||
JSON.stringify(macchiato, null, 2),
|
||||
),
|
||||
writeFile(
|
||||
join(__dirname, `themes/frappe.json`),
|
||||
JSON.stringify(frappe, null, 2),
|
||||
),
|
||||
writeFile(
|
||||
join(__dirname, `themes/latte.json`),
|
||||
JSON.stringify(latte, null, 2),
|
||||
),
|
||||
]);
|
||||
})();
|
@ -2,24 +2,26 @@
|
||||
"name": "@catppuccin/vscode",
|
||||
"version": "3.10.1",
|
||||
"description": "🦌 Soothing pastel theme for VSCode, precompiled JSON version",
|
||||
"files": [
|
||||
"themes/*"
|
||||
],
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"provenance": "true"
|
||||
},
|
||||
"devDependencies": {
|
||||
"catppuccin-vsc": "workspace:*",
|
||||
"tsx": "^4.7.0"
|
||||
"provenance": true,
|
||||
"registry": "https://registry.npmjs.org"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/catppuccin/vscode.git"
|
||||
"url": "git+https://github.com/catppuccin/vscode.git",
|
||||
"directory": "packages/catppuccin-vscode"
|
||||
},
|
||||
"files": [
|
||||
"themes/*"
|
||||
],
|
||||
"devDependencies": {
|
||||
"catppuccin-vsc": "workspace:*"
|
||||
},
|
||||
"scripts": {
|
||||
"compiled:pack": "npm pack",
|
||||
"prepack": "yarn core:build && yarn tsx ./build.ts",
|
||||
"prepack": "yarn core:build && yarn node ./build.mjs",
|
||||
"postinstall": "yarn prepack"
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,8 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"module": "CommonJS",
|
||||
"esModuleInterop": true,
|
||||
"target": "es6",
|
||||
"target": "ES2021",
|
||||
"noEmit": true,
|
||||
"sourceMap": false,
|
||||
"skipLibCheck": true,
|
||||
|
77
yarn.config.cjs
Normal file
77
yarn.config.cjs
Normal file
@ -0,0 +1,77 @@
|
||||
// @ts-check
|
||||
|
||||
/** @type {import('@yarnpkg/types')} */
|
||||
const { defineConfig } = require("@yarnpkg/types");
|
||||
|
||||
/**
|
||||
* @typedef {import('@yarnpkg/types').Yarn.Constraints.Context} Context
|
||||
* @typedef {import('@yarnpkg/types').Yarn.Constraints.Workspace} Workspace
|
||||
*/
|
||||
|
||||
/**
|
||||
* This rule will enforce that a workspace MUST depend on the same version of a dependency as the one used by the other workspaces
|
||||
* @param {Context} context
|
||||
*/
|
||||
const enforceConsistentDependenciesAcrossTheProject = ({ Yarn }) => {
|
||||
for (const dependency of Yarn.dependencies()) {
|
||||
if (dependency.type === "peerDependencies") continue;
|
||||
|
||||
for (const otherDependency of Yarn.dependencies({
|
||||
ident: dependency.ident,
|
||||
})) {
|
||||
if (otherDependency.type === "peerDependencies") continue;
|
||||
|
||||
if (
|
||||
(dependency.type === "devDependencies" ||
|
||||
otherDependency.type === "devDependencies") &&
|
||||
Yarn.workspace({ ident: otherDependency.ident })
|
||||
)
|
||||
continue;
|
||||
|
||||
dependency.update(otherDependency.range);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {Context} context
|
||||
* @param {Record<string, ((workspace: Workspace) => any) | string>} fields
|
||||
*/
|
||||
const enforceFieldsOnAllWorkspaces = ({ Yarn }, fields) => {
|
||||
for (const workspace of Yarn.workspaces()) {
|
||||
for (const [field, value] of Object.entries(fields)) {
|
||||
workspace.set(
|
||||
field,
|
||||
typeof value === "function" ? value(workspace) : value,
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* @param {Context} context
|
||||
*/
|
||||
const enforcePublishingConfig = ({ Yarn }) => {
|
||||
for (const workspace of Yarn.workspaces()) {
|
||||
if (workspace.manifest.private) continue;
|
||||
|
||||
workspace.set("publishConfig", {
|
||||
access: "public",
|
||||
provenance: true,
|
||||
registry: "https://registry.npmjs.org",
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = defineConfig({
|
||||
constraints: async (ctx) => {
|
||||
enforceFieldsOnAllWorkspaces(ctx, {
|
||||
license: "MIT",
|
||||
"repository.directory": (workspace) => workspace.cwd,
|
||||
"repository.type": "git",
|
||||
"repository.url": "git+https://github.com/catppuccin/vscode.git",
|
||||
});
|
||||
enforceConsistentDependenciesAcrossTheProject(ctx);
|
||||
enforcePublishingConfig(ctx);
|
||||
},
|
||||
});
|
276
yarn.lock
276
yarn.lock
@ -1520,17 +1520,18 @@ __metadata:
|
||||
"@storybook/blocks": "npm:^7.6.7"
|
||||
"@storybook/react": "npm:^7.6.7"
|
||||
"@storybook/react-vite": "npm:^7.6.7"
|
||||
"@types/node": "npm:^18.19.4"
|
||||
"@types/react": "npm:^18.2.46"
|
||||
"@types/node": "npm:^20.10.8"
|
||||
"@types/react": "npm:^18.2.47"
|
||||
catppuccin-vsc: "workspace:*"
|
||||
chromatic: "npm:^10.2.0"
|
||||
eslint: "npm:^8.56.0"
|
||||
eslint-plugin-storybook: "npm:^0.6.15"
|
||||
react: "npm:^18.2.0"
|
||||
react-dom: "npm:^18.2.0"
|
||||
shikiji: "npm:^0.9.17"
|
||||
shikiji: "npm:^0.9.18"
|
||||
storybook: "npm:^7.6.7"
|
||||
tsx: "npm:^4.7.0"
|
||||
typescript: "npm:^5.3.3"
|
||||
vite: "npm:^4.5.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
@ -1541,6 +1542,7 @@ __metadata:
|
||||
dependencies:
|
||||
json-schema-to-typescript: "npm:^13.1.1"
|
||||
tsx: "npm:^4.7.0"
|
||||
typescript: "npm:^5.3.3"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -1548,13 +1550,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@catppuccin/vscode-monorepo@workspace:."
|
||||
dependencies:
|
||||
"@types/node": "npm:^18.19.4"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^6.17.0"
|
||||
"@typescript-eslint/parser": "npm:^6.17.0"
|
||||
"@types/node": "npm:^20.10.8"
|
||||
"@typescript-eslint/eslint-plugin": "npm:^6.18.1"
|
||||
"@typescript-eslint/parser": "npm:^6.18.1"
|
||||
"@vscode/vsce": "npm:^2.22.0"
|
||||
"@yarnpkg/types": "npm:^4.0.0"
|
||||
eslint: "npm:^8.56.0"
|
||||
eslint-config-prettier: "npm:^9.1.0"
|
||||
eslint-plugin-prettier: "npm:^5.1.2"
|
||||
eslint-plugin-unicorn: "npm:^50.0.1"
|
||||
husky: "npm:^8.0.3"
|
||||
lint-staged: "npm:^15.2.0"
|
||||
prettier: "npm:^3.1.1"
|
||||
@ -1572,7 +1576,6 @@ __metadata:
|
||||
resolution: "@catppuccin/vscode@workspace:packages/catppuccin-vscode"
|
||||
dependencies:
|
||||
catppuccin-vsc: "workspace:*"
|
||||
tsx: "npm:^4.7.0"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -4113,14 +4116,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:*":
|
||||
version: 20.5.7
|
||||
resolution: "@types/node@npm:20.5.7"
|
||||
checksum: e5bce3d38478f2a135e254e910f40f844d379dbc8d5576ec6532122297c435f9c05e01f585c38fb9a83e21bde2652cc266b6aa98e45c8b5e51cc5b11a4f64cf0
|
||||
"@types/node@npm:*, @types/node@npm:^20.10.8":
|
||||
version: 20.10.8
|
||||
resolution: "@types/node@npm:20.10.8"
|
||||
dependencies:
|
||||
undici-types: "npm:~5.26.4"
|
||||
checksum: 93268c33c3bf0194427d696658160c77ab8661aa57107df5b248ff952898a372bf92cf0ba7fc07788fa35e59c69b6619cce63d45e4e67fca806e37da7ea42512
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/node@npm:^18.0.0, @types/node@npm:^18.19.4":
|
||||
"@types/node@npm:^18.0.0":
|
||||
version: 18.19.4
|
||||
resolution: "@types/node@npm:18.19.4"
|
||||
dependencies:
|
||||
@ -4171,14 +4176,14 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/react@npm:>=16, @types/react@npm:^18.2.46":
|
||||
version: 18.2.46
|
||||
resolution: "@types/react@npm:18.2.46"
|
||||
"@types/react@npm:>=16, @types/react@npm:^18.2.47":
|
||||
version: 18.2.47
|
||||
resolution: "@types/react@npm:18.2.47"
|
||||
dependencies:
|
||||
"@types/prop-types": "npm:*"
|
||||
"@types/scheduler": "npm:*"
|
||||
csstype: "npm:^3.0.2"
|
||||
checksum: 814cc67107e5e69501d65bfc371cc2c716665d2a3608d395a2f81e24c3a2875db28e2cad717dfb17017eabcffd1d68ee2c9e09ecaba3f7108d5b7fbb9888ebab
|
||||
checksum: e98ea1827fe60636d0f7ce206397159a29fc30613fae43e349e32c10ad3c0b7e0ed2ded2f3239e07bd5a3cba8736b6114ba196acccc39905ca4a06f56a8d2841
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4279,15 +4284,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/eslint-plugin@npm:^6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:6.17.0"
|
||||
"@typescript-eslint/eslint-plugin@npm:^6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/eslint-plugin@npm:6.18.1"
|
||||
dependencies:
|
||||
"@eslint-community/regexpp": "npm:^4.5.1"
|
||||
"@typescript-eslint/scope-manager": "npm:6.17.0"
|
||||
"@typescript-eslint/type-utils": "npm:6.17.0"
|
||||
"@typescript-eslint/utils": "npm:6.17.0"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.17.0"
|
||||
"@typescript-eslint/scope-manager": "npm:6.18.1"
|
||||
"@typescript-eslint/type-utils": "npm:6.18.1"
|
||||
"@typescript-eslint/utils": "npm:6.18.1"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.18.1"
|
||||
debug: "npm:^4.3.4"
|
||||
graphemer: "npm:^1.4.0"
|
||||
ignore: "npm:^5.2.4"
|
||||
@ -4300,25 +4305,25 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 44a3c914b72607b12925d07c04be97d325f8795f5d7de8501054a4405accc35b35eaa2aa93983c602d13e842503d49bdbf1f5af5c0a69d700351c005681dcd52
|
||||
checksum: fbcfae9b92f35ce10212f44f43f93c43f6eb3e28a571da7ed0d424396916aaf080f16ce91a5bffb9e1b42ca2d6003a3e2ad65131b4ef72ed2f94a4bedb35a735
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/parser@npm:^6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/parser@npm:6.17.0"
|
||||
"@typescript-eslint/parser@npm:^6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/parser@npm:6.18.1"
|
||||
dependencies:
|
||||
"@typescript-eslint/scope-manager": "npm:6.17.0"
|
||||
"@typescript-eslint/types": "npm:6.17.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:6.17.0"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.17.0"
|
||||
"@typescript-eslint/scope-manager": "npm:6.18.1"
|
||||
"@typescript-eslint/types": "npm:6.18.1"
|
||||
"@typescript-eslint/typescript-estree": "npm:6.18.1"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.18.1"
|
||||
debug: "npm:^4.3.4"
|
||||
peerDependencies:
|
||||
eslint: ^7.0.0 || ^8.0.0
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 66b53159688083eb48259de5b4daf076f3de284ac3b4d2618bda3f7ab2d8ee27b01ae851b08e8487047e33ff3668424f17d677d66413164cb231f1519dcff82f
|
||||
checksum: 78cf87c49be224a7fc7c9b1580b015b79e6f6b78d3db60843825b9657e6c5b852566ca7fcb9a51e7b781e910a89a73cdc36dfcd180ccb34febc535ad9b5a0be1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4332,22 +4337,22 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/scope-manager@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/scope-manager@npm:6.17.0"
|
||||
"@typescript-eslint/scope-manager@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/scope-manager@npm:6.18.1"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": "npm:6.17.0"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.17.0"
|
||||
checksum: b7ac7d9c39515c2a1b3844577fab967bf126ec25ccf28076240748b3f42d60ab3e64131bfffee61f66251bdf2d59e50e39f5cb0bee7987c85c49140c75d26b5f
|
||||
"@typescript-eslint/types": "npm:6.18.1"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.18.1"
|
||||
checksum: 66ef86688a2eb69988a15d6c0176e5e1ec3994ab96526ca525226a1815eef63366e10e3e6a041ceb2cd63d1cced27874d2313045b785418330af68a288e50771
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/type-utils@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/type-utils@npm:6.17.0"
|
||||
"@typescript-eslint/type-utils@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/type-utils@npm:6.18.1"
|
||||
dependencies:
|
||||
"@typescript-eslint/typescript-estree": "npm:6.17.0"
|
||||
"@typescript-eslint/utils": "npm:6.17.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:6.18.1"
|
||||
"@typescript-eslint/utils": "npm:6.18.1"
|
||||
debug: "npm:^4.3.4"
|
||||
ts-api-utils: "npm:^1.0.1"
|
||||
peerDependencies:
|
||||
@ -4355,7 +4360,7 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 15bc9ba2d7f12c3825eced4e5c2283616496e4bca57914c98e895af23d920f94e47e2081fb4fd59da13d274809e08667ae43a76a2f1494a7043c75f980f21114
|
||||
checksum: 5198752a51649afd960205708c4d765e0170a46a1eb96c97e706890fecb2642933a6377337cf3632f9737915da0201607872a46c9c551d1accf9176b0e025023
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4366,10 +4371,10 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/types@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/types@npm:6.17.0"
|
||||
checksum: c458d985b9ab4f369018536bcb88f0aedafb0c8c4b22ffd376e0c0c768a44e3956475c85ebeef40ae44238841c8df268893477b85873aa2621995c37e738e37e
|
||||
"@typescript-eslint/types@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/types@npm:6.18.1"
|
||||
checksum: 58c1a1bcf2403891a4fcb0d21aac643a6f9d06119423230dad74ef2b95adf94201da7cf48617b0c27b51695225b622e48c739cf4186ef5f99294887d2d536557
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4391,12 +4396,12 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/typescript-estree@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:6.17.0"
|
||||
"@typescript-eslint/typescript-estree@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/typescript-estree@npm:6.18.1"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": "npm:6.17.0"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.17.0"
|
||||
"@typescript-eslint/types": "npm:6.18.1"
|
||||
"@typescript-eslint/visitor-keys": "npm:6.18.1"
|
||||
debug: "npm:^4.3.4"
|
||||
globby: "npm:^11.1.0"
|
||||
is-glob: "npm:^4.0.3"
|
||||
@ -4406,24 +4411,24 @@ __metadata:
|
||||
peerDependenciesMeta:
|
||||
typescript:
|
||||
optional: true
|
||||
checksum: 5a858288bb05f45a2a45b04394115826ff19f85555144bfb67dc281d4e75fc3a1e1aceb3dee68022e86b91f199d1310c15bda3100a4890004b8e474d86afad51
|
||||
checksum: 5bca8f58d3134c5296c7e6cbeef512feb3918cdc88b5b22e656a7978277278e7a86187690e7e3be3f3708feb98c952a6ab4d8bbc197fff3826e3afa8bc1e287e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/utils@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/utils@npm:6.17.0"
|
||||
"@typescript-eslint/utils@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/utils@npm:6.18.1"
|
||||
dependencies:
|
||||
"@eslint-community/eslint-utils": "npm:^4.4.0"
|
||||
"@types/json-schema": "npm:^7.0.12"
|
||||
"@types/semver": "npm:^7.5.0"
|
||||
"@typescript-eslint/scope-manager": "npm:6.17.0"
|
||||
"@typescript-eslint/types": "npm:6.17.0"
|
||||
"@typescript-eslint/typescript-estree": "npm:6.17.0"
|
||||
"@typescript-eslint/scope-manager": "npm:6.18.1"
|
||||
"@typescript-eslint/types": "npm:6.18.1"
|
||||
"@typescript-eslint/typescript-estree": "npm:6.18.1"
|
||||
semver: "npm:^7.5.4"
|
||||
peerDependencies:
|
||||
eslint: ^7.0.0 || ^8.0.0
|
||||
checksum: a85907c5fbe0a54944fff25df05bf5b8bbe524bb1907fb54c7c68135cf764aa45344e679965c17e235b328ad32e74b1357057c43035203ce874915c4687daa93
|
||||
checksum: b9dcb2fa7cc8c46254c22fee190032320a5dd8ce282fb01e99cb35da6c00e33b157f4285b062d841942e9aad1d7ce1a16aaa46dd05ca7d81de706aedbbfff396
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4455,13 +4460,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@typescript-eslint/visitor-keys@npm:6.17.0":
|
||||
version: 6.17.0
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:6.17.0"
|
||||
"@typescript-eslint/visitor-keys@npm:6.18.1":
|
||||
version: 6.18.1
|
||||
resolution: "@typescript-eslint/visitor-keys@npm:6.18.1"
|
||||
dependencies:
|
||||
"@typescript-eslint/types": "npm:6.17.0"
|
||||
"@typescript-eslint/types": "npm:6.18.1"
|
||||
eslint-visitor-keys: "npm:^3.4.1"
|
||||
checksum: 75a48f5810c6a69bc1c082b07d2b840c40895807b1b4ecf9d3ab9eb783176eeb3e7b11eb89d652e8331da79d604f82300f315ffc21cd937819197a8601b48d1d
|
||||
checksum: f3dacdd1db7347908ac207968da4fa72efb31e38a6dde652651633c5283f054832045f2ad00b4ca7478e7f2e09fe4ae6e3a32b76580c036b9e5c7b8dd55af9f3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -4552,6 +4557,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@yarnpkg/types@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "@yarnpkg/types@npm:4.0.0"
|
||||
dependencies:
|
||||
tslib: "npm:^2.4.0"
|
||||
checksum: 41f67a4aa5c414c1e228f51453451fa15e0dd70c5cf2b1ae1ca142a3f018f25e4a37e60372cd0f5970c755e1804a2e31e208bff427add1cf13f899b0b9adc1e0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"abbrev@npm:^1.0.0":
|
||||
version: 1.1.1
|
||||
resolution: "abbrev@npm:1.1.1"
|
||||
@ -5095,6 +5109,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"builtin-modules@npm:^3.3.0":
|
||||
version: 3.3.0
|
||||
resolution: "builtin-modules@npm:3.3.0"
|
||||
checksum: 2cb3448b4f7306dc853632a4fcddc95e8d4e4b9868c139400027b71938fc6806d4ff44007deffb362ac85724bd40c2c6452fb6a0aa4531650eeddb98d8e5ee8a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"bundle-require@npm:^4.0.0":
|
||||
version: 4.0.1
|
||||
resolution: "bundle-require@npm:4.0.1"
|
||||
@ -5201,7 +5222,7 @@ __metadata:
|
||||
"@actions/core": "npm:^1.10.1"
|
||||
"@catppuccin/palette": "npm:^1.0.3"
|
||||
"@catppuccin/vsc-typegen": "workspace:*"
|
||||
"@types/node": "npm:^18.19.4"
|
||||
"@types/node": "npm:^20.10.8"
|
||||
"@types/tinycolor2": "npm:^1.4.6"
|
||||
"@types/vscode": "npm:~1.80.0"
|
||||
"@vscode/vsce": "npm:^2.22.0"
|
||||
@ -5209,6 +5230,7 @@ __metadata:
|
||||
tsup: "npm:^8.0.1"
|
||||
tsx: "npm:^4.7.0"
|
||||
type-flag: "npm:^3.0.0"
|
||||
typescript: "npm:^5.3.3"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
@ -5320,6 +5342,22 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ci-info@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "ci-info@npm:4.0.0"
|
||||
checksum: ecc003e5b60580bd081d83dd61d398ddb8607537f916313e40af4667f9c92a1243bd8e8a591a5aa78e418afec245dbe8e90a0e26e39ca0825129a99b978dd3f9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"clean-regexp@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "clean-regexp@npm:1.0.0"
|
||||
dependencies:
|
||||
escape-string-regexp: "npm:^1.0.5"
|
||||
checksum: fd9c7446551b8fc536f95e8a286d431017cd4ba1ec2e53997ec9159385e9c317672f6dfc4d49fdb97449fdb53b0bacd0a8bab9343b8fdd2e46c7ddf6173d0db7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"clean-stack@npm:^2.0.0":
|
||||
version: 2.2.0
|
||||
resolution: "clean-stack@npm:2.2.0"
|
||||
@ -5585,7 +5623,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1":
|
||||
"core-js-compat@npm:^3.31.0, core-js-compat@npm:^3.33.1, core-js-compat@npm:^3.34.0":
|
||||
version: 3.35.0
|
||||
resolution: "core-js-compat@npm:3.35.0"
|
||||
dependencies:
|
||||
@ -6423,6 +6461,32 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-plugin-unicorn@npm:^50.0.1":
|
||||
version: 50.0.1
|
||||
resolution: "eslint-plugin-unicorn@npm:50.0.1"
|
||||
dependencies:
|
||||
"@babel/helper-validator-identifier": "npm:^7.22.20"
|
||||
"@eslint-community/eslint-utils": "npm:^4.4.0"
|
||||
"@eslint/eslintrc": "npm:^2.1.4"
|
||||
ci-info: "npm:^4.0.0"
|
||||
clean-regexp: "npm:^1.0.0"
|
||||
core-js-compat: "npm:^3.34.0"
|
||||
esquery: "npm:^1.5.0"
|
||||
indent-string: "npm:^4.0.0"
|
||||
is-builtin-module: "npm:^3.2.1"
|
||||
jsesc: "npm:^3.0.2"
|
||||
pluralize: "npm:^8.0.0"
|
||||
read-pkg-up: "npm:^7.0.1"
|
||||
regexp-tree: "npm:^0.1.27"
|
||||
regjsparser: "npm:^0.10.0"
|
||||
semver: "npm:^7.5.4"
|
||||
strip-indent: "npm:^3.0.0"
|
||||
peerDependencies:
|
||||
eslint: ">=8.56.0"
|
||||
checksum: 645992a210066810bae4fc7557606a1f23b89a2b300c7a32d390c600a12a3283013a201a035a0943da605a38c4b7a5556086962b9ec785d45cf8c65c6a50cbcd
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eslint-scope@npm:^5.1.1":
|
||||
version: 5.1.1
|
||||
resolution: "eslint-scope@npm:5.1.1"
|
||||
@ -6519,7 +6583,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"esquery@npm:^1.4.2":
|
||||
"esquery@npm:^1.4.2, esquery@npm:^1.5.0":
|
||||
version: 1.5.0
|
||||
resolution: "esquery@npm:1.5.0"
|
||||
dependencies:
|
||||
@ -7652,6 +7716,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-builtin-module@npm:^3.2.1":
|
||||
version: 3.2.1
|
||||
resolution: "is-builtin-module@npm:3.2.1"
|
||||
dependencies:
|
||||
builtin-modules: "npm:^3.3.0"
|
||||
checksum: 5a66937a03f3b18803381518f0ef679752ac18cdb7dd53b5e23ee8df8d440558737bd8dcc04d2aae555909d2ecb4a81b5c0d334d119402584b61e6a003e31af1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-callable@npm:^1.1.3":
|
||||
version: 1.2.7
|
||||
resolution: "is-callable@npm:1.2.7"
|
||||
@ -8060,6 +8133,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jsesc@npm:^3.0.2":
|
||||
version: 3.0.2
|
||||
resolution: "jsesc@npm:3.0.2"
|
||||
bin:
|
||||
jsesc: bin/jsesc
|
||||
checksum: ef22148f9e793180b14d8a145ee6f9f60f301abf443288117b4b6c53d0ecd58354898dc506ccbb553a5f7827965cd38bc5fb726575aae93c5e8915e2de8290e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"jsesc@npm:~0.5.0":
|
||||
version: 0.5.0
|
||||
resolution: "jsesc@npm:0.5.0"
|
||||
@ -8667,7 +8749,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"min-indent@npm:^1.0.1":
|
||||
"min-indent@npm:^1.0.0, min-indent@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "min-indent@npm:1.0.1"
|
||||
checksum: 7e207bd5c20401b292de291f02913230cb1163abca162044f7db1d951fa245b174dc00869d40dd9a9f32a885ad6a5f3e767ee104cf278f399cb4e92d3f582d5c
|
||||
@ -9468,6 +9550,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pluralize@npm:^8.0.0":
|
||||
version: 8.0.0
|
||||
resolution: "pluralize@npm:8.0.0"
|
||||
checksum: 2044cfc34b2e8c88b73379ea4a36fc577db04f651c2909041b054c981cd863dd5373ebd030123ab058d194ae615d3a97cfdac653991e499d10caf592e8b3dc33
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"polished@npm:^4.2.2":
|
||||
version: 4.2.2
|
||||
resolution: "polished@npm:4.2.2"
|
||||
@ -10098,6 +10187,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regexp-tree@npm:^0.1.27":
|
||||
version: 0.1.27
|
||||
resolution: "regexp-tree@npm:0.1.27"
|
||||
bin:
|
||||
regexp-tree: bin/regexp-tree
|
||||
checksum: f636f44b4a0d93d7d6926585ecd81f63e4ce2ac895bc417b2ead0874cd36b337dcc3d0fedc63f69bf5aaeaa4340f36ca7e750c9687cceaf8087374e5284e843c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regexpu-core@npm:^5.3.1":
|
||||
version: 5.3.2
|
||||
resolution: "regexpu-core@npm:5.3.2"
|
||||
@ -10112,6 +10210,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regjsparser@npm:^0.10.0":
|
||||
version: 0.10.0
|
||||
resolution: "regjsparser@npm:0.10.0"
|
||||
dependencies:
|
||||
jsesc: "npm:~0.5.0"
|
||||
bin:
|
||||
regjsparser: bin/parser
|
||||
checksum: 0f0508c142eddbceae55dab9715e714305c19e1e130db53168e8fa5f9f7ff9a4901f674cf6f71e04a0973b2f883882ba05808c80778b2d52b053d925050010f4
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"regjsparser@npm:^0.9.1":
|
||||
version: 0.9.1
|
||||
resolution: "regjsparser@npm:0.9.1"
|
||||
@ -10538,19 +10647,19 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shikiji-core@npm:0.9.17":
|
||||
version: 0.9.17
|
||||
resolution: "shikiji-core@npm:0.9.17"
|
||||
checksum: 461dcb908c1f7055756a4e9a0bcdcbac6303b424a055cfa6be01c82383fe2163169bf6e12723dc93a402da5d476a796c4a3e8dcf7ba66a90ad3dcd8718836967
|
||||
"shikiji-core@npm:0.9.18":
|
||||
version: 0.9.18
|
||||
resolution: "shikiji-core@npm:0.9.18"
|
||||
checksum: cc8673c664d31a2392bb972c69c57c79f364056dd2361565d401165bee7d3afe8b358c15211d6356357fbc9d25c34dd9d06c9949fa7237031b840995e5eb5da2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"shikiji@npm:^0.9.17":
|
||||
version: 0.9.17
|
||||
resolution: "shikiji@npm:0.9.17"
|
||||
"shikiji@npm:^0.9.18":
|
||||
version: 0.9.18
|
||||
resolution: "shikiji@npm:0.9.18"
|
||||
dependencies:
|
||||
shikiji-core: "npm:0.9.17"
|
||||
checksum: ed3ab09cefcc61f9e205f0b9dc32aef913dac975e0f267d5a2f1c2bf67bf5d62ae7353e92f7f7c974646d4136408b2acf174e60543deee8e18ea733a94c52a95
|
||||
shikiji-core: "npm:0.9.18"
|
||||
checksum: 29651f5c397c5862ff1c78e0c6b85e6fa47f9f3538f5672f64c4c9afea368e77dfb1697eb7cd5746bc259d7cbaec6d77c91c5e0b520dc4dcbb77ad8492dbef72
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@ -10881,6 +10990,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"strip-indent@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "strip-indent@npm:3.0.0"
|
||||
dependencies:
|
||||
min-indent: "npm:^1.0.0"
|
||||
checksum: ae0deaf41c8d1001c5d4fbe16cb553865c1863da4fae036683b474fa926af9fc121e155cb3fc57a68262b2ae7d5b8420aa752c97a6428c315d00efe2a3875679
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"strip-indent@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "strip-indent@npm:4.0.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user