Skip to content

Commit

Permalink
chore: setup tsconfig and move upward dependencies to monorepo root (#…
Browse files Browse the repository at this point in the history
…1455)

* chore: move up common-tags and code-snippet dependencies

* chore: move up code snippet def

* chore: add test script

* chore: remove package lock files and reinstall
  • Loading branch information
js87zz committed Mar 29, 2021
1 parent 178b823 commit 9a8d546
Show file tree
Hide file tree
Showing 21 changed files with 1,302 additions and 2,223 deletions.
538 changes: 0 additions & 538 deletions apps/editor/package-lock.json

This file was deleted.

4 changes: 1 addition & 3 deletions apps/editor/package.json
Expand Up @@ -48,9 +48,7 @@
},
"devDependencies": {
"@toast-ui/release-notes": "^2.0.1",
"common-tags": "^1.8.0",
"cross-env": "^6.0.3",
"tui-code-snippet": "^2.3.1"
"cross-env": "^6.0.3"
},
"dependencies": {
"htm": "^3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion apps/editor/src/widget/widgetNode.ts
@@ -1,5 +1,5 @@
import { DOMOutputSpecArray, ProsemirrorNode } from 'prosemirror-model';
import SpecNode from '@/spec/Node';
import SpecNode from '@/spec/node';
import { widgetToDOM } from './rules';

export function widgetNodeView(pmNode: ProsemirrorNode) {
Expand Down
3 changes: 1 addition & 2 deletions apps/editor/tsconfig.json
@@ -1,14 +1,13 @@
{
"extends": "../../tsconfig.json",
"include": ["src/**/*.ts", "src/**/*.js", "types/**/*"],
"include": ["src/**/*.ts", "src/**/*.js", "types/**/*", "../../types/**/*"],
"exclude": ["node_modules"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@t/*": ["types/*"]
},
"typeRoots": ["./types", "node_modules/@types", "../../node_modules/@types"],
"lib": ["esnext", "dom", "dom.iterable"]
}
}
134 changes: 0 additions & 134 deletions libs/toastmark/package-lock.json

This file was deleted.

1 change: 0 additions & 1 deletion libs/toastmark/package.json
Expand Up @@ -27,7 +27,6 @@
"@types/codemirror": "0.0.85",
"@types/mdurl": "^1.0.2",
"codemirror": "^5.51.0",
"common-tags": "^1.8.0",
"entities": "^2.0.0",
"mdurl": "^1.0.1"
}
Expand Down

0 comments on commit 9a8d546

Please sign in to comment.