Skip to content

Commit 01afe31

Browse files
committed
preemptively fix verdaccio
1 parent 8b25dbf commit 01afe31

File tree

18 files changed

+106
-36
lines changed

18 files changed

+106
-36
lines changed

.storybook-s2/custom-addons/provider/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {getQueryParams} from '@storybook/preview-api';
55
// Importing from src so that HMR works.
66
// Without this, all HMR updates will bubble through the index.ts and up
77
// to the root instead of stopping at the story files.
8-
import {Provider} from '@react-spectrum/s2/src/Provider';
8+
import {Provider} from '../../../packages/@react-spectrum/s2/src/Provider';
99

1010
document.body.style.margin = '0';
1111

.storybook-s2/preview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import '@react-spectrum/s2/page';
1+
import '@react-spectrum/s2/page.css';
22
import { themes } from '@storybook/theming';
33
import { DARK_MODE_EVENT_NAME } from 'storybook-dark-mode';
44
import { store } from 'storybook-dark-mode/dist/esm/Tool';
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/index.d.ts b/index.d.ts
2+
index ba9855b0a36d5fbd70f92da611f3e1e96f203ee3..167de6defae46d391a45cc63dd11403722fb1619 100644
3+
--- a/index.d.ts
4+
+++ b/index.d.ts
5+
@@ -4,7 +4,7 @@
6+
*/
7+
export function mdxjs(
8+
options?:
9+
- | import('micromark-extension-mdx-expression/dev/lib/syntax').Options
10+
+ | Options
11+
| undefined
12+
): Extension
13+
export type Extension = import('micromark-util-types').Extension
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/index.d.ts b/index.d.ts
2+
index c5da87629f94c457947bc712439c94b028cd5d81..3bec2ed83b30a40f84f51665eebf7a67d1a628c1 100644
3+
--- a/index.d.ts
4+
+++ b/index.d.ts
5+
@@ -4,7 +4,7 @@
6+
*
7+
* @type {import('unified').Plugin<[Options?]|Array<void>, Root>}
8+
*/
9+
-export default function remarkMdx(options?: void | import("micromark-extension-mdx-expression/dev/lib/syntax").Options | undefined): void | import("unified").Transformer<import("mdast").Root, import("mdast").Root>;
10+
+export default function remarkMdx(options?: void | import("micromark-extension-mdx-expression").Options | undefined): void | import("unified").Transformer<import("mdast").Root, import("mdast").Root>;
11+
export type Root = import('mdast').Root;
12+
export type Options = import('micromark-extension-mdxjs').Options;
13+
export type DoNotTouchAsThisImportItIncludesMdxInTree = typeof import("mdast-util-mdx");

.yarn/patches/remark-parse-npm-10.0.1-e654d7df78.patch

Whitespace-only changes.

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,10 @@
238238
"@testing-library/user-event": "patch:@testing-library/user-event@npm%3A14.6.1#~/.yarn/patches/@testing-library-user-event-npm-14.6.1-5da7e1d4e2.patch",
239239
"@types/node@npm:*": "^22",
240240
"@types/node@npm:^18.0.0": "^22",
241-
"@types/node@npm:>= 8": "^22"
241+
"@types/node@npm:>= 8": "^22",
242+
"micromark-extension-mdxjs@npm:^1.0.0": "patch:micromark-extension-mdxjs@npm%3A1.0.0#~/.yarn/patches/micromark-extension-mdxjs-npm-1.0.0-d2b6b69e4a.patch",
243+
"remark-mdx@npm:^2.0.0-rc.2": "patch:remark-mdx@npm%3A2.0.0-rc.2#~/.yarn/patches/remark-mdx-npm-2.0.0-rc.2-7a71234e1f.patch",
244+
"remark-parse@npm:^10.0.0": "patch:remark-parse@npm%3A10.0.1#~/.yarn/patches/remark-parse-npm-10.0.1-e654d7df78.patch"
242245
},
243246
"@parcel/transformer-css": {
244247
"cssModules": {
@@ -264,7 +267,9 @@
264267
}
265268
},
266269
"alias": {
267-
"@storybook/react-dom-shim": "@storybook/react-dom-shim/dist/react-18"
270+
"@storybook/react-dom-shim": "@storybook/react-dom-shim/dist/react-18",
271+
"react-dom/client.js": "react-dom/client",
272+
"react-dom/index.js": "react-dom"
268273
},
269274
"@parcel/resolver-default": {
270275
"packageExports": true

packages/@react-aria/test-utils/src/userEventMaps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {pointerKey} from '@testing-library/user-event/system/pointer/shared';
1+
import {pointerKey} from '@testing-library/user-event';
22

33
export let pointerMap: pointerKey[] = [
44
{name: 'MouseLeft', pointerType: 'mouse', button: 'primary', height: 1, width: 1, pressure: 0.5},

packages/@react-spectrum/badge/chromatic-fc/Badge.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import {Badge} from '..';
1414
import {BadgeStory, renderVariants} from '../chromatic/Badge.stories';
15-
import CheckmarkCircle from '@spectrum-icons/workflow/src/CheckmarkCircle';
15+
import CheckmarkCircle from '@spectrum-icons/workflow/CheckmarkCircle';
1616
import {ComponentMeta} from '@storybook/react';
1717
import React from 'react';
1818
import {Text} from '@react-spectrum/text';

packages/@react-spectrum/badge/chromatic/Badge.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313
import {Badge} from '../';
14-
import CheckmarkCircle from '@spectrum-icons/workflow/src/CheckmarkCircle';
14+
import CheckmarkCircle from '@spectrum-icons/workflow/CheckmarkCircle';
1515
import {ComponentMeta, ComponentStoryObj} from '@storybook/react';
1616
import {Flex} from '@react-spectrum/layout';
1717
import React from 'react';

packages/@react-spectrum/illustratedmessage/chromatic/IllustratedMessage.Languages.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {Content} from '@react-spectrum/view';
1414
import {Flex} from '@react-spectrum/layout';
1515
import {Heading} from '@react-spectrum/text';
1616
import {IllustratedMessage} from '..';
17-
import NotFound from '@spectrum-icons/illustrations/src/NotFound';
17+
import NotFound from '@spectrum-icons/illustrations/NotFound';
1818
import React from 'react';
1919

2020
type IllustratedMessageStory = ComponentStoryObj<typeof IllustratedMessage>;

0 commit comments

Comments
 (0)