mirror of
https://github.com/run-llama/workflows-ts.git
synced 2026-06-30 21:57:58 -04:00
chore: make all code to TypeScript (#52)
This commit is contained in:
+3
-1
@@ -1 +1,3 @@
|
||||
lint-staged --config lint-staged.config.js
|
||||
export NODE_OPTIONS="--experimental-strip-types"
|
||||
|
||||
lint-staged --config lint-staged.config.ts
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
/**
|
||||
* @filename: lint-staged.config.js
|
||||
* @type {import('lint-staged').Configuration}
|
||||
*/
|
||||
import type { Configuration } from "lint-staged";
|
||||
|
||||
export default {
|
||||
"*.{js,jsx,ts,tsx}": ["prettier --write"],
|
||||
"*.{json,md,yml}": ["prettier --write"],
|
||||
};
|
||||
} satisfies Configuration;
|
||||
@@ -19,6 +19,9 @@
|
||||
"files": [],
|
||||
"include": [],
|
||||
"references": [
|
||||
{
|
||||
"path": "./tsconfig.lint-staged.json"
|
||||
},
|
||||
{
|
||||
"path": "./packages/core/tsconfig.test.json"
|
||||
},
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "./lib/lint-staged",
|
||||
"tsBuildInfoFile": "./lib/lint-staged/.tsbuildinfo",
|
||||
"moduleResolution": "bundler"
|
||||
},
|
||||
"include": ["./lint-staged.config.ts"]
|
||||
}
|
||||
Reference in New Issue
Block a user