From 7edba6d550598f5a836884c85d27ff04f5bf93bd Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 11 Dec 2023 09:54:40 -0800 Subject: [PATCH] fixup package --- packages/test-proposals/package.json | 10 +++++++++- packages/test-proposals/tsconfig.json | 19 +++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 packages/test-proposals/tsconfig.json diff --git a/packages/test-proposals/package.json b/packages/test-proposals/package.json index 5294bdd0d3a6..6ce3936bab41 100644 --- a/packages/test-proposals/package.json +++ b/packages/test-proposals/package.json @@ -13,11 +13,19 @@ ], "scripts": { "build": "echo No build step", - "test": "ava" + "test": "ava", + "test:xs": "exit 0", + "lint-fix": "yarn lint:eslint --fix", + "lint": "run-s --continue-on-error lint:*", + "lint:types": "tsc", + "lint:eslint": "eslint ." }, "dependencies": { "tsx": "^3.12.8" }, + "devDependencies": { + "ava": "^5.3.0" + }, "ava": { "extensions": { "js": true, diff --git a/packages/test-proposals/tsconfig.json b/packages/test-proposals/tsconfig.json new file mode 100644 index 000000000000..5bd5427892e3 --- /dev/null +++ b/packages/test-proposals/tsconfig.json @@ -0,0 +1,19 @@ +{ + "extends": "../../tsconfig.json", + "compilerOptions": { + "allowImportingTsExtensions": true, + "allowSyntheticDefaultImports": true, + "checkJs": false, // opt in + "maxNodeModuleJsDepth": 2, + }, + "include": [ + "*.js", + "*.ts", + "proposals/**/*.js", + "proposals/**/*.ts", + "src/**/*.js", + "test/**/*.js", + "test/**/*.ts", + "tools/**/*.js", + ] +}