From 207f9caafb2a57b917c67a5849442b410e378371 Mon Sep 17 00:00:00 2001 From: Tinh Le Duc Date: Sat, 21 Sep 2024 21:39:30 +0700 Subject: [PATCH] Change build size --- docs/pages/404.tsx | 1 - docs/pages/examples/CustomItem/CustomItem.tsx | 3 +- lib/components/Action/Action.tsx | 4 +- lib/components/Icons/CollapseIcon.tsx | 4 +- lib/components/Scroll/Scrollbars.tsx | 6 +- lib/components/Scroll/VirtuosoScrollbars.tsx | 6 +- lib/components/TreeItem/SortableTreeItem.tsx | 2 +- lib/components/TreeItem/TreeItem.tsx | 7 +- lib/types.ts | 2 +- package.json | 12 +- vite.config.ts | 28 +++-- yarn.lock | 114 ++++++++++++------ 12 files changed, 122 insertions(+), 67 deletions(-) diff --git a/docs/pages/404.tsx b/docs/pages/404.tsx index c92d589..116839b 100644 --- a/docs/pages/404.tsx +++ b/docs/pages/404.tsx @@ -1,4 +1,3 @@ -import React from 'react'; import { Navigate } from 'react-router-dom'; const Component404 = () => { diff --git a/docs/pages/examples/CustomItem/CustomItem.tsx b/docs/pages/examples/CustomItem/CustomItem.tsx index bc3dd82..5917399 100644 --- a/docs/pages/examples/CustomItem/CustomItem.tsx +++ b/docs/pages/examples/CustomItem/CustomItem.tsx @@ -1,3 +1,4 @@ +import { CSSProperties } from 'react'; import { SortableTree, SortableTreeProps } from 'dnd-tree-sortable'; import { tree } from '../utils'; @@ -28,7 +29,7 @@ const ItemContent: SortableTreeProps<{}>['renderItemContent'] = ({ { '--spacing': `${indentationWidth * depth}px`, paddingLeft: 'var(--spacing)', - } as React.CSSProperties + } as CSSProperties } {...rest} > diff --git a/lib/components/Action/Action.tsx b/lib/components/Action/Action.tsx index e5bff0d..a19f955 100644 --- a/lib/components/Action/Action.tsx +++ b/lib/components/Action/Action.tsx @@ -1,9 +1,9 @@ -import React, { CSSProperties } from 'react'; +import { CSSProperties, HTMLAttributes } from 'react'; import classNames from 'clsx'; import styles from './Action.module.scss'; -export interface ActionProps extends React.HTMLAttributes { +export interface ActionProps extends HTMLAttributes { active?: { fill: string; background: string; diff --git a/lib/components/Icons/CollapseIcon.tsx b/lib/components/Icons/CollapseIcon.tsx index 1fe41aa..0b349b5 100644 --- a/lib/components/Icons/CollapseIcon.tsx +++ b/lib/components/Icons/CollapseIcon.tsx @@ -1,4 +1,6 @@ -export const CollapseIcon = (props: React.SVGProps) => { +import { SVGProps } from 'react'; + +export const CollapseIcon = (props: SVGProps) => { return ( diff --git a/lib/components/Scroll/Scrollbars.tsx b/lib/components/Scroll/Scrollbars.tsx index 60852d7..6f7246c 100644 --- a/lib/components/Scroll/Scrollbars.tsx +++ b/lib/components/Scroll/Scrollbars.tsx @@ -1,6 +1,5 @@ -import { memo, forwardRef, useCallback, useMemo } from 'react'; +import { memo, forwardRef, useCallback, useMemo, MutableRefObject, CSSProperties, ReactNode } from 'react'; import { Scrollbars } from 'rc-scrollbars'; -import type { MutableRefObject, CSSProperties, ReactNode } from 'react'; import type { ScrollValues } from 'rc-scrollbars'; import styles from './Scrollbars.module.css'; @@ -48,8 +47,7 @@ const CustomScrollbars = forwardRef(function overflowX ? undefined : (props) =>
} renderThumbVertical={({ style, ...props }) =>
} - ref={refSetter} - > + ref={refSetter}> {children} ); diff --git a/lib/components/Scroll/VirtuosoScrollbars.tsx b/lib/components/Scroll/VirtuosoScrollbars.tsx index 48d5260..dd727a4 100644 --- a/lib/components/Scroll/VirtuosoScrollbars.tsx +++ b/lib/components/Scroll/VirtuosoScrollbars.tsx @@ -1,5 +1,4 @@ -import type { ComponentProps, Ref } from 'react'; -import { forwardRef } from 'react'; +import { ComponentProps, Ref, forwardRef } from 'react'; import CustomScrollbars from './Scrollbars'; @@ -13,8 +12,7 @@ const VirtuosoScrollbars = forwardRef(function VirtuosoScrollbars(
} - > + renderView={(viewProps) =>
}> {children} ); diff --git a/lib/components/TreeItem/SortableTreeItem.tsx b/lib/components/TreeItem/SortableTreeItem.tsx index 62ecdf3..056406e 100644 --- a/lib/components/TreeItem/SortableTreeItem.tsx +++ b/lib/components/TreeItem/SortableTreeItem.tsx @@ -1,4 +1,4 @@ -import { CSSProperties, memo } from 'react'; +import { CSSProperties, memo, JSX } from 'react'; import type { UniqueIdentifier } from '@dnd-kit/core'; import { useSortable } from '@dnd-kit/sortable'; import { CSS } from '@dnd-kit/utilities'; diff --git a/lib/components/TreeItem/TreeItem.tsx b/lib/components/TreeItem/TreeItem.tsx index dcad491..27ba929 100644 --- a/lib/components/TreeItem/TreeItem.tsx +++ b/lib/components/TreeItem/TreeItem.tsx @@ -1,4 +1,4 @@ -import React, { forwardRef, HTMLAttributes, memo, ForwardedRef } from 'react'; +import { forwardRef, HTMLAttributes, memo, ForwardedRef, CSSProperties, JSX } from 'react'; import classNames from 'clsx'; import styles from './TreeItem.module.css'; @@ -70,10 +70,9 @@ const TreeItemComponent = (props: TreeItemProps, ref: style={ { '--spacing': `${indentationWidth * depth}px`, - } as React.CSSProperties + } as CSSProperties } - {...rest} - > + {...rest}>
{onCollapse && ( diff --git a/lib/types.ts b/lib/types.ts index a79a1a8..f4774b7 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -1,4 +1,4 @@ -import type { MutableRefObject } from 'react'; +import { MutableRefObject, JSX } from 'react'; import type { UniqueIdentifier } from '@dnd-kit/core'; import { ActionProps, BadgeProps } from './components'; diff --git a/package.json b/package.json index aaf0786..f569673 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "dnd-tree-sortable", "private": false, - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "type": "module", - "main": "dist/dnd-tree-sortable.umd.js", - "module": "dist/dnd-tree-sortable.es.js", + "main": "dist/index.js", + "module": "dist/index.js", "types": "dist/types/index.d.ts", "author": "Ghost Alpha", "description": "React sortable tree component", @@ -59,6 +59,7 @@ "eslint": "^9.9.0", "eslint-plugin-react-hooks": "^5.1.0-rc.0", "eslint-plugin-react-refresh": "^0.4.9", + "glob": "^11.0.0", "globals": "^15.9.0", "husky": "^9.1.6", "prettier": "^3.3.3", @@ -66,6 +67,7 @@ "react-router-dom": "^6.26.2", "react-virtuoso": "^4.10.4", "rimraf": "^6.0.1", + "rollup-plugin-visualizer": "^5.12.0", "sass": "^1.78.0", "serve": "^14.2.3", "typescript": "^5.5.3", @@ -74,9 +76,5 @@ "vite-pages-theme-doc": "^5.0.0", "vite-plugin-dts": "^4.2.1", "vite-plugin-react-pages": "^5.0.0" - }, - "dependencies": { - "react": "^18.3.1", - "react-dom": "^18.3.1" } } diff --git a/vite.config.ts b/vite.config.ts index b199109..3174041 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -2,33 +2,47 @@ import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import { resolve } from 'path'; import dts from 'vite-plugin-dts'; +import { visualizer } from 'rollup-plugin-visualizer'; +import { globSync } from 'glob'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; // https://vitejs.dev/config/ export default defineConfig(() => { return { plugins: [ - react({ - jsxRuntime: 'automatic', - }), + react({ jsxRuntime: 'automatic' }), dts({ rollupTypes: true, outDir: 'dist/types', include: ['lib'] }), + visualizer({ + filename: './dist/stats.html', // Generates a visual report + }), ], build: { lib: { name: 'dnd-tree-sortable', entry: resolve(__dirname, 'lib/index.ts'), fileName: (format) => `dnd-tree-sortable.${format}.js`, - formats: ['es', 'umd'], + formats: ['es'], }, rollupOptions: { external: ['react', 'react-dom', 'react/jsx-runtime'], + input: Object.fromEntries( + globSync('lib/**/*{.ts,.tsx}').map((file) => { + return [ + path.relative('lib', file.slice(0, file.length - path.extname(file).length)), + fileURLToPath(new URL(file, import.meta.url)), + ]; + }), + ), output: { + entryFileNames: '[name].js', + assetFileNames: 'assets/[name][extname]', globals: { react: 'React', - 'react-dom': 'ReactDOM', - 'react/jsx-runtime': 'jsxRuntime', + 'react-dom': 'React-dom', + 'react/jsx-runtime': 'react/jsx-runtime', }, }, }, - sourcemap: true, }, }; }); diff --git a/yarn.lock b/yarn.lock index 3b56b9e..cb43ef7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1342,6 +1342,15 @@ clipboardy@3.0.0: execa "^5.1.1" is-wsl "^2.2.0" +cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + clsx@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.1.tgz#eed397c9fd8bd882bfb18deab7102049a2f32999" @@ -1496,6 +1505,11 @@ deep-is@^0.1.3: resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + dequal@^2.0.0, dequal@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" @@ -1592,7 +1606,7 @@ esbuild@^0.21.3: "@esbuild/win32-ia32" "0.21.5" "@esbuild/win32-x64" "0.21.5" -escalade@^3.1.2: +escalade@^3.1.1, escalade@^3.1.2: version "3.2.0" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.2.0.tgz#011a3f69856ba189dffa7dc8fcce99d2a87903e5" integrity sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA== @@ -1929,6 +1943,11 @@ gensync@^1.0.0-beta.2: resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" @@ -2184,7 +2203,7 @@ is-decimal@^2.0.0: resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== -is-docker@^2.0.0: +is-docker@^2.0.0, is-docker@^2.1.1: version "2.2.1" resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== @@ -2286,7 +2305,7 @@ jotai@^2.6.2: resolved "https://registry.yarnpkg.com/jotai/-/jotai-2.10.0.tgz#7483b81ab21ba28778f04b29368728f25efe4e89" integrity sha512-8W4u0aRlOIwGlLQ0sqfl/c6+eExl5D8lZgAUolirZLktyaj4WnxO/8a0HEPmtriQAB6X5LMhXzZVmw02X0P0qQ== -"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: +js-tokens@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== @@ -2407,13 +2426,6 @@ longest-streak@^3.0.0: resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== -loose-envify@^1.1.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" - integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== - dependencies: - js-tokens "^3.0.0 || ^4.0.0" - lower-case@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" @@ -3215,6 +3227,15 @@ onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +open@^8.4.0: + version "8.4.2" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + optionator@^0.9.3: version "0.9.4" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.4.tgz#7ea1c1a5d91d764fb282139c88fe11e182a3a734" @@ -3433,14 +3454,6 @@ rc@^1.0.1, rc@^1.1.6: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@^18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4" - integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw== - dependencies: - loose-envify "^1.1.0" - scheduler "^0.23.2" - react-refresh@^0.14.2: version "0.14.2" resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.2.tgz#3833da01ce32da470f1f936b9d477da5c7028bf9" @@ -3466,13 +3479,6 @@ react-virtuoso@^4.10.4: resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-4.10.4.tgz#856ed415d7071db0c666ce84809bab8bb834f45c" integrity sha512-G/gprhTbK+lzMxoo/iStcZxVEGph/cIhc3WANEpt92RuMw+LiCZOmBfKoeoZOHlm/iyftTrDJhGaTCpxyucnkQ== -react@^18.3.1: - version "18.3.1" - resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891" - integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ== - dependencies: - loose-envify "^1.1.0" - readdirp@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.1.tgz#b2fe35f8dca63183cd3b86883ecc8f720ea96ae6" @@ -3595,6 +3601,11 @@ remark@^15.0.1: remark-stringify "^11.0.0" unified "^11.0.0" +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q== + require-from-string@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" @@ -3627,6 +3638,16 @@ rimraf@^6.0.1: glob "^11.0.0" package-json-from-dist "^1.0.0" +rollup-plugin-visualizer@^5.12.0: + version "5.12.0" + resolved "https://registry.yarnpkg.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.12.0.tgz#661542191ce78ee4f378995297260d0c1efb1302" + integrity sha512-8/NU9jXcHRs7Nnj07PF2o4gjxmm9lXIrZ8r175bT9dK8qoLlvKTwRMArRCMgpMGlq8CTLugRvEmyMeMXIU2pNQ== + dependencies: + open "^8.4.0" + picomatch "^2.3.1" + source-map "^0.7.4" + yargs "^17.5.1" + rollup@^4.20.0: version "4.22.4" resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.22.4.tgz#4135a6446671cd2a2453e1ad42a45d5973ec3a0f" @@ -3678,13 +3699,6 @@ sass@^1.78.0: immutable "^4.0.0" source-map-js ">=0.6.2 <2.0.0" -scheduler@^0.23.2: - version "0.23.2" - resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3" - integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ== - dependencies: - loose-envify "^1.1.0" - section-matter@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167" @@ -3786,7 +3800,7 @@ source-map@^0.6.0, source-map@~0.6.0, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== -source-map@^0.7.0: +source-map@^0.7.0, source-map@^0.7.4: version "0.7.4" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== @@ -3815,7 +3829,7 @@ string-argv@~0.3.1: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" -string-width@^4.1.0: +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -4253,6 +4267,15 @@ word-wrap@^1.2.5: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -4262,6 +4285,11 @@ wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: string-width "^5.0.1" strip-ansi "^7.0.1" +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" @@ -4272,6 +4300,24 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + +yargs@^17.5.1: + version "17.7.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" + integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"