Skip to content

Commit

Permalink
Fix main build (#6353)
Browse files Browse the repository at this point in the history
* Fix verdaccio build on main
  • Loading branch information
snowystinger authored May 9, 2024
1 parent d033f23 commit 87d1e19
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 17 deletions.
4 changes: 2 additions & 2 deletions examples/rsp-cra-18/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"homepage": ".",
"dependencies": {
"@adobe/react-spectrum": "latest",
"@babel/plugin-proposal-private-property-in-object": "^7.16.7",
"@babel/preset-react": "^7.24.1",
"@react-aria/dnd": "^3.5.0",
"@react-spectrum/inlinealert": "^3.0.0-rc.0",
"@react-spectrum/color": "^3.0.0-beta.28",
"@react-spectrum/dropzone": "^3.0.0-beta.0",
"@react-spectrum/toast": "^3.0.0-beta.7",
"@spectrum-icons/workflow": "latest",
"@spectrum-icons/illustrations": "^3.6.8",
Expand Down
2 changes: 1 addition & 1 deletion examples/rsp-cra-18/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import './App.css';
import {Provider, defaultTheme, Item, TagGroup, Cell, Column, Row, TableBody, TableHeader, TableView, Content} from '@adobe/react-spectrum';
import {Provider, defaultTheme, Item, TagGroup, Cell, Column, Row, TableBody, TableHeader, TableView} from '@adobe/react-spectrum';
import Lighting from './Lighting';
import {useState} from 'react'
import BodyContent from './BodyContent';
Expand Down
1 change: 1 addition & 0 deletions examples/rsp-cra-18/src/sections/ButtonExamples.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable react/style-prop-object */
import { ActionButton, Button, Divider, Flex, LogicButton, ToggleButton} from '@adobe/react-spectrum';

export default function ButtonExamples() {
Expand Down
3 changes: 1 addition & 2 deletions examples/rsp-cra-18/src/sections/CollectionExamples.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {ActionMenu, Flex, Divider, Item, ListBox, ListView, MenuTrigger, Menu, ActionButton, TableBody, TableView, Row, Cell, TableHeader, Column, TagGroup} from '@adobe/react-spectrum';
import {SubmenuTrigger} from "@react-spectrum/menu";
import {ActionMenu, Flex, Divider, Item, ListBox, ListView, MenuTrigger, Menu, SubmenuTrigger, ActionButton, TableBody, TableView, Row, Cell, TableHeader, Column, TagGroup} from '@adobe/react-spectrum';

export default function CollectionExamples(){
return (
Expand Down
8 changes: 2 additions & 6 deletions examples/rsp-cra-18/src/sections/DragAndDropExamples.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {DropZone} from '@react-spectrum/dropzone'
import {Flex, Divider, IllustratedMessage, Heading} from '@adobe/react-spectrum';
import {Text} from 'react-aria-components';
import {DropZone, Flex, Divider, IllustratedMessage, Heading} from '@adobe/react-spectrum';
import React from 'react';
import Upload from '@spectrum-icons/illustrations/Upload';
import {useDrag} from '@react-aria/dnd';
Expand All @@ -21,9 +19,7 @@ export default function DragAndDropExamples() {
<IllustratedMessage>
<Upload />
<Heading>
<Text slot="label">
{isFilled ? 'You dropped something!' : 'Drag and drop your file'}
</Text>
{isFilled ? 'You dropped something!' : 'Drag and drop your file'}
</Heading>
</IllustratedMessage>
</DropZone>
Expand Down
2 changes: 1 addition & 1 deletion examples/rsp-webpack-4/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@babel/core": "^7.24.3",
"@babel/cli": "^7.24.3",
"@babel/preset-env": "^7.24.3",
"@babel/preset-react": "^7.24.3",
"@babel/preset-react": "^7.24.1",
"webpack": "4.46.0",
"webpack-cli": "3.1.1",
"webpack-dev-server": "3.1.8",
Expand Down
4 changes: 2 additions & 2 deletions starters/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"@babel/preset-react": "^7.23.3",
"@babel/preset-react": "^7.24.1",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
"@storybook/addon-links": "^7.5.3",
Expand All @@ -18,7 +18,7 @@
"react-dom": "^18.2.0",
"storybook": "^7.5.3",
"storybook-dark-mode": "^3.0.1",
"typescript": "^5.3.2"
"typescript": "5.3.3"
},
"resolutions": {
"@types/mime": "3.0.4",
Expand Down
3 changes: 2 additions & 1 deletion starters/docs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx"
"jsx": "react-jsx",
"skipLibCheck": true
},
"include": [
"src",
Expand Down
3 changes: 2 additions & 1 deletion starters/tailwind/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"devDependencies": {
"@babel/preset-react": "^7.24.1",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",
"@storybook/addon-links": "^7.5.3",
Expand All @@ -16,7 +17,7 @@
"react-dom": "^18.2.0",
"storybook": "^7.5.3",
"tailwindcss-react-aria-components": "^1.0.0",
"typescript": "^5.3.2",
"typescript": "5.3.3",
"vite": "^5.0.10"
},
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion starters/tailwind/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "react"
"jsx": "react",
"skipLibCheck": true
},
"include": [
"src",
Expand Down

1 comment on commit 87d1e19

@rspbot
Copy link

@rspbot rspbot commented on 87d1e19 May 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.