mirror of
https://github.com/directus/directus.git
synced 2026-01-30 06:18:09 -05:00
* added soft_length to lang * added softLength option to input interface * softLength => textarea, md, wysiwyg * really broken but counting characters * return 0 not null oops * characters remaining displaying * percentageRemaining => shared * placeholders => string * markdown inputs need to change preview css * account for multiple md inputs * works for multiple inputs on a page * let it breathe * text area but no warning color (yet) * newline is 1 char * null => undefined * shows with 0 hard limit left * softlength tied to maxlength * preview displaying md * using share util * Replace shared "interface" with util * Add test setup * Lock package versions Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
24 lines
532 B
JSON
24 lines
532 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "esnext",
|
|
"module": "esnext",
|
|
"strict": true,
|
|
"jsx": "preserve",
|
|
"importHelpers": true,
|
|
"skipLibCheck": true,
|
|
"moduleResolution": "node",
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"resolveJsonModule": true,
|
|
"sourceMap": true,
|
|
"baseUrl": ".",
|
|
"types": ["vite/client", "jest"],
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
},
|
|
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
|
|
},
|
|
"include": ["src/**/*.ts", "src/**/*.vue"],
|
|
"exclude": ["node_modules"]
|
|
}
|