Skip to content

Commit

Permalink
fix(windmill): bump windmill to the scoped package
Browse files Browse the repository at this point in the history
use `@windmill/react-ui` in place of `windmill-react-ui`

BREAKING CHANGE: Changed every occurrence of `windmill-react-ui` with the scoped
`@windmill/react-ui`. You should see no difference updating and you should update, as the other
project is now deprecated and will no longer be developed. This was needed because the `windmill`
org was in dispute and npm solved it today.
  • Loading branch information
estevanmaito committed Jul 21, 2020
1 parent b11af2d commit dad6261
Show file tree
Hide file tree
Showing 18 changed files with 33 additions and 34 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@testing-library/jest-dom": "4.2.4",
"@testing-library/react": "9.5.0",
"@testing-library/user-event": "7.2.1",
"@windmill/react-ui": "0.3.0",
"chart.js": "2.9.3",
"classnames": "2.2.6",
"faker": "4.1.0",
Expand All @@ -28,8 +29,7 @@
"react-focus-lock": "2.4.0",
"react-router-dom": "5.2.0",
"react-scripts": "3.4.1",
"react-transition-group": "4.4.1",
"windmill-react-ui": "0.1.2"
"react-transition-group": "4.4.1"
},
"devDependencies": {
"@release-it/conventional-changelog": "1.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Cards/InfoCard.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Card, CardBody } from 'windmill-react-ui'
import { Card, CardBody } from '@windmill/react-ui'

function InfoCard({ title, value, children: icon }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
OutlineCogIcon,
OutlineLogoutIcon,
} from '../icons'
import { Avatar, Badge, Input, Dropdown, DropdownItem, WindmillContext } from 'windmill-react-ui'
import { Avatar, Badge, Input, Dropdown, DropdownItem, WindmillContext } from '@windmill/react-ui'

function Header() {
const { mode, toggleMode } = useContext(WindmillContext)
Expand Down
3 changes: 1 addition & 2 deletions src/components/Sidebar/MobileSidebar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React, { useContext } from 'react'

import SidebarContent from './SidebarContent'
import { Transition } from 'windmill-react-ui'
import { Backdrop } from 'windmill-react-ui'
import { Transition, Backdrop } from '@windmill/react-ui'

import { SidebarContext } from '../../context/SidebarContext'

Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar/SidebarContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import routes from '../../routes/sidebar'
import { NavLink, Route } from 'react-router-dom'
import * as Icons from '../../icons'
import SidebarSubmenu from './SidebarSubmenu'
import { Button } from 'windmill-react-ui'
import { Button } from '@windmill/react-ui'

function Icon({ icon, ...props }) {
const Icon = Icons[icon]
Expand Down
2 changes: 1 addition & 1 deletion src/components/Sidebar/SidebarSubmenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react'
import { Link } from 'react-router-dom'
import { DropdownIcon } from '../../icons'
import * as Icons from '../../icons'
import { Transition } from 'windmill-react-ui'
import { Transition } from '@windmill/react-ui'

function Icon({ icon, ...props }) {
const Icon = Icons[icon]
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import './assets/css/tailwind.output.css'
import App from './App'
import { SidebarProvider } from './context/SidebarContext'
import ThemedSuspense from './components/ThemedSuspense'
import { Windmill } from 'windmill-react-ui'
import { Windmill } from '@windmill/react-ui'
import * as serviceWorker from './serviceWorker'

// if (process.env.NODE_ENV !== 'production') {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Buttons.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { HeartIcon, EditIcon } from '../icons'
import PageTitle from '../components/Typography/PageTitle'
import SectionTitle from '../components/Typography/SectionTitle'
import CTA from '../components/CTA'
import { Button } from 'windmill-react-ui'
import { Button } from '@windmill/react-ui'

function Buttons() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Cards.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PageTitle from '../components/Typography/PageTitle'
import SectionTitle from '../components/Typography/SectionTitle'
import CTA from '../components/CTA'
import InfoCard from '../components/Cards/InfoCard'
import { Card, CardBody } from 'windmill-react-ui'
import { Card, CardBody } from '@windmill/react-ui'
import { CartIcon, ChatIcon, MoneyIcon, PeopleIcon } from '../icons'
import RoundIcon from '../components/RoundIcon'

Expand Down
2 changes: 1 addition & 1 deletion src/pages/CreateAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom'
import ImageLight from '../assets/img/create-account-office.jpeg'
import ImageDark from '../assets/img/create-account-office-dark.jpeg'
import { GithubIcon, TwitterIcon } from '../icons'
import { Input, Label, Button } from 'windmill-react-ui'
import { Input, Label, Button } from '@windmill/react-ui'

function Login() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
Avatar,
Badge,
Pagination,
} from 'windmill-react-ui'
} from '@windmill/react-ui'

import {
doughnutOptions,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ForgotPassword.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Link } from 'react-router-dom'

import ImageLight from '../assets/img/forgot-password-office.jpeg'
import ImageDark from '../assets/img/forgot-password-office-dark.jpeg'
import { Label, Input, Button } from 'windmill-react-ui'
import { Label, Input, Button } from '@windmill/react-ui'

function ForgotPassword() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React from 'react'
import CTA from '../components/CTA'
import PageTitle from '../components/Typography/PageTitle'
import SectionTitle from '../components/Typography/SectionTitle'
import { Input, HelperText, Label, Select, Textarea } from 'windmill-react-ui'
import { Input, HelperText, Label, Select, Textarea } from '@windmill/react-ui'

import { MailIcon } from '../icons'

Expand Down
2 changes: 1 addition & 1 deletion src/pages/Login.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Link } from 'react-router-dom'
import ImageLight from '../assets/img/login-office.jpeg'
import ImageDark from '../assets/img/login-office-dark.jpeg'
import { GithubIcon, TwitterIcon } from '../icons'
import { Label, Input, Button } from 'windmill-react-ui'
import { Label, Input, Button } from '@windmill/react-ui'

function Login() {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useState } from 'react'

import PageTitle from '../components/Typography/PageTitle'
import CTA from '../components/CTA'
import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from 'windmill-react-ui'
import { Modal, ModalHeader, ModalBody, ModalFooter, Button } from '@windmill/react-ui'

function Modals() {
const [isModalOpen, setIsModalOpen] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Tables.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
Avatar,
Button,
Pagination,
} from 'windmill-react-ui'
} from '@windmill/react-ui'
import { EditIcon, TrashIcon } from '../icons'

import response from '../utils/demo/tableData'
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const defaultTheme = require('tailwindcss/defaultTheme')
const windmill = require('windmill-react-ui/config')
const windmill = require('@windmill/react-ui/config')

module.exports = windmill({
purge: ['src/**/*.js'],
Expand Down

0 comments on commit dad6261

Please sign in to comment.