diff --git a/.circleci/comment.js b/.circleci/comment.js index 361b908421c..ef381f1962b 100644 --- a/.circleci/comment.js +++ b/.circleci/comment.js @@ -10,7 +10,7 @@ async function run() { let pr; // If we aren't running on a PR commit, double check if this is a branch created for a fork. If so, we'll need to // comment the build link on the fork. - if (!process.env.CIRCLE_PULL_REQUEST) { + if (true) { try { const commit = await octokit.git.getCommit({ owner: 'adobe', @@ -41,7 +41,7 @@ async function run() { break; } } - } else if (process.env.CIRCLE_BRANCH === 'main') { + } else if (true) { // If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build await octokit.repos.createCommitComment({ owner: 'adobe', diff --git a/.circleci/config.yml b/.circleci/config.yml index b7665dbc8f5..7a71782ff3f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -917,9 +917,6 @@ workflows: requires: - install - verdaccio: - filters: - branches: - only: main requires: - install - v-docs: diff --git a/.gitignore b/.gitignore index 507d85abab0..561bd2bb4b2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ .DS_Store .cache .idea -.nyc_output .package-lock.json .parcel-cache build-storybook.log diff --git a/.nycrc b/.nycrc deleted file mode 100644 index 022102c50db..00000000000 --- a/.nycrc +++ /dev/null @@ -1,8 +0,0 @@ -{ - "sourceMap": false, - "instrument": false, - "reporter": [ - "lcov", - "text-summary" - ] -} diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ba8fa9452bf..057cd3ee4e1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -77,32 +77,6 @@ Or run the documentation and browse to [http://localhost:1234/](http://localhost yarn start:docs ``` -### Component/Hook scaffolding -If you are looking to contribute a brand new component or Hook in a package that does not exist yet, please run the following command. -```bash -yarn plop -``` -This will start a series of cli prompts to determine what template files and folders should be generated to help quick start your contribution. -The prompts are as follows: - -1. What type of project are you setting up? - - Select "React Spectrum v3" - -2. Scope name(s) - - Select the package scopes that make sense for your contribution (e.g. react-spectrum if you are contributing a component, react-aria for an aria Hook, etc) - -3. Package name, all lowercase (e.g. textfield) - -4. Component name, please use appropriate uppercase (e.g. TextField) - - If you are contributing a non-component Hook, just enter the name of your Hook. - -5. Component css module name, blank if N/A. If unsure, check @adobe/spectrum-css-temp/components for a module containing the desired css (e.g. textfield) - - If you cannot find the component CSS module name in @adobe/spectrum-css-temp/components, feel free to reach out to a team member via GitHub Issues or Discussions. - -Upon answering all the prompts, the appropriate package(s) should be generated and ready for modification. - -**Note:** With regards to the generated docs files, please feel free to remove them if you won't be contributing docs. If you are contributing docs for a new component or Hook, please submit them in a separate pull request so that we can decide when to deploy them to our docs site. - ### Tests We use [jest](https://jestjs.io/) for unit tests and [react-testing-library](https://testing-library.com/docs/react-testing-library/intro) for rendering and writing assertions. Please make sure you include tests with your pull requests. Our CI will run the tests on PRs as well as the linter and type checker. You can see on each PR whether you have passed all our checks. We split the tests into 2 groups. @@ -154,7 +128,7 @@ yarn start:docs Then, open [http://localhost:1234](http://localhost:1234) in your browser. ### Verdaccio -We use [Verdaccio](https://verdaccio.org/) to set up a private registry for our packages to test our components in our example apps. +We use [Verdaccio](https://verdaccio.org/) to set up a private registry for our packages to test our components in our example apps. To run verdaccio, first ensure that your `git status` is clean. If your computer has an Intel chip, add the line `shopt -s globstar extglob` in the `verdaccio.sh` file after line 21. Save and commit these changes under a clear message like "Do not push". If you have an Apple silicon chip, you may skip this step. diff --git a/babel-esm.config.json b/babel-esm.config.json index cb8c7529066..c16bd1b4767 100644 --- a/babel-esm.config.json +++ b/babel-esm.config.json @@ -23,11 +23,6 @@ ] ] }, - "cover": { - "plugins": [ - "istanbul" - ] - }, "production": { "plugins": [ [ diff --git a/babel.config.json b/babel.config.json index 510f70cc937..015a74f120c 100644 --- a/babel.config.json +++ b/babel.config.json @@ -22,11 +22,6 @@ ] ] }, - "cover": { - "plugins": [ - "istanbul" - ] - }, "production": { "plugins": [ [ diff --git a/package.json b/package.json index e6bb5e1505b..2fa20fceb18 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,6 @@ "build:icons": "babel-node --presets @babel/env ./scripts/buildIcons.js", "clean:icons": "babel-node --presets @babel/env ./scripts/cleanIcons.js", "postinstall": "patch-package && yarn build:icons", - "plop": "plop --plopfile scripts/plopfile.js", "chromatic": "NODE_ENV=production CHROMATIC=1 chromatic --project-token $CHROMATIC_PROJECT_TOKEN --build-script-name 'build:chromatic'", "chromatic:forced-colors": "NODE_ENV=production CHROMATIC=1 chromatic --project-token $CHROMATIC_FC_PROJECT_TOKEN --build-script-name 'build:chromatic-fc'", "merge:css": "babel-node --presets @babel/env ./scripts/merge-spectrum-css.js", @@ -140,11 +139,9 @@ "autoprefixer": "^9.6.0", "axe-core": "^4.6.3", "axe-playwright": "^1.1.11", - "babel-plugin-istanbul": "^6.0.0", "babel-plugin-macros": "^3.0.1", "babel-plugin-react-remove-properties": "^0.3.0", "babel-plugin-transform-glob-import": "^1.0.1", - "babelify": "^10.0.0", "chalk": "^4.1.2", "chromatic": "^13.1.3", "clsx": "^2.0.0", @@ -166,8 +163,7 @@ "fast-check": "^2.19.0", "fast-glob": "^3.1.0", "fs-extra": "^11.0.0", - "glob": "^8.0.3", - "glob-promise": "^6.0.5", + "glob": "^11.0.3", "globals": "^15.11.0", "identity-obj-proxy": "^3.0.0", "ignore-styles": "^5.0.1", @@ -182,13 +178,10 @@ "md5": "^2.2.1", "motion": "^12.23.6", "npm-cli-login": "^1.0.0", - "nyc": "^10.2.0", - "p-queue": "^6.2.1", "parcel": "^2.16.0", "parcel-optimizer-strict-mode": "workspace:^", "patch-package": "^6.2.0", "playwright": "^1.45.3", - "plop": "^2.4.0", "postcss": "^8.4.24", "postcss-custom-properties": "^13.2.0", "postcss-import": "^15.1.0", @@ -196,16 +189,14 @@ "prop-types": "^15.6.0", "raf": "^3.4.0", "react": "^19.1.0", - "react-axe": "^3.0.2", "react-dom": "^19.1.0", "react-frame-component": "^5.0.0", "react-test-renderer": "^19.1.0", "recast": "^0.23", "recursive-readdir": "^2.2.2", "regenerator-runtime": "0.13.3", - "rimraf": "^2.6.3", + "rimraf": "^6.0.1", "sharp": "^0.33.5", - "sinon": "^7.3.1", "storybook": "^8.6.14", "storybook-dark-mode": "^4.0.2", "storybook-react-parcel": "workspace:^", @@ -218,8 +209,7 @@ "verdaccio": "^6.0.0", "walk-object": "^4.0.0", "wsrun": "^5.0.0", - "xml": "^1.0.1", - "yargs": "^17.2.1" + "xml": "^1.0.1" }, "resolutions": { "@babel/cli": "7.24.1", @@ -230,7 +220,7 @@ "@babel/traverse": "7.24.1", "@babel/types": "7.24.0", "@mdx-js/react": "2.0.0-rc.2", - "postcss": "8.4.24", + "postcss": "8.4.31", "postcss-custom-properties": "13.2.0", "postcss-import": "15.1.0", "react-refresh": "0.9.0", diff --git a/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx b/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx deleted file mode 100644 index 335733047b7..00000000000 --- a/packages/@react-aria/autocomplete/docs/useSearchAutocomplete.mdx +++ /dev/null @@ -1,584 +0,0 @@ -{/* Copyright 2020 Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. */} - -import {Layout} from '@react-spectrum/docs'; -export default Layout; - -import docs from 'docs:@react-aria/autocomplete'; -import collectionsDocs from 'docs:@react-types/shared/src/collections.d.ts'; -import {FunctionAPI, HeaderInfo, InterfaceType, TypeContext, TypeLink, PageDescription} from '@react-spectrum/docs'; -import i18nDocs from 'docs:@react-aria/i18n'; -import overlaysDocs from 'docs:@react-aria/overlays'; -import packageData from '@react-aria/autocomplete/package.json'; -import selectionDocs from 'docs:@react-stately/selection'; -import statelyDocs from 'docs:@react-stately/combobox'; -import Anatomy from './anatomy.svg'; -import ChevronRight from '@spectrum-icons/workflow/ChevronRight'; -import {ExampleCard} from '@react-spectrum/docs/src/ExampleCard'; - ---- -category: Pickers -keywords: [autocomplete, autosuggest, typeahead, search, aria] -after_version: 3.0.0 ---- - -# useSearchAutocomplete - -{docs.exports.useSearchAutocomplete.description} - - - -## API - - - -## Features - -Autocomplete for search fields can be implemented using the [<datalist>](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist) HTML element, but this has limited functionality and behaves differently across browsers. -`useSearchAutocomplete` helps achieve accessible search field and autocomplete components that can be styled as needed. - -* Support for filtering a list of options by typing -* Support for selecting a single option -* Support for disabled options -* Support for groups of items in sections -* Support for custom user input values -* Support for controlled and uncontrolled options, selection, input value, and open state -* Support for custom filter functions -* Async loading and infinite scrolling support -* Support for use with virtualized lists -* Exposed to assistive technology as a `combobox` with ARIA -* Labeling support for accessibility -* Required and invalid states exposed to assistive technology via ARIA -* Support for mouse, touch, and keyboard interactions -* Keyboard support for opening the list box using the arrow keys, including automatically focusing - the first or last item accordingly -* Support for opening the list box when typing, on focus, or manually -* Handles virtual clicks on the input from touch screen readers to toggle the list box -* Virtual focus management for list box option navigation -* Hides elements outside the input and list box from assistive technology while the list box is open in a portal -* Custom localized announcements for option focusing, filtering, and selection using an ARIA live region to work around VoiceOver bugs - -## Anatomy - - - -A search autocomplete consists of a label, an input which displays the current value, and a list box popup. Users can type within the input -to see search suggestions within the list box. The list box popup may be opened by a variety of input field interactions specified -by the `menuTrigger` prop provided to `useSearchAutocomplete`. `useSearchAutocomplete` handles exposing -the correct ARIA attributes for accessibility for each of the elements comprising the search autocomplete. It should be combined -with [useListBox](useListBox.html), which handles the implementation of the popup list box. - -`useSearchAutocomplete` returns props that you should spread onto the appropriate elements: - - - - - -State is managed by the hook from `@react-stately/combobox`. -The state object should be passed as an option to `useSearchAutocomplete`. - -If the search field does not have a visible label, an `aria-label` or `aria-labelledby` prop must be provided instead to -identify it to assistive technology. - -## State management - -`useSearchAutocomplete` requires knowledge of the options in order to handle keyboard -navigation and other interactions. It does this using the -interface, which is a generic interface to access sequential unique keyed data. You can -implement this interface yourself, e.g. by using a prop to pass a list of item objects, -but from -`@react-stately/combobox` implements a JSX based interface for building collections instead. -See [Collection Components](/react-stately/collections.html) for more information, -and [Collection Interface](/react-stately/Collection.html) for internal details. - -In addition, -manages the state necessary for single selection and exposes -a , -which makes use of the collection to provide an interface to update the selection state. -It also holds state to track if the popup is open, if the search field is focused, and the current input value. -For more information about selection, see [Selection](/react-stately/selection.html). - -## Example - -This example uses an `` element for the search field. -A "contains" filter function is obtained from and is passed to so -that the list box can be filtered based on the option text and the current input text. - -The list box popup should use the same `Popover` and `ListBox` components created with [usePopover](usePopover.html) -and [useListBox](useListBox.html) that you may already have in your component library or application. These can be shared with other -components such as a `Select` created with [useSelect](useSelect.html) or a `Dialog` popover created with [useDialog](useDialog.html). -The code for these components is also included below in the collapsed sections. - -In addition, see [useListBox](useListBox.html) for examples of sections (option groups), and more complex -options. - -```tsx example export=true -import {Item} from '@react-stately/collections'; -import {useButton} from '@react-aria/button'; -import {useComboBoxState} from '@react-stately/combobox' -import {useSearchAutocomplete} from '@react-aria/autocomplete'; -import {useFilter} from '@react-aria/i18n'; - -// Reuse the ListBox and Popover from your component library. See below for details. -import {ListBox, Popover} from 'your-component-library'; - -function SearchAutocomplete(props) { - // Setup filter function and state. - let {contains} = useFilter({sensitivity: 'base'}); - let state = useComboBoxState({...props, defaultFilter: contains}); - - // Setup refs and get props for child elements. - let inputRef = React.useRef(null); - let listBoxRef = React.useRef(null); - let popoverRef = React.useRef(null); - let buttonRef = React.useRef(null); - - let {inputProps, listBoxProps, labelProps, clearButtonProps} = useSearchAutocomplete( - { - ...props, - popoverRef, - listBoxRef, - inputRef, - }, - state - ); - - let {buttonProps} = useButton(clearButtonProps, buttonRef); - - return ( -
- -
- - {state.inputValue !== '' && - - } - {state.isOpen && - - - - } -
-
- ); -} - - - Red Panda - Cat - Dog - Aardvark - Kangaroo - Snake - -``` - -### Popover - -The `Popover` component is used to contain the popup listbox for the SearchAutocomplete. -It can be shared between many other components, including [Select](useSelect.html), -[Menu](useMenu.html), and others. -See [usePopover](usePopover.html) for more examples of popovers. - -
- Show code - -```tsx example export=true render=false -import type {AriaPopoverProps} from 'react-aria'; -import type {OverlayTriggerState} from 'react-stately'; -import {usePopover, Overlay, DismissButton} from '@react-aria/overlays'; - -interface PopoverProps extends AriaPopoverProps { - children: React.ReactNode, - state: OverlayTriggerState -} - -function Popover({children, state, ...props}: PopoverProps) { - let {popoverProps} = usePopover(props, state); - - return ( - -
} - style={{ - ...popoverProps.style, - background: 'lightgray', - border: '1px solid gray' - }}> - {children} - -
-
- ); -} -``` - -
- -### ListBox - -The `ListBox` and `Option` components are used to show the filtered list of options as the -user types in the SearchAutocomplete. They can also be shared with other components like a [Select](useSelect.html). See -[useListBox](useListBox.html) for more examples, including sections and more complex items. - -
- Show code - -```tsx example export=true render=false -import {useListBox, useOption} from '@react-aria/listbox'; - -function ListBox(props) { - let ref = React.useRef(null); - let {listBoxRef = ref, state} = props; - let {listBoxProps} = useListBox(props, state, listBoxRef); - - return ( -
    - {[...state.collection].map(item => ( -
- ); -} - -function Option({item, state}) { - let ref = React.useRef(null); - let {optionProps, isSelected, isFocused, isDisabled} = useOption({key: item.key}, state, ref); - - let backgroundColor; - let color = 'black'; - - if (isSelected) { - backgroundColor = 'blueviolet'; - color = 'white'; - } else if (isFocused) { - backgroundColor = 'gray'; - } else if (isDisabled) { - backgroundColor = 'transparent'; - color = 'gray'; - } - - return ( -
  • - {item.rendered} -
  • - ); -} -``` - -
    - -## Usage - -The following examples show how to use the SearchAutocomplete component created in the above example. - -### Uncontrolled - -The following example shows how you would create an uncontrolled SearchAutocomplete. The input value, selected option, and open state is completely -uncontrolled. - -```tsx example - - Red Panda - Cat - Dog - Aardvark - Kangaroo - Snake - -``` - -### Dynamic collections - -SearchAutocomplete follows the [Collection Components API](../react-stately/collections.html), accepting both static and dynamic collections. -The examples above show static collections, which can be used when the full list of options is known ahead of time. Dynamic collections, -as shown below, can be used when the options come from an external data source such as an API call, or update over time. - -As seen below, an iterable list of options is passed to the SearchAutocomplete using the `defaultItems` prop. The input's value is passed to the -`onSubmit` handler, along with a key if the event was triggered by selecting an item from the listbox. - -```tsx example -function Example() { - let options = [ - {id: 1, name: 'Aerospace'}, - {id: 2, name: 'Mechanical'}, - {id: 3, name: 'Civil'}, - {id: 4, name: 'Biomedical'}, - {id: 5, name: 'Nuclear'}, - {id: 6, name: 'Industrial'}, - {id: 7, name: 'Chemical'}, - {id: 8, name: 'Agricultural'}, - {id: 9, name: 'Electrical'} - ]; - let [major, setMajor] = React.useState(null); - - let onSubmit = (value, key) => { - if (value) { - setMajor(value); - } else if (key) { - setMajor(options.find(o => o.id === key).name); - } - }; - - return ( - <> - - {(item) => {item.name}} - -

    Results for: {major}

    - - ); -} -``` - -### Custom filtering - -By default, `useComboBoxState` uses the filter function passed to the `defaultFilter` prop (in the above example, a -"contains" function from `useFilter`). The filter function can be overridden by users of the `SearchAutocomplete` component by -using the `items` prop to control the filtered list. When `items` is provided rather than `defaultItems`, `useComboBoxState` -does no filtering of its own. - -The following example makes the `inputValue` controlled, and updates the filtered list that is passed to the `items` -prop when the input changes value. - -```tsx example -function Example() { - let options = [ - {id: 1, email: 'fake@email.com'}, - {id: 2, email: 'anotherfake@email.com'}, - {id: 3, email: 'bob@email.com'}, - {id: 4, email: 'joe@email.com'}, - {id: 5, email: 'yourEmail@email.com'}, - {id: 6, email: 'valid@email.com'}, - {id: 7, email: 'spam@email.com'}, - {id: 8, email: 'newsletter@email.com'}, - {id: 9, email: 'subscribe@email.com'} - ]; - - let {startsWith} = useFilter({sensitivity: 'base'}); - let [filterValue, setFilterValue] = React.useState(''); - let filteredItems = React.useMemo( - () => options.filter((item) => startsWith(item.email, filterValue)), - [options, filterValue] - ); - - return ( - - {(item) => {item.email}} - - ); -} -``` - -### Fully controlled - -The following example shows how you would create a controlled SearchAutocomplete, by controlling the input value (`inputValue`) -and the autocomplete options (`items`). By passing in `inputValue` and `items` to the `SearchAutocomplete` you can control -exactly what your SearchAutocomplete should display. For example, note that the item filtering for the controlled SearchAutocomplete below now follows a "starts with" -filter strategy, accomplished by controlling the exact set of items available to the SearchAutocomplete whenever the input value updates. - -```tsx example -function ControlledSearchAutocomplete() { - let optionList = [ - {name: 'Red Panda', id: '1'}, - {name: 'Cat', id: '2'}, - {name: 'Dog', id: '3'}, - {name: 'Aardvark', id: '4'}, - {name: 'Kangaroo', id: '5'}, - {name: 'Snake', id: '6'} - ]; - - // Store SearchAutocomplete input value, selected option, open state, and items - // in a state tracker - let [fieldState, setFieldState] = React.useState({ - inputValue: '', - items: optionList - }); - - // Implement custom filtering logic and control what items are - // available to the SearchAutocomplete. - let {startsWith} = useFilter({sensitivity: 'base'}); - - // Specify how each of the SearchAutocomplete values should change when an - // option is selected from the list box - let onSubmit = (value, key) => { - setFieldState(prevState => { - let selectedItem = prevState.items.find(option => option.id === key); - return ({ - inputValue: selectedItem?.name ?? '', - items: optionList.filter(item => startsWith(item.name, selectedItem?.name ?? '')) - }) - }); - }; - - // Specify how each of the SearchAutocomplete values should change when the input - // field is altered by the user - let onInputChange = (value) => { - setFieldState(prevState => ({ - inputValue: value, - items: optionList.filter(item => startsWith(item.name, value)) - })); - }; - - // Show entire list if user opens the menu manually - let onOpenChange = (isOpen, menuTrigger) => { - if (menuTrigger === 'manual' && isOpen) { - setFieldState(prevState => ({ - inputValue: prevState.inputValue, - items: optionList - })); - } - }; - - // Pass each controlled prop to useSearchAutocomplete along with their - // change handlers - return ( - - {item => {item.name}} - - ) -} - - -``` - -### Menu trigger behavior - -`useComboBoxState` supports three different `menuTrigger` prop values: - -* `input` (default): SearchAutocomplete menu opens when the user edits the input text. -* `focus`: SearchAutocomplete menu opens when the user focuses the SearchAutocomplete input. -* `manual`: SearchAutocomplete menu only opens when the user presses the trigger button or uses the arrow keys. - -The example below has `menuTrigger` set to `focus`. - -```tsx example - - Red Panda - Cat - Dog - Aardvark - Kangaroo - Snake - -``` - -### Disabled options - -You can disable specific options by providing an array of keys to `useComboBoxState` -via the `disabledKeys` prop. This will prevent options with matching keys from being pressable and -receiving keyboard focus as shown in the example below. Note that you are responsible for the styling of disabled options. - -```tsx example - - Red Panda - Cat - Dog - Aardvark - Kangaroo - Snake - -``` - -### Asynchronous loading - -This example uses the [useAsyncList](../react-stately/useAsyncList.html) hook to handle asynchronous loading -and filtering of data from a server. You may additionally want to display a spinner to indicate the loading -state to the user, or support features like infinite scroll to load more data. - -```tsx example -import {useAsyncList} from '@react-stately/data'; - -function AsyncLoadingExample() { - let list = useAsyncList({ - async load({signal, filterText}) { - let res = await fetch( - `https://swapi.py4e.com/api/people/?search=${filterText}`, - {signal} - ); - let json = await res.json(); - - return { - items: json.results - }; - } - }); - - return ( - - {(item) => {item.name}} - - ); -} -``` - -### Links - -By default, interacting with an item in a SearchAutocomplete updates the input value. Alternatively, items may be links to another page or website. This can be achieved by passing the `href` prop to the `` component. Interacting with link items navigates to the provided URL and does not update the input value. See the [links](useListBox.html#links) section in the `useListBox` docs for details on how to support this. - -## Internationalization - -`useSearchAutocomplete` handles some aspects of internationalization automatically. -For example, the item focus, count, and selection VoiceOver announcements are localized. -You are responsible for localizing all labels and option -content that is passed into the autocomplete. diff --git a/packages/dev/docs/pages/react-spectrum/ssr.mdx b/packages/dev/docs/pages/react-spectrum/ssr.mdx index 2897eda74f0..5d5d7766242 100644 --- a/packages/dev/docs/pages/react-spectrum/ssr.mdx +++ b/packages/dev/docs/pages/react-spectrum/ssr.mdx @@ -347,7 +347,7 @@ To configure Remix to load React Spectrum styles, CSS Side-Effect Imports is req However, to make it work with SSR, a small amount of configuration is required. Add the following to your `vite.config.js` or `vite.config.ts` file. This will ensure that React Spectrum’s CSS can be built properly. ```tsx -import glob from 'glob'; +import {globSync} from 'glob'; export default defineConfig({ ssr: { @@ -355,7 +355,7 @@ export default defineConfig({ '@adobe/react-spectrum', '@react-spectrum/*', '@spectrum-icons/*', - ].flatMap((spec) => glob.sync(`${spec}`, { cwd: 'node_modules/' })), + ].flatMap((spec) => globSync(`${spec}`, { cwd: 'node_modules/' })), } }); ``` diff --git a/packages/dev/s2-icon-builder/package.json b/packages/dev/s2-icon-builder/package.json index 70a8a8264b8..55e8f81a505 100644 --- a/packages/dev/s2-icon-builder/package.json +++ b/packages/dev/s2-icon-builder/package.json @@ -25,7 +25,7 @@ "@react-spectrum/parcel-namer-s2": "^0.3.1", "@react-spectrum/parcel-transformer-s2-icon": "^0.3.1", "@swc/helpers": "^0.5.0", - "glob": "^8.0.3" + "glob": "^11.0.3" }, "peerDependencies": { "@react-spectrum/s2": ">=0.8.0", diff --git a/plop-templates/@react-aria/README.md.hbs b/plop-templates/@react-aria/README.md.hbs deleted file mode 100644 index 8e674cea782..00000000000 --- a/plop-templates/@react-aria/README.md.hbs +++ /dev/null @@ -1,3 +0,0 @@ -# @react-aria/{{packageName}} - -This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details. diff --git a/plop-templates/@react-aria/docs/use{{ componentName }}.mdx.hbs b/plop-templates/@react-aria/docs/use{{ componentName }}.mdx.hbs deleted file mode 100644 index 4f4108df47a..00000000000 --- a/plop-templates/@react-aria/docs/use{{ componentName }}.mdx.hbs +++ /dev/null @@ -1,91 +0,0 @@ -{/* Copyright {{currentYear}} Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. */} - -import {Layout} from '@react-spectrum/docs'; -export default Layout; - -*Additional types can be imported via a direct path to the *.d.ts file if need be. See the useComboBox.mdx for an example.* -import docs from 'docs:@react-aria/{{packageName}}'; -import {HeaderInfo, FunctionAPI, TypeContext, InterfaceType, TypeLink, PageDescription} from '@react-spectrum/docs'; -import packageData from '@react-aria/{{packageName}}/package.json'; -import Anatomy from './{{packageName}}Anatomy.svg' - -*Include after_version if the docs shouldn't be published to the website until reaching a specific package version.* ---- -category: Category Name -keywords: [] -after_version: 3.0.0-alpha.0 ---- - -# use{{componentName}} - -{docs.exports.use{{componentName}}.description} - -*Be sure to update the W3C url below if applicable to your hook, otherwise omit the sourceData prop.* - - -## API - -*Include an additional FunctionAPI if multiple hooks are being documented in a single file. See useTabList.mdx for an example.* - - -## Features - -*Describe what the aria hook helps with/provides.* - -## Anatomy/Usage - -*For hooks that are meant to be used with specific elements/components, include an Anatomy section detailing the props the hook returns. See useColorField.mdx for an example.* -*If applicable, the anatomy diagram should be added as a local svg file, sourced from the Spectrum XD file (ask in the #spectrum-react room if you can't find one). Follow these steps after you obtain the XD file:* -*1. Open the XD file and find the anatomy diagram. Update the diagrams to match the actual anatomy/names we use in React Aria. Spectrum often includes additional things, but we want to match the returned prop objects from the hooks so remove these extra elements. -*2. After finishing the edits, select the diagram by double clicking its artboard. Export it as an SVG via File -> Export -> Selected...* -*4. Update the fonts. the xd file might reference something like Adobe-Clean-It for italic, but in the svg it needs to always be font-family="Adobe-Clean" with font-style="italic" for example.* -*5. Replace the colors in the SVG with their spectrum color variable equivalents. See docs.css .provider for a mapping of these colors (--anatomy--gray- prefixed vars). Choose the closest one if there isn't an exact match.* -*6. Remove width and height specified on the svg element, and replace with a style attribute similar to the one in other anatomy diagrams, but change the max-height to match viewBox. That makes it responsive.* -*7. Add an aria-label that describes what is in the anatomy diagram.* - - -*For hooks that are meant for more general use, include a Usage section instead detailing the props/params the hook accepts and returns. See useKeyboard.mdx for an example.* - -*If the below doesn't work see useFocusRing.mdx, useFocusWithin.mdx, and useHover.mdx for some alternative ways of using InterfaceType. * - - - - -*If you'd like to have a inline type link (e.g. referencing the type def of the stately hook), use the TypeLink component below and replace the links to the appropriate docs import.* - - -## Example - -*Add an example of the hook (being used with native elements, etc)* -*If you create an example component that will be reused else where in this doc, include export=true so that you can directly reuse the component and avoid copy pasting the same code.* -*See useComboBox.mdx for an example.* -```tsx example export=true -import {use{{componentName~}}} from '@react-aria/{{packageName}}'; - -function Example(props) { - return ( -
    test
    - ); -} -``` - -## Usage - -*For hooks that are meant to be used with specific elements/components, include this usage section detailing examples of how to use the hook. * -*This should roughly mirror the examples that the corresponding React Spectrum component docs have (e.g. Controlled/Uncontrolled, Disabled, change handlers, etc). * - -## Internationalization - -*Mention if RTL * diff --git a/plop-templates/@react-aria/docs/{{ componentName }}Anatomy.svg.hbs b/plop-templates/@react-aria/docs/{{ componentName }}Anatomy.svg.hbs deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/plop-templates/@react-aria/index.ts.hbs b/plop-templates/@react-aria/index.ts.hbs deleted file mode 100644 index fa6ae0bf69a..00000000000 --- a/plop-templates/@react-aria/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './src'; diff --git a/plop-templates/@react-aria/package.json.hbs b/plop-templates/@react-aria/package.json.hbs deleted file mode 100644 index 1eb5eb34f0a..00000000000 --- a/plop-templates/@react-aria/package.json.hbs +++ /dev/null @@ -1,40 +0,0 @@ -{ - "name": "@react-aria/{{packageName}}", - "version": "3.0.0-alpha.1", - "private": true, - "description": "Spectrum UI components in React", - "license": "Apache-2.0", - "main": "dist/main.js", - "module": "dist/module.js", - "types": "dist/types.d.ts", - "exports": { - "source": "./src/index.ts", - "types": ["./dist/types.d.ts", "./src/index.ts"], - "import": "./dist/import.mjs", - "require": "./dist/main.js" - }, - "source": "src/index.ts", - "files": [ - "dist", - "src" - ], - "sideEffects": false, - "repository": { - "type": "git", - "url": "https://github.com/adobe/react-spectrum" - }, - "dependencies": { - {{#if (includes scopes "@react-types")}} - "@swc/helpers": "^0.5.0", - "@react-types/{{packageName}}": "3.0.0-alpha.1" - {{else}} - "@swc/helpers": "^0.5.0", - {{/if}} - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/plop-templates/@react-aria/src/index.ts.hbs b/plop-templates/@react-aria/src/index.ts.hbs deleted file mode 100644 index f91360846db..00000000000 --- a/plop-templates/@react-aria/src/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './use{{componentName}}'; diff --git a/plop-templates/@react-aria/src/use{{ componentName }}.ts.hbs b/plop-templates/@react-aria/src/use{{ componentName }}.ts.hbs deleted file mode 100644 index 0d973c4742b..00000000000 --- a/plop-templates/@react-aria/src/use{{ componentName }}.ts.hbs +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -{{#if (includes scopes "@react-types")}} -import {Aria{{componentName}}Props} from '@react-types/{{packageName}}'; -{{else}} -export interface Aria{{componentName}}Props { -} -{{/if}} - -interface Aria{{componentName}}Options extends Aria{{componentName}}Props { -} - -interface {{componentName}}Aria { -} - -/** - * TODO: Add description of aria hook here. - * @param props - Props for the {{componentName}}. - * @param state - State for the {{componentName}}. - */ -export function use{{componentName}}(props: Aria{{componentName}}Options, state /* type me */): {{componentName}}Aria { - return {}; -} diff --git a/plop-templates/@react-aria/test/use{{ componentName }}.test.js.hbs b/plop-templates/@react-aria/test/use{{ componentName }}.test.js.hbs deleted file mode 100644 index c33f671c521..00000000000 --- a/plop-templates/@react-aria/test/use{{ componentName }}.test.js.hbs +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import {render, renderHook} from '@react-spectrum/test-utils-internal'; -import React, {useRef} from 'react'; -import {use{{componentName~}}} from '../'; - -describe('use{{componentName}}', function () { - it('fill me in', function () { - expect(true).toBeTruthy(); - }); -}); diff --git a/plop-templates/@react-spectrum/README.md.hbs b/plop-templates/@react-spectrum/README.md.hbs deleted file mode 100644 index e5440898226..00000000000 --- a/plop-templates/@react-spectrum/README.md.hbs +++ /dev/null @@ -1,3 +0,0 @@ -# @react-spectrum/{{packageName}} - -This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details. diff --git a/plop-templates/@react-spectrum/chromatic/{{ componentName }}.chromatic.tsx.hbs b/plop-templates/@react-spectrum/chromatic/{{ componentName }}.chromatic.tsx.hbs deleted file mode 100644 index a9060cd4d82..00000000000 --- a/plop-templates/@react-spectrum/chromatic/{{ componentName }}.chromatic.tsx.hbs +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import { {{~componentName~}} } from '../'; -import {Meta, Story} from '@storybook/react'; -import React from 'react'; -{{#if (includes scopes "@react-types")}} -import {Spectrum{{componentName}}Props} from '@react-types/{{packageName}}'; -{{/if}} -{{#unless (includes scopes "@react-types")}} - -interface Spectrum{{componentName}}Props { - -} -{{/unless}} - -// see https://github.com/storybookjs/storybook/issues/8426#issuecomment-669021940 -const StoryFn = ({storyFn}) => storyFn(); - -const meta: Meta = { - title: '{{componentName}}', - component: {{componentName}}, - decorators: [storyFn => ] -}; - -export default meta; - -const Template = (): Story => (args) => ( - <{{componentName}} {...args}>This is a React Spectrum {{componentName}} -); - -export const Default = Template().bind({}); -Default.args = {}; diff --git a/plop-templates/@react-spectrum/docs/{{ componentName }}.mdx.hbs b/plop-templates/@react-spectrum/docs/{{ componentName }}.mdx.hbs deleted file mode 100644 index d0dbe86891a..00000000000 --- a/plop-templates/@react-spectrum/docs/{{ componentName }}.mdx.hbs +++ /dev/null @@ -1,76 +0,0 @@ -{/* Copyright {{currentYear}} Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. */} - -import {Layout} from '@react-spectrum/docs'; -export default Layout; - -import docs from 'docs:@react-spectrum/{{packageName}}'; -import {HeaderInfo, PropTable, PageDescription} from '@react-spectrum/docs'; -import packageData from '@react-spectrum/{{packageName}}/package.json'; - -```jsx import -import { {{~componentName~}} } from '@react-spectrum/{{packageName}}'; -``` - -*Include after_version if the docs shouldn't be published to the website until reaching a specific package version.* ---- -category: Category Name -keywords: [] -after_version: 3.0.0-alpha.0 ---- - -# {{componentName}} - -{docs.exports.{{componentName}}.description} - -*Be sure to update the Spectrum url below to match the current component.* - - -## Example - -```tsx example -<{{componentName}}>Button -``` - -## Content - -*If the component has a children prop that accepts any type of content (e.g. `ReactNode`), include this section. Please include a note about how to internationalize the content.* - -## Value - -*If the component displays or allows a user to input a value, include this section.* - -## Labeling - -*If the component supports a label prop, include this section. Please include a note about how to internationalize the content.* - -## Events - -*If the component supports event props, include this section. Only cover the events that are important to the main functionality of the component.* - -## Validation - -*If the component supports validation props, include this section.* - -## Props - -*Include an additional PropTables if multiple components are being documented in a single file. See Tabs.mdx for an example.* - - -## Visual options - -*Show examples of all variants and visual props here with links to the design website for more usage details. Examples can be grouped together for conciseness.* - -### Sample Option -[View guidelines](https://spectrum.adobe.com/page/text-field/#Width) diff --git a/plop-templates/@react-spectrum/index.ts.hbs b/plop-templates/@react-spectrum/index.ts.hbs deleted file mode 100644 index fa6ae0bf69a..00000000000 --- a/plop-templates/@react-spectrum/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './src'; diff --git a/plop-templates/@react-spectrum/package.json.hbs b/plop-templates/@react-spectrum/package.json.hbs deleted file mode 100644 index f41a9c9bda6..00000000000 --- a/plop-templates/@react-spectrum/package.json.hbs +++ /dev/null @@ -1,58 +0,0 @@ -{ - "name": "@react-spectrum/{{packageName}}", - "version": "3.0.0-alpha.1", - "private": true, - "description": "Spectrum UI components in React", - "license": "Apache-2.0", - "main": "dist/main.js", - "module": "dist/module.js", - "types": "dist/types.d.ts", - "exports": { - "source": "./src/index.ts", - "types": ["./dist/types.d.ts", "./src/index.ts"], - "import": "./dist/import.mjs", - "require": "./dist/main.js" - }, - "source": "src/index.ts", - "files": ["dist", "src"], - "sideEffects": [ - "*.css" - ], - "targets": { - "main": { - "includeNodeModules": ["@adobe/spectrum-css-temp"] - }, - "module": { - "includeNodeModules": ["@adobe/spectrum-css-temp"] - } - }, - "repository": { - "type": "git", - "url": "https://github.com/adobe/react-spectrum" - }, - "dependencies": { - "@swc/helpers": "^0.5.0", - {{#if (includes scopes "@react-aria")}} - "@react-aria/{{packageName}}": "3.0.0-alpha.1", - {{/if}} - "@react-aria/utils": "^3.0.0", - "@react-spectrum/utils": "^3.0.0", - {{#if (includes scopes "@react-stately")}} - "@react-stately/{{packageName}}": "3.0.0-alpha.1", - {{/if}} - {{#if (includes scopes "@react-types")}} - "@react-types/{{packageName}}": "3.0.0-alpha.1", - {{/if}} - "@react-types/shared": "^3.0.0" - }, - "devDependencies": { - "@adobe/spectrum-css-temp": "3.0.0-alpha.1" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0", - "@react-spectrum/provider": "^3.9.7" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/plop-templates/@react-spectrum/src/index.ts.hbs b/plop-templates/@react-spectrum/src/index.ts.hbs deleted file mode 100644 index 689175690e5..00000000000 --- a/plop-templates/@react-spectrum/src/index.ts.hbs +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -/// - -export * from './{{componentName}}'; diff --git a/plop-templates/@react-spectrum/src/{{ componentName }}.tsx.hbs b/plop-templates/@react-spectrum/src/{{ componentName }}.tsx.hbs deleted file mode 100644 index d919a2d804f..00000000000 --- a/plop-templates/@react-spectrum/src/{{ componentName }}.tsx.hbs +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import {classNames, useDOMRef, useStyleProps} from '@react-spectrum/utils'; -{{#if (includes scopes "@react-types")}} -import {DOMRef} from '@react-types/shared'; -{{else}} -import {DOMProps, DOMRef, StyleProps} from '@react-types/shared'; -{{/if}} -import {filterDOMProps} from '@react-aria/utils'; -import React from 'react'; -{{#if (includes scopes "@react-types")}} -import {Spectrum{{componentName}}Props} from '@react-types/{{packageName}}'; -{{/if}} -{{#if componentCSS}} -import styles from '@adobe/spectrum-css-temp/components/{{componentCSS}}/vars.css'; -{{/if}} -{{#if (includes scopes "@react-aria")}} -import {use{{componentName~}}} from '@react-aria/{{packageName}}'; -{{/if}} -{{#if (includes scopes "@react-stately")}} -import {use{{componentName}}State} from '@react-stately/{{packageName}}'; -{{/if}} -import {useProviderProps} from '@react-spectrum/provider'; - -{{#unless (includes scopes "@react-types")}} -export interface Spectrum{{componentName}}Props extends DOMProps, StyleProps { - onChange?: any -} -{{/unless}} - -/** - * TODO: Add description of component here. - */ -export const {{componentName}} = React.forwardRef(function {{componentName}}(props: Spectrum{{componentName}}Props, ref: DOMRef) { - // Grabs specific props from the closest Provider (see https://react-spectrum.adobe.com/react-spectrum/Provider.html#property-groups). Remove if your component doesn't support any of the listed props. - props = useProviderProps(props); - // Handles RSP specific style options, UNSAFE_style, and UNSAFE_className props (see https://react-spectrum.adobe.com/react-spectrum/styling.html#style-props) - let {styleProps} = useStyleProps(props); - {{#if (includes scopes "@react-stately")}} - let state = use{{componentName}}State(props); - {{/if}} - {{#if (includes scopes "@react-aria")}} - let ariaProps = use{{componentName}}(props, state); - {{/if}} - let domRef = useDOMRef(ref); - - return ( -
    - {{else}} - className={styleProps.className} /> - {{/if}} - ); -}); diff --git a/plop-templates/@react-spectrum/stories/{{ componentName }}.stories.tsx.hbs b/plop-templates/@react-spectrum/stories/{{ componentName }}.stories.tsx.hbs deleted file mode 100644 index 16ccb76df34..00000000000 --- a/plop-templates/@react-spectrum/stories/{{ componentName }}.stories.tsx.hbs +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import {action} from '@storybook/addon-actions'; -import { {{~componentName~}} } from '../'; -import {Meta, Story} from '@storybook/react'; -import React from 'react'; -{{#if (includes scopes "@react-types")}} -import {Spectrum{{componentName}}Props} from '@react-types/{{packageName}}'; -{{/if}} -{{#unless (includes scopes "@react-types")}} - -interface Spectrum{{componentName}}Props { - -} -{{/unless}} - -// see https://github.com/storybookjs/storybook/issues/8426#issuecomment-669021940 -const StoryFn = ({storyFn}) => storyFn(); - -const meta: Meta = { - title: '{{componentName}}', - component: {{componentName}}, - decorators: [storyFn => ] -}; - -export default meta; - -const Template = (): Story => (args) => ( - <{{componentName}} {...args}>This is a React Spectrum {{componentName}} -); - -export const Default = Template().bind({}); -Default.args = {onChange: action('onChange')}; diff --git a/plop-templates/@react-spectrum/test/{{ componentName }}.test.js.hbs b/plop-templates/@react-spectrum/test/{{ componentName }}.test.js.hbs deleted file mode 100644 index b846edea608..00000000000 --- a/plop-templates/@react-spectrum/test/{{ componentName }}.test.js.hbs +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import { {{~componentName~}} } from '../'; -import {render} from '@react-spectrum/test-utils-internal'; -import React from 'react'; - -describe('{{componentName}}', function () { - it.each` - Name | Component | props - ${'{{componentName}}'} | ${ {{~componentName~}} } | $\{{}} - `('$Name handles defaults', function ({Component, props}) { - let tree = render(); - - expect(tree).toBeTruthy(); - }); -}); diff --git a/plop-templates/@react-stately/README.md.hbs b/plop-templates/@react-stately/README.md.hbs deleted file mode 100644 index 134cd7007a2..00000000000 --- a/plop-templates/@react-stately/README.md.hbs +++ /dev/null @@ -1,3 +0,0 @@ -# @react-stately/{{packageName}} - -This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details. diff --git a/plop-templates/@react-stately/docs/use{{ componentName }}State.mdx.hbs b/plop-templates/@react-stately/docs/use{{ componentName }}State.mdx.hbs deleted file mode 100644 index 647fee321c5..00000000000 --- a/plop-templates/@react-stately/docs/use{{ componentName }}State.mdx.hbs +++ /dev/null @@ -1,51 +0,0 @@ -{/* Copyright {{currentYear}} Adobe. All rights reserved. -This file is licensed to you under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. You may obtain a copy -of the License at http://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software distributed under -the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS -OF ANY KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. */} - -import {Layout} from '@react-spectrum/docs'; -export default Layout; - -import docs from 'docs:@react-stately/{{packageName}}'; -import {ClassAPI, HeaderInfo, TypeContext, FunctionAPI, TypeLink, PageDescription} from '@react-spectrum/docs'; -import packageData from '@react-stately/{{packageName}}/package.json'; - -*Include after_version if the docs shouldn't be published to the website until reaching a specific package version.* ---- -category: Category Name -keywords: [] -after_version: 3.0.0-alpha.0 ---- - -# use{{componentName}}State - -{docs.exports.use{{componentName}}State.description} - - - -## API - -*Include an additional FunctionAPI if multiple hooks are being documented in a single file. See useTabList.mdx for an example.* - - -## Introduction - -*Give some background for the hook if needed.* - -## Options - -*Include ClassAPI if this stately hook takes options (see useAsyncList for an example)* - -## Interface - - - -## Example - -*Link to other docs if hook is being used elsewhere, otherwise show an example of usage.* diff --git a/plop-templates/@react-stately/index.ts.hbs b/plop-templates/@react-stately/index.ts.hbs deleted file mode 100644 index fa6ae0bf69a..00000000000 --- a/plop-templates/@react-stately/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './src'; diff --git a/plop-templates/@react-stately/package.json.hbs b/plop-templates/@react-stately/package.json.hbs deleted file mode 100644 index 9c25fd010fc..00000000000 --- a/plop-templates/@react-stately/package.json.hbs +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "@react-stately/{{packageName}}", - "version": "3.0.0-alpha.1", - "description": "Spectrum UI components in React", - "license": "Apache-2.0", - "private": true, - "main": "dist/main.js", - "module": "dist/module.js", - "types": "dist/types.d.ts", - "exports": { - "source": "./src/index.ts", - "types": ["./dist/types.d.ts", "./src/index.ts"], - "import": "./dist/import.mjs", - "require": "./dist/main.js" - }, - "source": "src/index.ts", - "files": ["dist", "src"], - "sideEffects": false, - "repository": { - "type": "git", - "url": "https://github.com/adobe/react-spectrum" - }, - "dependencies": { - {{#if (includes scopes "@react-types")}} - "@swc/helpers": "^0.5.0", - "@react-stately/utils": "^3.0.0", - "@react-types/{{packageName}}": "3.0.0-alpha.1" - {{else}} - "@swc/helpers": "^0.5.0", - "@react-stately/utils": "^3.0.0" - {{/if}} - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/plop-templates/@react-stately/src/index.ts.hbs b/plop-templates/@react-stately/src/index.ts.hbs deleted file mode 100644 index 4eaa2d97811..00000000000 --- a/plop-templates/@react-stately/src/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './use{{componentName}}State'; diff --git a/plop-templates/@react-stately/src/use{{ componentName }}State.ts.hbs b/plop-templates/@react-stately/src/use{{ componentName }}State.ts.hbs deleted file mode 100644 index 38d8e5bf0e9..00000000000 --- a/plop-templates/@react-stately/src/use{{ componentName }}State.ts.hbs +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import {useControlledState} from '@react-stately/utils'; -{{#if (includes scopes "@react-types")}} -import { {{~componentName}}Props} from '@react-types/{{packageName}}'; -{{else}} -export interface {{componentName}}Props { - value?: any, - defaultValue?: any, - onChange?: any -} -{{/if}} - -export interface {{componentName}}State { - -} - -/** - * TODO: Add description of state hook here. - */ -export function use{{componentName}}State(props: {{componentName}}Props): {{componentName}}State { - let [state, setState] = useControlledState(props.value, props.defaultValue, props.onChange); - - return [state, setState]; -} diff --git a/plop-templates/@react-types/README.md.hbs b/plop-templates/@react-types/README.md.hbs deleted file mode 100644 index 79030fde7b2..00000000000 --- a/plop-templates/@react-types/README.md.hbs +++ /dev/null @@ -1,3 +0,0 @@ -# @react-types/{{packageName}} - -This package is part of [react-spectrum](https://github.com/adobe/react-spectrum). See the repo for more details. diff --git a/plop-templates/@react-types/package.json.hbs b/plop-templates/@react-types/package.json.hbs deleted file mode 100644 index 9bf2aa01f6f..00000000000 --- a/plop-templates/@react-types/package.json.hbs +++ /dev/null @@ -1,18 +0,0 @@ -{ - "name": "@react-types/{{packageName}}", - "version": "3.0.0-alpha.1", - "description": "Spectrum UI components in React", - "license": "Apache-2.0", - "private": true, - "types": "src/index.d.ts", - "repository": { - "type": "git", - "url": "https://github.com/adobe/react-spectrum" - }, - "dependencies": { - "@react-types/shared": "^3.0.0" - }, - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0" - } -} diff --git a/plop-templates/@react-types/src/index.d.ts.hbs b/plop-templates/@react-types/src/index.d.ts.hbs deleted file mode 100644 index 9f92a1ce4a4..00000000000 --- a/plop-templates/@react-types/src/index.d.ts.hbs +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -import {DOMProps, StyleProps} from '@react-types/shared'; - -export interface {{componentName}}Props { - value?: any, - defaultValue?: any, - onChange?: any -} - -{{#if (includes scopes "@react-aria")}} -export interface Aria{{componentName}}Props extends {{componentName}}Props, DOMProps { - -} - -export interface Spectrum{{componentName}}Props extends Aria{{componentName}}Props, StyleProps { - -} -{{else}} -export interface Spectrum{{componentName}}Props extends {{componentName}}Props, DOMProps, StyleProps { - -} -{{/if}} diff --git a/plop-templates/@scope/index.ts.hbs b/plop-templates/@scope/index.ts.hbs deleted file mode 100644 index fa6ae0bf69a..00000000000 --- a/plop-templates/@scope/index.ts.hbs +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - -export * from './src'; diff --git a/plop-templates/@scope/package.json.hbs b/plop-templates/@scope/package.json.hbs deleted file mode 100644 index 07cbc05b174..00000000000 --- a/plop-templates/@scope/package.json.hbs +++ /dev/null @@ -1,32 +0,0 @@ -{ - "name": "@{{scopeName}}/{{packageName}}", - "version": "3.0.0-alpha.1", - "private": true, - "description": "Spectrum UI components in React", - "license": "Apache-2.0", - "main": "dist/main.js", - "module": "dist/module.js", - "types": "dist/types.d.ts", - "exports": { - "source": "./src/index.ts", - "types": ["./dist/types.d.ts", "./src/index.ts"], - "import": "./dist/import.mjs", - "require": "./dist/main.js" - }, - "source": "src/index.ts", - "files": [ - "dist", - "src" - ], - "sideEffects": false, - "repository": { - "type": "git", - "url": "https://github.com/adobe/react-spectrum" - }, - "dependencies": { - "@swc/helpers": "^0.5.0" - }, - "publishConfig": { - "access": "public" - } -} diff --git a/plop-templates/@scope/src/index.ts.hbs b/plop-templates/@scope/src/index.ts.hbs deleted file mode 100644 index da5cf675688..00000000000 --- a/plop-templates/@scope/src/index.ts.hbs +++ /dev/null @@ -1,11 +0,0 @@ -/* - * Copyright {{currentYear}} Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ diff --git a/scripts/buildBranchAPI.js b/scripts/buildBranchAPI.js index f98c7f173b2..6e076aca6f6 100644 --- a/scripts/buildBranchAPI.js +++ b/scripts/buildBranchAPI.js @@ -16,14 +16,24 @@ const packageJSON = require('../package.json'); const path = require('path'); const glob = require('fast-glob'); const spawn = require('cross-spawn'); -let yargs = require('yargs'); +const {parseArgs} = require('util'); -let argv = yargs - .option('verbose', {alias: 'v', type: 'boolean'}) - .option('output', {alias: 'o', type: 'string'}) - .option('githash', {type: 'string'}) - .argv; +const args = parseArgs({ + options: { + verbose: { + short: 'v', + type: 'boolean' + }, + output: { + short: 'o', + type: 'string' + }, + githash: { + type: 'string' + } + } +}); build().catch(err => { console.error(err.stack); @@ -38,15 +48,15 @@ build().catch(err => { async function build() { let backupDir = tempy.directory(); let archiveDir; - if (argv.githash) { + if (args.values.githash) { archiveDir = tempy.directory(); - console.log('checking out archive of', argv.githash, 'into', archiveDir); - await run('sh', ['-c', `git archive ${argv.githash} | tar -x -C ${archiveDir}`], {stdio: 'inherit'}); + console.log('checking out archive of', args.values.githash, 'into', archiveDir); + await run('sh', ['-c', `git archive ${args.values.githash} | tar -x -C ${archiveDir}`], {stdio: 'inherit'}); await run('sh', ['-c', `git archive HEAD | tar -x -C ${backupDir}`], {stdio: 'inherit'}); } let srcDir = archiveDir ?? path.join(__dirname, '..'); - let distDir = path.join(__dirname, '..', 'dist', argv.output ?? 'branch-api'); + let distDir = path.join(__dirname, '..', 'dist', args.values.output ?? 'branch-api'); // if we already have a directory with a built dist, remove it so we can write cleanly into it at the end fs.removeSync(distDir); // Create a temp directory to build the site in diff --git a/scripts/buildPublishedAPI.js b/scripts/buildPublishedAPI.js index 54e0c28cfdd..1b28dceb5b9 100644 --- a/scripts/buildPublishedAPI.js +++ b/scripts/buildPublishedAPI.js @@ -16,13 +16,21 @@ const packageJSON = require('../package.json'); const path = require('path'); const glob = require('fast-glob'); const spawn = require('cross-spawn'); -let yargs = require('yargs'); +const {parseArgs} = require('util'); -let argv = yargs - .option('verbose', {alias: 'v', type: 'boolean'}) - .option('output', {alias: 'o', type: 'string'}) - .argv; +const args = parseArgs({ + options: { + verbose: { + short: 'v', + type: 'boolean' + }, + output: { + short: 'o', + type: 'string' + } + } +}); build().catch(err => { console.error(err.stack); @@ -35,7 +43,7 @@ build().catch(err => { * This is run against a downloaded copy of the last published version of each package into a temporary directory and build there */ async function build() { - let distDir = argv.output ?? path.join(__dirname, '..', 'dist', argv.output ?? 'base-api'); + let distDir = args.values.output ?? path.join(__dirname, '..', 'dist', args.values.output ?? 'base-api'); // if we already have a directory with a built dist, remove it so we can write cleanly into it at the end fs.removeSync(distDir); // Create a temp directory to build the site in @@ -153,6 +161,7 @@ async function build() { fs.writeFileSync(path.join(dir, 'package.json'), JSON.stringify(pkg, false, 2)); fs.copySync(path.join(__dirname, '..', '.yarn'), path.join(dir, '.yarn')); fs.copySync(path.join(__dirname, '..', '.yarnrc.yml'), path.join(dir, '.yarnrc.yml')); + fs.copySync(path.join(__dirname, '..', 'yarn.lock'), path.join(dir, 'yarn.lock')); fs.copySync(path.join(__dirname, '..', 'packages', '@adobe', 'spectrum-css-builder-temp'), path.join(dir, 'packages', '@adobe', 'spectrum-css-builder-temp')); // Install dependencies from npm @@ -229,7 +238,7 @@ function run(cmd, args, opts) { return new Promise((resolve, reject) => { let child = spawn(cmd, args, opts); let result = ''; - child.stdout?.on('data', function(data) { + child.stdout?.on('data', function (data) { result += data.toString(); }); child.on('error', reject); diff --git a/scripts/buildRegistry.mjs b/scripts/buildRegistry.mjs index 50ef20ea78d..e7248d210f5 100644 --- a/scripts/buildRegistry.mjs +++ b/scripts/buildRegistry.mjs @@ -1,5 +1,5 @@ import fs from 'fs'; -import glob from 'glob'; +import {globSync} from 'glob'; import * as recast from 'recast'; import {parse} from '@babel/parser'; import path from 'path'; @@ -10,7 +10,7 @@ const publicUrl = process.env.REGISTRY_URL || 'http://localhost:8081'; fs.rmSync('starters/tailwind/registry', {recursive: true, force: true}); fs.mkdirSync('starters/tailwind/registry'); -for (let file of glob.sync('starters/tailwind/src/*.{ts,tsx}')) { +for (let file of globSync('starters/tailwind/src/*.{ts,tsx}')) { let name = path.basename(file, path.extname(file)); let {dependencies, registryDependencies, content} = analyzeDeps(file, 'tailwind'); let type = name === 'utils' ? 'registry:lib' : 'registry:ui'; @@ -40,7 +40,7 @@ for (let file of glob.sync('starters/tailwind/src/*.{ts,tsx}')) { fs.rmSync('starters/docs/registry', {recursive: true, force: true}); fs.mkdirSync('starters/docs/registry'); -for (let file of glob.sync('starters/docs/src/*.{ts,tsx}')) { +for (let file of globSync('starters/docs/src/*.{ts,tsx}')) { let name = path.basename(file, path.extname(file)); let {dependencies, registryDependencies, content} = analyzeDeps(file, 'vanilla'); let type = name === 'utils' ? 'registry:lib' : 'registry:ui'; diff --git a/scripts/cleanIcons.js b/scripts/cleanIcons.js index 43d27fe0943..939f92eb030 100644 --- a/scripts/cleanIcons.js +++ b/scripts/cleanIcons.js @@ -12,7 +12,7 @@ import path from 'path'; import recursive from 'recursive-readdir'; -import rimraf from 'rimraf'; +import {rimraf} from 'rimraf'; let topPaths = ['ui', 'workflow', 'color', 'express', 'illustrations'].map(name => path.resolve(path.join(__dirname, '..', 'packages', '@spectrum-icons', name))); topPaths.forEach((rootPath) => { diff --git a/scripts/compareAPIs.js b/scripts/compareAPIs.js index 08974ebaca6..84dd5c8f0ae 100644 --- a/scripts/compareAPIs.js +++ b/scripts/compareAPIs.js @@ -4,19 +4,36 @@ let fg = require('fast-glob'); let path = require('path'); let util = require('util'); let chalk = require('chalk'); -let yargs = require('yargs'); let Diff = require('diff'); +const {parseArgs} = require('util'); -let argv = yargs - .option('verbose', {alias: 'v', type: 'boolean'}) - .option('organizedBy', {choices: ['type', 'change']}) - .option('rawNames', {type: 'boolean'}) - .option('package', {type: 'string'}) - .option('interface', {type: 'string'}) - .option('isCI', {type: 'boolean'}) - .option('base-api-dir', {type: 'string'}) - .option('branch-api-dir', {type: 'string'}) - .argv; + +const args = parseArgs({ + options: { + verbose: { + short: 'v', + type: 'boolean' + }, + rawNames: { + type: 'boolean' + }, + package: { + type: 'string' + }, + interface: { + type: 'string' + }, + isCI: { + type: 'boolean' + }, + 'branch-api-dir': { + type: 'string' + }, + 'base-api-dir': { + type: 'string' + } + } +}); let allChanged = new Set(); @@ -41,8 +58,8 @@ compare().catch(err => { * as well as the local console. */ async function compare() { - let branchDir = argv['branch-api-dir'] || path.join(__dirname, '..', 'dist', 'branch-api'); - let publishedDir = argv['base-api-dir'] || path.join(__dirname, '..', 'dist', 'base-api'); + let branchDir = args.values['branch-api-dir'] || path.join(__dirname, '..', 'dist', 'branch-api'); + let publishedDir = args.values['base-api-dir'] || path.join(__dirname, '..', 'dist', 'base-api'); if (!(fs.existsSync(branchDir) && fs.existsSync(publishedDir))) { console.log(chalk.redBright(`you must have both a branchDir ${branchDir} and baseDir ${publishedDir}`)); return; @@ -125,7 +142,7 @@ ${changedByDeps.length > 0 ? `changed by: - ${changedByDeps.join('\n - ')}\n\n` : ''}${diff.split('\n').filter(line => line !== ' ').join('\n')}${ // eslint-disable-next-line no-nested-ternary affected.length > 0 ? -argv.isCI ? ` +args.values.isCI ? `
    it changed
      @@ -235,14 +252,14 @@ function getDiff(pair) { name = pair.pubApi.replace(/.*published-api/, ''); } - if (argv.package && !argv.package.includes(name)) { + if (args.values.package && !args.values.package.includes(name)) { return {diff: {}, name}; } - if (argv.verbose) { + if (args.values.verbose) { console.log(`diffing ${name}`); } - let publishedApi = pair.pubApi === null ? {exports:{}} : getAPI(pair.pubApi); - let branchApi = pair.branchApi === null ? {exports:{}} : getAPI(pair.branchApi); + let publishedApi = pair.pubApi === null ? {exports: {}} : getAPI(pair.pubApi); + let branchApi = pair.branchApi === null ? {exports: {}} : getAPI(pair.branchApi); let publishedInterfaces = rebuildInterfaces(publishedApi); let branchInterfaces = rebuildInterfaces(branchApi); let allExportNames = [...new Set([...Object.keys(publishedApi.exports), ...Object.keys(branchApi.exports)])]; @@ -254,12 +271,12 @@ function getDiff(pair) { let diffs = []; allInterfaces.forEach((iname, index) => { - if (argv.interface && argv.interface !== iname) { + if (args.values.interface && args.values.interface !== iname) { return; } let simplifiedName = allExportNames[index]; let codeDiff = Diff.structuredPatch(iname, iname, formattedPublishedInterfaces[index], formattedBranchInterfaces[index], {newlineIsToken: true}); - if (argv.verbose) { + if (args.values.verbose) { console.log(util.inspect(codeDiff, {depth: null})); } let result = []; @@ -269,7 +286,7 @@ function getDiff(pair) { if (hunk.oldStart > prevEnd) { result = [...result, ...lines.slice(prevEnd - 1, hunk.oldStart - 1).map((item, index) => ` ${item}`)]; } - if (argv.isCI) { + if (args.values.isCI) { result = [...result, ...hunk.lines]; } else { result = [...result, ...hunk.lines.map(line => { @@ -287,7 +304,7 @@ function getDiff(pair) { if (codeDiff.hunks.length > 0) { joinedResult = [...result, ...lines.slice(prevEnd).map((item, index) => ` ${item}`)].join('\n'); } - if (argv.isCI && result.length > 0) { + if (args.values.isCI && result.length > 0) { joinedResult = `\`\`\`diff ${joinedResult} \`\`\``; diff --git a/scripts/createFeed.mjs b/scripts/createFeed.mjs index 9e151946d35..8b6a70da102 100644 --- a/scripts/createFeed.mjs +++ b/scripts/createFeed.mjs @@ -3,14 +3,14 @@ * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ -import glob from 'glob'; +import {globSync} from 'glob'; import fs from 'fs'; import xml from "xml"; import process from 'process'; @@ -73,7 +73,7 @@ let options = { })(); function getFeed(type) { - let files = glob.sync(`packages/dev/docs/pages/${type}/*.mdx`, {ignore: [`packages/dev/docs/pages/${type}/index.mdx`]}); + let files = globSync(`packages/dev/docs/pages/${type}/*.mdx`, {ignore: [`packages/dev/docs/pages/${type}/index.mdx`]}); let posts = []; for (let file of files) { diff --git a/scripts/extractExamples.mjs b/scripts/extractExamples.mjs index 137b3d6f174..3ed924803a0 100644 --- a/scripts/extractExamples.mjs +++ b/scripts/extractExamples.mjs @@ -13,7 +13,7 @@ import {unified} from 'unified'; import remarkParse from 'remark-parse'; import remarkMdx from 'remark-mdx'; -import glob from 'glob'; +import {globSync} from 'glob'; import fs from 'fs'; import path from 'path'; import {visit} from 'unist-util-visit'; @@ -25,7 +25,7 @@ try { } catch (err) {} fs.mkdirSync(distDir, {recursive: true}); -for (let file of glob.sync('packages/{@react-{spectrum,aria,stately}/*,react-aria-components}/docs/**/*.mdx')) { +for (let file of globSync('packages/{@react-{spectrum,aria,stately}/*,react-aria-components}/docs/**/*.mdx')) { console.log(`Extracting ${file}...`); let contents = fs.readFileSync(file); let ast = unified().use(remarkParse).use(remarkMdx).parse(contents); diff --git a/scripts/extractStarter.mjs b/scripts/extractStarter.mjs index 1e201b226f0..039c1fd14b6 100644 --- a/scripts/extractStarter.mjs +++ b/scripts/extractStarter.mjs @@ -14,7 +14,7 @@ import {unified} from 'unified'; import remarkParse from 'remark-parse'; import remarkMdx from 'remark-mdx'; -import glob from 'glob'; +import {globSync} from 'glob'; import fs from 'fs'; import {basename, resolve, dirname} from 'path'; import {visit} from 'unist-util-visit'; @@ -28,7 +28,7 @@ import dprint from 'dprint-node'; fs.mkdirSync(`starters/docs/src`, {recursive: true}); fs.mkdirSync(`starters/docs/stories`, {recursive: true}); -for (let file of glob.sync('packages/react-aria-components/docs/*.mdx')) { +for (let file of globSync('packages/react-aria-components/docs/*.mdx')) { if (!/^[A-Z]/.test(basename(file)) || /^Virtualizer|^Toast/.test(basename(file))) { continue; } @@ -112,7 +112,7 @@ function MyTreeItemContent`); let theme = fs.readFileSync('packages/@react-aria/example-theme/src/index.css', 'utf8'); fs.writeFileSync('starters/docs/src/theme.css', theme); -for (let file of glob.sync('starters/docs/src/*.css')) { +for (let file of globSync('starters/docs/src/*.css')) { removeCircularDeps(file); } diff --git a/scripts/plopfile.js b/scripts/plopfile.js deleted file mode 100644 index 4bc9ebae5f4..00000000000 --- a/scripts/plopfile.js +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2020 Adobe. All rights reserved. - * This file is licensed to you under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. You may obtain a copy - * of the License at http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under - * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS - * OF ANY KIND, either express or implied. See the License for the specific language - * governing permissions and limitations under the License. - */ - - -let rspProject = 'React Spectrum v3'; -let otherProject = 'other'; - -module.exports = function (plop) { - - const currentYear = new Date(Date.now()).getUTCFullYear(); - plop.setHelper('currentYear', () => currentYear); - - plop.setHelper('replace', function (match, replacement, options) { - let string = options.fn(this); - return string.replace(match, replacement); - }); - - plop.setHelper('includes', function (array, string) { - return array.includes(string); - }); - - // controller generator - plop.setGenerator('component', { - description: 'add new component', - prompts: [{ - type: 'list', - name: 'projectType', - message: 'what type of project are you setting up', - choices: [rspProject, otherProject] - }, { - type: 'checkbox', - name: 'scopes', - message: 'scope name(s)', - choices: ['@react-aria', '@react-spectrum', '@react-stately', '@react-types'], - validate: (answer) => answer.length > 0, - when: ({projectType}) => projectType === rspProject - }, { - type: 'input', - name: 'scopeName', - message: 'scope name for new package', - validate: (answer) => answer.length > 0, - when: ({projectType}) => projectType === otherProject - }, { - type: 'input', - name: 'packageName', - message: 'package name, all lowercase (e.g. textfield)', - validate: (answer) => answer.length > 0 - }, { - type: 'input', - name: 'componentName', - message: 'component name, please use appropriate uppercase (e.g. TextField)', - validate: (answer) => answer.length > 0, - when: ({projectType}) => projectType === rspProject - }, { - type: 'input', - name: 'componentCSS', - message: 'component css module name, blank if N/A. If unsure, check @adobe/spectrum-css-temp/components for a module containing the desired css (e.g. textfield)', - validate: (answer) => answer.length >= 0, - default: null, - when: ({projectType, scopes}) => projectType === rspProject && scopes.includes('@react-spectrum') - }], - actions: function (data) { - let {projectType, scopes, scopeName, packageName, componentName, componentCSS} = data; - let actions = []; - - if (projectType === rspProject) { - if (scopes.includes('@react-aria')) { - actions.push({ - type: 'addMany', - templateFiles: '../plop-templates/@react-aria/**', - base: '../plop-templates/@react-aria/', - destination: `../packages/@react-aria/${packageName}`, - data: {componentName, scopes} - }); - } - - if (scopes.includes('@react-spectrum')) { - actions.push({ - type: 'addMany', - templateFiles: '../plop-templates/@react-spectrum/**', - base: '../plop-templates/@react-spectrum/', - destination: `../packages/@react-spectrum/${packageName}`, - data: {packageName, componentName, componentCSS, scopes} - }); - } - - if (scopes.includes('@react-stately')) { - actions.push({ - type: 'addMany', - templateFiles: '../plop-templates/@react-stately/**', - base: '../plop-templates/@react-stately/', - destination: `../packages/@react-stately/${packageName}`, - data: {packageName, componentName, scopes} - }); - } - - if (scopes.includes('@react-types')) { - actions.push({ - type: 'addMany', - templateFiles: '../plop-templates/@react-types/**', - base: '../plop-templates/@react-types/', - destination: `../packages/@react-types/${packageName}`, - data: {packageName, componentName, scopes} - }); - } - } else { - actions.push({ - type: 'addMany', - templateFiles: '../plop-templates/@scope/**', - base: '../plop-templates/@scope/', - destination: `../packages/@${scopeName}/${packageName}`, - data: {scopeName, packageName, componentName} - }); - } - - return actions; - } - }); -}; diff --git a/scripts/testDocs.js b/scripts/testDocs.js index 7a756b320f1..02f59d94af7 100644 --- a/scripts/testDocs.js +++ b/scripts/testDocs.js @@ -2,7 +2,7 @@ const {chromium, firefox, webkit} = require('playwright'); const {exec} = require('child_process'); const http = require('http'); const path = require('path'); -const glob = require('glob-promise'); +const glob = require('glob'); function parseArgs() { const args = process.argv.slice(2); diff --git a/yarn.lock b/yarn.lock index 04e951a25b3..55be1db7e26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7490,7 +7490,7 @@ __metadata: "@react-spectrum/parcel-namer-s2": "npm:^0.3.1" "@react-spectrum/parcel-transformer-s2-icon": "npm:^0.3.1" "@swc/helpers": "npm:^0.5.0" - glob: "npm:^8.0.3" + glob: "npm:^11.0.3" peerDependencies: "@react-spectrum/s2": ">=0.8.0" react: ^18.0.0 || ^19.0.0-rc.1 @@ -8992,15 +8992,6 @@ __metadata: languageName: node linkType: hard -"@sinonjs/commons@npm:^1, @sinonjs/commons@npm:^1.3.0, @sinonjs/commons@npm:^1.4.0": - version: 1.7.2 - resolution: "@sinonjs/commons@npm:1.7.2" - dependencies: - type-detect: "npm:4.0.8" - checksum: 10c0/40cd3e6fbf8c98a1f48ecd0880ff36bfb3740aed7bdaa6db4cd774ec28b7fe69c0edb97e9bc90f6eed05bb07c71b3f398dc5fea516b955784c6a7e19841d8555 - languageName: node - linkType: hard - "@sinonjs/commons@npm:^2.0.0": version: 2.0.0 resolution: "@sinonjs/commons@npm:2.0.0" @@ -9019,34 +9010,6 @@ __metadata: languageName: node linkType: hard -"@sinonjs/formatio@npm:^3.2.1": - version: 3.2.2 - resolution: "@sinonjs/formatio@npm:3.2.2" - dependencies: - "@sinonjs/commons": "npm:^1" - "@sinonjs/samsam": "npm:^3.1.0" - checksum: 10c0/13412a8cbcc5ea861745b27b18eb51ee4aacca59108c17690944d1f2d8cc8fa2e80420780f0e6c3b8bfbc8944b0af8715745db108df20d0aab13255f5c3b9883 - languageName: node - linkType: hard - -"@sinonjs/samsam@npm:^3.1.0, @sinonjs/samsam@npm:^3.3.3": - version: 3.3.3 - resolution: "@sinonjs/samsam@npm:3.3.3" - dependencies: - "@sinonjs/commons": "npm:^1.3.0" - array-from: "npm:^2.1.1" - lodash: "npm:^4.17.15" - checksum: 10c0/01b0f1eb28fa54dca2c544153f0ac2e8790a89e5031b8437d27524944f8cc1013d1cb77390533eaefb528e6349936ff96adc30886147ccbdd7daa24d907e83e0 - languageName: node - linkType: hard - -"@sinonjs/text-encoding@npm:^0.7.1": - version: 0.7.1 - resolution: "@sinonjs/text-encoding@npm:0.7.1" - checksum: 10c0/a55d2aa35f30efcafc8ca57841ee9a6c963e969be3ace0a9576f772790fedd36c22be5687df0ad55e1c5ce1961e05c496f2981f5ad3491802bd9212d91ca03e2 - languageName: node - linkType: hard - "@spectrum-css/component-builder@workspace:^, @spectrum-css/component-builder@workspace:packages/@adobe/spectrum-css-builder-temp": version: 0.0.0-use.local resolution: "@spectrum-css/component-builder@workspace:packages/@adobe/spectrum-css-builder-temp" @@ -10462,16 +10425,6 @@ __metadata: languageName: node linkType: hard -"@types/glob@npm:^8.0.0": - version: 8.1.0 - resolution: "@types/glob@npm:8.1.0" - dependencies: - "@types/minimatch": "npm:^5.1.2" - "@types/node": "npm:*" - checksum: 10c0/ded07aa0d7a1caf3c47b85e262be82989ccd7933b4a14712b79c82fd45a239249811d9fc3a135b3e9457afa163e74a297033d7245b0dc63cd3d032f3906b053f - languageName: node - linkType: hard - "@types/graceful-fs@npm:^4.1.3": version: 4.1.6 resolution: "@types/graceful-fs@npm:4.1.6" @@ -10610,7 +10563,7 @@ __metadata: languageName: node linkType: hard -"@types/minimatch@npm:*, @types/minimatch@npm:^5.1.2": +"@types/minimatch@npm:*": version: 5.1.2 resolution: "@types/minimatch@npm:5.1.2" checksum: 10c0/83cf1c11748891b714e129de0585af4c55dd4c2cafb1f1d5233d79246e5e1e19d1b5ad9e8db449667b3ffa2b6c80125c429dbee1054e9efb45758dbc4e118562 @@ -11687,15 +11640,6 @@ __metadata: languageName: node linkType: hard -"append-transform@npm:^0.4.0": - version: 0.4.0 - resolution: "append-transform@npm:0.4.0" - dependencies: - default-require-extensions: "npm:^1.0.0" - checksum: 10c0/7617fb927388a1f1c262fad7384f4ef1c5ece46dfa95ea0459e451af9b48a774f20c6a577de45acfbf1596559d3cf350da4a05a7bb84cecacfa8addf98059970 - languageName: node - linkType: hard - "append-transform@npm:^2.0.0": version: 2.0.0 resolution: "append-transform@npm:2.0.0" @@ -11793,15 +11737,6 @@ __metadata: languageName: node linkType: hard -"arr-diff@npm:^2.0.0": - version: 2.0.0 - resolution: "arr-diff@npm:2.0.0" - dependencies: - arr-flatten: "npm:^1.0.1" - checksum: 10c0/d79592bf2b621b9c038e7a697357174409fceb63658529ea3b2d2d53a2918160e6bebb2e6ae756eb53330f07c11b052752377905d743a8928f9d3858598cafa2 - languageName: node - linkType: hard - "arr-diff@npm:^4.0.0": version: 4.0.0 resolution: "arr-diff@npm:4.0.0" @@ -11809,7 +11744,7 @@ __metadata: languageName: node linkType: hard -"arr-flatten@npm:^1.0.1, arr-flatten@npm:^1.1.0": +"arr-flatten@npm:^1.1.0": version: 1.1.0 resolution: "arr-flatten@npm:1.1.0" checksum: 10c0/bef53be02ed3bc58f202b3861a5b1eb6e1ae4fecf39c3ad4d15b1e0433f941077d16e019a33312d820844b0661777322acbb7d0c447b04d9bdf7d6f9c532548a @@ -11868,13 +11803,6 @@ __metadata: languageName: node linkType: hard -"array-from@npm:^2.1.1": - version: 2.1.1 - resolution: "array-from@npm:2.1.1" - checksum: 10c0/565fe078a3fb8be3d1b17d1b1a6b514d14d7f6c7349fb1de0b0f4cb7e0e4ffb6d35e03ff234ac978cffb67fc8f1e93e477271b70fe2f9e0ef76d10b0402d4d26 - languageName: node - linkType: hard - "array-ify@npm:^1.0.0": version: 1.0.0 resolution: "array-ify@npm:1.0.0" @@ -11919,13 +11847,6 @@ __metadata: languageName: node linkType: hard -"array-unique@npm:^0.2.1": - version: 0.2.1 - resolution: "array-unique@npm:0.2.1" - checksum: 10c0/e72f4c45a432b44f9785b24bb5742648ed68f074a74f7bcf65b3f47630cd6aea05e532ab921f1a5f57266512a02183440b42f683dab95636bb81c8d6e2758641 - languageName: node - linkType: hard - "array-unique@npm:^0.3.2": version: 0.3.2 resolution: "array-unique@npm:0.3.2" @@ -12194,13 +12115,6 @@ __metadata: languageName: node linkType: hard -"axe-core@npm:^3.3.2": - version: 3.5.5 - resolution: "axe-core@npm:3.5.5" - checksum: 10c0/7f7a3110fd1f56877956f3abb50b364121fd44846d5453e88578a821c3604ccc7d8a5a11b0ec3fa16c5f183e0f06d85d28ba6f42d19d2888cd46fe2b8e0d5dc8 - languageName: node - linkType: hard - "axe-core@npm:^4.10.0, axe-core@npm:^4.2.0, axe-core@npm:^4.5.1, axe-core@npm:^4.6.3": version: 4.10.0 resolution: "axe-core@npm:4.10.0" @@ -12278,22 +12192,6 @@ __metadata: languageName: node linkType: hard -"babel-generator@npm:^6.18.0": - version: 6.26.1 - resolution: "babel-generator@npm:6.26.1" - dependencies: - babel-messages: "npm:^6.23.0" - babel-runtime: "npm:^6.26.0" - babel-types: "npm:^6.26.0" - detect-indent: "npm:^4.0.0" - jsesc: "npm:^1.3.0" - lodash: "npm:^4.17.4" - source-map: "npm:^0.5.7" - trim-right: "npm:^1.0.1" - checksum: 10c0/d5f9d20c6f7d8644dc41ee57d48c98a78d24d5b74dc305cc518d6e0872d4fa73c5fd8d47ec00e3515858eaf3c3e512a703cdbc184ff0061af5979bc206618555 - languageName: node - linkType: hard - "babel-jest@npm:^29.7.0": version: 29.7.0 resolution: "babel-jest@npm:29.7.0" @@ -12320,7 +12218,7 @@ __metadata: languageName: node linkType: hard -"babel-plugin-istanbul@npm:^6.0.0, babel-plugin-istanbul@npm:^6.1.1": +"babel-plugin-istanbul@npm:^6.1.1": version: 6.1.1 resolution: "babel-plugin-istanbul@npm:6.1.1" dependencies: @@ -12454,7 +12352,7 @@ __metadata: languageName: node linkType: hard -"babel-template@npm:^6.16.0, babel-template@npm:^6.26.0": +"babel-template@npm:^6.26.0": version: 6.26.0 resolution: "babel-template@npm:6.26.0" dependencies: @@ -12467,7 +12365,7 @@ __metadata: languageName: node linkType: hard -"babel-traverse@npm:^6.18.0, babel-traverse@npm:^6.26.0": +"babel-traverse@npm:^6.26.0": version: 6.26.0 resolution: "babel-traverse@npm:6.26.0" dependencies: @@ -12484,7 +12382,7 @@ __metadata: languageName: node linkType: hard -"babel-types@npm:^6.18.0, babel-types@npm:^6.26.0": +"babel-types@npm:^6.26.0": version: 6.26.0 resolution: "babel-types@npm:6.26.0" dependencies: @@ -12496,15 +12394,6 @@ __metadata: languageName: node linkType: hard -"babelify@npm:^10.0.0": - version: 10.0.0 - resolution: "babelify@npm:10.0.0" - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 10c0/9fe68a20f93171e937004ded475e2e98db7fca19064e7f63ebd5bf22de5af236d9b52ed2734f09dbb03f875a220f41d552a4b9d984f56bb91c36b2a5c62d0bee - languageName: node - linkType: hard - "babylon@npm:^6.18.0": version: 6.18.0 resolution: "babylon@npm:6.18.0" @@ -12742,17 +12631,6 @@ __metadata: languageName: node linkType: hard -"braces@npm:^1.8.2": - version: 1.8.5 - resolution: "braces@npm:1.8.5" - dependencies: - expand-range: "npm:^1.8.1" - preserve: "npm:^0.2.0" - repeat-element: "npm:^1.1.2" - checksum: 10c0/41092fe0f5dbb522f013963fa4432fbef3323a92ee8c1a6b9b6681fc05525b8541968b525632aa9df217daa6307fe526e9ce994054d4308abd0627a7d26e4745 - languageName: node - linkType: hard - "braces@npm:^2.3.1": version: 2.3.2 resolution: "braces@npm:2.3.2" @@ -12956,17 +12834,6 @@ __metadata: languageName: node linkType: hard -"caching-transform@npm:^1.0.0": - version: 1.0.1 - resolution: "caching-transform@npm:1.0.1" - dependencies: - md5-hex: "npm:^1.2.0" - mkdirp: "npm:^0.5.1" - write-file-atomic: "npm:^1.1.4" - checksum: 10c0/76e5d38a762e11a1ef387bf12b572407526c2808a2a01a6b30244a5f83324478806340338cec751b07535ee126c80cf7476b4d2d0d673f27b7161fc3c8e0bdaf - languageName: node - linkType: hard - "caching-transform@npm:^4.0.0": version: 4.0.0 resolution: "caching-transform@npm:4.0.0" @@ -13051,16 +12918,6 @@ __metadata: languageName: node linkType: hard -"camel-case@npm:^3.0.0": - version: 3.0.0 - resolution: "camel-case@npm:3.0.0" - dependencies: - no-case: "npm:^2.2.0" - upper-case: "npm:^1.1.1" - checksum: 10c0/491c6bbf986b9d8355e12cca6beb719b44c2fe96e8526c09958a1b4e0dbb081a82ea59c13b5a6ccf9158ce5979cbe56a8a10d7322bfeed2d84725c6b89d8f934 - languageName: node - linkType: hard - "camelcase-keys@npm:^2.0.0": version: 2.1.0 resolution: "camelcase-keys@npm:2.1.0" @@ -13089,13 +12946,6 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^3.0.0": - version: 3.0.0 - resolution: "camelcase@npm:3.0.0" - checksum: 10c0/98871bb40b936430beca49490d325759f8d8ade32bea538ee63c20b17b326abb6bbd3e1d84daf63d9332b2fc7637f28696bf76da59180b1247051b955cb1da12 - languageName: node - linkType: hard - "camelcase@npm:^4.0.0, camelcase@npm:^4.1.0": version: 4.1.0 resolution: "camelcase@npm:4.1.0" @@ -13222,32 +13072,6 @@ __metadata: languageName: node linkType: hard -"change-case@npm:^3.1.0": - version: 3.1.0 - resolution: "change-case@npm:3.1.0" - dependencies: - camel-case: "npm:^3.0.0" - constant-case: "npm:^2.0.0" - dot-case: "npm:^2.1.0" - header-case: "npm:^1.0.0" - is-lower-case: "npm:^1.1.0" - is-upper-case: "npm:^1.1.0" - lower-case: "npm:^1.1.1" - lower-case-first: "npm:^1.0.0" - no-case: "npm:^2.3.2" - param-case: "npm:^2.1.0" - pascal-case: "npm:^2.0.0" - path-case: "npm:^2.1.0" - sentence-case: "npm:^2.1.0" - snake-case: "npm:^2.1.0" - swap-case: "npm:^1.1.0" - title-case: "npm:^2.1.0" - upper-case: "npm:^1.1.1" - upper-case-first: "npm:^1.1.0" - checksum: 10c0/cb44722e596e0c69e8ba28dce664b36e537ec76c8296c0baaef11d2b3db1e4a797ed50a99ff9c98a008c69dbe0270cfb96e384417a264d33de4baa709b79b9bb - languageName: node - linkType: hard - "char-regex@npm:^1.0.2": version: 1.0.2 resolution: "char-regex@npm:1.0.2" @@ -13440,13 +13264,6 @@ __metadata: languageName: node linkType: hard -"cli-spinners@npm:^2.0.0": - version: 2.6.0 - resolution: "cli-spinners@npm:2.6.0" - checksum: 10c0/3cdb26c885d25fa38cd435f9e30ec7961893d6ff3af0e113dfebe8eb7b2d8d80532bd4c228449e2e51594dab53f3a93ce0309887543986597dfb7d8eb97ce5b2 - languageName: node - linkType: hard - "cli-width@npm:^2.0.0": version: 2.2.0 resolution: "cli-width@npm:2.2.0" @@ -13472,17 +13289,6 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^3.2.0": - version: 3.2.0 - resolution: "cliui@npm:3.2.0" - dependencies: - string-width: "npm:^1.0.1" - strip-ansi: "npm:^3.0.1" - wrap-ansi: "npm:^2.0.0" - checksum: 10c0/07b121fac7fd33ff8dbf3523f0d3dca0329d4e457e57dee54502aa5f27a33cbd9e66aa3e248f0260d8a1431b65b2bad8f510cd97fb8ab6a8e0506310a92e18d5 - languageName: node - linkType: hard - "cliui@npm:^4.0.0": version: 4.1.0 resolution: "cliui@npm:4.1.0" @@ -13958,16 +13764,6 @@ __metadata: languageName: node linkType: hard -"constant-case@npm:^2.0.0": - version: 2.0.0 - resolution: "constant-case@npm:2.0.0" - dependencies: - snake-case: "npm:^2.1.0" - upper-case: "npm:^1.1.1" - checksum: 10c0/795142a64dd61da267e937502a1ce060abdbc42d4f68367d08f1de34fc06a1db240ac09658275122f8e171448b19a4645b023ee8229803def1a11559e80b6132 - languageName: node - linkType: hard - "content-disposition@npm:0.5.4": version: 0.5.4 resolution: "content-disposition@npm:0.5.4" @@ -14096,7 +13892,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.3.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.7.0 resolution: "convert-source-map@npm:1.7.0" dependencies: @@ -14180,7 +13976,7 @@ __metadata: languageName: node linkType: hard -"core-js@npm:3.37.1, core-js@npm:^3.0.0, core-js@npm:^3.1.4, core-js@npm:^3.30.2": +"core-js@npm:3.37.1, core-js@npm:^3.0.0, core-js@npm:^3.30.2": version: 3.37.1 resolution: "core-js@npm:3.37.1" checksum: 10c0/440eb51a7a39128a320225fe349f870a3641b96c9ecd26470227db730ef8c161ea298eaea621db66ec0ff622a85299efb4e23afebf889c0a1748616102307675 @@ -14298,16 +14094,6 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^4": - version: 4.0.2 - resolution: "cross-spawn@npm:4.0.2" - dependencies: - lru-cache: "npm:^4.0.1" - which: "npm:^1.2.9" - checksum: 10c0/4de7254653b658776be8e1050473349723d2ac8bc10b912fbeb159ad32d06c7fa2135b04b896b7cbe0141d274dae9d7543cc6e5c9c919e2062e44a66c2184665 - languageName: node - linkType: hard - "cross-spawn@npm:^5.0.1": version: 5.1.0 resolution: "cross-spawn@npm:5.1.0" @@ -14343,7 +14129,7 @@ __metadata: languageName: node linkType: hard -"cross-spawn@npm:^7.0.5": +"cross-spawn@npm:^7.0.5, cross-spawn@npm:^7.0.6": version: 7.0.6 resolution: "cross-spawn@npm:7.0.6" dependencies: @@ -14650,13 +14436,6 @@ __metadata: languageName: node linkType: hard -"debug-log@npm:^1.0.1": - version: 1.0.1 - resolution: "debug-log@npm:1.0.1" - checksum: 10c0/f112296f26bc09c56f69fab863dee0c9933184c9e19b6842265d46ffe79058c2836c8f5973ea2af74ebda6bd68372d4002bcb8b6e48cb90c557b17e6efc0edba - languageName: node - linkType: hard - "debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.8": version: 2.6.9 resolution: "debug@npm:2.6.9" @@ -14861,15 +14640,6 @@ __metadata: languageName: node linkType: hard -"default-require-extensions@npm:^1.0.0": - version: 1.0.0 - resolution: "default-require-extensions@npm:1.0.0" - dependencies: - strip-bom: "npm:^2.0.0" - checksum: 10c0/de8263d6d199e4e9a547f60689ed1f9b89e78ed8202725a85070d93bcf1ff58d47c5ce25fd23d62ca96b613ee6ae5cae043de70a6e35bbb3f96510f483a19586 - languageName: node - linkType: hard - "default-require-extensions@npm:^3.0.0": version: 3.0.1 resolution: "default-require-extensions@npm:3.0.1" @@ -14945,21 +14715,6 @@ __metadata: languageName: node linkType: hard -"del@npm:^4.1.1": - version: 4.1.1 - resolution: "del@npm:4.1.1" - dependencies: - "@types/glob": "npm:^7.1.1" - globby: "npm:^6.1.0" - is-path-cwd: "npm:^2.0.0" - is-path-in-cwd: "npm:^2.0.0" - p-map: "npm:^2.0.0" - pify: "npm:^4.0.1" - rimraf: "npm:^2.6.3" - checksum: 10c0/ed3233e86e39c0a6a7ea85d8ad0ebc00603078ad408b9c34b4742f707c20028c5731dce2e8aa9a6eb5ae6bee30ccc5405cf7b5d457306520e37c92d0410b6061 - languageName: node - linkType: hard - "delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" @@ -15023,15 +14778,6 @@ __metadata: languageName: node linkType: hard -"detect-indent@npm:^4.0.0": - version: 4.0.0 - resolution: "detect-indent@npm:4.0.0" - dependencies: - repeating: "npm:^2.0.0" - checksum: 10c0/066a0d13eadebb1e7d2ba395fdf9f3956f31f8383a6db263320108c283e2230250a102f4871f54926cc8a77c6323ac7103f30550a4ac3d6518aa1b934c041295 - languageName: node - linkType: hard - "detect-indent@npm:^5.0.0": version: 5.0.0 resolution: "detect-indent@npm:5.0.0" @@ -15095,13 +14841,6 @@ __metadata: languageName: node linkType: hard -"diff@npm:^3.5.0": - version: 3.5.0 - resolution: "diff@npm:3.5.0" - checksum: 10c0/fc62d5ba9f6d1b8b5833380969037007913d4886997838c247c54ec6934f09ae5a07e17ae28b1f016018149d81df8ad89306f52eac1afa899e0bed49015a64d1 - languageName: node - linkType: hard - "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -15266,15 +15005,6 @@ __metadata: languageName: node linkType: hard -"dot-case@npm:^2.1.0": - version: 2.1.1 - resolution: "dot-case@npm:2.1.1" - dependencies: - no-case: "npm:^2.2.0" - checksum: 10c0/6859ba3bfe3106388c05eba9bec709856bbc9917d2c081aed5d268a2afc73b03bc062ea19925e29bdd482f6a8c032ae7a7d73f75c12d4159978e809b9418f7ef - languageName: node - linkType: hard - "dot-case@npm:^3.0.4": version: 3.0.4 resolution: "dot-case@npm:3.0.4" @@ -16410,15 +16140,6 @@ __metadata: languageName: node linkType: hard -"expand-brackets@npm:^0.1.4": - version: 0.1.5 - resolution: "expand-brackets@npm:0.1.5" - dependencies: - is-posix-bracket: "npm:^0.1.0" - checksum: 10c0/49b7fc1250f5f60ffe640be03777471ce63420eaa9850ce897b32bcf874e7be16b00917c7e2266a310e674ddb4ffe499ca964115bbc3f8c881288a280740aa6f - languageName: node - linkType: hard - "expand-brackets@npm:^2.1.4": version: 2.1.4 resolution: "expand-brackets@npm:2.1.4" @@ -16434,15 +16155,6 @@ __metadata: languageName: node linkType: hard -"expand-range@npm:^1.8.1": - version: 1.8.2 - resolution: "expand-range@npm:1.8.2" - dependencies: - fill-range: "npm:^2.1.0" - checksum: 10c0/ad7911af12f026953c57e3d7b7fe9f750ce2a1d45f7f7d717de890ed6429baf5e8a7224540cd648eeb603d409be0b7a7df09f951693cc83e98dcdc1e0043c23e - languageName: node - linkType: hard - "expand-tilde@npm:^1.2.2": version: 1.2.2 resolution: "expand-tilde@npm:1.2.2" @@ -16615,15 +16327,6 @@ __metadata: languageName: node linkType: hard -"extglob@npm:^0.3.1": - version: 0.3.2 - resolution: "extglob@npm:0.3.2" - dependencies: - is-extglob: "npm:^1.0.0" - checksum: 10c0/9fcca7651e5c50fc970ec402476fb7a150e27cc2d8b415de8a6719fc111b2e03a9fabbff4fbed51221853f720ad734e842dfaef087ef57bdeb2456dcf0369029 - languageName: node - linkType: hard - "extglob@npm:^2.0.4": version: 2.0.4 resolution: "extglob@npm:2.0.4" @@ -16835,26 +16538,6 @@ __metadata: languageName: node linkType: hard -"filename-regex@npm:^2.0.0": - version: 2.0.1 - resolution: "filename-regex@npm:2.0.1" - checksum: 10c0/c669fe758641e4830641a9df1d387f14080d96ddde0ef9525439c6d16f4492ea167109362ea69eedd0eef39ae2739586b71daf5f4dab0847d1d07a01a1190ab3 - languageName: node - linkType: hard - -"fill-range@npm:^2.1.0": - version: 2.2.4 - resolution: "fill-range@npm:2.2.4" - dependencies: - is-number: "npm:^2.1.0" - isobject: "npm:^2.0.0" - randomatic: "npm:^3.0.0" - repeat-element: "npm:^1.1.2" - repeat-string: "npm:^1.5.2" - checksum: 10c0/1cfd1329311d778a844d5806bd06a5d297047e5ff352c45b4f9fadcda68eb272c8ef2196f1c44224f3fe66c672234453ce89aca94fb00122874bdb3978de5f71 - languageName: node - linkType: hard - "fill-range@npm:^4.0.0": version: 4.0.0 resolution: "fill-range@npm:4.0.0" @@ -16905,17 +16588,6 @@ __metadata: languageName: node linkType: hard -"find-cache-dir@npm:^0.1.1": - version: 0.1.1 - resolution: "find-cache-dir@npm:0.1.1" - dependencies: - commondir: "npm:^1.0.1" - mkdirp: "npm:^0.5.1" - pkg-dir: "npm:^1.0.0" - checksum: 10c0/797d978c94352851f684d0565e3a60eca4aa380be91643c0a9066eec48c75ee0b382f6b04309fa6d183dea0bff1471ad7da116fcc7c8f95d4af8f5aca444ec41 - languageName: node - linkType: hard - "find-cache-dir@npm:^2.0.0": version: 2.1.0 resolution: "find-cache-dir@npm:2.1.0" @@ -16977,7 +16649,7 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^1.0.0, find-up@npm:^1.1.2": +"find-up@npm:^1.0.0": version: 1.1.2 resolution: "find-up@npm:1.1.2" dependencies: @@ -17173,15 +16845,6 @@ __metadata: languageName: node linkType: hard -"for-own@npm:^0.1.4": - version: 0.1.5 - resolution: "for-own@npm:0.1.5" - dependencies: - for-in: "npm:^1.0.1" - checksum: 10c0/3f82c2ea489ce2eb74c0eb8634d89b30a620801c2cb5f2a83d2d797fe6990d40c1aeac8968783e157b1404cf35bac9acb0a6c46065ec37b38a21b5d896e500bd - languageName: node - linkType: hard - "for-own@npm:^1.0.0": version: 1.0.0 resolution: "for-own@npm:1.0.0" @@ -17191,16 +16854,6 @@ __metadata: languageName: node linkType: hard -"foreground-child@npm:^1.3.3, foreground-child@npm:^1.5.3": - version: 1.5.6 - resolution: "foreground-child@npm:1.5.6" - dependencies: - cross-spawn: "npm:^4" - signal-exit: "npm:^3.0.0" - checksum: 10c0/6f6b5f0254381de8c1aa8d5488b35d7fdebec3020d97c5f5ed01a1bfd6112594149b703bf43526531bafef10afe0983bf8165f5f32372b4dc08591f05017e185 - languageName: node - linkType: hard - "foreground-child@npm:^2.0.0": version: 2.0.0 resolution: "foreground-child@npm:2.0.0" @@ -17221,6 +16874,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.3.1": + version: 3.3.1 + resolution: "foreground-child@npm:3.3.1" + dependencies: + cross-spawn: "npm:^7.0.6" + signal-exit: "npm:^4.0.1" + checksum: 10c0/8986e4af2430896e65bc2788d6679067294d6aee9545daefc84923a0a4b399ad9c7a3ea7bd8c0b2b80fdf4a92de4c69df3f628233ff3224260e9c1541a9e9ed3 + languageName: node + linkType: hard + "forever-agent@npm:~0.6.1": version: 0.6.1 resolution: "forever-agent@npm:0.6.1" @@ -17744,25 +17407,6 @@ __metadata: languageName: node linkType: hard -"glob-base@npm:^0.3.0": - version: 0.3.0 - resolution: "glob-base@npm:0.3.0" - dependencies: - glob-parent: "npm:^2.0.0" - is-glob: "npm:^2.0.0" - checksum: 10c0/4ce785c1dac2ff1e4660c010fa43ed2f1b38993dfd004023a3e7080b20bc61f29fbfe5d265b7e64cc84096ecf44e8ca876c7c1aad8f1f995d4c0f33034f3ae8c - languageName: node - linkType: hard - -"glob-parent@npm:^2.0.0": - version: 2.0.0 - resolution: "glob-parent@npm:2.0.0" - dependencies: - is-glob: "npm:^2.0.0" - checksum: 10c0/b9d59dc532d47aaaa4841046ff631b325a707f738445300b83b7a1ee603dd060c041a378e8a195c887d479bb703685cee4725c8f54b8dacef65355375f57d32a - languageName: node - linkType: hard - "glob-parent@npm:^3.1.0": version: 3.1.0 resolution: "glob-parent@npm:3.1.0" @@ -17791,17 +17435,6 @@ __metadata: languageName: node linkType: hard -"glob-promise@npm:^6.0.5": - version: 6.0.5 - resolution: "glob-promise@npm:6.0.5" - dependencies: - "@types/glob": "npm:^8.0.0" - peerDependencies: - glob: ^8.0.3 - checksum: 10c0/7209ce765b961abe8ab0965e4c6a3fbca8282328e43273c09ffcfaa166797c904fc41a0c5c4977167aab310cc477710ebad6a06efc8b18749c1199fd051fad99 - languageName: node - linkType: hard - "glob-stream@npm:^3.1.5": version: 3.1.18 resolution: "glob-stream@npm:3.1.18" @@ -17882,6 +17515,22 @@ __metadata: languageName: node linkType: hard +"glob@npm:^11.0.0, glob@npm:^11.0.3": + version: 11.0.3 + resolution: "glob@npm:11.0.3" + dependencies: + foreground-child: "npm:^3.3.1" + jackspeak: "npm:^4.1.1" + minimatch: "npm:^10.0.3" + minipass: "npm:^7.1.2" + package-json-from-dist: "npm:^1.0.0" + path-scurry: "npm:^2.0.0" + bin: + glob: dist/esm/bin.mjs + checksum: 10c0/7d24457549ec2903920dfa3d8e76850e7c02aa709122f0164b240c712f5455c0b457e6f2a1eee39344c6148e39895be8094ae8cfef7ccc3296ed30bce250c661 + languageName: node + linkType: hard + "glob@npm:^4.3.1": version: 4.5.3 resolution: "glob@npm:4.5.3" @@ -17894,7 +17543,7 @@ __metadata: languageName: node linkType: hard -"glob@npm:^7.0.3, glob@npm:^7.0.6, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": +"glob@npm:^7.0.3, glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" dependencies: @@ -17908,19 +17557,6 @@ __metadata: languageName: node linkType: hard -"glob@npm:^8.0.3": - version: 8.1.0 - resolution: "glob@npm:8.1.0" - dependencies: - fs.realpath: "npm:^1.0.0" - inflight: "npm:^1.0.4" - inherits: "npm:2" - minimatch: "npm:^5.0.1" - once: "npm:^1.3.0" - checksum: 10c0/cb0b5cab17a59c57299376abe5646c7070f8acb89df5595b492dba3bfb43d301a46c01e5695f01154e6553168207cb60d4eaf07d3be4bc3eb9b0457c5c561d0f - languageName: node - linkType: hard - "glob@npm:~3.1.21": version: 3.1.21 resolution: "glob@npm:3.1.21" @@ -18041,19 +17677,6 @@ __metadata: languageName: node linkType: hard -"globby@npm:^6.1.0": - version: 6.1.0 - resolution: "globby@npm:6.1.0" - dependencies: - array-union: "npm:^1.0.1" - glob: "npm:^7.0.3" - object-assign: "npm:^4.0.1" - pify: "npm:^2.0.0" - pinkie-promise: "npm:^2.0.0" - checksum: 10c0/656ad1f0d02c6ef378c07589519ed3ec27fe988ea177195c05b8aff280320f3d67b91fa0baa6f7e49288f9bf1f92fc84f783a79ac3ed66278f3fa082e627ed84 - languageName: node - linkType: hard - "globby@npm:^7.1.1": version: 7.1.1 resolution: "globby@npm:7.1.1" @@ -18351,7 +17974,7 @@ __metadata: languageName: node linkType: hard -"handlebars@npm:4.7.8, handlebars@npm:^4.0.3, handlebars@npm:^4.1.2, handlebars@npm:^4.4.0": +"handlebars@npm:4.7.8, handlebars@npm:^4.4.0": version: 4.7.8 resolution: "handlebars@npm:4.7.8" dependencies: @@ -18420,13 +18043,6 @@ __metadata: languageName: node linkType: hard -"has-flag@npm:^1.0.0": - version: 1.0.0 - resolution: "has-flag@npm:1.0.0" - checksum: 10c0/d0ad4bebbbc005edccfa1e2c0600c89375be5663d23f49a129e0f817187405748b0b515abfc5b3c209c92692e39bb0481c83c0ee4df69433d6ffd0242183100b - languageName: node - linkType: hard - "has-flag@npm:^3.0.0": version: 3.0.0 resolution: "has-flag@npm:3.0.0" @@ -18576,16 +18192,6 @@ __metadata: languageName: node linkType: hard -"header-case@npm:^1.0.0": - version: 1.0.1 - resolution: "header-case@npm:1.0.1" - dependencies: - no-case: "npm:^2.2.0" - upper-case: "npm:^1.1.3" - checksum: 10c0/973b81b3fba82140cf8cdc819edb32edd5959ff61ff42128c5f54e56f7454bb8f61c0197180c38cde84a4be1dddbc780e1413d5e1602c96caf0195d863e6bd03 - languageName: node - linkType: hard - "hex-rgb@npm:^4.1.0": version: 4.3.0 resolution: "hex-rgb@npm:4.3.0" @@ -19056,7 +18662,7 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:^6.2.0, inquirer@npm:^6.3.1": +"inquirer@npm:^6.2.0": version: 6.5.2 resolution: "inquirer@npm:6.5.2" dependencies: @@ -19088,7 +18694,7 @@ __metadata: languageName: node linkType: hard -"interpret@npm:^1.0.0, interpret@npm:^1.2.0": +"interpret@npm:^1.0.0": version: 1.2.0 resolution: "interpret@npm:1.2.0" checksum: 10c0/1482626650a5ba3cfdbe42a43c8feb939ef51cfd6b056686e40943ea215ac2055f9ed7c632ed2521180de2c01197d8b8a02961324e21f89339379cd76ec56a51 @@ -19410,22 +19016,6 @@ __metadata: languageName: node linkType: hard -"is-dotfile@npm:^1.0.0": - version: 1.0.3 - resolution: "is-dotfile@npm:1.0.3" - checksum: 10c0/aa6bb345aa06555f46eedd491bdd039b95d3fa80b899ee7d6b30628e309d705d403e445fd8a126ff70962adc1252171dbe0d72884afa323fb3c817387faf10ed - languageName: node - linkType: hard - -"is-equal-shallow@npm:^0.1.3": - version: 0.1.3 - resolution: "is-equal-shallow@npm:0.1.3" - dependencies: - is-primitive: "npm:^2.0.0" - checksum: 10c0/ae623698cdfeeec0688b2e6128d76cabe1cc5957d533bf7f7596caf3f2993d4c50a20c97420e60a0d58745fc4b2709dfb62e653e054cf948c5834615b715f05f - languageName: node - linkType: hard - "is-extendable@npm:^0.1.0, is-extendable@npm:^0.1.1": version: 0.1.1 resolution: "is-extendable@npm:0.1.1" @@ -19442,13 +19032,6 @@ __metadata: languageName: node linkType: hard -"is-extglob@npm:^1.0.0": - version: 1.0.0 - resolution: "is-extglob@npm:1.0.0" - checksum: 10c0/1ce5366d19958f36069a45ca996c1e51ab607f42a01eb0505f0ccffe8f9c91f5bcba6e971605efd8b4d4dfd0111afa3c8df3e1746db5b85b9a8f933f5e7286b7 - languageName: node - linkType: hard - "is-extglob@npm:^2.1.0, is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -19513,15 +19096,6 @@ __metadata: languageName: node linkType: hard -"is-glob@npm:^2.0.0, is-glob@npm:^2.0.1": - version: 2.0.1 - resolution: "is-glob@npm:2.0.1" - dependencies: - is-extglob: "npm:^1.0.0" - checksum: 10c0/ef156806af0924983325c9218a8b8a838fa50e1a104ed2a11fe94829a5b27c1b05a4c8cf98d96cb3a7fea539c21f14ae2081e1a248f3d5a9eea62f2d4e9f8b0c - languageName: node - linkType: hard - "is-glob@npm:^3.1.0": version: 3.1.0 resolution: "is-glob@npm:3.1.0" @@ -19571,15 +19145,6 @@ __metadata: languageName: node linkType: hard -"is-lower-case@npm:^1.1.0": - version: 1.1.3 - resolution: "is-lower-case@npm:1.1.3" - dependencies: - lower-case: "npm:^1.1.0" - checksum: 10c0/af174cfdd50e4ab997bd4aeaf96d5b1841490a721c62a9ab07b14dfb63885134065683d5027f53e2f76180ff972a3c9a0155815e715c37815757a6bd67d4459e - languageName: node - linkType: hard - "is-map@npm:^2.0.2, is-map@npm:^2.0.3": version: 2.0.3 resolution: "is-map@npm:2.0.3" @@ -19624,15 +19189,6 @@ __metadata: languageName: node linkType: hard -"is-number@npm:^2.1.0": - version: 2.1.0 - resolution: "is-number@npm:2.1.0" - dependencies: - kind-of: "npm:^3.0.2" - checksum: 10c0/f9d2079a0dbfbce6f9f3b6644f6eb60d0211ee56bb26db3963ef4d514e2444f87e3f56c8169896c90544c501ed5e510c5b83abae6748a57d15f6ac8d85efd602 - languageName: node - linkType: hard - "is-number@npm:^3.0.0": version: 3.0.0 resolution: "is-number@npm:3.0.0" @@ -19642,13 +19198,6 @@ __metadata: languageName: node linkType: hard -"is-number@npm:^4.0.0": - version: 4.0.0 - resolution: "is-number@npm:4.0.0" - checksum: 10c0/bb17a331f357eb59a7f8db848086c41886715b2ea1db03f284a99d14001cda094083a5b6a7b343b5bcf410ccef668a70bc626d07bc2032cc4ab46dd264cea244 - languageName: node - linkType: hard - "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" @@ -19663,22 +19212,6 @@ __metadata: languageName: node linkType: hard -"is-path-cwd@npm:^2.0.0": - version: 2.2.0 - resolution: "is-path-cwd@npm:2.2.0" - checksum: 10c0/afce71533a427a759cd0329301c18950333d7589533c2c90205bd3fdcf7b91eb92d1940493190567a433134d2128ec9325de2fd281e05be1920fbee9edd22e0a - languageName: node - linkType: hard - -"is-path-in-cwd@npm:^2.0.0": - version: 2.1.0 - resolution: "is-path-in-cwd@npm:2.1.0" - dependencies: - is-path-inside: "npm:^2.1.0" - checksum: 10c0/674a4282fb3732cf4b4e9ea31e06380d8b074fb8106c4c1742a9f0f3d5650bf059b2c45e5c4cfa7abe847ca88474de63abec323a7fe1eb14f8ec4de2fa951d3a - languageName: node - linkType: hard - "is-path-inside@npm:^1.0.0": version: 1.0.1 resolution: "is-path-inside@npm:1.0.1" @@ -19688,15 +19221,6 @@ __metadata: languageName: node linkType: hard -"is-path-inside@npm:^2.1.0": - version: 2.1.0 - resolution: "is-path-inside@npm:2.1.0" - dependencies: - path-is-inside: "npm:^1.0.2" - checksum: 10c0/50272b9aa301964c0bc4032d5c968e63c516d15bd7800cd06845df97bee637451fcd92a8001b37e309563eff2dffae5fa6d635a0c1d162dc257489c86b1fda51 - languageName: node - linkType: hard - "is-plain-obj@npm:^1.0.0, is-plain-obj@npm:^1.1.0": version: 1.1.0 resolution: "is-plain-obj@npm:1.1.0" @@ -19734,13 +19258,6 @@ __metadata: languageName: node linkType: hard -"is-posix-bracket@npm:^0.1.0": - version: 0.1.1 - resolution: "is-posix-bracket@npm:0.1.1" - checksum: 10c0/13ef3f466700fd63c1c348e647edfa22b73bb89cf8d993fb7820824ea2ddc7119975e64861fe1d52c3c4e881a7dcf2538faa05e3f700e9d2ea56eeeb4ba26a25 - languageName: node - linkType: hard - "is-potential-custom-element-name@npm:^1.0.1": version: 1.0.1 resolution: "is-potential-custom-element-name@npm:1.0.1" @@ -19748,13 +19265,6 @@ __metadata: languageName: node linkType: hard -"is-primitive@npm:^2.0.0": - version: 2.0.0 - resolution: "is-primitive@npm:2.0.0" - checksum: 10c0/bb84a2f05eca29f560aafc3bca9173e4c06d74dc24a6fc7faee6e61c70a00bae95e08f0d3d217d61e646b521378d4326103d124bb469d1de0240c8722b56a3fd - languageName: node - linkType: hard - "is-promise@npm:^2.1.0": version: 2.2.2 resolution: "is-promise@npm:2.2.2" @@ -19909,15 +19419,6 @@ __metadata: languageName: node linkType: hard -"is-upper-case@npm:^1.1.0": - version: 1.1.2 - resolution: "is-upper-case@npm:1.1.2" - dependencies: - upper-case: "npm:^1.1.0" - checksum: 10c0/81b8defdee0e0de7310446ac717422c586c4d013c2a517c5fcf8b119349aa2798be56fa213169b0de3936cb00e796a383683c2504d221596ae09a0eb282a5b25 - languageName: node - linkType: hard - "is-utf8@npm:^0.2.0": version: 0.2.1 resolution: "is-utf8@npm:0.2.1" @@ -20002,13 +19503,6 @@ __metadata: languageName: node linkType: hard -"isbinaryfile@npm:^4.0.1": - version: 4.0.10 - resolution: "isbinaryfile@npm:4.0.10" - checksum: 10c0/0703d8cfeb69ed79e6d173120f327450011a066755150a6bbf97ffecec1069a5f2092777868315b21359098c84b54984871cad1abce877ad9141fb2caf3dcabf - languageName: node - linkType: hard - "isbinaryfile@npm:^5.0.4": version: 5.0.4 resolution: "isbinaryfile@npm:5.0.4" @@ -20053,13 +19547,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-coverage@npm:^1.1.0, istanbul-lib-coverage@npm:^1.2.1": - version: 1.2.1 - resolution: "istanbul-lib-coverage@npm:1.2.1" - checksum: 10c0/a3dec08f036315d75d27b0d70ca69332838c9602583d0eaa74baeaf98f4054344984b778dad6cf4a989ed24f5c75365c2306fbb7f163c160b47fd8c696bedfab - languageName: node - linkType: hard - "istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.0": version: 3.2.0 resolution: "istanbul-lib-coverage@npm:3.2.0" @@ -20067,15 +19554,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-hook@npm:^1.0.6": - version: 1.2.2 - resolution: "istanbul-lib-hook@npm:1.2.2" - dependencies: - append-transform: "npm:^0.4.0" - checksum: 10c0/87466f00bd1664a69da87b31b82a88882f41dc054d01654e4d4b1bbf5dce36fde3b5a526f3527fd79eae01008fd4644e183e97420a7a5bb6dd6bfd2dd363b727 - languageName: node - linkType: hard - "istanbul-lib-hook@npm:^3.0.0": version: 3.0.0 resolution: "istanbul-lib-hook@npm:3.0.0" @@ -20085,21 +19563,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^1.7.1": - version: 1.10.2 - resolution: "istanbul-lib-instrument@npm:1.10.2" - dependencies: - babel-generator: "npm:^6.18.0" - babel-template: "npm:^6.16.0" - babel-traverse: "npm:^6.18.0" - babel-types: "npm:^6.18.0" - babylon: "npm:^6.18.0" - istanbul-lib-coverage: "npm:^1.2.1" - semver: "npm:^5.3.0" - checksum: 10c0/1f861fb757a1e26ca8a80542fdc1b7f2d35a131a0116d20a1a785837472c474cfa6ac4058ae5389a0e358563da0e2c8ef5f958336ea9d29ee39a4d0da143b9d7 - languageName: node - linkType: hard - "istanbul-lib-instrument@npm:^4.0.0": version: 4.0.3 resolution: "istanbul-lib-instrument@npm:4.0.3" @@ -20152,18 +19615,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-report@npm:^1.1.0": - version: 1.1.5 - resolution: "istanbul-lib-report@npm:1.1.5" - dependencies: - istanbul-lib-coverage: "npm:^1.2.1" - mkdirp: "npm:^0.5.1" - path-parse: "npm:^1.0.5" - supports-color: "npm:^3.1.2" - checksum: 10c0/7cd093ce736730cfe6b4708566147a964a40d2e3f5728a056c9d100f05fc6a1c2e0ca75ed87cf6318391d7c97eb020c2a311df09f9d18c4dd11061e7a714a263 - languageName: node - linkType: hard - "istanbul-lib-report@npm:^3.0.0": version: 3.0.0 resolution: "istanbul-lib-report@npm:3.0.0" @@ -20175,19 +19626,6 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-source-maps@npm:^1.2.0": - version: 1.2.6 - resolution: "istanbul-lib-source-maps@npm:1.2.6" - dependencies: - debug: "npm:^3.1.0" - istanbul-lib-coverage: "npm:^1.2.1" - mkdirp: "npm:^0.5.1" - rimraf: "npm:^2.6.1" - source-map: "npm:^0.5.3" - checksum: 10c0/b483a192035be99902185e0e72b0af7e769ec4756e19ed0aaaedd63ae4b2bb0aecbf73f101c240bbf2ea666b53fc7104962b57df608b4fba4157d5eca5a4ef23 - languageName: node - linkType: hard - "istanbul-lib-source-maps@npm:^4.0.0": version: 4.0.0 resolution: "istanbul-lib-source-maps@npm:4.0.0" @@ -20199,15 +19637,6 @@ __metadata: languageName: node linkType: hard -"istanbul-reports@npm:^1.1.0": - version: 1.5.1 - resolution: "istanbul-reports@npm:1.5.1" - dependencies: - handlebars: "npm:^4.0.3" - checksum: 10c0/7309c9c872f59328a1786a60581727d7cf7361cb98a4776ddd4f62b7e0580badac5a504b1313f1a0040a78bd69029e17d9cf13dc2c24a08b45bfd9ce2212624f - languageName: node - linkType: hard - "istanbul-reports@npm:^3.0.2, istanbul-reports@npm:^3.1.3": version: 3.1.5 resolution: "istanbul-reports@npm:3.1.5" @@ -20244,6 +19673,15 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^4.1.1": + version: 4.1.1 + resolution: "jackspeak@npm:4.1.1" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + checksum: 10c0/84ec4f8e21d6514db24737d9caf65361511f75e5e424980eebca4199f400874f45e562ac20fa8aeb1dd20ca2f3f81f0788b6e9c3e64d216a5794fd6f30e0e042 + languageName: node + linkType: hard + "jest-changed-files@npm:^29.7.0": version: 29.7.0 resolution: "jest-changed-files@npm:29.7.0" @@ -21002,15 +20440,6 @@ __metadata: languageName: node linkType: hard -"jsesc@npm:^1.3.0": - version: 1.3.0 - resolution: "jsesc@npm:1.3.0" - bin: - jsesc: bin/jsesc - checksum: 10c0/62420889dd46b4cdba4df20fe6ffdefa6eeab7532fb4079170ea1b53c45d5a6abcb485144905833e5a69cc1735db12319b1e0b0f9a556811ec926b57a22318a7 - languageName: node - linkType: hard - "jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" @@ -21214,13 +20643,6 @@ __metadata: languageName: node linkType: hard -"just-extend@npm:^4.0.2": - version: 4.0.2 - resolution: "just-extend@npm:4.0.2" - checksum: 10c0/92a1efd9ab30078e9bec97a5cc92d0762afcfe778450cc4a80c9202ffffd16a9155f6387792bd6f66edeb0527b5d621da07d681d19ce69f01562e56c4c0dbf2c - languageName: node - linkType: hard - "jwa@npm:^1.4.1": version: 1.4.1 resolution: "jwa@npm:1.4.1" @@ -21448,7 +20870,7 @@ __metadata: languageName: node linkType: hard -"liftoff@npm:^2.1.0, liftoff@npm:^2.5.0": +"liftoff@npm:^2.1.0": version: 2.5.0 resolution: "liftoff@npm:2.5.0" dependencies: @@ -22140,15 +21562,6 @@ __metadata: languageName: node linkType: hard -"log-symbols@npm:^2.2.0": - version: 2.2.0 - resolution: "log-symbols@npm:2.2.0" - dependencies: - chalk: "npm:^2.0.1" - checksum: 10c0/574eb4205f54f0605021aa67ebb372c30ca64e8ddd439efeb8507af83c776dce789e83614e80059014d9e48dcc94c4b60cef2e85f0dc944eea27c799cec62353 - languageName: node - linkType: hard - "logform@npm:^2.6.0, logform@npm:^2.6.1": version: 2.6.1 resolution: "logform@npm:2.6.1" @@ -22163,13 +21576,6 @@ __metadata: languageName: node linkType: hard -"lolex@npm:^4.1.0, lolex@npm:^4.2.0": - version: 4.2.0 - resolution: "lolex@npm:4.2.0" - checksum: 10c0/b56fbffec393eaaff0f950e528ab7762507527743e4678646a485a0049c830d078960a66a2ddc68ddfde72cbbdde5bc98d9fbe7c487b419317d293d978e8ab20 - languageName: node - linkType: hard - "longest-streak@npm:^3.0.0": version: 3.0.1 resolution: "longest-streak@npm:3.0.1" @@ -22218,22 +21624,6 @@ __metadata: languageName: node linkType: hard -"lower-case-first@npm:^1.0.0": - version: 1.0.2 - resolution: "lower-case-first@npm:1.0.2" - dependencies: - lower-case: "npm:^1.1.2" - checksum: 10c0/e0689a82df329db44e28b0dd53ccace09a8a4918fc86aa6c08b091ec31bc5f3496a0b07cf7e81be065335bea996f7aa0fbe0163a3e6f019b0480a5f20a79e871 - languageName: node - linkType: hard - -"lower-case@npm:^1.1.0, lower-case@npm:^1.1.1, lower-case@npm:^1.1.2": - version: 1.1.4 - resolution: "lower-case@npm:1.1.4" - checksum: 10c0/2153ae5490d655a63addc8e7d2f848c6c94803b342ed2d177f75e8073e9fbb50a733d1432c82e1cb8425fa6eae14b2877bf5bbdcb93ab93bb982fb5c3962c57b - languageName: node - linkType: hard - "lower-case@npm:^2.0.2": version: 2.0.2 resolution: "lower-case@npm:2.0.2" @@ -22281,6 +21671,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^11.0.0": + version: 11.2.2 + resolution: "lru-cache@npm:11.2.2" + checksum: 10c0/72d7831bbebc85e2bdefe01047ee5584db69d641c48d7a509e86f66f6ee111b30af7ec3bd68a967d47b69a4b1fa8bbf3872630bd06a63b6735e6f0a5f1c8e83d + languageName: node + linkType: hard + "lru-cache@npm:^4.0.1": version: 4.1.5 resolution: "lru-cache@npm:4.1.5" @@ -22487,29 +21884,6 @@ __metadata: languageName: node linkType: hard -"math-random@npm:^1.0.1": - version: 1.0.4 - resolution: "math-random@npm:1.0.4" - checksum: 10c0/7b0ddc17f5dfe3b426c1e92505122e6a32f884dd50f5e0bb3898e5ce2da60b4ffb47c9b607809cf0beb5b8bf253b9dcc3b6f7331b20ce59b8bd7e8dbbbb1e347 - languageName: node - linkType: hard - -"md5-hex@npm:^1.2.0": - version: 1.3.0 - resolution: "md5-hex@npm:1.3.0" - dependencies: - md5-o-matic: "npm:^0.1.1" - checksum: 10c0/209a294fb1866f857943f0603f6f5ee616e87cfab1bc0f075a6798730a99d12e0cfd0ef2aaf7f8dd46430f9007ff824d6f02edda1d30746a9c5bb232a7b78395 - languageName: node - linkType: hard - -"md5-o-matic@npm:^0.1.1": - version: 0.1.1 - resolution: "md5-o-matic@npm:0.1.1" - checksum: 10c0/7f37893335e7ccd0c42ba707b0f691b41e20d40dc0fc3b9af02e3ae56485b44a41701ed68d47eca57ca855a4757a8811b679c71ae52e8f8bd69742420119632a - languageName: node - linkType: hard - "md5@npm:^2.2.1": version: 2.2.1 resolution: "md5@npm:2.2.1" @@ -22803,15 +22177,6 @@ __metadata: languageName: node linkType: hard -"merge-source-map@npm:^1.0.2": - version: 1.1.0 - resolution: "merge-source-map@npm:1.1.0" - dependencies: - source-map: "npm:^0.6.1" - checksum: 10c0/ac0e0192c9c7e30056c5baa939434c0d1015faa5c7ce7936ad77600f1752c03099134cb33c50f1bb32ec25350e191ca2392c6b76b1eaca89c7c989e42403655f - languageName: node - linkType: hard - "merge-stream@npm:^2.0.0": version: 2.0.0 resolution: "merge-stream@npm:2.0.0" @@ -23256,27 +22621,6 @@ __metadata: languageName: node linkType: hard -"micromatch@npm:^2.3.11": - version: 2.3.11 - resolution: "micromatch@npm:2.3.11" - dependencies: - arr-diff: "npm:^2.0.0" - array-unique: "npm:^0.2.1" - braces: "npm:^1.8.2" - expand-brackets: "npm:^0.1.4" - extglob: "npm:^0.3.1" - filename-regex: "npm:^2.0.0" - is-extglob: "npm:^1.0.0" - is-glob: "npm:^2.0.1" - kind-of: "npm:^3.0.2" - normalize-path: "npm:^2.0.1" - object.omit: "npm:^2.0.0" - parse-glob: "npm:^3.0.4" - regex-cache: "npm:^0.4.2" - checksum: 10c0/56864f45f5a76523a3b3fe7c07c1a19cb9e6a2078b1e5dd036bacdd6e65f5d8adc00679ebb785ab88d577fce80197f2d8fd6f5565188643f87d8a47f64f6127a - languageName: node - linkType: hard - "micromatch@npm:^3.0.4, micromatch@npm:^3.1.0, micromatch@npm:^3.1.10, micromatch@npm:^3.1.4": version: 3.1.10 resolution: "micromatch@npm:3.1.10" @@ -23406,7 +22750,7 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^10.0.1": +"minimatch@npm:^10.0.1, minimatch@npm:^10.0.3": version: 10.0.3 resolution: "minimatch@npm:10.0.3" dependencies: @@ -23433,15 +22777,6 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^5.0.1": - version: 5.1.6 - resolution: "minimatch@npm:5.1.6" - dependencies: - brace-expansion: "npm:^2.0.1" - checksum: 10c0/3defdfd230914f22a8da203747c42ee3c405c39d4d37ffda284dac5e45b7e1f6c49aa8be606509002898e73091ff2a3bbfc59c2c6c71d4660609f63aa92f98e3 - languageName: node - linkType: hard - "minimatch@npm:^9.0.4": version: 9.0.4 resolution: "minimatch@npm:9.0.4" @@ -23936,28 +23271,6 @@ __metadata: languageName: node linkType: hard -"nise@npm:^1.5.2": - version: 1.5.2 - resolution: "nise@npm:1.5.2" - dependencies: - "@sinonjs/formatio": "npm:^3.2.1" - "@sinonjs/text-encoding": "npm:^0.7.1" - just-extend: "npm:^4.0.2" - lolex: "npm:^4.1.0" - path-to-regexp: "npm:^1.7.0" - checksum: 10c0/06ba146795dca84843df8ae8e023535b28225da03a42bf4e8655aee8fc67dc527b0e21784cb56e222d30773bc92e6e83c59a895d3ab562177a6dd33c08e03442 - languageName: node - linkType: hard - -"no-case@npm:^2.2.0, no-case@npm:^2.3.2": - version: 2.3.2 - resolution: "no-case@npm:2.3.2" - dependencies: - lower-case: "npm:^1.1.1" - checksum: 10c0/63f306e83c18efa0bb37f1c23a25baf4ccf5ebaec70b482fa04d4c5bf8bbb8bcc9a8fbcd818af828ab69f2b602153daf81ec26e448b2bda2d704b8d0c7eec8fa - languageName: node - linkType: hard - "no-case@npm:^3.0.4": version: 3.0.4 resolution: "no-case@npm:3.0.4" @@ -24116,26 +23429,6 @@ __metadata: languageName: node linkType: hard -"node-plop@npm:~0.19.0": - version: 0.19.0 - resolution: "node-plop@npm:0.19.0" - dependencies: - change-case: "npm:^3.1.0" - co: "npm:^4.6.0" - core-js: "npm:^3.1.4" - del: "npm:^4.1.1" - globby: "npm:^9.2.0" - handlebars: "npm:^4.1.2" - inquirer: "npm:^6.3.1" - isbinaryfile: "npm:^4.0.1" - lodash.get: "npm:^4.4.2" - mkdirp: "npm:^0.5.1" - pify: "npm:^4.0.0" - resolve: "npm:^1.11.0" - checksum: 10c0/77649ee29d851a4563a539e3536b530951096b2f9d7cb15074f0867935330384779e15737e59173ed4087c07dcbb70f279ea6dc83022a174292eb468dd621a81 - languageName: node - linkType: hard - "node-preload@npm:^0.2.1": version: 0.2.1 resolution: "node-preload@npm:0.2.1" @@ -24193,15 +23486,6 @@ __metadata: languageName: node linkType: hard -"normalize-path@npm:^2.0.1": - version: 2.1.1 - resolution: "normalize-path@npm:2.1.1" - dependencies: - remove-trailing-separator: "npm:^1.0.1" - checksum: 10c0/db814326ff88057437233361b4c7e9cac7b54815b051b57f2d341ce89b1d8ec8cbd43e7fa95d7652b3b69ea8fcc294b89b8530d556a84d1bdace94229e1e9a8b - languageName: node - linkType: hard - "normalize-range@npm:^0.1.2": version: 0.1.2 resolution: "normalize-range@npm:0.1.2" @@ -24393,43 +23677,6 @@ __metadata: languageName: node linkType: hard -"nyc@npm:^10.2.0": - version: 10.3.2 - resolution: "nyc@npm:10.3.2" - dependencies: - archy: "npm:^1.0.0" - arrify: "npm:^1.0.1" - caching-transform: "npm:^1.0.0" - convert-source-map: "npm:^1.3.0" - debug-log: "npm:^1.0.1" - default-require-extensions: "npm:^1.0.0" - find-cache-dir: "npm:^0.1.1" - find-up: "npm:^1.1.2" - foreground-child: "npm:^1.5.3" - glob: "npm:^7.0.6" - istanbul-lib-coverage: "npm:^1.1.0" - istanbul-lib-hook: "npm:^1.0.6" - istanbul-lib-instrument: "npm:^1.7.1" - istanbul-lib-report: "npm:^1.1.0" - istanbul-lib-source-maps: "npm:^1.2.0" - istanbul-reports: "npm:^1.1.0" - md5-hex: "npm:^1.2.0" - merge-source-map: "npm:^1.0.2" - micromatch: "npm:^2.3.11" - mkdirp: "npm:^0.5.0" - resolve-from: "npm:^2.0.0" - rimraf: "npm:^2.5.4" - signal-exit: "npm:^3.0.1" - spawn-wrap: "npm:1.2.4" - test-exclude: "npm:^4.1.0" - yargs: "npm:^7.1.0" - yargs-parser: "npm:^5.0.0" - bin: - nyc: ./bin/nyc.js - checksum: 10c0/832f41988a51a3e9187a4f1dc4fbec4ec90d442625363462aabeac118b18c30d4f5baa6c3374ca6fac8a58c527e694bc03eef5bcbb850a2f4cd57722b217c213 - languageName: node - linkType: hard - "nyc@npm:^15.1.0": version: 15.1.0 resolution: "nyc@npm:15.1.0" @@ -24617,16 +23864,6 @@ __metadata: languageName: node linkType: hard -"object.omit@npm:^2.0.0": - version: 2.0.1 - resolution: "object.omit@npm:2.0.1" - dependencies: - for-own: "npm:^0.1.4" - is-extendable: "npm:^0.1.1" - checksum: 10c0/219549087650a1dce1990bbb9c207aa9e0c5302372cbcb363b4a7a36a7b1655a80287d290bebcaff5ae4b5ab7e5859a57f49e3f766cade65bc149fe15c0ba38d - languageName: node - linkType: hard - "object.pick@npm:^1.2.0, object.pick@npm:^1.3.0": version: 1.3.0 resolution: "object.pick@npm:1.3.0" @@ -24747,20 +23984,6 @@ __metadata: languageName: node linkType: hard -"ora@npm:^3.4.0": - version: 3.4.0 - resolution: "ora@npm:3.4.0" - dependencies: - chalk: "npm:^2.4.2" - cli-cursor: "npm:^2.1.0" - cli-spinners: "npm:^2.0.0" - log-symbols: "npm:^2.2.0" - strip-ansi: "npm:^5.2.0" - wcwidth: "npm:^1.0.1" - checksum: 10c0/04cb375f222c36a16a95e6c39c473644a99a42fc34d35c37507cb836ea0a71f4d831fcd53198a460869114b2730891d63cc1047304afe5ddb078974d468edfb1 - languageName: node - linkType: hard - "orchestrator@npm:^0.3.0": version: 0.3.8 resolution: "orchestrator@npm:0.3.8" @@ -24793,15 +24016,6 @@ __metadata: languageName: node linkType: hard -"os-locale@npm:^1.4.0": - version: 1.4.0 - resolution: "os-locale@npm:1.4.0" - dependencies: - lcid: "npm:^1.0.0" - checksum: 10c0/302173159d562000ddf982ed75c493a0d861e91372c9e1b13aab21590ff2e1ba264a41995b29be8dc5278a6127ffcd2ad5591779e8164a570fc5fa6c0787b057 - languageName: node - linkType: hard - "os-locale@npm:^2.0.0": version: 2.1.0 resolution: "os-locale@npm:2.1.0" @@ -24919,7 +24133,7 @@ __metadata: languageName: node linkType: hard -"p-map@npm:^2.0.0, p-map@npm:^2.1.0": +"p-map@npm:^2.1.0": version: 2.1.0 resolution: "p-map@npm:2.1.0" checksum: 10c0/735dae87badd4737a2dd582b6d8f93e49a1b79eabbc9815a4d63a528d5e3523e978e127a21d784cccb637010e32103a40d2aaa3ab23ae60250b1a820ca752043 @@ -24960,16 +24174,6 @@ __metadata: languageName: node linkType: hard -"p-queue@npm:^6.2.1": - version: 6.2.1 - resolution: "p-queue@npm:6.2.1" - dependencies: - eventemitter3: "npm:^4.0.0" - p-timeout: "npm:^3.1.0" - checksum: 10c0/39c34c1a921c1c213654730a40867d6184857531dae39ff61af47d40cac0b4c39ded22381401d3f98ab793ed3f06fc42af7e254c521c2e6b8442e86c2a300c10 - languageName: node - linkType: hard - "p-reduce@npm:^1.0.0": version: 1.0.0 resolution: "p-reduce@npm:1.0.0" @@ -24977,15 +24181,6 @@ __metadata: languageName: node linkType: hard -"p-timeout@npm:^3.1.0": - version: 3.2.0 - resolution: "p-timeout@npm:3.2.0" - dependencies: - p-finally: "npm:^1.0.0" - checksum: 10c0/524b393711a6ba8e1d48137c5924749f29c93d70b671e6db761afa784726572ca06149c715632da8f70c090073afb2af1c05730303f915604fd38ee207b70a61 - languageName: node - linkType: hard - "p-try@npm:^1.0.0": version: 1.0.0 resolution: "p-try@npm:1.0.0" @@ -25021,6 +24216,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.1 + resolution: "package-json-from-dist@npm:1.0.1" + checksum: 10c0/62ba2785eb655fec084a257af34dbe24292ab74516d6aecef97ef72d4897310bc6898f6c85b5cd22770eaa1ce60d55a0230e150fb6a966e3ecd6c511e23d164b + languageName: node + linkType: hard + "package-json@npm:^4.0.0": version: 4.0.1 resolution: "package-json@npm:4.0.1" @@ -25058,15 +24260,6 @@ __metadata: languageName: node linkType: hard -"param-case@npm:^2.1.0": - version: 2.1.1 - resolution: "param-case@npm:2.1.1" - dependencies: - no-case: "npm:^2.2.0" - checksum: 10c0/8ea1b8472fd51d5f50b28d1d754899713805d05f2241e9b8c4acafa2c500b3f47457a3b4932ab75220f14d2c69180bb7338b78a45576e2b4d90da1e6f0285833 - languageName: node - linkType: hard - "parcel-namer-docs@workspace:packages/dev/parcel-namer-docs": version: 0.0.0-use.local resolution: "parcel-namer-docs@workspace:packages/dev/parcel-namer-docs" @@ -25285,18 +24478,6 @@ __metadata: languageName: node linkType: hard -"parse-glob@npm:^3.0.4": - version: 3.0.4 - resolution: "parse-glob@npm:3.0.4" - dependencies: - glob-base: "npm:^0.3.0" - is-dotfile: "npm:^1.0.0" - is-extglob: "npm:^1.0.0" - is-glob: "npm:^2.0.0" - checksum: 10c0/4faf2e81ca85bc545777a1210ab770e0305c9e095680c219e5635e1a439d763feaf761e055b136425c3d6dcd3ec9431b77fd20f7411525b21031620125dc1dbc - languageName: node - linkType: hard - "parse-imports@npm:^2.1.1": version: 2.2.1 resolution: "parse-imports@npm:2.2.1" @@ -25397,16 +24578,6 @@ __metadata: languageName: node linkType: hard -"pascal-case@npm:^2.0.0": - version: 2.0.1 - resolution: "pascal-case@npm:2.0.1" - dependencies: - camel-case: "npm:^3.0.0" - upper-case-first: "npm:^1.1.0" - checksum: 10c0/84420c1ceeee36eebe7a6975926f50500563f2c664160b952ff78774af85696d06d52a0fbfeb28c063ee37da6c83665d2518a4fefc9c66996226cabb04a1319e - languageName: node - linkType: hard - "pascalcase@npm:^0.1.1": version: 0.1.1 resolution: "pascalcase@npm:0.1.1" @@ -25444,15 +24615,6 @@ __metadata: languageName: node linkType: hard -"path-case@npm:^2.1.0": - version: 2.1.1 - resolution: "path-case@npm:2.1.1" - dependencies: - no-case: "npm:^2.2.0" - checksum: 10c0/ea74c24b55cbc2a9d766415e79f53d48a4227cecd0259a00dc4392df6195f68055de164f90c27a3b2056c1977a28a99b2916b66bade0cbf6cf18a8045e76c922 - languageName: node - linkType: hard - "path-dirname@npm:^1.0.0": version: 1.0.2 resolution: "path-dirname@npm:1.0.2" @@ -25511,7 +24673,7 @@ __metadata: languageName: node linkType: hard -"path-parse@npm:^1.0.5, path-parse@npm:^1.0.7": +"path-parse@npm:^1.0.7": version: 1.0.7 resolution: "path-parse@npm:1.0.7" checksum: 10c0/11ce261f9d294cc7a58d6a574b7f1b935842355ec66fba3c3fd79e0f036462eaf07d0aa95bb74ff432f9afef97ce1926c720988c6a7451d8a584930ae7de86e1 @@ -25544,6 +24706,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^2.0.0": + version: 2.0.0 + resolution: "path-scurry@npm:2.0.0" + dependencies: + lru-cache: "npm:^11.0.0" + minipass: "npm:^7.1.2" + checksum: 10c0/3da4adedaa8e7ef8d6dc4f35a0ff8f05a9b4d8365f2b28047752b62d4c1ad73eec21e37b1579ef2d075920157856a3b52ae8309c480a6f1a8bbe06ff8e52b33c + languageName: node + linkType: hard + "path-to-regexp@npm:0.1.12": version: 0.1.12 resolution: "path-to-regexp@npm:0.1.12" @@ -25551,15 +24723,6 @@ __metadata: languageName: node linkType: hard -"path-to-regexp@npm:^1.7.0": - version: 1.7.0 - resolution: "path-to-regexp@npm:1.7.0" - dependencies: - isarray: "npm:0.0.1" - checksum: 10c0/ac2def3e136f215bb38fca13c6b6a7e4a5274a9657fcf02b231ba1036a727d6ff74e98fdff97149484d9028fafa903bdbcb8f54832ab220d47605218414b94f6 - languageName: node - linkType: hard - "path-to-regexp@npm:^8.0.0": version: 8.2.0 resolution: "path-to-regexp@npm:8.2.0" @@ -25673,7 +24836,7 @@ __metadata: languageName: node linkType: hard -"pify@npm:^4.0.0, pify@npm:^4.0.1": +"pify@npm:^4.0.1": version: 4.0.1 resolution: "pify@npm:4.0.1" checksum: 10c0/6f9d404b0d47a965437403c9b90eca8bb2536407f03de165940e62e72c8c8b75adda5516c6b9b23675a5877cc0bcac6bdfb0ef0e39414cd2476d5495da40e7cf @@ -25757,15 +24920,6 @@ __metadata: languageName: node linkType: hard -"pkg-dir@npm:^1.0.0": - version: 1.0.0 - resolution: "pkg-dir@npm:1.0.0" - dependencies: - find-up: "npm:^1.0.0" - checksum: 10c0/aa4c0322b5804fee90081ecc79f89b00922016ff56415a8e6bbafb19833e1bd8001a8999571599fb3212719d4e74e1fdb48338f6ff5b57d857a32cc939701e1a - languageName: node - linkType: hard - "pkg-dir@npm:^3.0.0": version: 3.0.0 resolution: "pkg-dir@npm:3.0.0" @@ -25815,23 +24969,6 @@ __metadata: languageName: node linkType: hard -"plop@npm:^2.4.0": - version: 2.4.0 - resolution: "plop@npm:2.4.0" - dependencies: - chalk: "npm:^1.1.3" - interpret: "npm:^1.2.0" - liftoff: "npm:^2.5.0" - minimist: "npm:^1.2.0" - node-plop: "npm:~0.19.0" - ora: "npm:^3.4.0" - v8flags: "npm:^2.0.10" - bin: - plop: ./src/plop.js - checksum: 10c0/46e511ee1fc634bb6f36cfb3c43a981903fb6ad651c9ff49a02ab41ed7bed153b14e8977f4e1248f2a9e0dbccfeae8af985e3faff03234140a80e47ea8eb975c - languageName: node - linkType: hard - "polished@npm:^4.2.2": version: 4.2.2 resolution: "polished@npm:4.2.2" @@ -25896,14 +25033,14 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.24": - version: 8.4.24 - resolution: "postcss@npm:8.4.24" +"postcss@npm:8.4.31": + version: 8.4.31 + resolution: "postcss@npm:8.4.31" dependencies: nanoid: "npm:^3.3.6" picocolors: "npm:^1.0.0" source-map-js: "npm:^1.0.2" - checksum: 10c0/37704ee03a2cbdebf2c99a76d399d6e0250742b5f6c699a12d475c84cedfcbeb26e180d9c780e0219dd2ad70cac963ceaf1d6763a1aec3e63d0c19fceb0eab23 + checksum: 10c0/748b82e6e5fc34034dcf2ae88ea3d11fd09f69b6c50ecdd3b4a875cfc7cdca435c958b211e2cb52355422ab6fccb7d8f2f2923161d7a1b281029e4a913d59acf languageName: node linkType: hard @@ -25921,13 +25058,6 @@ __metadata: languageName: node linkType: hard -"preserve@npm:^0.2.0": - version: 0.2.0 - resolution: "preserve@npm:0.2.0" - checksum: 10c0/21154ae0e53e3a338bcdf61dd6859a62f12f198961509fe07ac4f7f59b6f97de0b60c0dda2cce18e57894c77fa22544c8941c4e6f41fc30ed36753763fba6f19 - languageName: node - linkType: hard - "prettier@npm:^3.6.2": version: 3.6.2 resolution: "prettier@npm:3.6.2" @@ -26291,17 +25421,6 @@ __metadata: languageName: node linkType: hard -"randomatic@npm:^3.0.0": - version: 3.1.1 - resolution: "randomatic@npm:3.1.1" - dependencies: - is-number: "npm:^4.0.0" - kind-of: "npm:^6.0.0" - math-random: "npm:^1.0.1" - checksum: 10c0/4b1da4b8e234d3d0bd2294a42541dfa03edbde85ee06fa0722e2b004e845da197d72fa7995723d32ea7d7402823ea62550034118cf22e94638560a509cec5bfc - languageName: node - linkType: hard - "range-parser@npm:^1.2.1, range-parser@npm:~1.2.1": version: 1.2.1 resolution: "range-parser@npm:1.2.1" @@ -26441,16 +25560,6 @@ __metadata: languageName: unknown linkType: soft -"react-axe@npm:^3.0.2": - version: 3.3.0 - resolution: "react-axe@npm:3.3.0" - dependencies: - axe-core: "npm:^3.3.2" - requestidlecallback: "npm:^0.3.0" - checksum: 10c0/200eab747562449539689832cf20a8aa327d00092644d847b1cc0b4f5c9e9e155708c51a2c64041a7a5ca7b9fc8878309cdcaf1f8b639ff7b6046ba2cf85da9b - languageName: node - linkType: hard - "react-docgen-typescript@npm:^2.2.2": version: 2.2.2 resolution: "react-docgen-typescript@npm:2.2.2" @@ -26613,11 +25722,9 @@ __metadata: autoprefixer: "npm:^9.6.0" axe-core: "npm:^4.6.3" axe-playwright: "npm:^1.1.11" - babel-plugin-istanbul: "npm:^6.0.0" babel-plugin-macros: "npm:^3.0.1" babel-plugin-react-remove-properties: "npm:^0.3.0" babel-plugin-transform-glob-import: "npm:^1.0.1" - babelify: "npm:^10.0.0" chalk: "npm:^4.1.2" chromatic: "npm:^13.1.3" clsx: "npm:^2.0.0" @@ -26639,8 +25746,7 @@ __metadata: fast-check: "npm:^2.19.0" fast-glob: "npm:^3.1.0" fs-extra: "npm:^11.0.0" - glob: "npm:^8.0.3" - glob-promise: "npm:^6.0.5" + glob: "npm:^11.0.3" globals: "npm:^15.11.0" identity-obj-proxy: "npm:^3.0.0" ignore-styles: "npm:^5.0.1" @@ -26655,13 +25761,10 @@ __metadata: md5: "npm:^2.2.1" motion: "npm:^12.23.6" npm-cli-login: "npm:^1.0.0" - nyc: "npm:^10.2.0" - p-queue: "npm:^6.2.1" parcel: "npm:^2.16.0" parcel-optimizer-strict-mode: "workspace:^" patch-package: "npm:^6.2.0" playwright: "npm:^1.45.3" - plop: "npm:^2.4.0" postcss: "npm:^8.4.24" postcss-custom-properties: "npm:^13.2.0" postcss-import: "npm:^15.1.0" @@ -26669,16 +25772,14 @@ __metadata: prop-types: "npm:^15.6.0" raf: "npm:^3.4.0" react: "npm:^19.1.0" - react-axe: "npm:^3.0.2" react-dom: "npm:^19.1.0" react-frame-component: "npm:^5.0.0" react-test-renderer: "npm:^19.1.0" recast: "npm:^0.23" recursive-readdir: "npm:^2.2.2" regenerator-runtime: "npm:0.13.3" - rimraf: "npm:^2.6.3" + rimraf: "npm:^6.0.1" sharp: "npm:^0.33.5" - sinon: "npm:^7.3.1" storybook: "npm:^8.6.14" storybook-dark-mode: "npm:^4.0.2" storybook-react-parcel: "workspace:^" @@ -26692,7 +25793,6 @@ __metadata: walk-object: "npm:^4.0.0" wsrun: "npm:^5.0.0" xml: "npm:^1.0.1" - yargs: "npm:^17.2.1" languageName: unknown linkType: soft @@ -27104,15 +26204,6 @@ __metadata: languageName: node linkType: hard -"regex-cache@npm:^0.4.2": - version: 0.4.4 - resolution: "regex-cache@npm:0.4.4" - dependencies: - is-equal-shallow: "npm:^0.1.3" - checksum: 10c0/d3e374638b577ae560a445c7f36b801cab4815f7d25e1a9afc2328c01d5c0d203ea0d24e95635843e25ebc54e061f1790f7d47aa3839c49f67bbc53358ad9066 - languageName: node - linkType: hard - "regex-not@npm:^1.0.0, regex-not@npm:^1.0.2": version: 1.0.2 resolution: "regex-not@npm:1.0.2" @@ -27300,7 +26391,7 @@ __metadata: languageName: node linkType: hard -"repeat-string@npm:^1.5.2, repeat-string@npm:^1.6.1": +"repeat-string@npm:^1.6.1": version: 1.6.1 resolution: "repeat-string@npm:1.6.1" checksum: 10c0/87fa21bfdb2fbdedc44b9a5b118b7c1239bdd2c2c1e42742ef9119b7d412a5137a1d23f1a83dc6bb686f4f27429ac6f542e3d923090b44181bafa41e8ac0174d @@ -27372,13 +26463,6 @@ __metadata: languageName: node linkType: hard -"requestidlecallback@npm:^0.3.0": - version: 0.3.0 - resolution: "requestidlecallback@npm:0.3.0" - checksum: 10c0/68a2ff3154788643ccf96436cfaf8ad5bbe2f4d3f4b4d7858ec74681bf7d6a487d17df6a238130ff1e73d0a4a85bdc44b5f945eb79ef7d5552e23fc6288e795f - languageName: node - linkType: hard - "require-directory@npm:^2.1.1": version: 2.1.1 resolution: "require-directory@npm:2.1.1" @@ -27452,13 +26536,6 @@ __metadata: languageName: node linkType: hard -"resolve-from@npm:^2.0.0": - version: 2.0.0 - resolution: "resolve-from@npm:2.0.0" - checksum: 10c0/e2b385b9ed3b283356f0ebff0f1fde15c5772c8110f75e27c9d698816b62d2b4d3afc27b02b06a9b713ed9f77df766e8eb42ff7bc1de2f5d60751b4016eded1d - languageName: node - linkType: hard - "resolve-from@npm:^3.0.0": version: 3.0.0 resolution: "resolve-from@npm:3.0.0" @@ -27503,7 +26580,7 @@ __metadata: languageName: node linkType: hard -"resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.11.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.4": +"resolve@npm:^1.1.6, resolve@npm:^1.1.7, resolve@npm:^1.10.0, resolve@npm:^1.14.2, resolve@npm:^1.17.0, resolve@npm:^1.19.0, resolve@npm:^1.20.0, resolve@npm:^1.22.4": version: 1.22.8 resolution: "resolve@npm:1.22.8" dependencies: @@ -27529,7 +26606,7 @@ __metadata: languageName: node linkType: hard -"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.11.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": +"resolve@patch:resolve@npm%3A^1.1.6#optional!builtin, resolve@patch:resolve@npm%3A^1.1.7#optional!builtin, resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.14.2#optional!builtin, resolve@patch:resolve@npm%3A^1.17.0#optional!builtin, resolve@patch:resolve@npm%3A^1.19.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.4#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" dependencies: @@ -27593,7 +26670,7 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:2, rimraf@npm:^2.3.3, rimraf@npm:^2.5.4, rimraf@npm:^2.6.1, rimraf@npm:^2.6.2, rimraf@npm:^2.6.3": +"rimraf@npm:2, rimraf@npm:^2.5.4, rimraf@npm:^2.6.2, rimraf@npm:^2.6.3": version: 2.7.1 resolution: "rimraf@npm:2.7.1" dependencies: @@ -27615,6 +26692,18 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^6.0.1": + version: 6.0.1 + resolution: "rimraf@npm:6.0.1" + dependencies: + glob: "npm:^11.0.0" + package-json-from-dist: "npm:^1.0.0" + bin: + rimraf: dist/esm/bin.mjs + checksum: 10c0/b30b6b072771f0d1e73b4ca5f37bb2944ee09375be9db5f558fcd3310000d29dfcfa93cf7734d75295ad5a7486dc8e40f63089ced1722a664539ffc0c3ece8c6 + languageName: node + linkType: hard + "rimraf@npm:~2.6.2": version: 2.6.3 resolution: "rimraf@npm:2.6.3" @@ -27859,7 +26948,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:2 >=2.2.1 || 3.x || 4 || 5, semver@npm:2 || 3 || 4 || 5, semver@npm:2.x || 3.x || 4 || 5, semver@npm:^5.0.3, semver@npm:^5.1.0, semver@npm:^5.3.0, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.5.1, semver@npm:^5.6.0, semver@npm:^5.7.0": +"semver@npm:2 >=2.2.1 || 3.x || 4 || 5, semver@npm:2 || 3 || 4 || 5, semver@npm:2.x || 3.x || 4 || 5, semver@npm:^5.0.3, semver@npm:^5.1.0, semver@npm:^5.4.1, semver@npm:^5.5.0, semver@npm:^5.5.1, semver@npm:^5.6.0, semver@npm:^5.7.0": version: 5.7.2 resolution: "semver@npm:5.7.2" bin: @@ -27962,16 +27051,6 @@ __metadata: languageName: node linkType: hard -"sentence-case@npm:^2.1.0": - version: 2.1.1 - resolution: "sentence-case@npm:2.1.1" - dependencies: - no-case: "npm:^2.2.0" - upper-case-first: "npm:^1.1.2" - checksum: 10c0/3572fe33dd5df4156bc2e5f46a8f7642906234c448484016d5fbb8c7214bdd1f5f01d1791a7b2b1a4f5a99e6e43141d22aa097c0fdcfe41214fd56a85f1ee7f6 - languageName: node - linkType: hard - "sequencify@npm:~0.0.7": version: 0.0.7 resolution: "sequencify@npm:0.0.7" @@ -28232,14 +27311,7 @@ __metadata: languageName: node linkType: hard -"signal-exit@npm:^2.0.0": - version: 2.1.2 - resolution: "signal-exit@npm:2.1.2" - checksum: 10c0/be696a2a14b78bd7c61c83edf9b8d006d04e6235aedbd224c9800ce05285066636b0357e0b0250a277f919925f41937c15d0c380e4c844d667d499c37424a26a - languageName: node - linkType: hard - -"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.1, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": +"signal-exit@npm:^3.0.0, signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: 10c0/25d272fa73e146048565e08f3309d5b942c1979a6f4a58a8c59d5fa299728e9c2fcd1a759ec870863b1fd38653670240cd420dad2ad9330c71f36608a6a1c912 @@ -28262,21 +27334,6 @@ __metadata: languageName: node linkType: hard -"sinon@npm:^7.3.1": - version: 7.5.0 - resolution: "sinon@npm:7.5.0" - dependencies: - "@sinonjs/commons": "npm:^1.4.0" - "@sinonjs/formatio": "npm:^3.2.1" - "@sinonjs/samsam": "npm:^3.3.3" - diff: "npm:^3.5.0" - lolex: "npm:^4.2.0" - nise: "npm:^1.5.2" - supports-color: "npm:^5.5.0" - checksum: 10c0/44efbca7bc3ba7b91773f666a1a816a12f420aff1ddd7f62d894bfea37a0b6994224a89abf24f2a98cbca708b8a66a36bb96158e9f103a427483aa4b41236201 - languageName: node - linkType: hard - "sisteransi@npm:^1.0.5": version: 1.0.5 resolution: "sisteransi@npm:1.0.5" @@ -28319,7 +27376,7 @@ __metadata: languageName: node linkType: hard -"slide@npm:^1.1.3, slide@npm:^1.1.5, slide@npm:^1.1.6": +"slide@npm:^1.1.3, slide@npm:^1.1.6": version: 1.1.6 resolution: "slide@npm:1.1.6" checksum: 10c0/f3bde70fd4c0a2ba6c23c674f010849865ddfacbc0ae3a57522d7ce88e4cc6c186d627943c34004d4f009a3fb477c03307b247ab69a266de4b3c72b271a6a03a @@ -28340,15 +27397,6 @@ __metadata: languageName: node linkType: hard -"snake-case@npm:^2.1.0": - version: 2.1.0 - resolution: "snake-case@npm:2.1.0" - dependencies: - no-case: "npm:^2.2.0" - checksum: 10c0/fd8b21537263d4e64cadd62da0cb5fd96c95f8685ee8e290c912b79950385dbb9eccf7216a913d96db5efc4ade426badae5e3e35b69ea1f10cbb0b4898a38236 - languageName: node - linkType: hard - "snake-case@npm:^3.0.4": version: 3.0.4 resolution: "snake-case@npm:3.0.4" @@ -28519,7 +27567,7 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.3, source-map@npm:^0.5.6, source-map@npm:^0.5.7": +"source-map@npm:^0.5.6": version: 0.5.7 resolution: "source-map@npm:0.5.7" checksum: 10c0/904e767bb9c494929be013017380cbba013637da1b28e5943b566031e29df04fba57edf3f093e0914be094648b577372bd8ad247fa98cfba9c600794cd16b599 @@ -28561,20 +27609,6 @@ __metadata: languageName: node linkType: hard -"spawn-wrap@npm:1.2.4": - version: 1.2.4 - resolution: "spawn-wrap@npm:1.2.4" - dependencies: - foreground-child: "npm:^1.3.3" - mkdirp: "npm:^0.5.0" - os-homedir: "npm:^1.0.1" - rimraf: "npm:^2.3.3" - signal-exit: "npm:^2.0.0" - which: "npm:^1.2.4" - checksum: 10c0/9bd7a0aac1629101be47aa42d2879d78c3ce97441cec05547baeb234ac06cec1f7f89d8e89ac8b86b99c0824ed6d30eb1ba331a1c50d9df3c47f40b367c0d20a - languageName: node - linkType: hard - "spawn-wrap@npm:^2.0.0": version: 2.0.0 resolution: "spawn-wrap@npm:2.0.0" @@ -28969,7 +28003,7 @@ __metadata: languageName: node linkType: hard -"string-width@npm:^1.0.1, string-width@npm:^1.0.2": +"string-width@npm:^1.0.1": version: 1.0.2 resolution: "string-width@npm:1.0.2" dependencies: @@ -29319,16 +28353,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^3.1.2": - version: 3.2.3 - resolution: "supports-color@npm:3.2.3" - dependencies: - has-flag: "npm:^1.0.0" - checksum: 10c0/d39a57dbd75c3b5740654f8ec16aaf7203b8d12b8a51314507bed590c9081120805f105b4ce741db13105e6f842ac09700e4bd665b9ffc46eb0b34ba54720bd3 - languageName: node - linkType: hard - -"supports-color@npm:^5.3.0, supports-color@npm:^5.5.0": +"supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" dependencies: @@ -29398,16 +28423,6 @@ __metadata: languageName: node linkType: hard -"swap-case@npm:^1.1.0": - version: 1.1.2 - resolution: "swap-case@npm:1.1.2" - dependencies: - lower-case: "npm:^1.1.1" - upper-case: "npm:^1.1.1" - checksum: 10c0/0fb57c2427cec53c85cab0dd85f243b8b84b68e039eb550c50e01340cfa43a62e5276e04d088e9066b89073f781b258eeb97bf2c22d6232e005feeca2a11d6bc - languageName: node - linkType: hard - "symbol-tree@npm:^3.2.4": version: 3.2.4 resolution: "symbol-tree@npm:3.2.4" @@ -29617,19 +28632,6 @@ __metadata: languageName: node linkType: hard -"test-exclude@npm:^4.1.0": - version: 4.2.3 - resolution: "test-exclude@npm:4.2.3" - dependencies: - arrify: "npm:^1.0.1" - micromatch: "npm:^2.3.11" - object-assign: "npm:^4.1.0" - read-pkg-up: "npm:^1.0.1" - require-main-filename: "npm:^1.0.1" - checksum: 10c0/b141824d0b1e11169f97617606a6eb33e5585331674cfd5a280517695bc83d3a49a68ff744a33b0b6dddd7a7d4e00c52082854f37fd3af513856194f2d6ed275 - languageName: node - linkType: hard - "test-exclude@npm:^6.0.0": version: 6.0.0 resolution: "test-exclude@npm:6.0.0" @@ -29816,16 +28818,6 @@ __metadata: languageName: node linkType: hard -"title-case@npm:^2.1.0": - version: 2.1.1 - resolution: "title-case@npm:2.1.1" - dependencies: - no-case: "npm:^2.2.0" - upper-case: "npm:^1.0.3" - checksum: 10c0/7b4e51036af10d99c48fac9eee8c6f59f92c1c6cc56fc1f790c7727f5eb139c7ebf7a22381626855ce74b6534f36041e91922469dbe086e67d0d71e7e8e40fc3 - languageName: node - linkType: hard - "tldts-core@npm:^6.1.78": version: 6.1.78 resolution: "tldts-core@npm:6.1.78" @@ -30030,13 +29022,6 @@ __metadata: languageName: node linkType: hard -"trim-right@npm:^1.0.1": - version: 1.0.1 - resolution: "trim-right@npm:1.0.1" - checksum: 10c0/71989ec179c6b42a56e03db68e60190baabf39d32d4e1252fa1501c4e478398ae29d7191beffe015b9d9dc76f04f4b3a946bdb9949ad6b0c0b0c5db65f3eb672 - languageName: node - linkType: hard - "triple-beam@npm:^1.3.0": version: 1.4.1 resolution: "triple-beam@npm:1.4.1" @@ -30881,22 +29866,6 @@ __metadata: languageName: node linkType: hard -"upper-case-first@npm:^1.1.0, upper-case-first@npm:^1.1.2": - version: 1.1.2 - resolution: "upper-case-first@npm:1.1.2" - dependencies: - upper-case: "npm:^1.1.1" - checksum: 10c0/db3aff30538ed53c35b91a68faf46119d35ceb8800fec373ad781cbfc487f10ccd4d60609e4188e85d20ea3ec9db9a2392fa6372c334f1d1107cbde0bcb5edfe - languageName: node - linkType: hard - -"upper-case@npm:^1.0.3, upper-case@npm:^1.1.0, upper-case@npm:^1.1.1, upper-case@npm:^1.1.3": - version: 1.1.3 - resolution: "upper-case@npm:1.1.3" - checksum: 10c0/3e4d3a90519915bb591db84d72610392518806d8287b8f7541d87642d30388f42b2def1ed2f687e5792ee025e8f7e17d3a0dcbd5b3b59e306ceb1f3b8121ef54 - languageName: node - linkType: hard - "uri-js@npm:^4.2.2": version: 4.2.2 resolution: "uri-js@npm:4.2.2" @@ -31070,7 +30039,7 @@ __metadata: languageName: node linkType: hard -"v8flags@npm:^2.0.10, v8flags@npm:^2.0.2": +"v8flags@npm:^2.0.2": version: 2.1.1 resolution: "v8flags@npm:2.1.1" dependencies: @@ -31438,7 +30407,7 @@ __metadata: languageName: node linkType: hard -"wcwidth@npm:^1.0.0, wcwidth@npm:^1.0.1": +"wcwidth@npm:^1.0.0": version: 1.0.1 resolution: "wcwidth@npm:1.0.1" dependencies: @@ -31581,13 +30550,6 @@ __metadata: languageName: node linkType: hard -"which-module@npm:^1.0.0": - version: 1.0.0 - resolution: "which-module@npm:1.0.0" - checksum: 10c0/ce5088fb12dae0b6d5997b6221342943ff6275c3b2cd9c569f04ec23847c71013d254c6127d531010dccc22c0fc0f8dce2b6ecf6898941a60b576adb2018af22 - languageName: node - linkType: hard - "which-module@npm:^2.0.0": version: 2.0.0 resolution: "which-module@npm:2.0.0" @@ -31608,7 +30570,7 @@ __metadata: languageName: node linkType: hard -"which@npm:1, which@npm:^1.2.12, which@npm:^1.2.14, which@npm:^1.2.4, which@npm:^1.2.9, which@npm:^1.3.1": +"which@npm:1, which@npm:^1.2.12, which@npm:^1.2.14, which@npm:^1.2.9, which@npm:^1.3.1": version: 1.3.1 resolution: "which@npm:1.3.1" dependencies: @@ -31789,17 +30751,6 @@ __metadata: languageName: node linkType: hard -"write-file-atomic@npm:^1.1.4": - version: 1.3.4 - resolution: "write-file-atomic@npm:1.3.4" - dependencies: - graceful-fs: "npm:^4.1.11" - imurmurhash: "npm:^0.1.4" - slide: "npm:^1.1.5" - checksum: 10c0/6f6270708f12e9bba36c527da3f06e4e11146681947b00732695f769f23651713e085e88a5e0f8d04f40d131ed1f1f588d9eeade3a0f862fe8a91f4b4a15a23c - languageName: node - linkType: hard - "write-file-atomic@npm:^2.0.0, write-file-atomic@npm:^2.3.0, write-file-atomic@npm:^2.4.2": version: 2.4.3 resolution: "write-file-atomic@npm:2.4.3" @@ -32047,15 +30998,6 @@ __metadata: languageName: node linkType: hard -"yargs-parser@npm:^5.0.0": - version: 5.0.0 - resolution: "yargs-parser@npm:5.0.0" - dependencies: - camelcase: "npm:^3.0.0" - checksum: 10c0/f137d3fc34873b53ded2133f0f114f7c9eb2203d115b114cfde865adc64a0a1de650f8e52b7a3388e48f001119e77c4d67bea885f5326f73ba2e970d0ec7b73e - languageName: node - linkType: hard - "yargs-parser@npm:^8.1.0": version: 8.1.0 resolution: "yargs-parser@npm:8.1.0" @@ -32138,7 +31080,7 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^17.2.1, yargs@npm:^17.3.1": +"yargs@npm:^17.3.1": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: @@ -32153,27 +31095,6 @@ __metadata: languageName: node linkType: hard -"yargs@npm:^7.1.0": - version: 7.1.0 - resolution: "yargs@npm:7.1.0" - dependencies: - camelcase: "npm:^3.0.0" - cliui: "npm:^3.2.0" - decamelize: "npm:^1.1.1" - get-caller-file: "npm:^1.0.1" - os-locale: "npm:^1.4.0" - read-pkg-up: "npm:^1.0.1" - require-directory: "npm:^2.1.1" - require-main-filename: "npm:^1.0.1" - set-blocking: "npm:^2.0.0" - string-width: "npm:^1.0.2" - which-module: "npm:^1.0.0" - y18n: "npm:^3.2.1" - yargs-parser: "npm:^5.0.0" - checksum: 10c0/bc0447b45dc21d805ab2ba07d7b755f0324f00afef62258add0efee4d6d7e0312072e4b78bff89f028a96222c04672c8e3477fea8e387c0d1b215d0829b04038 - languageName: node - linkType: hard - "yn@npm:3.1.1": version: 3.1.1 resolution: "yn@npm:3.1.1"