1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-01-17 21:49:20 +01:00

66 Commits

Author SHA1 Message Date
Luigi Di Muzio
dcd36be973
Add CodeQL Workflow (#4972)
Add CodeQL configuration .yml to start running security code scans on this project
2022-04-26 09:22:33 -07:00
Dylan Schiemann
111f8ca9e3
Update release to use Node.js v16 (#4879)
* Update release to use Node.js v16

* Update comment workflow to  Node.js v16

* Update ci.yml node config

* Fix slack invite link in issue template
2022-03-08 22:17:34 -07:00
Dylan Schiemann
456d9baece
Attempt to clear GH actions cache with key (#4878) 2022-03-08 21:20:30 -07:00
Dylan Schiemann
9907ad004e
Update to Node v16 for infrastructure (#4877)
* Update to Node v16 for infrastructure

* update node type def to Node 16
2022-03-08 19:25:28 -07:00
Dylan Schiemann
03226cea3e
fix release.yml (#4519) 2021-09-14 00:36:06 -07:00
Dylan Schiemann
d528ad4008
Fix release versioning 3 (#4517)
* another attempt to fix the version packages release

* more work to fix automated changeset workflow
2021-09-13 15:09:59 -07:00
Dylan Schiemann
59ca7a8f51
Fix release versioning (#4516)
* correct immutability lockfile flag for yarn 3

* More experiments to re-enable the Version Packages action

* add changeset

* more work to fix automated changeset workflow
2021-09-13 14:09:00 -07:00
Dylan Schiemann
cd39284838
correct immutability lockfile flag for yarn 3 (#4515) 2021-09-13 13:27:39 -07:00
Dylan Schiemann
91ca440723
Attempt fix the release process (#4510)
* Attempt fix the release process

* unbreak the release process
2021-09-13 04:48:09 -07:00
Kristoffer K
29473b0290
chore: follow-up to Yarn update (#4478)
* fix(site): `require.resolve` webpack loader

* chore: add pnp sdk

* ci: cache dependencies

* ci: add release `version` command
2021-09-02 04:42:45 -07:00
Claudéric Demers
8f7bf7f020
Revert to using matrix for release workflow (#4294)
Setting max parallel number of jobs to 1. The `yarn changeset publish` command deletes files in the .changesets folder, so it's not safe to run two changeset steps in the same job.
2021-05-26 10:31:35 -04:00
Claudéric Demers
67f646098e
Tweak release workflow (#4291) 2021-05-26 09:39:13 -04:00
Claudéric Demers
c7ff274a68
Update release workflow to make sure latest job runs before dev (#4274) 2021-05-26 08:56:17 -04:00
Julian Krispel-Samsel
4181107e56
4196 integration tests with cypress (#4206)
* - update gitignore
- add cypress configuration and example test

* add integration tests to ci workflow

* add note about running integration tests

* Update docs/general/contributing.md

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* Update .gitignore

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* Update cypress.json

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

* add baseUrl, remove goTo command

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
2021-04-16 11:17:24 +01:00
Ian Storm Taylor
a59ee4d8c6 update release comment workflow to checkout pr 2021-04-07 11:18:12 -04:00
Ian Storm Taylor
451af772f5 update comment workflow 2021-04-07 10:59:46 -04:00
Ian Storm Taylor
cfdbc51f12 update comment workflow 2021-04-07 10:58:56 -04:00
Ian Storm Taylor
31fb3c91d2 update comment workflow 2021-04-07 10:56:01 -04:00
Ian Storm Taylor
cf21d5cfd5 add commenting release workflow 2021-04-07 10:51:26 -04:00
Ian Storm Taylor
77261549c5 update workflow naming 2021-04-01 13:45:42 -04:00
Ian Storm Taylor
4eec49de16 rename master to main 2021-04-01 13:40:25 -04:00
Ian Storm Taylor
2dcef9e4fb update workflow naming 2021-04-01 13:38:26 -04:00
Ian Storm Taylor
bf93f7572f convery release workflow to matrix 2021-04-01 02:23:43 -04:00
Ian Storm Taylor
f098864572 change ci workflow to use a matrix 2021-04-01 02:18:37 -04:00
Ian Storm Taylor
8dfecd7759 update workflows 2021-04-01 02:13:47 -04:00
Ian Storm Taylor
990def3906 update ci workflow 2021-04-01 02:11:28 -04:00
Ian Storm Taylor
22cb79c37a update workflows 2021-04-01 02:04:28 -04:00
Ian Storm Taylor
914e085be2 add github changelog to changesets 2021-03-31 13:56:28 -04:00
Ian Storm Taylor
7283c51feb
Add changesets (#4154)
* add first changesets integration

* remove readme

* readd readme

* update auto-release workflow logic

* update auto-release script order, fix prettier

* change access to public

* update release script

* try to fix changesets

* add experimental snapshot version config

* try fixing

* remove excess

* switch auto-release branch to master

* add release pull request workflow

* add changeset todo to pr template

* update changeset
2021-03-31 13:14:40 -04:00
Ian Storm Taylor
44557f3c84 remove auto-release action trigger 2021-03-30 01:42:11 -04:00
Ian Storm Taylor
86e7df6636 update auto-release action 2021-03-29 18:37:11 -04:00
Ian Storm Taylor
1ecc472cc7 add first stab at release workflow 2021-03-29 17:07:39 -04:00
Sunny Hirai
167fee401d Add TypeScript version to issue template for bug-core 2021-03-20 21:01:17 -07:00
Ian Storm Taylor
41cd18b568
Update PULL_REQUEST_TEMPLATE.md 2021-02-18 14:32:32 -05:00
Ian Storm Taylor
1c35626600
Create config.yml 2021-02-18 14:23:29 -05:00
Ian Storm Taylor
8d3828113c
Delete ISSUE_TEMPLATE.md 2021-02-18 14:22:12 -05:00
Ian Storm Taylor
c464c475d6
Update and rename ---feature-request.md to request-feature.md 2021-02-18 14:17:22 -05:00
Ian Storm Taylor
2b1bb9b3c6
Update and rename ---improvement.md to request-improvement.md 2021-02-18 14:17:05 -05:00
Ian Storm Taylor
d6e7f634f2
Update and rename ---platform-bug.md to bug-platform.md 2021-02-18 14:16:50 -05:00
Ian Storm Taylor
62169bd54c
Update and rename ---core-bug.md to bug-core.md 2021-02-18 14:16:30 -05:00
Ian Storm Taylor
3cc2e332b3
Delete platform-bug.md 2021-02-18 14:15:14 -05:00
Ian Storm Taylor
ccb436d7c5
Delete platform-bug-report.md 2021-02-18 14:15:10 -05:00
Ian Storm Taylor
a2fcc18df2
Delete core-bug.md 2021-02-18 14:15:05 -05:00
Ian Storm Taylor
a640eea09d Update issue templates 2021-02-18 14:14:20 -05:00
Awasum Yannick
a180cc5300
Auto Rebase Github Action (#3774)
* Auto Rebase Github Action

* Update .github/workflows/rebase.yml

Place env at the beginning of job.

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>

Co-authored-by: Tim Buckley <timothypbuckley@gmail.com>
2020-07-31 08:18:31 -04:00
Ted Chen
a1ce4477c3
Update codepen in ISSUE_TEMPLATE.md for v0.58.0 (#3659)
Updates the codepen in the ISSUE_TEMPLATE.md to be a working example of v0.58.0
2020-05-06 21:47:52 -07:00
Ian Storm Taylor
40d44e12ee update issue template 2019-11-29 07:40:17 -05:00
Ian Storm Taylor
ac21510597 fix ci to run on PRs 2019-11-28 20:32:43 -05:00
Ian Storm Taylor
e766e7a4ac update contributing docs 2019-11-27 20:57:55 -05:00
Ian Storm Taylor
4ff6972096
Next (#3093)
* remove some key usage from core, refactor Operations.apply

* undeprecate some methods

* convert more key usage to paths

* update deprecations

* convert selection commands to use all paths

* refactor word boundary selection logic

* convert many at-range commands to use paths

* convert wrapBlock and wrapInline to not use keys

* cleanup

* remove chainability from editor

* simplify commands, queries and middleware

* convert deleteAtRange

* remove key usage from schema, deprecate *ByKey methods

* migrate *ByKey tests, remove index from *ByPath signatures

* rename at-current-range tests

* deprecate mode key usage, migrate more tests away from keys

* deprecate range and point methods which rely on keys to work

* refactor insertBlock, without fixing warnings

* add pathRef/pointRef, fix insertBlock/Inline deprecations, work on insertFragment

* refactor insertFragment

* get rich-text example rendering

* fix lint

* refactor query files, fix more tests

* remove unused queries, refactor others

* deprecate splitDescendantsByPath

* merge master

* add typescript, convert slate, slate-hyperscript, slate-plain-serializer

* add Point, Path, Range, Annotation tests

* add Annotation, Change, Element, Fragment, Mark, Range, Selection, Value interfaces tests

* add Operation and Text tests

* add Node tests

* get operations and normalization tests working for slate

* get *AtPath command tests passing

* rename *AtPath command tests

* rename

* get *AtPoint tests working

* rename

* rename

* add value queries tests

* add element, mark and path queries tests

* convert most on-selection tests

* convert on-selection commands

* rename

* get addMarks and delete commands working

* rename

* rename

* rename

* refactor value.positions(), work on delete tests

* progress on delete tests

* more delete work

* finish delete tests

* start converting to at-based commands

* restructure query tests

* restructure operations tests

* more work converting to multi-purpose commands

* lots of progress on converting to at-based commands

* add unwrapNodes

* remove setValue

* more progress

* refactor node commands to use consistent matching logic

* cleanup, get non-fragment commands passing

* remove annotations and isAtomic

* rename surround/pluck to cover/uncover

* add location concept, change at-path to from-path for iterables

* refactor batches

* add location-based queries

* refactor hanging logic

* more location query work

* renaming

* use getMatch more

* add split to wrap/unwrap

* flip levels/ancestors ordering

* switch splitNodes to use levels

* change split to always:false by default

* fix tests

* add more queries tests

* fixing more delete logic

* add more splitNodes tests

* get rest of delete tests passing

* fix location-based logic in some commands

* cleanup

* get previous packages tests passing again

* add slate-history package

* start slate-schema work

* start of react working

* rendering fixes

* get rich and plain text examples working

* get image example working with hooks and dropping

* refactor onDrop to be internal

* inline more event handlers

* refactor lots of event-related logic

* change rendering to use render props

* delete unused stuff

* cleanup dom utils

* remove unused deps

* remove unnecessary packages, add placeholder

* remove slate-react-placeholder package

* remove unused dep

* remove unnecessary tests, fix readonly example

* convert checklists example

* switch to next from webpack

* get link example working

* convert more examples

* preserve keys, memoized leafs/texts, fix node lookup

* fix to always useLayoutEffect for ordering

* fix annotations to be maps, memoize elements

* remove Change interface

* remove String interface

* rename Node.entries to Node.nodes

* remove unnecessary value queries

* default to selection when iterating, cleanup

* remove unused files

* update scroll into view logic

* fix undoing, remove constructor types

* dont sync selection while composing

* add workflows

* remove unused deps

* convert mentions example

* tweaks

* convert remaining examples

* rename h to jsx, update schema

* fix schema tests

* fix slate-schema logic and tests

* really fix slate-schema and forced-layout example

* get start of insertFragment tests working

* remove Fragment interface

* remove debugger

* get all non-skipped tests passing

* cleanup deps

* run prettier

* configure eslint for typescript

* more eslint fixes...

* more passing

* update some docs

* fix examples

* port windows undo hotkey change

* fix deps, add basic firefox support

* add event overriding, update walkthroughs

* add commands, remove classes, cleanup examples

* cleanup rollup config

* update tests

* rename queries tests

* update other tests

* update walkthroughs

* cleanup interface exports

* cleanup, change mark transforms to require location

* undo mark transform change

* more

* fix tests

* fix example

* update walkthroughs

* update docs

* update docs

* remove annotations

* remove value, move selection and children to editor

* add migrating doc

* fix lint

* fix tests

* fix DOM types aliasing

* add next export

* update deps, fix prod build

* fix prod build

* update scripts

* update docs and changelogs

* update workflow and pull request template
2019-11-27 20:54:42 -05:00