aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
AgeCommit message (Collapse)Author
2024-09-15tsconfig.json: set the watch optionsShulhan
For watchFile and watchDirectory we use useFsEvents (the default): Attempt to use the operating system/file system’s native events for directory changes. dynamicPriorityPolling: Use a dynamic queue where less-frequently modified files will be checked less often. synchronousWatchDirectory: Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively. Instead of giving a small timeout to allow for potentially multiple edits to occur on a file. Reference: https://www.typescriptlang.org/docs/handbook/configuring-watch.html
2023-11-21editor: replace execCommand with SelectionShulhan
The execCommand has been deprecated according to Mozilla Developer Network. This changes require the tsc target set to es2019 to be able to use the string trimEnd method. [1]: https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand
2023-10-31all: set files to be transpiled in "tsconfig.json"Shulhan
2023-10-24all: fix all linter warnings from tsc and eslintShulhan
In this changes we introduce eslint as our linter for TypeScript and update our tsconfig to be more strict. The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website repository [1]. [1]: https://cs.opensource.google/go/x/website
2023-10-24all: reformat all filesShulhan
I cannot remember how I reformat those files previously, probably without any tools. This changes reformat the TypeScript files using prettier and HTML files using js-beautify.
2021-09-05all: set target compiler lib, target and module to es2015Shulhan
In order to minimize dependencies with require.js, we set the "lib", "target" and "module" to es2015 and "esModuleInterop" to true to allow module importable on browser.
2021-08-12vfs: add event OnClickNodeShulhan
The OnClickNode event will be send when user click non-directory files.
2021-07-26vfs: implement virtual file system explorerShulhan
The vfs.js implement the web user interface for virtual file system explorer.