Skip to content

Commit 45a7f75

Browse files
committed
Bump some deps, don't load initial value from module
1 parent 1969524 commit 45a7f75

5 files changed

Lines changed: 2557 additions & 2545 deletions

File tree

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"demo"
1616
],
1717
"devDependencies": {
18-
"gatsby": "^2.3.31",
19-
"husky": "^1.2.0",
20-
"lerna": "^3.13.1",
21-
"lint-staged": "^8.1.0",
22-
"prettier": "^1.15.3"
18+
"gatsby": "^2.13.28",
19+
"husky": "^3.0.0",
20+
"lerna": "^3.15.0",
21+
"lint-staged": "^9.2.0",
22+
"prettier": "^1.18.2"
2323
},
2424
"husky": {
2525
"hooks": {

packages/editor/src/components/Editor.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Editor, getEventRange, getEventTransfer } from 'slate-react'
33
import { ThemeProvider } from 'theme-ui'
44

55
import schema from '../lib/schema'
6-
import initialValue from '!!raw-loader!../lib/value.mdx'
76
import { parseMDX, serializer } from '@blocks/serializer'
87
import { isUrl, isImageUrl } from '../lib/util'
98

@@ -13,6 +12,8 @@ import defaultPlugins from '../plugins'
1312
import defaultBlocks from './blocks'
1413
import Toolbar from './Toolbar'
1514

15+
const initialValue = '# Welcome to Blocks!'
16+
1617
const insertImage = (change, src, target) => {
1718
if (target) {
1819
change.select(target)

packages/editor/src/lib/value.mdx

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/gatsby-theme-blocks-docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"gatsby-plugin-compile-es6-packages": "^1.1.0",
3030
"gatsby-plugin-emotion": "^4.0.6",
3131
"gatsby-plugin-google-fonts": "^0.0.4",
32-
"gatsby-plugin-mdx": "1.0.2-1",
32+
"gatsby-plugin-mdx": "^1.0.13",
3333
"gatsby-plugin-page-creator": "^2.0.12",
3434
"gatsby-plugin-react-helmet": "^3.0.12",
3535
"is-absolute-url": "^3.0.0",

0 commit comments

Comments
 (0)