1
0
Fork 0

wip: Auto-updated dependencies

This commit is contained in:
Joost De Cock 2021-05-22 12:15:10 +02:00
parent 9d7bacef77
commit 85cf29bcc7
116 changed files with 1085 additions and 1317 deletions

View file

@ -27,7 +27,7 @@
},
"peerDependencies": {
"axios": "0.21.1",
"react": "^16.13.1",
"react": "^17.0.2",
"@freesewing/pattern-info": "^2.15.4",
"@freesewing/mui-theme": "^2.15.4",
"@freesewing/css-theme": "^2.15.4",
@ -42,14 +42,14 @@
"@fontsource/ubuntu": "latest",
"@freesewing/i18n": "^2.15.4",
"@freesewing/utils": "^2.15.4",
"react-intl": "^5.4.5",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "4.9.1",
"@material-ui/lab": "^v4.0.0-alpha.56",
"prismjs": "^1.22.0",
"react-markdown": "^5.0.3",
"react-intl": "^5.17.6",
"@material-ui/core": "^4.11.4",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^v4.0.0-alpha.57",
"prismjs": "^1.23.0",
"react-markdown": "^6.0.2",
"file-saver": "^2.0.5",
"yaml": "^1.10.0"
"yaml": "^1.10.2"
},
"dependencies": {},
"devDependencies": {},
@ -76,7 +76,7 @@
],
"publishConfig": {
"access": "public",
"tag": "latest"
"tag": "next"
},
"engines": {
"node": ">=12.0.0",

View file

@ -23,18 +23,18 @@ const createConfig = (component, module) => {
peerDepsExternal(),
resolve({ modulesOnly: true }),
json(),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
//terser({
// output: {
// preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
// }
//})
]
}
}
const config = []
// When developing, you can use this to only rebuild the components you're working on
let dev = false
let dev = true
let only = ['Workbench']
for (let component of components) {
if (!dev || only.indexOf(component) !== -1) config.push(createConfig(component, false))

View file

@ -1,6 +1,6 @@
import React from 'react'
import Logo from '../Logo'
import { FormattedMessage } from 'react-intl'
//import { FormattedMessage } from 'react-intl'
const Footer = (props) => {
@ -10,7 +10,7 @@ const Footer = (props) => {
<div>
<ul>
<li className="heading">
<FormattedMessage id='app.docs'/>
{/*<FormattedMessage id='app.docs'/>*/}
</li>
<li><a href="https://freesewing.dev/reference/api/">Core API</a></li>
<li><a href="https://freesewing.dev/reference/macros/">Macros</a></li>

View file

@ -3,7 +3,7 @@ import AppBar from '@material-ui/core/AppBar'
import Toolbar from '@material-ui/core/Toolbar'
import Button from '@material-ui/core/Button'
import IconButton from '@material-ui/core/IconButton'
import { FormattedMessage } from 'react-intl'
//import { FormattedMessage } from 'react-intl'
import Icon from '../Icon'
import LanguageIcon from '@material-ui/icons/Translate'
import LightModeIcon from '@material-ui/icons/WbSunny'
@ -71,7 +71,7 @@ export default function ButtonAppBar(props) {
<Button {...buttonProps} href="https://chat.freesewing.org/">
<Icon style={{ ...iconStyle }} icon="discord" />
<FormattedMessage id="app.chatOnDiscord" />
{/*<FormattedMessage id="app.chatOnDiscord" />*/}
</Button>
<span style={style.spacer} />