Zach Schneider
2bf04b4a8c
Use source-map-loader for more fine-grained sourcemaps. ( #1666 )
2018-02-21 19:35:27 -08:00
Ian Storm Taylor
0935f20c11
update webpack config
2018-02-21 18:35:27 -08:00
Ian Storm Taylor
e6638f7822
update webpack building
2018-02-21 18:03:17 -08:00
Ian Storm Taylor
bc524bd43a
update webpack and rollup configs
2018-02-21 17:48:08 -08:00
Zach Schneider
1fbf999c41
Add back babel-cli as a development dependency. ( #1665 )
2018-02-21 17:44:13 -08:00
Zach Schneider
2ebf3b462b
Set up webpack configuration for building examples ( #1642 )
...
* Set up webpack configuration for building examples
* Configure react-hot-loader in development
* Improve config, set gh-pages to use examples/dist directory
* PR feedback
* Rename App.js in git
2018-02-21 17:19:56 -08:00
Conor Cussell
a43c3fbb61
Update plugins used in plugins example ( #1637 )
2018-02-21 12:40:55 -08:00
Renaud Chaput
de4c9e478a
Lint JSON, CSS and Markdown files with Prettier ( #1612 )
...
* Process and Lint CSS, Markdown and JSON files with Prettier
* Run `yarn prettier` to re-format Markdown, CSS and JSON files
2018-02-07 07:58:41 -08:00
Ian Storm Taylor
83ec966113
refactor rollup, prettier and benchmark configuration
2018-02-06 19:41:03 -08:00
Renaud Chaput
3339d088e1
Add Prettier with ESLint integration ( #1589 )
...
* Add Prettier, with basic config and ESLint integration
* Apply Prettier to all files using `yarn lint --fix`
* Tell Prettier to ignore an empty text in a test output.
* Run Prettier on JS files not handled by ESLint, and lint them too
2018-02-06 15:12:00 -08:00
Jinxuan Zhu
1f254aebec
Fix BABEL_ENV bug in yarn benchmark ( #1607 )
2018-02-05 16:29:33 -05:00
Zach Schneider
b26bed1c88
Improvements to developer experience with building packages ( #1595 )
...
* Improvements to developer experience with building packages
* Add note to Contributing.md about watch:packages
2018-02-03 17:02:46 -08:00
DamareYoh
aee01ae703
fixed build for windows ( #1592 )
2018-02-02 17:20:06 -08:00
Zach Schneider
228b97ff29
Switch to using Rollup for bundling ( #1568 )
...
* Implement first working rollup config for main slate pkg
* Convert slate-base64-serializer to rollup
* Convert slate-dev-logger to rollup
* Convert slate-html-serializer to rollup
* Convert slate-hyperscript to rollup
* Convert slate-plain-serializer to rollup
* Convert slate-prop-types to rollup
* Convert (mostly) slate-react to rollup
* Convert slate-simulator to rollup
* Misc cleanup and configuration tweaks/fixes
* Convert slate-schema-violations to rollup
* Successful rollup build for top-level examples
* Add plugin to replace process.env.NODE_ENV
* Only rebuild modules and dev examples in watch mode
* Enable sourcemaps for development builds
* Force debug to use browser version, remove builtins plugin
* Remove is-image from example
It relies on node `path` and wouldn't work well in-browser anyway
* Use browser version of react-dom/server
* Move stray require to import
* Configure examples to watch child package output
* Fix tests
* Remove unneeded preferBuiltins from resolve config
* Use more precise files array to ensure sourcemaps aren't included
* Use lodash instead of lodash.throttle
It's pulled in anyway since slate-react needs slate, so using the
minipackage actually causes code duplication
* Improve naming/fix UMD builds, update UMD doc
* Add rollup configs to linting, add a missing dep to package.json
* Use longform rollup CLI flags
* Add rollup-plugin-auto-external to reduce external module configuration
* Combine rollup config into a unioned helper
* Centralize to a single rollup configuration
* Update dist structure and package field naming for PR feedback
* Add comments and address PR feedback on rollup config
* i.e. -> e.g.
* Add some spacing to the configuration to improve readability
* Add a bit more spacing
* Remove umd from example Slate unpkg link
2018-02-02 15:46:36 -08:00
Ian Storm Taylor
10eea06a8a
refactor schema violations to be a separate package
2018-01-26 12:28:40 -08:00
Zach Schneider
00165a3155
Convert to babel-preset-env and upgrade build and linting packages. ( #1557 )
2018-01-26 10:55:29 -08:00
Zach Schneider
508cc74e3a
Upgrade to lerna 2.7 to correct peer dependency management ( #1539 )
2018-01-25 13:14:55 -08:00
Conor Cussell
62ffb4681b
Remove parse5 ( #1531 )
...
Fix stripUnwantedAttrs
Remove .only
Remove parse5 from deps
Better imports
Cleanup
More succint removal of attributes
2018-01-13 15:41:48 -08:00
Ian Storm Taylor
85f4a7618c
Merge branch 'master' of github.com:ianstormtaylor/slate
2018-01-04 15:27:06 -08:00
Ian Storm Taylor
5444a300b8
rename kind
to object
for clarity ( #1501 )
...
* rename `kind` to `object` for clarity
* add deprecation warning for direct access
* add deprecation warning for node creation
2018-01-04 15:26:53 -08:00
Ian Storm Taylor
e01a2e2dfb
switch html-serializer tests to use jsdom
2018-01-04 15:20:02 -08:00
Ian Storm Taylor
b76c26e980
update clean script
2017-10-31 19:05:24 -07:00
Ian Storm Taylor
b375660aa9
refactor hotkeys to constants, and add transforms ( #1251 )
...
* refactor hotkeys to constants, and add transforms
* update hotkey helper
2017-10-17 18:18:27 -07:00
Ian Storm Taylor
a341f4d4eb
fix docs pages and plugins example
2017-10-17 09:22:08 -07:00
Ian Storm Taylor
f69d2c4a12
remove keyboard data.*
properties ( #1235 )
...
* update examples and walkthroughs
* deprecate data keyboard properties
* update examples
* add is-hotkey to resources doc
* udpate docs
* update docs
* fix split-block test
2017-10-15 19:23:07 -07:00
Ian Storm Taylor
5c1d43e3f9
fix block void node spacing, closes #1226
2017-10-13 18:00:51 -07:00
Ian Storm Taylor
9d5873ec94
remove react-addons-perf
2017-10-13 15:02:19 -07:00
Renaud Chaput
e960918f87
Upgrade to React 16 ( #1178 )
...
* Allow React 16 in peerDeps and use it for dev
* Make tests pass with React 16
Changes are cosmetic:
- React 16 no longer adds a trailing `;` to `style` attributes
- React 16 outputs `0` and not `0px` for sizes in `style`
2017-10-13 15:01:18 -07:00
Ian Storm Taylor
2a8cf8561e
update contributing docs, update release script
2017-09-13 11:26:27 -07:00
Ian Storm Taylor
ace9f47930
change slate to be a monorepo using lerna ( #1106 )
...
* init lerna, move files into ./packages
* move test files into ./packages
* more moving around
* fill out package.json files
* fixing imports
* more fixing of imports, and horribleness
* convert examples, fix linting errors
* add documentation
* update docs
* get tests passing
* update travis.yml
* update travis.yml
* update travis.yml
* update test script
* update travis.yml
* update scripts
* try simplifying travis.yml
* ocd stuff
* remove slate-core-test-helpers package
* add package readmes
* update reference docs structure
* refactor slate-simulator into its own package
* add docs for new packages
* update docs
* separate benchmarks into packages, and refactor them
2017-09-11 18:11:45 -07:00
Ian Storm Taylor
4d73f19dc7
0.23.1
2017-09-11 17:51:10 -07:00
Ian Storm Taylor
4f59771453
remove problematic unused dep
2017-09-11 17:40:31 -07:00
Ian Storm Taylor
9760f945c8
0.23.0
2017-09-10 15:37:04 -07:00
Ian Storm Taylor
9fca2d3b9b
start removing raw serializer ( #1098 )
...
* start removing raw serializer
* convert first tests to use jsx
* simplify jsx tests for raw serializer
* allow for options in raw serializer tests
* add more preserve option tests
* convert plain serializer tests
* convert html serialize
* start converting html deserialize
* add hyperscript util
* remove slate-sugar copy-pasted
* finish converting html deserialize
* convert plugins tests
* update rendering tests
* convert schemas tests
* convert core plugin tests
* update hyperscript utl
* refactor changes test directory structure
* fix changes before migration
* add migrated changes test files
* remove <x- prefixes from migration
* get addMark at-current-range tests passing
* get delete at-current-range tests passing
* remove old tests
* convert deleteForward and deleteBackward
* convert insertBlock, insertInline, insertFragment, insertText
* convert removeMark, setBlock, setInline, splitBlock, splitInline
* add unstaged tests
* convert toggleMark, unwrapBlock, unwrapInline, wrapBlock, wrapInline, wrapText
* convert call, setData
* convert on-selection tests
* remove old on-selection tests
* convert history tests
* convert insertFragmentByKey, insertNodeByKey, insertTextByKey, mergeNodeByKey, moveNodeByKey
* convert removeNodeByKey, removeTextByKey, setMarkByKey, setNodeByKey
* convert splitDescendantsByKey, splitNodeByKey, unwrapBlockByKey, unwrapInlineByKey, unwrapNodeByKey, wrapBlockByKey
* fix tests
* port missing at-range tests to at-current-range
* remove at-range tests
* fix raw serializer tests
* fix linter
* fix to prefer toJSON as the canonical method name
* fix todos
* remove internal references to Raw
* add deprecation helper to Text.fromJSON
* convert examples to not use Raw, and not rely on terse
* remove focus-blur example, rename large document example
* refactor Raw serialize to deprecate, not remove, terse
* deprecate defaultBlockType, toRaw, cleanup serializers
2017-09-10 14:56:03 -07:00
Ian Storm Taylor
395c0a4f8b
0.22.14
2017-09-08 00:11:17 -07:00
Ian Storm Taylor
3e2e533c21
0.22.13
2017-09-07 18:06:03 -07:00
Ian Storm Taylor
33ddd30486
0.22.12
2017-09-07 16:03:28 -07:00
Ian Storm Taylor
1c0b068023
0.22.11
2017-09-07 14:35:22 -07:00
Ian Storm Taylor
d8004c33b1
0.22.10
2017-09-07 12:12:55 -07:00
Ian Storm Taylor
c3caa2878c
0.22.9
2017-09-07 09:19:30 -07:00
Ian Storm Taylor
3257643ba0
0.22.8
2017-09-06 19:56:14 -07:00
Ian Storm Taylor
4e945e2977
0.22.7
2017-09-06 19:03:38 -07:00
Ian Storm Taylor
ca514eee66
0.22.6
2017-09-06 18:43:00 -07:00
Ian Storm Taylor
c0b4a30ce6
0.22.5
2017-09-06 15:29:17 -07:00
Ian Storm Taylor
a5ce937986
0.22.4
2017-09-06 14:26:31 -07:00
Ian Storm Taylor
8d47f8e8b6
refactor to eliminate ./utils/normalize, fixes #372 ( #1060 )
...
* refactor to eliminate ./utils/normalize, fixes #372
* fix mark default value
2017-09-06 14:24:48 -07:00
Ian Storm Taylor
e77cae7bf7
0.22.3
2017-09-06 11:55:59 -07:00
Ian Storm Taylor
de736dd57d
0.22.2
2017-09-06 09:36:29 -07:00
Ian Storm Taylor
f0325a9afb
0.22.1
2017-09-06 09:03:30 -07:00
Ian Storm Taylor
01a1699a08
0.22.0
2017-09-05 18:31:37 -07:00