diff --git a/components/react/package.json b/components/react/package.json index 7cda1ba..1bc92cb 100644 --- a/components/react/package.json +++ b/components/react/package.json @@ -39,7 +39,7 @@ "typescript": "^5.3.3", "vite": "^5.0.10", "vite-plugin-dts": "^3.6.4", - "vite-plugin-lib-inject-css": "^1.3.0" + "vite-plugin-lib-inject-css": "^2.0.0" }, "publishConfig": { "access": "public" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0767323..6746184 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -178,8 +178,8 @@ importers: specifier: ^3.6.4 version: 3.6.4(@types/node@20.10.4)(rollup@4.27.4)(typescript@5.3.3)(vite@5.4.11(@types/node@20.10.4)(terser@5.17.1)) vite-plugin-lib-inject-css: - specifier: ^1.3.0 - version: 1.3.0(vite@5.4.11(@types/node@20.10.4)(terser@5.17.1)) + specifier: ^2.0.0 + version: 2.1.1(vite@5.4.11(@types/node@20.10.4)(terser@5.17.1)) templates/react: dependencies: @@ -265,6 +265,58 @@ packages: peerDependencies: ajv: '>=8' + '@ast-grep/napi-darwin-arm64@0.22.6': + resolution: {integrity: sha512-L9rEGJ8fNi5LxbZj860wbXxjX7DLNV799zcTaPOSzYadvNyhMY3LWvDXd45Vtx6Dh8QRtCoEMQmw8KaRCEjm9A==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [darwin] + + '@ast-grep/napi-darwin-x64@0.22.6': + resolution: {integrity: sha512-0iuM6iDJNhcPd6a/JJr64AallR7ttGW/MvUujfQdvJEZY5p9LK35xm23dULznW0tIMgwtMKPRaprgk8LPondKg==} + engines: {node: '>= 10'} + cpu: [x64] + os: [darwin] + + '@ast-grep/napi-linux-arm64-gnu@0.22.6': + resolution: {integrity: sha512-9PAqNJlAQfFm1RW0DVCM/S4gFHdppxUTWacB3qEeJZXgdLnoH0KGQa4z3Xo559SPYDKZy0VnY02mZ3XJ+v6/Vw==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [linux] + + '@ast-grep/napi-linux-x64-gnu@0.22.6': + resolution: {integrity: sha512-nZf+gxXVrZqvP1LN6HwzOMA4brF3umBXfMequQzv8S6HeJ4c34P23F0Tw8mHtQpVYP9PQWJUvt3LJQ8Xvd5Hiw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@ast-grep/napi-linux-x64-musl@0.22.6': + resolution: {integrity: sha512-gcJeBMgJQf2pZZo0lgH0Vg4ycyujM7Am8VlomXhavC/dPpkddA1tiHSIC4fCNneLU1EqHITy3ALSmM4GLdsjBw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [linux] + + '@ast-grep/napi-win32-arm64-msvc@0.22.6': + resolution: {integrity: sha512-YDDzvPIyl4ti8xZfjvGSGVCX9JJjMQjyWPlXcwRpiLRnHThtHTDL8PyE2yq+gAPuZ28QbrygMkP9EKXIyYFVcQ==} + engines: {node: '>= 10'} + cpu: [arm64] + os: [win32] + + '@ast-grep/napi-win32-ia32-msvc@0.22.6': + resolution: {integrity: sha512-w5P0MDcBD3bifC2K9nCDEFYacy8HQnXdf6fX6cIE/7xL8XEDs6D1lQjGewrZDcMAXVXUQfupj4P27ZsJRmuIoQ==} + engines: {node: '>= 10'} + cpu: [ia32] + os: [win32] + + '@ast-grep/napi-win32-x64-msvc@0.22.6': + resolution: {integrity: sha512-1aaHvgsCBwUP0tDf4HXPMpUV/nUwsOWgRCiBc2zIJjdEjT9TTk795EIX9Z1Nc0OMCrxVEceyiKcYTofXa0Fpxw==} + engines: {node: '>= 10'} + cpu: [x64] + os: [win32] + + '@ast-grep/napi@0.22.6': + resolution: {integrity: sha512-kNF87HiI4omHC7VzyBZSvqOAXtMlSDRF2YX+O5ya0XKv/7/GYms1opLQ+BQ9twLLDj0WsSFX4MYg0TrinZTxTg==} + engines: {node: '>= 10'} + '@babel/code-frame@7.22.13': resolution: {integrity: sha512-XktuhWlJ5g+3TJXc5upd9Ks1HutSArik6jf2eAjYFyIOf4ej3RN+184cZbzDvbPnuTJIUhPKKJE3cIsYTiAT3w==} engines: {node: '>=6.9.0'} @@ -1634,9 +1686,6 @@ packages: '@jridgewell/sourcemap-codec@1.4.14': resolution: {integrity: sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==} - '@jridgewell/sourcemap-codec@1.4.15': - resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - '@jridgewell/sourcemap-codec@1.5.0': resolution: {integrity: sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==} @@ -5713,9 +5762,8 @@ packages: magic-string@0.25.9: resolution: {integrity: sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==} - magic-string@0.30.3: - resolution: {integrity: sha512-B7xGbll2fG/VjP+SWg4sX3JynwIU0mjoTc6MPpKNuIvftk6u6vqhDnk1R80b8C2GBR6ywqy+1DcKBrevBg+bmw==} - engines: {node: '>=12'} + magic-string@0.30.13: + resolution: {integrity: sha512-8rYBO+MsWkgjDSOvLomYnzhdwEG51olQ4zL5KXnNJWV5MNmrb4rTZdrtkhxjnD/QyZUqR/Z/XDsUs/4ej2nx0g==} make-dir@2.1.0: resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} @@ -8111,8 +8159,8 @@ packages: vite: optional: true - vite-plugin-lib-inject-css@1.3.0: - resolution: {integrity: sha512-Rldq36U9TDlpDom3yoLybfJtzn897+oMKdX0+fxbVYnYjRGnTtaFfnMmfOckH8GQ3cvGAKv9Ai1PWyE0amIbjg==} + vite-plugin-lib-inject-css@2.1.1: + resolution: {integrity: sha512-RIMeVnqBK/8I0E9nnQWzws6pdj5ilRMPJSnXYb6nWxNR4EmDPnksnb/ACoR5Fy7QfzULqS4gtQMrjwnNCC9zoA==} peerDependencies: vite: '*' @@ -8490,6 +8538,41 @@ snapshots: jsonpointer: 5.0.1 leven: 3.1.0 + '@ast-grep/napi-darwin-arm64@0.22.6': + optional: true + + '@ast-grep/napi-darwin-x64@0.22.6': + optional: true + + '@ast-grep/napi-linux-arm64-gnu@0.22.6': + optional: true + + '@ast-grep/napi-linux-x64-gnu@0.22.6': + optional: true + + '@ast-grep/napi-linux-x64-musl@0.22.6': + optional: true + + '@ast-grep/napi-win32-arm64-msvc@0.22.6': + optional: true + + '@ast-grep/napi-win32-ia32-msvc@0.22.6': + optional: true + + '@ast-grep/napi-win32-x64-msvc@0.22.6': + optional: true + + '@ast-grep/napi@0.22.6': + optionalDependencies: + '@ast-grep/napi-darwin-arm64': 0.22.6 + '@ast-grep/napi-darwin-x64': 0.22.6 + '@ast-grep/napi-linux-arm64-gnu': 0.22.6 + '@ast-grep/napi-linux-x64-gnu': 0.22.6 + '@ast-grep/napi-linux-x64-musl': 0.22.6 + '@ast-grep/napi-win32-arm64-msvc': 0.22.6 + '@ast-grep/napi-win32-ia32-msvc': 0.22.6 + '@ast-grep/napi-win32-x64-msvc': 0.22.6 + '@babel/code-frame@7.22.13': dependencies: '@babel/highlight': 7.22.13 @@ -10805,7 +10888,7 @@ snapshots: '@jridgewell/gen-mapping@0.3.3': dependencies: '@jridgewell/set-array': 1.1.2 - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 '@jridgewell/trace-mapping': 0.3.18 '@jridgewell/gen-mapping@0.3.5': @@ -10829,8 +10912,6 @@ snapshots: '@jridgewell/sourcemap-codec@1.4.14': {} - '@jridgewell/sourcemap-codec@1.4.15': {} - '@jridgewell/sourcemap-codec@1.5.0': {} '@jridgewell/trace-mapping@0.3.18': @@ -12634,7 +12715,7 @@ snapshots: caniuse-lite: 1.0.30001519 fraction.js: 4.2.0 normalize-range: 0.1.2 - picocolors: 1.0.0 + picocolors: 1.1.1 postcss: 8.4.27 postcss-value-parser: 4.2.0 @@ -13880,7 +13961,7 @@ snapshots: eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1) eslint-plugin-jsx-a11y: 6.7.1(eslint@8.57.1) eslint-plugin-react: 7.33.2(eslint@8.57.1) eslint-plugin-react-hooks: 4.6.0(eslint@8.57.1) @@ -13930,8 +14011,8 @@ snapshots: debug: 4.3.7 enhanced-resolve: 5.15.0 eslint: 8.57.1 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) - eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1) + eslint-plugin-import: 2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1) get-tsconfig: 4.5.0 globby: 13.1.4 is-core-module: 2.13.1 @@ -13953,7 +14034,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-module-utils@2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1): dependencies: debug: 3.2.7 optionalDependencies: @@ -13999,7 +14080,7 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1): + eslint-plugin-import@2.29.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1): dependencies: array-includes: 3.1.7 array.prototype.findlastindex: 1.2.3 @@ -14009,7 +14090,7 @@ snapshots: doctrine: 2.1.0 eslint: 8.57.1 eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-plugin-import@2.29.0(eslint@8.57.1))(eslint@8.57.1))(eslint@8.57.1) + eslint-module-utils: 2.8.0(@typescript-eslint/parser@6.11.0(eslint@8.57.1)(typescript@5.3.3))(eslint-import-resolver-node@0.3.9)(eslint-import-resolver-typescript@3.5.5)(eslint@8.57.1) hasown: 2.0.0 is-core-module: 2.13.1 is-glob: 4.0.3 @@ -15815,7 +15896,7 @@ snapshots: launch-editor@2.6.0: dependencies: - picocolors: 1.0.0 + picocolors: 1.1.1 shell-quote: 1.8.1 lerna@8.0.1(encoding@0.1.13): @@ -16044,9 +16125,9 @@ snapshots: dependencies: sourcemap-codec: 1.4.8 - magic-string@0.30.3: + magic-string@0.30.13: dependencies: - '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/sourcemap-codec': 1.5.0 make-dir@2.1.0: dependencies: @@ -18659,7 +18740,7 @@ snapshots: dependencies: browserslist: 4.21.10 escalade: 3.1.1 - picocolors: 1.0.0 + picocolors: 1.1.1 uri-js@4.4.1: dependencies: @@ -18728,10 +18809,11 @@ snapshots: - rollup - supports-color - vite-plugin-lib-inject-css@1.3.0(vite@5.4.11(@types/node@20.10.4)(terser@5.17.1)): + vite-plugin-lib-inject-css@2.1.1(vite@5.4.11(@types/node@20.10.4)(terser@5.17.1)): dependencies: - magic-string: 0.30.3 - picocolors: 1.0.0 + '@ast-grep/napi': 0.22.6 + magic-string: 0.30.13 + picocolors: 1.1.1 vite: 5.4.11(@types/node@20.10.4)(terser@5.17.1) vite@5.4.11(@types/node@20.10.4)(terser@5.17.1):