mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
finally fixed import errors
This commit is contained in:
parent
28697e3c0e
commit
8e71ce0c50
@ -2,19 +2,22 @@
|
|||||||
"name": "@plane/editor",
|
"name": "@plane/editor",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "Rich Text Editor that powers Plane",
|
"description": "Rich Text Editor that powers Plane",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index",
|
||||||
|
"types": "dist/index",
|
||||||
"source": "src/index.ts",
|
"source": "src/index.ts",
|
||||||
"module": "dist/index.mjs",
|
|
||||||
"types": "dist/index.d.mts",
|
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"types": "./dist/index.d.mts",
|
"import": {
|
||||||
"import": "./dist/index.mjs",
|
"types": "./dist/index.d.mts",
|
||||||
"module": "./dist/index.mjs",
|
"default": "./dist/module.mjs"
|
||||||
"require": "./dist/index.js"
|
},
|
||||||
|
"require": {
|
||||||
|
"types": "./dist/index.d.ts",
|
||||||
|
"default": "./dist/main.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
@ -81,12 +84,5 @@
|
|||||||
"markdown",
|
"markdown",
|
||||||
"nextjs",
|
"nextjs",
|
||||||
"react"
|
"react"
|
||||||
],
|
]
|
||||||
"typesVersions": {
|
|
||||||
"*": {
|
|
||||||
"*": [
|
|
||||||
"src/*"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,20 @@
|
|||||||
{
|
{
|
||||||
"extends": "tsconfig/react.json",
|
"extends": "tsconfig/react.json",
|
||||||
"include": ["."],
|
"include": [
|
||||||
"exclude": ["dist", "build", "node_modules"],
|
"src/**/*",
|
||||||
|
"index.d.ts"
|
||||||
|
],
|
||||||
|
"exclude": [
|
||||||
|
"dist",
|
||||||
|
"build",
|
||||||
|
"node_modules"
|
||||||
|
],
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@/*": ["src/*"]
|
"@/*": [
|
||||||
|
"src/*"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@ import { useDebouncedCallback } from "use-debounce";
|
|||||||
import { TextArea } from "components/ui";
|
import { TextArea } from "components/ui";
|
||||||
// types
|
// types
|
||||||
import { IIssue } from "types";
|
import { IIssue } from "types";
|
||||||
import { TiptapEditor } from "@plane/editor"
|
import { TiptapEditor } from "@plane/editor";
|
||||||
import fileService from "services/file.service";
|
import fileService from "services/file.service";
|
||||||
|
|
||||||
export interface IssueDescriptionFormValues {
|
export interface IssueDescriptionFormValues {
|
||||||
|
Loading…
Reference in New Issue
Block a user