upgrade redwood to v 0.36
This commit is contained in:
@@ -1 +0,0 @@
|
|||||||
module.exports = { extends: "../babel.config.js" }
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@redwoodjs/api": "^0.35.2",
|
"@redwoodjs/api": "^0.36.2",
|
||||||
"@sentry/node": "^6.5.1",
|
"@sentry/node": "^6.5.1",
|
||||||
"cloudinary": "^1.23.0",
|
"cloudinary": "^1.23.0",
|
||||||
"human-id": "^2.0.1",
|
"human-id": "^2.0.1",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {},
|
"scripts": {},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@redwoodjs/core": "^0.35.2"
|
"@redwoodjs/core": "^0.36.2"
|
||||||
},
|
},
|
||||||
"eslintConfig": {
|
"eslintConfig": {
|
||||||
"extends": "@redwoodjs/eslint-config",
|
"extends": "@redwoodjs/eslint-config",
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ const path = require('path')
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
plugins: [
|
plugins: [
|
||||||
require('tailwindcss')(path.resolve(__dirname, '../tailwind.config.js')),
|
require('tailwindcss')(path.resolve(__dirname, 'tailwind.config.js')),
|
||||||
require('autoprefixer'),
|
require('autoprefixer'),
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
module.exports = (config, { env }) => {
|
module.exports = (config, { env }) => {
|
||||||
config.plugins.forEach((plugin) => {
|
config.plugins.forEach((plugin) => {
|
||||||
if (plugin.constructor.name === 'HtmlWebpackPlugin') {
|
if (plugin.constructor.name === 'HtmlWebpackPlugin') {
|
||||||
plugin.options.favicon = './src/favicon.svg'
|
plugin.userOptions.favicon = './src/favicon.svg'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return config
|
return config
|
||||||
|
|||||||
@@ -19,12 +19,13 @@
|
|||||||
"@monaco-editor/react": "^4.0.11",
|
"@monaco-editor/react": "^4.0.11",
|
||||||
"@react-three/drei": "^7.3.1",
|
"@react-three/drei": "^7.3.1",
|
||||||
"@react-three/fiber": "^7.0.5",
|
"@react-three/fiber": "^7.0.5",
|
||||||
"@redwoodjs/auth": "^0.35.2",
|
"@redwoodjs/auth": "^0.36.2",
|
||||||
"@redwoodjs/forms": "^0.35.2",
|
"@redwoodjs/forms": "^0.36.2",
|
||||||
"@redwoodjs/router": "^0.35.2",
|
"@redwoodjs/router": "^0.36.2",
|
||||||
"@redwoodjs/web": "^0.35.2",
|
"@redwoodjs/web": "^0.36.2",
|
||||||
"@sentry/browser": "^6.5.1",
|
"@sentry/browser": "^6.5.1",
|
||||||
"@tailwindcss/aspect-ratio": "0.2.1",
|
"@tailwindcss/aspect-ratio": "0.2.1",
|
||||||
|
"axios": "^0.21.1",
|
||||||
"browser-fs-access": "^0.17.2",
|
"browser-fs-access": "^0.17.2",
|
||||||
"cloudinary-react": "^1.6.7",
|
"cloudinary-react": "^1.6.7",
|
||||||
"get-active-classes": "^0.0.11",
|
"get-active-classes": "^0.0.11",
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
"react-ga": "^3.3.0",
|
"react-ga": "^3.3.0",
|
||||||
"react-helmet": "^6.1.0",
|
"react-helmet": "^6.1.0",
|
||||||
"react-image-crop": "^8.6.6",
|
"react-image-crop": "^8.6.6",
|
||||||
"react-mosaic-component": "^4.1.1",
|
"react-mosaic-component": "^5.0.0",
|
||||||
"react-tabs": "^3.2.2",
|
"react-tabs": "^3.2.2",
|
||||||
"rich-markdown-editor": "^11.0.2",
|
"rich-markdown-editor": "^11.0.2",
|
||||||
"styled-components": "^5.2.0",
|
"styled-components": "^5.2.0",
|
||||||
@@ -48,10 +49,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/lodash": "^4.14.170",
|
"@types/lodash": "^4.14.170",
|
||||||
"autoprefixer": "^10.2.5",
|
"autoprefixer": "^10.3.1",
|
||||||
"html-webpack-plugin": "^4.5.0",
|
"html-webpack-plugin": "^4.5.0",
|
||||||
"postcss": "^8.2.13",
|
"postcss": "^8.3.6",
|
||||||
"postcss-loader": "4.0.2",
|
"postcss-loader": "^6.1.1",
|
||||||
"tailwindcss": "^2.1.2"
|
"tailwindcss": "^2.2.7"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react'
|
|||||||
import { useIdeContext } from 'src/helpers/hooks/useIdeContext'
|
import { useIdeContext } from 'src/helpers/hooks/useIdeContext'
|
||||||
import { makeCodeStoreKey, requestRender } from 'src/helpers/hooks/useIdeState'
|
import { makeCodeStoreKey, requestRender } from 'src/helpers/hooks/useIdeState'
|
||||||
import Editor, { useMonaco } from '@monaco-editor/react'
|
import Editor, { useMonaco } from '@monaco-editor/react'
|
||||||
import { theme } from 'src/../tailwind.config'
|
import { theme } from 'src/../config/tailwind.config'
|
||||||
import { useSaveCode } from 'src/components/IdeWrapper/useSaveCode'
|
import { useSaveCode } from 'src/components/IdeWrapper/useSaveCode'
|
||||||
import type { CadPackage as CadPackageType } from 'src/helpers/hooks/useIdeState'
|
import type { CadPackage as CadPackageType } from 'src/helpers/hooks/useIdeState'
|
||||||
import CadPackage from '../CadPackage/CadPackage'
|
import CadPackage from '../CadPackage/CadPackage'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { TextField, FieldError } from '@redwoodjs/forms'
|
|||||||
import { useFormContext } from 'react-hook-form'
|
import { useFormContext } from 'react-hook-form'
|
||||||
|
|
||||||
const InputText = ({ type = 'text', className, name, validation }) => {
|
const InputText = ({ type = 'text', className, name, validation }) => {
|
||||||
const { errors } = useFormContext()
|
const { formState: { errors } } = useFormContext()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className={getActiveClasses('relative inline-block', className)}>
|
<div className={getActiveClasses('relative inline-block', className)}>
|
||||||
@@ -112,7 +112,6 @@ export const splitGziped = (text: string) => {
|
|||||||
try {
|
try {
|
||||||
return JSON.parse(json)
|
return JSON.parse(json)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(json, e)
|
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
6546
app/yarn.lock
6546
app/yarn.lock
File diff suppressed because it is too large
Load Diff
@@ -1,4 +1,4 @@
|
|||||||
const webConfig = require('../app/web/tailwind.config.js')
|
const webConfig = require('../app/web/config/tailwind.config.js')
|
||||||
module.exports = {
|
module.exports = {
|
||||||
...webConfig,
|
...webConfig,
|
||||||
purge: ['./src/**/*.html', './src/**/*.js', './src/**/*.ts', './src/**/*.tsx', './blog/**/*.md', './blog/**/*.mdx', './docs/**/*.md', './docs/**/*.mdx', './src/**/*.css'],
|
purge: ['./src/**/*.html', './src/**/*.js', './src/**/*.ts', './src/**/*.tsx', './blog/**/*.md', './blog/**/*.mdx', './docs/**/*.md', './docs/**/*.mdx', './src/**/*.css'],
|
||||||
|
|||||||
Reference in New Issue
Block a user