2022-02-01 18:59:51 +00:00
|
|
|
{
|
2022-02-01 21:25:51 +00:00
|
|
|
"name": "common",
|
|
|
|
"version": "1.0.0",
|
2022-02-01 18:59:51 +00:00
|
|
|
"private": true,
|
2022-06-03 22:10:14 +00:00
|
|
|
"scripts": {
|
2022-06-28 19:46:25 +00:00
|
|
|
"verify": "(cd .. && yarn verify)",
|
|
|
|
"verify:dir": "npx eslint . --max-warnings 0"
|
2022-06-03 22:10:14 +00:00
|
|
|
},
|
2022-05-22 08:36:05 +00:00
|
|
|
"sideEffects": false,
|
2022-02-01 18:59:51 +00:00
|
|
|
"dependencies": {
|
2022-08-13 00:49:08 +00:00
|
|
|
"@tiptap/core": "2.0.0-beta.181",
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
"@tiptap/extension-image": "2.0.0-beta.30",
|
2022-07-13 22:56:15 +00:00
|
|
|
"@tiptap/extension-link": "2.0.0-beta.43",
|
2022-07-24 03:37:34 +00:00
|
|
|
"@tiptap/extension-mention": "2.0.0-beta.102",
|
Rich content (#620)
* Add TipTap editor and renderer components
* Change market description editor to rich text
* Type description as JSON, fix string-based logic
- Delete make-predictions.tsx
- Delete feed logic that showed descriptions
* wip Fix API validation
* fix type error
* fix extension import (backend)
In firebase, typescript compiles imports into common js imports
like `const StarterKit = require("@tiptap/starter-kit")`
Even though StarterKit is exported from the cjs file, it gets imported
as undefined. But it magically works if we import *
If you're reading this in the future, consider replacing StarterKit with
the entire list of extensions.
* Stop load on fail create market, improve warning
* Refactor editor as hook / fix infinite submit bug
Move state of editor back up to parent
We have to do this later anyways to allow parent to edit
* Add images - display, paste + uploading
* add uploading state of image
* Fix placeholder, misc styling
min height, quote
* Fix appending to description
* code review fixes: rename, refactor, chop carets
* Add hint & upload button on new lines
- bump to Tailwind 3.1 for arbitrary variants
* clean up, run prettier
* rename FileButton to FileUploadButton
* add image extension as functions dependency
2022-07-13 18:58:22 +00:00
|
|
|
"@tiptap/starter-kit": "2.0.0-beta.190",
|
2022-02-01 18:59:51 +00:00
|
|
|
"lodash": "4.17.21"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/lodash": "4.14.178"
|
|
|
|
}
|
|
|
|
}
|