From 7f58b8bda5e077515ac21e65dc18311935980aa8 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:01:06 -0700 Subject: [PATCH 1/8] chore(deps): add type-coverage --- package.json | 1 + yarn.lock | 56 +++++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 50 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 97d0567aa6..6cdea39666 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "eslint-plugin-jsdoc": "^46.4.3", "lerna": "^5.6.2", "lerna-update-wizard": "^0.17.5", + "type-coverage": "^2.26.3", "typescript": "~5.2.2" }, "scripts": { diff --git a/yarn.lock b/yarn.lock index 087ab54f34..79bfb8f389 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5595,6 +5595,17 @@ fast-diff@^1.2.0: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== +fast-glob@3: + version "3.3.1" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.1.tgz#784b4e897340f3dbbef17413b3f11acf03c874c4" + integrity sha512-kNFPyjhh5cKjrUltxs+wFx+ZkbRaxxmZ+X0ZU31SOsxCEtP9VPgtq2teZw1DebupL5GmDaNQ6yKMMVcM41iqDg== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-glob@3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" @@ -8254,6 +8265,13 @@ minimatch@3.0.5: dependencies: brace-expansion "^1.1.7" +"minimatch@6 || 7 || 8 || 9": + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -8285,7 +8303,7 @@ minimist-options@^3.0.1: arrify "^1.0.1" is-plain-obj "^1.1.0" -minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.7: +minimist@1, minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0, minimist@^1.2.3, minimist@^1.2.5, minimist@^1.2.6, minimist@^1.2.7: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== @@ -8657,6 +8675,11 @@ normalize-package-data@^4.0.0: semver "^7.3.5" validate-npm-package-license "^3.0.4" +normalize-path@3, normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" @@ -8664,11 +8687,6 @@ normalize-path@^2.1.1: dependencies: remove-trailing-separator "^1.0.1" -normalize-path@^3.0.0, normalize-path@~3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" - integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== - normalize-url@^3.0.0: version "3.3.0" resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-3.3.0.tgz#b2e1c4dc4f7c6d57743df733a4f5978d18650559" @@ -11911,6 +11929,11 @@ tsd@^0.28.1: path-exists "^4.0.0" read-pkg-up "^7.0.0" +"tslib@1 || 2": + version "2.6.2" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" @@ -11921,7 +11944,7 @@ tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.1.tgz#0d0bfbaac2880b91e22df0768e55be9753a5b17e" integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== -tsutils@~3.21.0: +tsutils@3, tsutils@~3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== @@ -11964,6 +11987,25 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" +type-coverage-core@^2.26.3: + version "2.26.3" + resolved "https://registry.yarnpkg.com/type-coverage-core/-/type-coverage-core-2.26.3.tgz#47e2c8225f582d1ca9551c2bace20836b295c944" + integrity sha512-rzNdW/tClHJvsUiy787b/UX53bNh1Dn7A5KqZDQjkL3j7iKFv/KnTolxDBBgTPcK4Zn9Ab7WLrik7cXw2oZZqw== + dependencies: + fast-glob "3" + minimatch "6 || 7 || 8 || 9" + normalize-path "3" + tslib "1 || 2" + tsutils "3" + +type-coverage@^2.26.3: + version "2.26.3" + resolved "https://registry.yarnpkg.com/type-coverage/-/type-coverage-2.26.3.tgz#0033d4718dacae4bb8e963b3778b7a1b0f3dd6b9" + integrity sha512-gDD8D2mnBngM/lJFYv3zNUf0/GGh9u+JkcNiTDljKNpWVnwzZa0fmI38CPJR0oYF7ALnV26xeN+BoyMubS/nwg== + dependencies: + minimist "1" + type-coverage-core "^2.26.3" + type-detect@4.0.8, type-detect@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" From bc140f027c87c8f60962d28aa392aa4f057f9e93 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:02:09 -0700 Subject: [PATCH 2/8] chore(types): add typeCoverage threshold --- package.json | 3 +++ packages/base64/package.json | 3 +++ packages/bundle-source/package.json | 3 +++ packages/captp/package.json | 3 +++ packages/check-bundle/package.json | 3 +++ packages/cjs-module-analyzer/package.json | 3 +++ packages/cli/package.json | 3 +++ packages/compartment-mapper/demo/policy/att1/package.json | 3 +++ packages/compartment-mapper/demo/policy/att2/package.json | 3 +++ packages/compartment-mapper/demo/policy/package.json | 3 +++ packages/compartment-mapper/demo/policy/polyfill/package.json | 3 +++ packages/compartment-mapper/package.json | 3 +++ packages/compartment-mapper/test/fixtures-assets/package.json | 3 +++ .../compartment-mapper/test/fixtures-cthuloops/package.json | 3 +++ packages/compartment-mapper/test/fixtures-order/package.json | 3 +++ .../compartment-mapper/test/fixtures-stability/package.json | 3 +++ .../fixtures-strictly-inconsistent-directories/package.json | 4 +++- .../test/fixtures-strictly-inconsistent-packages/package.json | 4 +++- .../compartment-mapper/test/fixtures-symlink/app/package.json | 3 +++ packages/daemon/package.json | 3 +++ packages/env-options/package.json | 3 +++ packages/errors/package.json | 3 +++ packages/eventual-send/package.json | 3 +++ packages/exo/package.json | 3 +++ packages/far/package.json | 3 +++ packages/import-bundle/package.json | 3 +++ packages/init/package.json | 3 +++ packages/lp32/package.json | 3 +++ packages/marshal/package.json | 3 +++ packages/memoize/package.json | 3 +++ packages/netstring/package.json | 3 +++ packages/pass-style/package.json | 3 +++ packages/patterns/package.json | 3 +++ packages/promise-kit/package.json | 3 +++ packages/ses-ava/package.json | 3 +++ packages/ses/package.json | 3 +++ packages/ses/test/package/package.json | 3 +++ packages/static-module-record/package.json | 3 +++ packages/stream-node/package.json | 3 +++ packages/stream-types-test/package.json | 3 +++ packages/stream/package.json | 3 +++ packages/syrup/package.json | 3 +++ packages/where/package.json | 3 +++ packages/zip/package.json | 3 +++ 44 files changed, 132 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6cdea39666..fd6d56b117 100644 --- a/package.json +++ b/package.json @@ -46,5 +46,8 @@ "prettier": { "arrowParens": "avoid", "singleQuote": true + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/base64/package.json b/packages/base64/package.json index 0555ec55e7..68fcd8b50d 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -72,5 +72,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/bundle-source/package.json b/packages/bundle-source/package.json index db95e2109c..ce31de8672 100644 --- a/packages/bundle-source/package.json +++ b/packages/bundle-source/package.json @@ -82,5 +82,8 @@ "extends": [ "plugin:@endo/internal" ] + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/captp/package.json b/packages/captp/package.json index 5b7844ed14..2842ee3d1b 100644 --- a/packages/captp/package.json +++ b/packages/captp/package.json @@ -69,5 +69,8 @@ "extends": [ "plugin:@endo/internal" ] + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/check-bundle/package.json b/packages/check-bundle/package.json index 4da4e24390..b68b64b918 100644 --- a/packages/check-bundle/package.json +++ b/packages/check-bundle/package.json @@ -77,5 +77,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/cjs-module-analyzer/package.json b/packages/cjs-module-analyzer/package.json index 50387152be..682ece9a1a 100644 --- a/packages/cjs-module-analyzer/package.json +++ b/packages/cjs-module-analyzer/package.json @@ -61,5 +61,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 3900f0eaa3..447523a804 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -65,5 +65,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/demo/policy/att1/package.json b/packages/compartment-mapper/demo/policy/att1/package.json index 2281f69f8b..e4116d2afe 100644 --- a/packages/compartment-mapper/demo/policy/att1/package.json +++ b/packages/compartment-mapper/demo/policy/att1/package.json @@ -5,5 +5,8 @@ "type": "module", "scripts": { "preinstall": "echo DO NOT CALL INSTALL SCRIPTS; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/demo/policy/att2/package.json b/packages/compartment-mapper/demo/policy/att2/package.json index 5ff7a26e11..5cec0962ce 100644 --- a/packages/compartment-mapper/demo/policy/att2/package.json +++ b/packages/compartment-mapper/demo/policy/att2/package.json @@ -5,5 +5,8 @@ "type": "module", "scripts": { "preinstall": "echo DO NOT CALL INSTALL SCRIPTS; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/demo/policy/package.json b/packages/compartment-mapper/demo/policy/package.json index 706b6f6340..3cdf2f0574 100644 --- a/packages/compartment-mapper/demo/policy/package.json +++ b/packages/compartment-mapper/demo/policy/package.json @@ -13,5 +13,8 @@ "@endo/compartment-mapper-demo-polyfill1": "file:polyfill", "dotenv": "16.0.1", "entropoetry": "2.0.0-alpha4" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/demo/policy/polyfill/package.json b/packages/compartment-mapper/demo/policy/polyfill/package.json index 2a2d085d25..9127919848 100644 --- a/packages/compartment-mapper/demo/policy/polyfill/package.json +++ b/packages/compartment-mapper/demo/policy/polyfill/package.json @@ -5,5 +5,8 @@ "type": "module", "scripts": { "preinstall": "echo DO NOT CALL INSTALL SCRIPTS; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index 645b76eff1..c5b46d60bc 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -92,5 +92,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/test/fixtures-assets/package.json b/packages/compartment-mapper/test/fixtures-assets/package.json index d0eab69fb8..27314f37b6 100644 --- a/packages/compartment-mapper/test/fixtures-assets/package.json +++ b/packages/compartment-mapper/test/fixtures-assets/package.json @@ -6,5 +6,8 @@ }, "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/test/fixtures-cthuloops/package.json b/packages/compartment-mapper/test/fixtures-cthuloops/package.json index 6e085c9f04..3b5d6b40d3 100644 --- a/packages/compartment-mapper/test/fixtures-cthuloops/package.json +++ b/packages/compartment-mapper/test/fixtures-cthuloops/package.json @@ -4,5 +4,8 @@ "main": "./main.mjs", "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/test/fixtures-order/package.json b/packages/compartment-mapper/test/fixtures-order/package.json index 8137d11669..bd141e6136 100644 --- a/packages/compartment-mapper/test/fixtures-order/package.json +++ b/packages/compartment-mapper/test/fixtures-order/package.json @@ -5,5 +5,8 @@ "type": "module", "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/test/fixtures-stability/package.json b/packages/compartment-mapper/test/fixtures-stability/package.json index f9dd65c92e..35fd188d37 100644 --- a/packages/compartment-mapper/test/fixtures-stability/package.json +++ b/packages/compartment-mapper/test/fixtures-stability/package.json @@ -10,5 +10,8 @@ }, "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/compartment-mapper/test/fixtures-strictly-inconsistent-directories/package.json b/packages/compartment-mapper/test/fixtures-strictly-inconsistent-directories/package.json index 7c44008c73..4f035c729a 100644 --- a/packages/compartment-mapper/test/fixtures-strictly-inconsistent-directories/package.json +++ b/packages/compartment-mapper/test/fixtures-strictly-inconsistent-directories/package.json @@ -5,6 +5,8 @@ "main": "./main.js", "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } - diff --git a/packages/compartment-mapper/test/fixtures-strictly-inconsistent-packages/package.json b/packages/compartment-mapper/test/fixtures-strictly-inconsistent-packages/package.json index 36e540fc31..dce539b674 100644 --- a/packages/compartment-mapper/test/fixtures-strictly-inconsistent-packages/package.json +++ b/packages/compartment-mapper/test/fixtures-strictly-inconsistent-packages/package.json @@ -9,6 +9,8 @@ }, "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } - diff --git a/packages/compartment-mapper/test/fixtures-symlink/app/package.json b/packages/compartment-mapper/test/fixtures-symlink/app/package.json index fe8f4adeec..509248732f 100644 --- a/packages/compartment-mapper/test/fixtures-symlink/app/package.json +++ b/packages/compartment-mapper/test/fixtures-symlink/app/package.json @@ -6,5 +6,8 @@ }, "scripts": { "preinstall": "echo DO NOT INSTALL TEST FIXTURES; exit -1" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/daemon/package.json b/packages/daemon/package.json index ca7c4d9108..bf49112922 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -79,5 +79,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/env-options/package.json b/packages/env-options/package.json index 45f67776f9..ae02d3e5de 100644 --- a/packages/env-options/package.json +++ b/packages/env-options/package.json @@ -83,5 +83,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/errors/package.json b/packages/errors/package.json index 5de329ba08..6ba00b9ec0 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -64,5 +64,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/eventual-send/package.json b/packages/eventual-send/package.json index d6e29463f5..1d90101bb6 100644 --- a/packages/eventual-send/package.json +++ b/packages/eventual-send/package.json @@ -62,5 +62,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/exo/package.json b/packages/exo/package.json index c842a839b0..aa26019595 100644 --- a/packages/exo/package.json +++ b/packages/exo/package.json @@ -70,5 +70,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/far/package.json b/packages/far/package.json index c9f86fabb3..1cdd7674dd 100644 --- a/packages/far/package.json +++ b/packages/far/package.json @@ -64,5 +64,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/import-bundle/package.json b/packages/import-bundle/package.json index 4bb755d98c..edf9bc0ac8 100644 --- a/packages/import-bundle/package.json +++ b/packages/import-bundle/package.json @@ -65,5 +65,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/init/package.json b/packages/init/package.json index 9b9461219a..77c1571c3c 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -71,5 +71,8 @@ ], "publishConfig": { "access": "public" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/lp32/package.json b/packages/lp32/package.json index f0cf392ca3..d8bd16b9de 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -83,5 +83,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/marshal/package.json b/packages/marshal/package.json index af34292429..9b18051a03 100644 --- a/packages/marshal/package.json +++ b/packages/marshal/package.json @@ -71,5 +71,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/memoize/package.json b/packages/memoize/package.json index b4bc3b08d5..719bfebd3f 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -71,5 +71,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/netstring/package.json b/packages/netstring/package.json index 37adadd892..d2b4cef21e 100644 --- a/packages/netstring/package.json +++ b/packages/netstring/package.json @@ -71,5 +71,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/pass-style/package.json b/packages/pass-style/package.json index 8759556307..2a4e68b5d6 100644 --- a/packages/pass-style/package.json +++ b/packages/pass-style/package.json @@ -71,5 +71,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 29125eedc7..1cfee05d33 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -68,5 +68,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/promise-kit/package.json b/packages/promise-kit/package.json index 7817d1f41f..720cd97f63 100644 --- a/packages/promise-kit/package.json +++ b/packages/promise-kit/package.json @@ -76,5 +76,8 @@ }, "engines": { "node": ">=11.0" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/ses-ava/package.json b/packages/ses-ava/package.json index 4065e67e07..3581fbc33f 100644 --- a/packages/ses-ava/package.json +++ b/packages/ses-ava/package.json @@ -69,5 +69,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/ses/package.json b/packages/ses/package.json index 54212553fd..c99190d07a 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -178,5 +178,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/ses/test/package/package.json b/packages/ses/test/package/package.json index ac86de26e7..901e544e21 100644 --- a/packages/ses/test/package/package.json +++ b/packages/ses/test/package/package.json @@ -2,5 +2,8 @@ "private": true, "dependencies": { "ses": "file:../.." + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/static-module-record/package.json b/packages/static-module-record/package.json index 4b2230d34b..fa981ea081 100644 --- a/packages/static-module-record/package.json +++ b/packages/static-module-record/package.json @@ -76,5 +76,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/stream-node/package.json b/packages/stream-node/package.json index 07b80df619..8d0292e828 100644 --- a/packages/stream-node/package.json +++ b/packages/stream-node/package.json @@ -79,5 +79,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/stream-types-test/package.json b/packages/stream-types-test/package.json index 7d5f44425f..ceca0b867e 100644 --- a/packages/stream-types-test/package.json +++ b/packages/stream-types-test/package.json @@ -46,5 +46,8 @@ "extends": [ "plugin:@endo/internal" ] + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/stream/package.json b/packages/stream/package.json index 2a3dc1cdb3..0665b48150 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -80,5 +80,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/syrup/package.json b/packages/syrup/package.json index d9664e47fb..ebd58b1527 100644 --- a/packages/syrup/package.json +++ b/packages/syrup/package.json @@ -67,5 +67,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/where/package.json b/packages/where/package.json index df113d21fb..3856968aff 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -64,5 +64,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } diff --git a/packages/zip/package.json b/packages/zip/package.json index 59b7a715a7..08d8216a85 100644 --- a/packages/zip/package.json +++ b/packages/zip/package.json @@ -69,5 +69,8 @@ "test/**/test-*.js" ], "timeout": "2m" + }, + "typeCoverage": { + "atLeast": 0 } } From 37c15df00403418784b20505067d38bf628081d3 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:03:36 -0700 Subject: [PATCH 3/8] ci(types): tool to update typeCoverage --- scripts/update-typeCoverage-floor.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 scripts/update-typeCoverage-floor.sh diff --git a/scripts/update-typeCoverage-floor.sh b/scripts/update-typeCoverage-floor.sh new file mode 100755 index 0000000000..ce9ec9dbde --- /dev/null +++ b/scripts/update-typeCoverage-floor.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# For each package.json that has mentions typeCoverage, +# run the tool to update the value +SDK=$PWD + +for package in packages/*/package.json; do \ + if grep --quiet typeCoverage "$SDK/$package"; then + dir=$(dirname "$package") + echo "$dir" + cd "$SDK/$dir" || exit 1 + # This can raise or lower the amount. "--update-if-higher" will only raise it, + # but this gives us more flexibility. Reviewers should evaluate whether + # lowering is warranted. + yarn --silent type-coverage --update + fi +done From 84a9c593792736a7f6a7950399db3466afa0d4d6 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:08:50 -0700 Subject: [PATCH 4/8] build: jsconfig -> tsconfig fixup tsconfig.json --- jsconfig.eslint-base.json | 5 ++++- packages/base64/jsconfig.build.json | 7 +++++-- packages/base64/package.json | 2 +- packages/base64/{jsconfig.json => tsconfig.json} | 0 packages/bundle-source/jsconfig.build.json | 7 +++++-- packages/bundle-source/package.json | 2 +- .../jsconfig.json => bundle-source/tsconfig.json} | 1 + packages/captp/jsconfig.build.json | 7 +++++-- packages/captp/package.json | 2 +- packages/captp/{jsconfig.json => tsconfig.json} | 0 packages/check-bundle/jsconfig.build.json | 7 +++++-- packages/check-bundle/package.json | 2 +- packages/check-bundle/{jsconfig.json => tsconfig.json} | 0 packages/cjs-module-analyzer/jsconfig.build.json | 7 +++++-- packages/cjs-module-analyzer/package.json | 2 +- .../{jsconfig.json => tsconfig.json} | 0 packages/cli/jsconfig.build.json | 7 +++++-- packages/cli/package.json | 2 +- .../{bundle-source/jsconfig.json => cli/tsconfig.json} | 0 packages/compartment-mapper/jsconfig.build.json | 7 +++++-- packages/compartment-mapper/package.json | 2 +- .../jsconfig.json => compartment-mapper/tsconfig.json} | 0 packages/daemon/jsconfig.build.json | 7 +++++-- packages/daemon/package.json | 2 +- .../jsconfig.json => daemon/tsconfig.json} | 0 packages/env-options/jsconfig.build.json | 7 +++++-- packages/env-options/package.json | 2 +- packages/env-options/{jsconfig.json => tsconfig.json} | 0 packages/errors/tsconfig.build.json | 5 ++++- packages/eventual-send/tsconfig.build.json | 1 + packages/exo/jsconfig.build.json | 7 +++++-- packages/exo/package.json | 2 +- packages/exo/{jsconfig.json => tsconfig.json} | 0 packages/far/jsconfig.build.json | 7 +++++-- packages/far/package.json | 2 +- packages/far/{jsconfig.json => tsconfig.json} | 0 packages/import-bundle/jsconfig.build.json | 7 +++++-- packages/import-bundle/package.json | 2 +- packages/import-bundle/tsconfig.json | 10 ++++++++++ packages/init/jsconfig.build.json | 7 +++++-- packages/init/package.json | 2 +- packages/init/{jsconfig.json => tsconfig.json} | 0 packages/lp32/jsconfig.build.json | 7 +++++-- packages/lp32/package.json | 2 +- .../jsconfig.json => lp32/tsconfig.json} | 0 packages/marshal/jsconfig.build.json | 7 +++++-- packages/marshal/package.json | 2 +- packages/marshal/{jsconfig.json => tsconfig.json} | 0 packages/memoize/jsconfig.build.json | 7 +++++-- packages/memoize/package.json | 2 +- packages/{lp32/jsconfig.json => memoize/tsconfig.json} | 0 packages/netstring/jsconfig.build.json | 7 +++++-- packages/netstring/package.json | 2 +- .../{memoize/jsconfig.json => netstring/tsconfig.json} | 0 packages/pass-style/jsconfig.build.json | 7 +++++-- packages/pass-style/package.json | 2 +- .../jsconfig.json => pass-style/tsconfig.json} | 0 packages/patterns/jsconfig.build.json | 7 +++++-- packages/patterns/package.json | 2 +- packages/patterns/{jsconfig.json => tsconfig.json} | 0 packages/promise-kit/jsconfig.build.json | 7 +++++-- packages/promise-kit/package.json | 2 +- packages/promise-kit/{jsconfig.json => tsconfig.json} | 0 packages/ses-ava/jsconfig.build.json | 7 +++++-- packages/ses-ava/package.json | 2 +- packages/ses-ava/{jsconfig.json => tsconfig.json} | 0 packages/skel/tsconfig.build.json | 5 ++++- packages/static-module-record/jsconfig.build.json | 7 +++++-- packages/static-module-record/package.json | 2 +- .../tsconfig.json} | 0 packages/stream-node/jsconfig.build.json | 7 +++++-- packages/stream-node/package.json | 2 +- .../jsconfig.json => stream-node/tsconfig.json} | 0 packages/stream/jsconfig.build.json | 7 +++++-- packages/stream/package.json | 2 +- .../jsconfig.json => stream/tsconfig.json} | 0 packages/syrup/jsconfig.build.json | 7 +++++-- packages/syrup/package.json | 2 +- packages/{stream/jsconfig.json => syrup/tsconfig.json} | 0 packages/transforms/tsconfig.build.json | 5 ++++- packages/where/jsconfig.build.json | 7 +++++-- packages/where/package.json | 2 +- packages/{syrup/jsconfig.json => where/tsconfig.json} | 0 packages/zip/jsconfig.build.json | 7 +++++-- packages/zip/jsconfig.json | 4 ---- packages/zip/package.json | 2 +- packages/{where/jsconfig.json => zip/tsconfig.json} | 0 87 files changed, 190 insertions(+), 89 deletions(-) rename packages/base64/{jsconfig.json => tsconfig.json} (100%) rename packages/{static-module-record/jsconfig.json => bundle-source/tsconfig.json} (83%) rename packages/captp/{jsconfig.json => tsconfig.json} (100%) rename packages/check-bundle/{jsconfig.json => tsconfig.json} (100%) rename packages/cjs-module-analyzer/{jsconfig.json => tsconfig.json} (100%) rename packages/{bundle-source/jsconfig.json => cli/tsconfig.json} (100%) rename packages/{cli/jsconfig.json => compartment-mapper/tsconfig.json} (100%) rename packages/{compartment-mapper/jsconfig.json => daemon/tsconfig.json} (100%) rename packages/env-options/{jsconfig.json => tsconfig.json} (100%) rename packages/exo/{jsconfig.json => tsconfig.json} (100%) rename packages/far/{jsconfig.json => tsconfig.json} (100%) create mode 100644 packages/import-bundle/tsconfig.json rename packages/init/{jsconfig.json => tsconfig.json} (100%) rename packages/{import-bundle/jsconfig.json => lp32/tsconfig.json} (100%) rename packages/marshal/{jsconfig.json => tsconfig.json} (100%) rename packages/{lp32/jsconfig.json => memoize/tsconfig.json} (100%) rename packages/{memoize/jsconfig.json => netstring/tsconfig.json} (100%) rename packages/{netstring/jsconfig.json => pass-style/tsconfig.json} (100%) rename packages/patterns/{jsconfig.json => tsconfig.json} (100%) rename packages/promise-kit/{jsconfig.json => tsconfig.json} (100%) rename packages/ses-ava/{jsconfig.json => tsconfig.json} (100%) rename packages/{daemon/jsconfig.json => static-module-record/tsconfig.json} (100%) rename packages/{pass-style/jsconfig.json => stream-node/tsconfig.json} (100%) rename packages/{stream-node/jsconfig.json => stream/tsconfig.json} (100%) rename packages/{stream/jsconfig.json => syrup/tsconfig.json} (100%) rename packages/{syrup/jsconfig.json => where/tsconfig.json} (100%) delete mode 100644 packages/zip/jsconfig.json rename packages/{where/jsconfig.json => zip/tsconfig.json} (100%) diff --git a/jsconfig.eslint-base.json b/jsconfig.eslint-base.json index 14df69fded..048064a136 100644 --- a/jsconfig.eslint-base.json +++ b/jsconfig.eslint-base.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "allowJs": true, "target": "esnext", "module": "esnext", "checkJs": true, @@ -9,5 +10,7 @@ "moduleResolution": "node" }, "include": [], - "exclude": ["packages/test262-runner/test262"] + "exclude": [ + "packages/test262-runner/test262" + ] } diff --git a/packages/base64/jsconfig.build.json b/packages/base64/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/base64/jsconfig.build.json +++ b/packages/base64/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/base64/package.json b/packages/base64/package.json index 68fcd8b50d..46e23f9996 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -37,7 +37,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "devDependencies": { diff --git a/packages/base64/jsconfig.json b/packages/base64/tsconfig.json similarity index 100% rename from packages/base64/jsconfig.json rename to packages/base64/tsconfig.json diff --git a/packages/bundle-source/jsconfig.build.json b/packages/bundle-source/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/bundle-source/jsconfig.build.json +++ b/packages/bundle-source/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/bundle-source/package.json b/packages/bundle-source/package.json index ce31de8672..e8b603704c 100644 --- a/packages/bundle-source/package.json +++ b/packages/bundle-source/package.json @@ -26,7 +26,7 @@ "lint-check-jessie": "eslint -c '.eslintrc-jessie.js' '**/*.js'", "lint": "yarn lint:types && yarn lint:eslint", "lint:eslint": "eslint '**/*.js'", - "lint:types": "tsc -p jsconfig.json" + "lint:types": "tsc" }, "dependencies": { "@agoric/babel-generator": "^7.17.4", diff --git a/packages/static-module-record/jsconfig.json b/packages/bundle-source/tsconfig.json similarity index 83% rename from packages/static-module-record/jsconfig.json rename to packages/bundle-source/tsconfig.json index c4f09e21a3..7968393d2f 100644 --- a/packages/static-module-record/jsconfig.json +++ b/packages/bundle-source/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../../jsconfig.eslint-base.json", "compilerOptions": { + "maxNodeModuleJsDepth": 1, "checkJs": false }, "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] diff --git a/packages/captp/jsconfig.build.json b/packages/captp/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/captp/jsconfig.build.json +++ b/packages/captp/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/captp/package.json b/packages/captp/package.json index 2842ee3d1b..1d224c4b94 100644 --- a/packages/captp/package.json +++ b/packages/captp/package.json @@ -39,7 +39,7 @@ "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint": "yarn lint:eslint && yarn lint:types", "lint:eslint": "eslint '**/*.js'", - "lint:types": "tsc -p jsconfig.json" + "lint:types": "tsc" }, "devDependencies": { "@endo/init": "^0.5.60", diff --git a/packages/captp/jsconfig.json b/packages/captp/tsconfig.json similarity index 100% rename from packages/captp/jsconfig.json rename to packages/captp/tsconfig.json diff --git a/packages/check-bundle/jsconfig.build.json b/packages/check-bundle/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/check-bundle/jsconfig.build.json +++ b/packages/check-bundle/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/check-bundle/package.json b/packages/check-bundle/package.json index b68b64b918..b96644b2f4 100644 --- a/packages/check-bundle/package.json +++ b/packages/check-bundle/package.json @@ -34,7 +34,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js" }, diff --git a/packages/check-bundle/jsconfig.json b/packages/check-bundle/tsconfig.json similarity index 100% rename from packages/check-bundle/jsconfig.json rename to packages/check-bundle/tsconfig.json diff --git a/packages/cjs-module-analyzer/jsconfig.build.json b/packages/cjs-module-analyzer/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/cjs-module-analyzer/jsconfig.build.json +++ b/packages/cjs-module-analyzer/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/cjs-module-analyzer/package.json b/packages/cjs-module-analyzer/package.json index 682ece9a1a..ee388e9c7a 100644 --- a/packages/cjs-module-analyzer/package.json +++ b/packages/cjs-module-analyzer/package.json @@ -27,7 +27,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "devDependencies": { diff --git a/packages/cjs-module-analyzer/jsconfig.json b/packages/cjs-module-analyzer/tsconfig.json similarity index 100% rename from packages/cjs-module-analyzer/jsconfig.json rename to packages/cjs-module-analyzer/tsconfig.json diff --git a/packages/cli/jsconfig.build.json b/packages/cli/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/cli/jsconfig.build.json +++ b/packages/cli/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/cli/package.json b/packages/cli/package.json index 447523a804..ad1a6ed4d5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -22,7 +22,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "exit 0" }, "dependencies": { diff --git a/packages/bundle-source/jsconfig.json b/packages/cli/tsconfig.json similarity index 100% rename from packages/bundle-source/jsconfig.json rename to packages/cli/tsconfig.json diff --git a/packages/compartment-mapper/jsconfig.build.json b/packages/compartment-mapper/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/compartment-mapper/jsconfig.build.json +++ b/packages/compartment-mapper/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index c5b46d60bc..c3f69c2c9c 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -38,7 +38,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "prettier-fixtures": "prettier --write --with-node-modules './test/fixtures-*/**/*.*js'", "test": "ava" }, diff --git a/packages/cli/jsconfig.json b/packages/compartment-mapper/tsconfig.json similarity index 100% rename from packages/cli/jsconfig.json rename to packages/compartment-mapper/tsconfig.json diff --git a/packages/daemon/jsconfig.build.json b/packages/daemon/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/daemon/jsconfig.build.json +++ b/packages/daemon/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/daemon/package.json b/packages/daemon/package.json index bf49112922..f56ba14018 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -32,7 +32,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/compartment-mapper/jsconfig.json b/packages/daemon/tsconfig.json similarity index 100% rename from packages/compartment-mapper/jsconfig.json rename to packages/daemon/tsconfig.json diff --git a/packages/env-options/jsconfig.build.json b/packages/env-options/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/env-options/jsconfig.build.json +++ b/packages/env-options/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/env-options/package.json b/packages/env-options/package.json index ae02d3e5de..d80b3fc3a5 100644 --- a/packages/env-options/package.json +++ b/packages/env-options/package.json @@ -29,7 +29,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "postpack": "git clean -f '*.d.ts*'", "prepack": "tsc --build jsconfig.build.json", "test": "ava" diff --git a/packages/env-options/jsconfig.json b/packages/env-options/tsconfig.json similarity index 100% rename from packages/env-options/jsconfig.json rename to packages/env-options/tsconfig.json diff --git a/packages/errors/tsconfig.build.json b/packages/errors/tsconfig.build.json index 77b3f63183..df4ac9f09b 100644 --- a/packages/errors/tsconfig.build.json +++ b/packages/errors/tsconfig.build.json @@ -1,10 +1,13 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/eventual-send/tsconfig.build.json b/packages/eventual-send/tsconfig.build.json index 32a9d02d0a..df4ac9f09b 100644 --- a/packages/eventual-send/tsconfig.build.json +++ b/packages/eventual-send/tsconfig.build.json @@ -1,6 +1,7 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, diff --git a/packages/exo/jsconfig.build.json b/packages/exo/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/exo/jsconfig.build.json +++ b/packages/exo/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/exo/package.json b/packages/exo/package.json index aa26019595..a6e8f87f71 100644 --- a/packages/exo/package.json +++ b/packages/exo/package.json @@ -28,7 +28,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/exo/jsconfig.json b/packages/exo/tsconfig.json similarity index 100% rename from packages/exo/jsconfig.json rename to packages/exo/tsconfig.json diff --git a/packages/far/jsconfig.build.json b/packages/far/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/far/jsconfig.build.json +++ b/packages/far/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/far/package.json b/packages/far/package.json index 1cdd7674dd..b1dc4c278e 100644 --- a/packages/far/package.json +++ b/packages/far/package.json @@ -14,7 +14,7 @@ "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "lint:eslint": "eslint '**/*.js'" }, "repository": { diff --git a/packages/far/jsconfig.json b/packages/far/tsconfig.json similarity index 100% rename from packages/far/jsconfig.json rename to packages/far/tsconfig.json diff --git a/packages/import-bundle/jsconfig.build.json b/packages/import-bundle/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/import-bundle/jsconfig.build.json +++ b/packages/import-bundle/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/import-bundle/package.json b/packages/import-bundle/package.json index edf9bc0ac8..5cd39f850d 100644 --- a/packages/import-bundle/package.json +++ b/packages/import-bundle/package.json @@ -24,7 +24,7 @@ "lint-fix": "eslint --fix '**/*.js'", "lint": "yarn lint:types && yarn lint:eslint", "lint:eslint": "eslint .", - "lint:types": "tsc -p jsconfig.json" + "lint:types": "tsc" }, "dependencies": { "@endo/base64": "^0.2.35", diff --git a/packages/import-bundle/tsconfig.json b/packages/import-bundle/tsconfig.json new file mode 100644 index 0000000000..bb4facdfb7 --- /dev/null +++ b/packages/import-bundle/tsconfig.json @@ -0,0 +1,10 @@ +{ + "extends": "../../jsconfig.eslint-base.json", + "compilerOptions": {}, + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] +} diff --git a/packages/init/jsconfig.build.json b/packages/init/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/init/jsconfig.build.json +++ b/packages/init/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/init/package.json b/packages/init/package.json index 77c1571c3c..2c16805dbb 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -26,7 +26,7 @@ "lint-check": "yarn lint", "lint-fix": "eslint --fix '**/*.js'", "lint": "yarn lint:types && eslint '**/*.js'", - "lint:types": "tsc -p jsconfig.json" + "lint:types": "tsc" }, "devDependencies": { "@endo/compartment-mapper": "^0.9.2", diff --git a/packages/init/jsconfig.json b/packages/init/tsconfig.json similarity index 100% rename from packages/init/jsconfig.json rename to packages/init/tsconfig.json diff --git a/packages/lp32/jsconfig.build.json b/packages/lp32/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/lp32/jsconfig.build.json +++ b/packages/lp32/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/lp32/package.json b/packages/lp32/package.json index d8bd16b9de..d9b5fdf7ec 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -42,7 +42,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/import-bundle/jsconfig.json b/packages/lp32/tsconfig.json similarity index 100% rename from packages/import-bundle/jsconfig.json rename to packages/lp32/tsconfig.json diff --git a/packages/marshal/jsconfig.build.json b/packages/marshal/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/marshal/jsconfig.build.json +++ b/packages/marshal/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/marshal/package.json b/packages/marshal/package.json index 9b18051a03..1a94321ccf 100644 --- a/packages/marshal/package.json +++ b/packages/marshal/package.json @@ -19,7 +19,7 @@ "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", "lint": "yarn lint:types && yarn lint:eslint", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "lint:eslint": "eslint '**/*.js'" }, "repository": { diff --git a/packages/marshal/jsconfig.json b/packages/marshal/tsconfig.json similarity index 100% rename from packages/marshal/jsconfig.json rename to packages/marshal/tsconfig.json diff --git a/packages/memoize/jsconfig.build.json b/packages/memoize/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/memoize/jsconfig.build.json +++ b/packages/memoize/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/memoize/package.json b/packages/memoize/package.json index 719bfebd3f..f55504cf90 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -29,7 +29,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "postpack": "git clean -f '*.d.ts*'", "prepack": "tsc --build jsconfig.build.json", "test": "ava" diff --git a/packages/lp32/jsconfig.json b/packages/memoize/tsconfig.json similarity index 100% rename from packages/lp32/jsconfig.json rename to packages/memoize/tsconfig.json diff --git a/packages/netstring/jsconfig.build.json b/packages/netstring/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/netstring/jsconfig.build.json +++ b/packages/netstring/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/netstring/package.json b/packages/netstring/package.json index d2b4cef21e..708622d11a 100644 --- a/packages/netstring/package.json +++ b/packages/netstring/package.json @@ -30,7 +30,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/memoize/jsconfig.json b/packages/netstring/tsconfig.json similarity index 100% rename from packages/memoize/jsconfig.json rename to packages/netstring/tsconfig.json diff --git a/packages/pass-style/jsconfig.build.json b/packages/pass-style/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/pass-style/jsconfig.build.json +++ b/packages/pass-style/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/pass-style/package.json b/packages/pass-style/package.json index 2a4e68b5d6..1da67f2915 100644 --- a/packages/pass-style/package.json +++ b/packages/pass-style/package.json @@ -29,7 +29,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/netstring/jsconfig.json b/packages/pass-style/tsconfig.json similarity index 100% rename from packages/netstring/jsconfig.json rename to packages/pass-style/tsconfig.json diff --git a/packages/patterns/jsconfig.build.json b/packages/patterns/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/patterns/jsconfig.build.json +++ b/packages/patterns/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 1cfee05d33..26c9f27ec9 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -27,7 +27,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/patterns/jsconfig.json b/packages/patterns/tsconfig.json similarity index 100% rename from packages/patterns/jsconfig.json rename to packages/patterns/tsconfig.json diff --git a/packages/promise-kit/jsconfig.build.json b/packages/promise-kit/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/promise-kit/jsconfig.build.json +++ b/packages/promise-kit/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/promise-kit/package.json b/packages/promise-kit/package.json index 720cd97f63..92f0ce324a 100644 --- a/packages/promise-kit/package.json +++ b/packages/promise-kit/package.json @@ -32,7 +32,7 @@ "lint-check": "yarn lint", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava", "test:xs": "exit 0" }, diff --git a/packages/promise-kit/jsconfig.json b/packages/promise-kit/tsconfig.json similarity index 100% rename from packages/promise-kit/jsconfig.json rename to packages/promise-kit/tsconfig.json diff --git a/packages/ses-ava/jsconfig.build.json b/packages/ses-ava/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/ses-ava/jsconfig.build.json +++ b/packages/ses-ava/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/ses-ava/package.json b/packages/ses-ava/package.json index 3581fbc33f..46464a1936 100644 --- a/packages/ses-ava/package.json +++ b/packages/ses-ava/package.json @@ -31,7 +31,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/ses-ava/jsconfig.json b/packages/ses-ava/tsconfig.json similarity index 100% rename from packages/ses-ava/jsconfig.json rename to packages/ses-ava/tsconfig.json diff --git a/packages/skel/tsconfig.build.json b/packages/skel/tsconfig.build.json index 77b3f63183..df4ac9f09b 100644 --- a/packages/skel/tsconfig.build.json +++ b/packages/skel/tsconfig.build.json @@ -1,10 +1,13 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/static-module-record/jsconfig.build.json b/packages/static-module-record/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/static-module-record/jsconfig.build.json +++ b/packages/static-module-record/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/static-module-record/package.json b/packages/static-module-record/package.json index fa981ea081..b26691bc79 100644 --- a/packages/static-module-record/package.json +++ b/packages/static-module-record/package.json @@ -30,7 +30,7 @@ "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "lint:js": "eslint .", "lint-fix": "eslint --fix .", "test": "ava" diff --git a/packages/daemon/jsconfig.json b/packages/static-module-record/tsconfig.json similarity index 100% rename from packages/daemon/jsconfig.json rename to packages/static-module-record/tsconfig.json diff --git a/packages/stream-node/jsconfig.build.json b/packages/stream-node/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/stream-node/jsconfig.build.json +++ b/packages/stream-node/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/stream-node/package.json b/packages/stream-node/package.json index 8d0292e828..2b481fef43 100644 --- a/packages/stream-node/package.json +++ b/packages/stream-node/package.json @@ -36,7 +36,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/pass-style/jsconfig.json b/packages/stream-node/tsconfig.json similarity index 100% rename from packages/pass-style/jsconfig.json rename to packages/stream-node/tsconfig.json diff --git a/packages/stream/jsconfig.build.json b/packages/stream/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/stream/jsconfig.build.json +++ b/packages/stream/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/stream/package.json b/packages/stream/package.json index 0665b48150..f6f83eacd0 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -36,7 +36,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "dependencies": { diff --git a/packages/stream-node/jsconfig.json b/packages/stream/tsconfig.json similarity index 100% rename from packages/stream-node/jsconfig.json rename to packages/stream/tsconfig.json diff --git a/packages/syrup/jsconfig.build.json b/packages/syrup/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/syrup/jsconfig.build.json +++ b/packages/syrup/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/syrup/package.json b/packages/syrup/package.json index ebd58b1527..6f7bcdea6b 100644 --- a/packages/syrup/package.json +++ b/packages/syrup/package.json @@ -34,7 +34,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "devDependencies": { diff --git a/packages/stream/jsconfig.json b/packages/syrup/tsconfig.json similarity index 100% rename from packages/stream/jsconfig.json rename to packages/syrup/tsconfig.json diff --git a/packages/transforms/tsconfig.build.json b/packages/transforms/tsconfig.build.json index 77b3f63183..df4ac9f09b 100644 --- a/packages/transforms/tsconfig.build.json +++ b/packages/transforms/tsconfig.build.json @@ -1,10 +1,13 @@ { "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/where/jsconfig.build.json b/packages/where/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/where/jsconfig.build.json +++ b/packages/where/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/where/package.json b/packages/where/package.json index 3856968aff..0c82bcc425 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -29,7 +29,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "devDependencies": { diff --git a/packages/syrup/jsconfig.json b/packages/where/tsconfig.json similarity index 100% rename from packages/syrup/jsconfig.json rename to packages/where/tsconfig.json diff --git a/packages/zip/jsconfig.build.json b/packages/zip/jsconfig.build.json index 13018509fd..df4ac9f09b 100644 --- a/packages/zip/jsconfig.build.json +++ b/packages/zip/jsconfig.build.json @@ -1,10 +1,13 @@ { - "extends": "./jsconfig.json", + "extends": "./tsconfig.json", "compilerOptions": { + "allowJs": true, "noEmit": false, "declaration": true, "emitDeclarationOnly": true, "declarationMap": true }, - "exclude": ["test/"] + "exclude": [ + "test/" + ] } diff --git a/packages/zip/jsconfig.json b/packages/zip/jsconfig.json deleted file mode 100644 index 9c0f0590f0..0000000000 --- a/packages/zip/jsconfig.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] -} diff --git a/packages/zip/package.json b/packages/zip/package.json index 08d8216a85..d8bc2b1317 100644 --- a/packages/zip/package.json +++ b/packages/zip/package.json @@ -33,7 +33,7 @@ "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", "lint:js": "eslint .", - "lint:types": "tsc -p jsconfig.json", + "lint:types": "tsc", "test": "ava" }, "devDependencies": { diff --git a/packages/where/jsconfig.json b/packages/zip/tsconfig.json similarity index 100% rename from packages/where/jsconfig.json rename to packages/zip/tsconfig.json From 0cc02bae6aaf80044cbe027de57a9f43372c7c01 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:10:41 -0700 Subject: [PATCH 5/8] build: jsconfig.build -> tsconfig.build --- packages/base64/package.json | 2 +- packages/base64/{jsconfig.build.json => tsconfig.build.json} | 0 packages/bundle-source/package.json | 2 +- .../bundle-source/{jsconfig.build.json => tsconfig.build.json} | 0 packages/captp/package.json | 2 +- packages/captp/{jsconfig.build.json => tsconfig.build.json} | 0 packages/check-bundle/package.json | 2 +- .../check-bundle/{jsconfig.build.json => tsconfig.build.json} | 0 packages/cjs-module-analyzer/package.json | 2 +- .../{jsconfig.build.json => tsconfig.build.json} | 0 packages/cli/package.json | 2 +- packages/cli/{jsconfig.build.json => tsconfig.build.json} | 0 packages/compartment-mapper/package.json | 2 +- .../{jsconfig.build.json => tsconfig.build.json} | 0 packages/daemon/package.json | 2 +- packages/daemon/{jsconfig.build.json => tsconfig.build.json} | 0 packages/env-options/package.json | 2 +- .../env-options/{jsconfig.build.json => tsconfig.build.json} | 0 packages/exo/package.json | 2 +- packages/exo/{jsconfig.build.json => tsconfig.build.json} | 0 packages/far/package.json | 2 +- packages/far/{jsconfig.build.json => tsconfig.build.json} | 0 packages/import-bundle/package.json | 2 +- .../import-bundle/{jsconfig.build.json => tsconfig.build.json} | 0 packages/init/package.json | 2 +- packages/init/{jsconfig.build.json => tsconfig.build.json} | 0 packages/lp32/package.json | 2 +- packages/lp32/{jsconfig.build.json => tsconfig.build.json} | 0 packages/marshal/package.json | 2 +- packages/marshal/{jsconfig.build.json => tsconfig.build.json} | 0 packages/memoize/package.json | 2 +- packages/memoize/{jsconfig.build.json => tsconfig.build.json} | 0 packages/netstring/package.json | 2 +- packages/netstring/{jsconfig.build.json => tsconfig.build.json} | 0 packages/pass-style/package.json | 2 +- .../pass-style/{jsconfig.build.json => tsconfig.build.json} | 0 packages/patterns/package.json | 2 +- packages/patterns/{jsconfig.build.json => tsconfig.build.json} | 0 packages/promise-kit/package.json | 2 +- .../promise-kit/{jsconfig.build.json => tsconfig.build.json} | 0 packages/ses-ava/package.json | 2 +- packages/ses-ava/{jsconfig.build.json => tsconfig.build.json} | 0 packages/static-module-record/package.json | 2 +- .../{jsconfig.build.json => tsconfig.build.json} | 0 packages/stream-node/package.json | 2 +- .../stream-node/{jsconfig.build.json => tsconfig.build.json} | 0 packages/stream/package.json | 2 +- packages/stream/{jsconfig.build.json => tsconfig.build.json} | 0 packages/syrup/package.json | 2 +- packages/syrup/{jsconfig.build.json => tsconfig.build.json} | 0 packages/where/package.json | 2 +- packages/where/{jsconfig.build.json => tsconfig.build.json} | 0 packages/zip/package.json | 2 +- packages/zip/{jsconfig.build.json => tsconfig.build.json} | 0 54 files changed, 27 insertions(+), 27 deletions(-) rename packages/base64/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/bundle-source/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/captp/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/check-bundle/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/cjs-module-analyzer/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/cli/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/compartment-mapper/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/daemon/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/env-options/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/exo/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/far/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/import-bundle/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/init/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/lp32/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/marshal/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/memoize/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/netstring/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/pass-style/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/patterns/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/promise-kit/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/ses-ava/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/static-module-record/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/stream-node/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/stream/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/syrup/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/where/{jsconfig.build.json => tsconfig.build.json} (100%) rename packages/zip/{jsconfig.build.json => tsconfig.build.json} (100%) diff --git a/packages/base64/package.json b/packages/base64/package.json index 46e23f9996..29be03706b 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -31,7 +31,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/base64/jsconfig.build.json b/packages/base64/tsconfig.build.json similarity index 100% rename from packages/base64/jsconfig.build.json rename to packages/base64/tsconfig.build.json diff --git a/packages/bundle-source/package.json b/packages/bundle-source/package.json index e8b603704c..69b3fd19e7 100644 --- a/packages/bundle-source/package.json +++ b/packages/bundle-source/package.json @@ -15,7 +15,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", diff --git a/packages/bundle-source/jsconfig.build.json b/packages/bundle-source/tsconfig.build.json similarity index 100% rename from packages/bundle-source/jsconfig.build.json rename to packages/bundle-source/tsconfig.build.json diff --git a/packages/captp/package.json b/packages/captp/package.json index 1d224c4b94..15db66b6cf 100644 --- a/packages/captp/package.json +++ b/packages/captp/package.json @@ -30,7 +30,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", diff --git a/packages/captp/jsconfig.build.json b/packages/captp/tsconfig.build.json similarity index 100% rename from packages/captp/jsconfig.build.json rename to packages/captp/tsconfig.build.json diff --git a/packages/check-bundle/package.json b/packages/check-bundle/package.json index b96644b2f4..354d16b2ed 100644 --- a/packages/check-bundle/package.json +++ b/packages/check-bundle/package.json @@ -29,7 +29,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", diff --git a/packages/check-bundle/jsconfig.build.json b/packages/check-bundle/tsconfig.build.json similarity index 100% rename from packages/check-bundle/jsconfig.build.json rename to packages/check-bundle/tsconfig.build.json diff --git a/packages/cjs-module-analyzer/package.json b/packages/cjs-module-analyzer/package.json index ee388e9c7a..989c8d1f3b 100644 --- a/packages/cjs-module-analyzer/package.json +++ b/packages/cjs-module-analyzer/package.json @@ -21,7 +21,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/cjs-module-analyzer/jsconfig.build.json b/packages/cjs-module-analyzer/tsconfig.build.json similarity index 100% rename from packages/cjs-module-analyzer/jsconfig.build.json rename to packages/cjs-module-analyzer/tsconfig.build.json diff --git a/packages/cli/package.json b/packages/cli/package.json index ad1a6ed4d5..7443ca63ed 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -17,7 +17,7 @@ "exports": {}, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", diff --git a/packages/cli/jsconfig.build.json b/packages/cli/tsconfig.build.json similarity index 100% rename from packages/cli/jsconfig.build.json rename to packages/cli/tsconfig.build.json diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index c3f69c2c9c..4cd9503eb9 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -32,7 +32,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/compartment-mapper/jsconfig.build.json b/packages/compartment-mapper/tsconfig.build.json similarity index 100% rename from packages/compartment-mapper/jsconfig.build.json rename to packages/compartment-mapper/tsconfig.build.json diff --git a/packages/daemon/package.json b/packages/daemon/package.json index f56ba14018..6b8c7c9b07 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -26,7 +26,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/daemon/jsconfig.build.json b/packages/daemon/tsconfig.build.json similarity index 100% rename from packages/daemon/jsconfig.build.json rename to packages/daemon/tsconfig.build.json diff --git a/packages/env-options/package.json b/packages/env-options/package.json index d80b3fc3a5..84d0f92d22 100644 --- a/packages/env-options/package.json +++ b/packages/env-options/package.json @@ -31,7 +31,7 @@ "lint:js": "eslint .", "lint:types": "tsc", "postpack": "git clean -f '*.d.ts*'", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "test": "ava" }, "devDependencies": { diff --git a/packages/env-options/jsconfig.build.json b/packages/env-options/tsconfig.build.json similarity index 100% rename from packages/env-options/jsconfig.build.json rename to packages/env-options/tsconfig.build.json diff --git a/packages/exo/package.json b/packages/exo/package.json index a6e8f87f71..cb1921dbd4 100644 --- a/packages/exo/package.json +++ b/packages/exo/package.json @@ -23,7 +23,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", diff --git a/packages/exo/jsconfig.build.json b/packages/exo/tsconfig.build.json similarity index 100% rename from packages/exo/jsconfig.build.json rename to packages/exo/tsconfig.build.json diff --git a/packages/far/package.json b/packages/far/package.json index b1dc4c278e..1d19fb9d4f 100644 --- a/packages/far/package.json +++ b/packages/far/package.json @@ -9,7 +9,7 @@ "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint-fix": "yarn lint:eslint --fix && yarn lint:types", "lint-check": "yarn lint", diff --git a/packages/far/jsconfig.build.json b/packages/far/tsconfig.build.json similarity index 100% rename from packages/far/jsconfig.build.json rename to packages/far/tsconfig.build.json diff --git a/packages/import-bundle/package.json b/packages/import-bundle/package.json index 5cd39f850d..f2e49ae28f 100644 --- a/packages/import-bundle/package.json +++ b/packages/import-bundle/package.json @@ -19,7 +19,7 @@ "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", "test:xs": "exit 0", "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint-fix": "eslint --fix '**/*.js'", "lint": "yarn lint:types && yarn lint:eslint", diff --git a/packages/import-bundle/jsconfig.build.json b/packages/import-bundle/tsconfig.build.json similarity index 100% rename from packages/import-bundle/jsconfig.build.json rename to packages/import-bundle/tsconfig.build.json diff --git a/packages/init/package.json b/packages/init/package.json index 2c16805dbb..263ed34408 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -19,7 +19,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "test": "ava", "test:xs": "exit 0", diff --git a/packages/init/jsconfig.build.json b/packages/init/tsconfig.build.json similarity index 100% rename from packages/init/jsconfig.build.json rename to packages/init/tsconfig.build.json diff --git a/packages/lp32/package.json b/packages/lp32/package.json index d9b5fdf7ec..516c0eb276 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -36,7 +36,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/lp32/jsconfig.build.json b/packages/lp32/tsconfig.build.json similarity index 100% rename from packages/lp32/jsconfig.build.json rename to packages/lp32/tsconfig.build.json diff --git a/packages/marshal/package.json b/packages/marshal/package.json index 1a94321ccf..22bfcbb9fa 100644 --- a/packages/marshal/package.json +++ b/packages/marshal/package.json @@ -9,7 +9,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "test": "ava", "test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js", diff --git a/packages/marshal/jsconfig.build.json b/packages/marshal/tsconfig.build.json similarity index 100% rename from packages/marshal/jsconfig.build.json rename to packages/marshal/tsconfig.build.json diff --git a/packages/memoize/package.json b/packages/memoize/package.json index f55504cf90..12d3073625 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -31,7 +31,7 @@ "lint:js": "eslint .", "lint:types": "tsc", "postpack": "git clean -f '*.d.ts*'", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "test": "ava" }, "dependencies": { diff --git a/packages/memoize/jsconfig.build.json b/packages/memoize/tsconfig.build.json similarity index 100% rename from packages/memoize/jsconfig.build.json rename to packages/memoize/tsconfig.build.json diff --git a/packages/netstring/package.json b/packages/netstring/package.json index 708622d11a..88e8671985 100644 --- a/packages/netstring/package.json +++ b/packages/netstring/package.json @@ -24,7 +24,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/netstring/jsconfig.build.json b/packages/netstring/tsconfig.build.json similarity index 100% rename from packages/netstring/jsconfig.build.json rename to packages/netstring/tsconfig.build.json diff --git a/packages/pass-style/package.json b/packages/pass-style/package.json index 1da67f2915..4f644ba6bb 100644 --- a/packages/pass-style/package.json +++ b/packages/pass-style/package.json @@ -24,7 +24,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", diff --git a/packages/pass-style/jsconfig.build.json b/packages/pass-style/tsconfig.build.json similarity index 100% rename from packages/pass-style/jsconfig.build.json rename to packages/pass-style/tsconfig.build.json diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 26c9f27ec9..f5f5c18170 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -22,7 +22,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "lint": "yarn lint:types && yarn lint:js", "lint-fix": "eslint --fix .", diff --git a/packages/patterns/jsconfig.build.json b/packages/patterns/tsconfig.build.json similarity index 100% rename from packages/patterns/jsconfig.build.json rename to packages/patterns/tsconfig.build.json diff --git a/packages/promise-kit/package.json b/packages/promise-kit/package.json index 92f0ce324a..efdfc50e2a 100644 --- a/packages/promise-kit/package.json +++ b/packages/promise-kit/package.json @@ -25,7 +25,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/promise-kit/jsconfig.build.json b/packages/promise-kit/tsconfig.build.json similarity index 100% rename from packages/promise-kit/jsconfig.build.json rename to packages/promise-kit/tsconfig.build.json diff --git a/packages/ses-ava/package.json b/packages/ses-ava/package.json index 46464a1936..f1fe922109 100644 --- a/packages/ses-ava/package.json +++ b/packages/ses-ava/package.json @@ -25,7 +25,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/ses-ava/jsconfig.build.json b/packages/ses-ava/tsconfig.build.json similarity index 100% rename from packages/ses-ava/jsconfig.build.json rename to packages/ses-ava/tsconfig.build.json diff --git a/packages/static-module-record/package.json b/packages/static-module-record/package.json index b26691bc79..20593e2a8f 100644 --- a/packages/static-module-record/package.json +++ b/packages/static-module-record/package.json @@ -26,7 +26,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/static-module-record/jsconfig.build.json b/packages/static-module-record/tsconfig.build.json similarity index 100% rename from packages/static-module-record/jsconfig.build.json rename to packages/static-module-record/tsconfig.build.json diff --git a/packages/stream-node/package.json b/packages/stream-node/package.json index 2b481fef43..6480c84001 100644 --- a/packages/stream-node/package.json +++ b/packages/stream-node/package.json @@ -30,7 +30,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/stream-node/jsconfig.build.json b/packages/stream-node/tsconfig.build.json similarity index 100% rename from packages/stream-node/jsconfig.build.json rename to packages/stream-node/tsconfig.build.json diff --git a/packages/stream/package.json b/packages/stream/package.json index f6f83eacd0..5e71c01102 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -30,7 +30,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/stream/jsconfig.build.json b/packages/stream/tsconfig.build.json similarity index 100% rename from packages/stream/jsconfig.build.json rename to packages/stream/tsconfig.build.json diff --git a/packages/syrup/package.json b/packages/syrup/package.json index 6f7bcdea6b..72140636d4 100644 --- a/packages/syrup/package.json +++ b/packages/syrup/package.json @@ -28,7 +28,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/syrup/jsconfig.build.json b/packages/syrup/tsconfig.build.json similarity index 100% rename from packages/syrup/jsconfig.build.json rename to packages/syrup/tsconfig.build.json diff --git a/packages/where/package.json b/packages/where/package.json index 0c82bcc425..96524324bb 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -23,7 +23,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/where/jsconfig.build.json b/packages/where/tsconfig.build.json similarity index 100% rename from packages/where/jsconfig.build.json rename to packages/where/tsconfig.build.json diff --git a/packages/zip/package.json b/packages/zip/package.json index d8bc2b1317..8d7b1d94aa 100644 --- a/packages/zip/package.json +++ b/packages/zip/package.json @@ -27,7 +27,7 @@ }, "scripts": { "build": "exit 0", - "prepack": "tsc --build jsconfig.build.json", + "prepack": "tsc --build tsconfig.build.json", "postpack": "git clean -f '*.d.ts*'", "cover": "c8 ava", "lint": "yarn lint:types && yarn lint:js", diff --git a/packages/zip/jsconfig.build.json b/packages/zip/tsconfig.build.json similarity index 100% rename from packages/zip/jsconfig.build.json rename to packages/zip/tsconfig.build.json From 3da9c1f8201fa10b76a3f54b2b059c641e5ea3c5 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:12:19 -0700 Subject: [PATCH 6/8] =?UTF-8?q?build:=20jsconfig.eslint*=20->=20tsconfig?= =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/base64/tsconfig.json | 9 +++++++-- packages/bundle-source/tsconfig.json | 9 +++++++-- packages/captp/tsconfig.json | 9 +++++++-- packages/check-bundle/tsconfig.json | 9 +++++++-- packages/cjs-module-analyzer/tsconfig.json | 9 +++++++-- packages/cli/tsconfig.json | 9 +++++++-- packages/compartment-mapper/tsconfig.json | 9 +++++++-- packages/daemon/tsconfig.json | 9 +++++++-- packages/env-options/tsconfig.json | 9 +++++++-- packages/errors/tsconfig.json | 9 +++++++-- packages/eventual-send/tsconfig.json | 9 +++++++-- packages/exo/tsconfig.json | 9 +++++++-- packages/far/tsconfig.json | 9 +++++++-- packages/import-bundle/tsconfig.json | 2 +- packages/init/tsconfig.json | 9 +++++++-- packages/lp32/tsconfig.json | 9 +++++++-- packages/marshal/tsconfig.json | 10 ++++++++-- packages/memoize/tsconfig.json | 9 +++++++-- packages/netstring/tsconfig.json | 9 +++++++-- packages/pass-style/tsconfig.json | 9 +++++++-- packages/patterns/tsconfig.json | 2 +- packages/promise-kit/tsconfig.json | 9 +++++++-- packages/ses-ava/tsconfig.json | 9 +++++++-- packages/ses/tsconfig.json | 9 +++++++-- packages/skel/tsconfig.json | 9 +++++++-- packages/static-module-record/tsconfig.json | 9 +++++++-- packages/stream-node/tsconfig.json | 9 +++++++-- packages/stream-types-test/tsconfig.json | 9 +++++++-- packages/stream/tsconfig.json | 9 +++++++-- packages/syrup/tsconfig.json | 9 +++++++-- packages/transforms/tsconfig.json | 9 +++++++-- packages/where/tsconfig.json | 9 +++++++-- packages/zip/tsconfig.json | 9 +++++++-- jsconfig.eslint-base.json => tsconfig.eslint-base.json | 0 jsconfig.eslint-full.json => tsconfig.eslint-full.json | 2 +- jsconfig.eslint-src.json => tsconfig.eslint-src.json | 2 +- 36 files changed, 222 insertions(+), 66 deletions(-) rename jsconfig.eslint-base.json => tsconfig.eslint-base.json (100%) rename jsconfig.eslint-full.json => tsconfig.eslint-full.json (63%) rename jsconfig.eslint-src.json => tsconfig.eslint-src.json (77%) diff --git a/packages/base64/tsconfig.json b/packages/base64/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/base64/tsconfig.json +++ b/packages/base64/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/bundle-source/tsconfig.json b/packages/bundle-source/tsconfig.json index 7968393d2f..974847b81b 100644 --- a/packages/bundle-source/tsconfig.json +++ b/packages/bundle-source/tsconfig.json @@ -1,8 +1,13 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "maxNodeModuleJsDepth": 1, "checkJs": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/captp/tsconfig.json b/packages/captp/tsconfig.json index 6560bac3a9..31f7c7cb09 100644 --- a/packages/captp/tsconfig.json +++ b/packages/captp/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/check-bundle/tsconfig.json b/packages/check-bundle/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/check-bundle/tsconfig.json +++ b/packages/check-bundle/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/cjs-module-analyzer/tsconfig.json b/packages/cjs-module-analyzer/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/cjs-module-analyzer/tsconfig.json +++ b/packages/cjs-module-analyzer/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index c4f09e21a3..4b1ba3e105 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/compartment-mapper/tsconfig.json b/packages/compartment-mapper/tsconfig.json index c4f09e21a3..4b1ba3e105 100644 --- a/packages/compartment-mapper/tsconfig.json +++ b/packages/compartment-mapper/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/daemon/tsconfig.json b/packages/daemon/tsconfig.json index c4f09e21a3..4b1ba3e105 100644 --- a/packages/daemon/tsconfig.json +++ b/packages/daemon/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/env-options/tsconfig.json b/packages/env-options/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/env-options/tsconfig.json +++ b/packages/env-options/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/errors/tsconfig.json b/packages/errors/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/errors/tsconfig.json +++ b/packages/errors/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/eventual-send/tsconfig.json b/packages/eventual-send/tsconfig.json index 2cd7ca386a..25142527c7 100644 --- a/packages/eventual-send/tsconfig.json +++ b/packages/eventual-send/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "allowJs": true, "checkJs": true, @@ -7,5 +7,10 @@ "useUnknownInCatchVariables": false, "skipLibCheck": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/exo/tsconfig.json b/packages/exo/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/exo/tsconfig.json +++ b/packages/exo/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/far/tsconfig.json b/packages/far/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/far/tsconfig.json +++ b/packages/far/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/import-bundle/tsconfig.json b/packages/import-bundle/tsconfig.json index bb4facdfb7..239d6902e3 100644 --- a/packages/import-bundle/tsconfig.json +++ b/packages/import-bundle/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": {}, "include": [ "*.js", diff --git a/packages/init/tsconfig.json b/packages/init/tsconfig.json index 9371c37d77..c3f6cade05 100644 --- a/packages/init/tsconfig.json +++ b/packages/init/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": true, }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/lp32/tsconfig.json b/packages/lp32/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/lp32/tsconfig.json +++ b/packages/lp32/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/marshal/tsconfig.json b/packages/marshal/tsconfig.json index 963feea17f..be979924e2 100644 --- a/packages/marshal/tsconfig.json +++ b/packages/marshal/tsconfig.json @@ -1,7 +1,13 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts", "test/**/*.js"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts", + "test/**/*.js" + ] } diff --git a/packages/memoize/tsconfig.json b/packages/memoize/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/memoize/tsconfig.json +++ b/packages/memoize/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/netstring/tsconfig.json b/packages/netstring/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/netstring/tsconfig.json +++ b/packages/netstring/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/pass-style/tsconfig.json b/packages/pass-style/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/pass-style/tsconfig.json +++ b/packages/pass-style/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/patterns/tsconfig.json b/packages/patterns/tsconfig.json index 758f8d91de..19fe6be47a 100644 --- a/packages/patterns/tsconfig.json +++ b/packages/patterns/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "include": [ "*.js", "*.ts", diff --git a/packages/promise-kit/tsconfig.json b/packages/promise-kit/tsconfig.json index 6560bac3a9..31f7c7cb09 100644 --- a/packages/promise-kit/tsconfig.json +++ b/packages/promise-kit/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/ses-ava/tsconfig.json b/packages/ses-ava/tsconfig.json index 6560bac3a9..31f7c7cb09 100644 --- a/packages/ses-ava/tsconfig.json +++ b/packages/ses-ava/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/ses/tsconfig.json b/packages/ses/tsconfig.json index a06773acd0..3ff7851192 100644 --- a/packages/ses/tsconfig.json +++ b/packages/ses/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "allowJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/skel/tsconfig.json b/packages/skel/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/skel/tsconfig.json +++ b/packages/skel/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/static-module-record/tsconfig.json b/packages/static-module-record/tsconfig.json index c4f09e21a3..4b1ba3e105 100644 --- a/packages/static-module-record/tsconfig.json +++ b/packages/static-module-record/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "checkJs": false }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/stream-node/tsconfig.json b/packages/stream-node/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/stream-node/tsconfig.json +++ b/packages/stream-node/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/stream-types-test/tsconfig.json b/packages/stream-types-test/tsconfig.json index 29b7c131dc..cf1978d6a7 100644 --- a/packages/stream-types-test/tsconfig.json +++ b/packages/stream-types-test/tsconfig.json @@ -1,8 +1,13 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "strict": true, "noImplicitAny": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/stream/tsconfig.json b/packages/stream/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/stream/tsconfig.json +++ b/packages/stream/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/syrup/tsconfig.json b/packages/syrup/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/syrup/tsconfig.json +++ b/packages/syrup/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/transforms/tsconfig.json b/packages/transforms/tsconfig.json index a06773acd0..3ff7851192 100644 --- a/packages/transforms/tsconfig.json +++ b/packages/transforms/tsconfig.json @@ -1,7 +1,12 @@ { - "extends": "../../jsconfig.eslint-base.json", + "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { "allowJs": true }, - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/where/tsconfig.json b/packages/where/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/where/tsconfig.json +++ b/packages/where/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/packages/zip/tsconfig.json b/packages/zip/tsconfig.json index 9c0f0590f0..f77b8008a1 100644 --- a/packages/zip/tsconfig.json +++ b/packages/zip/tsconfig.json @@ -1,4 +1,9 @@ { - "extends": "../../jsconfig.eslint-base.json", - "include": ["*.js", "*.ts", "src/**/*.js", "src/**/*.ts"] + "extends": "../../tsconfig.eslint-base.json", + "include": [ + "*.js", + "*.ts", + "src/**/*.js", + "src/**/*.ts" + ] } diff --git a/jsconfig.eslint-base.json b/tsconfig.eslint-base.json similarity index 100% rename from jsconfig.eslint-base.json rename to tsconfig.eslint-base.json diff --git a/jsconfig.eslint-full.json b/tsconfig.eslint-full.json similarity index 63% rename from jsconfig.eslint-full.json rename to tsconfig.eslint-full.json index d2a81fce76..42ca54b8be 100644 --- a/jsconfig.eslint-full.json +++ b/tsconfig.eslint-full.json @@ -1,5 +1,5 @@ { - "extends": "./jsconfig.eslint-base.json", + "extends": "./tsconfig.eslint-base.json", "include": [ "*.js", "**/*.js", diff --git a/jsconfig.eslint-src.json b/tsconfig.eslint-src.json similarity index 77% rename from jsconfig.eslint-src.json rename to tsconfig.eslint-src.json index 4cfcf09d1d..dcecd5c999 100644 --- a/jsconfig.eslint-src.json +++ b/tsconfig.eslint-src.json @@ -1,5 +1,5 @@ { - "extends": "./jsconfig.eslint-base.json", + "extends": "./tsconfig.eslint-base.json", "include": [ "*.js", "*.ts", From d49cd037ff4e31c508db65a299c27871313215fa Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:30:07 -0700 Subject: [PATCH 7/8] chore(types): accomodate refactor --- packages/captp/src/ts-types.d.ts | 8 ++++++-- packages/captp/tsconfig.json | 3 ++- packages/daemon/tsconfig.json | 4 +++- packages/daemon/types.d.ts | 14 +++++++------- packages/exo/tsconfig.json | 3 +++ packages/import-bundle/tsconfig.json | 4 +++- packages/patterns/tsconfig.json | 3 +++ 7 files changed, 27 insertions(+), 12 deletions(-) diff --git a/packages/captp/src/ts-types.d.ts b/packages/captp/src/ts-types.d.ts index f0030bceb5..e5b8f5ea2a 100644 --- a/packages/captp/src/ts-types.d.ts +++ b/packages/captp/src/ts-types.d.ts @@ -1,7 +1,8 @@ /* eslint-disable */ // eslint-disable-next-line spaced-comment -import type { Unpromise } from '@endo/eventual-send'; +// @ts-expect-error FIXME these aren't defined +import type { ESingleMethod, Unpromise } from '@endo/eventual-send'; /** * In order to type using Trap with a handler TrapHandler, this template type @@ -21,11 +22,14 @@ export type TrapHandler = T extends (...args: infer P) => infer R /* Types for Trap proxy calls. */ type TrapSingleMethod = { readonly [P in keyof T]: ( + // @ts-expect-error FIXME Type 'T[P]' does not satisfy the constraint '(...args: any) => any'. ...args: Parameters + // @ts-expect-error FIXME ditto ) => Unpromise>; }; type TrapSingleCall = T extends Function - ? ((...args: Parameters) => Unpromise>) & + ? // @ts-expect-error FIXME ditto + ((...args: Parameters) => Unpromise>) & ESingleMethod> : ESingleMethod>; type TrapSingleGet = { diff --git a/packages/captp/tsconfig.json b/packages/captp/tsconfig.json index 31f7c7cb09..81d57a5447 100644 --- a/packages/captp/tsconfig.json +++ b/packages/captp/tsconfig.json @@ -1,7 +1,8 @@ { "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { - "checkJs": true + "checkJs": true, + "maxNodeModuleJsDepth": 2 }, "include": [ "*.js", diff --git a/packages/daemon/tsconfig.json b/packages/daemon/tsconfig.json index 4b1ba3e105..d0c1503a33 100644 --- a/packages/daemon/tsconfig.json +++ b/packages/daemon/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../tsconfig.eslint-base.json", "compilerOptions": { - "checkJs": false + "checkJs": false, + "allowSyntheticDefaultImports": true, + "maxNodeModuleJsDepth": 1 }, "include": [ "*.js", diff --git a/packages/daemon/types.d.ts b/packages/daemon/types.d.ts index 83dedd592a..3ad81fd426 100644 --- a/packages/daemon/types.d.ts +++ b/packages/daemon/types.d.ts @@ -3,13 +3,13 @@ type Locator = { cachePath: string; sockPath: string; }; -export async function start(locator?: Locator); -export async function stop(locator?: Locator); -export async function restart(locator?: Locator); -export async function terminate(locator?: Locator); -export async function clean(locator?: Locator); -export async function reset(locator?: Locator); -export async function makeEndoClient( +export function start(locator?: Locator); +export function stop(locator?: Locator); +export function restart(locator?: Locator); +export function terminate(locator?: Locator); +export function clean(locator?: Locator); +export function reset(locator?: Locator); +export function makeEndoClient( name: string, sockPath: string, cancelled: Promise, diff --git a/packages/exo/tsconfig.json b/packages/exo/tsconfig.json index f77b8008a1..7927a61da1 100644 --- a/packages/exo/tsconfig.json +++ b/packages/exo/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "../../tsconfig.eslint-base.json", + "compilerOptions": { + "maxNodeModuleJsDepth": 1 + }, "include": [ "*.js", "*.ts", diff --git a/packages/import-bundle/tsconfig.json b/packages/import-bundle/tsconfig.json index 239d6902e3..ee333db647 100644 --- a/packages/import-bundle/tsconfig.json +++ b/packages/import-bundle/tsconfig.json @@ -1,6 +1,8 @@ { "extends": "../../tsconfig.eslint-base.json", - "compilerOptions": {}, + "compilerOptions": { + "allowSyntheticDefaultImports": true + }, "include": [ "*.js", "*.ts", diff --git a/packages/patterns/tsconfig.json b/packages/patterns/tsconfig.json index 19fe6be47a..eb71ae5422 100644 --- a/packages/patterns/tsconfig.json +++ b/packages/patterns/tsconfig.json @@ -1,5 +1,8 @@ { "extends": "../../tsconfig.eslint-base.json", + "compilerOptions": { + "maxNodeModuleJsDepth": 1 + }, "include": [ "*.js", "*.ts", From 72f9a4fffd99e974419c634069a851904d2423d5 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 28 Sep 2023 20:44:25 -0700 Subject: [PATCH 8/8] chore(types): update typeCoverage floor --- packages/base64/package.json | 2 +- packages/bundle-source/package.json | 2 +- packages/captp/package.json | 2 +- packages/check-bundle/package.json | 2 +- packages/cjs-module-analyzer/package.json | 2 +- packages/cli/package.json | 2 +- packages/compartment-mapper/package.json | 2 +- packages/daemon/package.json | 2 +- packages/env-options/package.json | 2 +- packages/errors/package.json | 2 +- packages/eventual-send/package.json | 2 +- packages/exo/package.json | 2 +- packages/far/package.json | 2 +- packages/import-bundle/package.json | 2 +- packages/init/package.json | 2 +- packages/lp32/package.json | 2 +- packages/marshal/package.json | 2 +- packages/memoize/package.json | 2 +- packages/netstring/package.json | 2 +- packages/pass-style/package.json | 2 +- packages/patterns/package.json | 2 +- packages/promise-kit/package.json | 2 +- packages/ses-ava/package.json | 2 +- packages/ses/package.json | 2 +- packages/static-module-record/package.json | 2 +- packages/stream-node/package.json | 2 +- packages/stream-types-test/package.json | 2 +- packages/stream/package.json | 2 +- packages/syrup/package.json | 2 +- packages/where/package.json | 2 +- packages/zip/package.json | 2 +- 31 files changed, 31 insertions(+), 31 deletions(-) diff --git a/packages/base64/package.json b/packages/base64/package.json index 29be03706b..954d143902 100644 --- a/packages/base64/package.json +++ b/packages/base64/package.json @@ -74,6 +74,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 95.21 } } diff --git a/packages/bundle-source/package.json b/packages/bundle-source/package.json index 69b3fd19e7..3bcf6e6e40 100644 --- a/packages/bundle-source/package.json +++ b/packages/bundle-source/package.json @@ -84,6 +84,6 @@ ] }, "typeCoverage": { - "atLeast": 0 + "atLeast": 67.65 } } diff --git a/packages/captp/package.json b/packages/captp/package.json index 15db66b6cf..a44ebed040 100644 --- a/packages/captp/package.json +++ b/packages/captp/package.json @@ -71,6 +71,6 @@ ] }, "typeCoverage": { - "atLeast": 0 + "atLeast": 86.52 } } diff --git a/packages/check-bundle/package.json b/packages/check-bundle/package.json index 354d16b2ed..bb8d66aa39 100644 --- a/packages/check-bundle/package.json +++ b/packages/check-bundle/package.json @@ -79,6 +79,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 86.95 } } diff --git a/packages/cjs-module-analyzer/package.json b/packages/cjs-module-analyzer/package.json index 989c8d1f3b..3888107483 100644 --- a/packages/cjs-module-analyzer/package.json +++ b/packages/cjs-module-analyzer/package.json @@ -63,6 +63,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 39.57 } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 7443ca63ed..b8a299c122 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -67,6 +67,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 86.18 } } diff --git a/packages/compartment-mapper/package.json b/packages/compartment-mapper/package.json index 4cd9503eb9..4cfe7aabb9 100644 --- a/packages/compartment-mapper/package.json +++ b/packages/compartment-mapper/package.json @@ -94,6 +94,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 85.78 } } diff --git a/packages/daemon/package.json b/packages/daemon/package.json index 6b8c7c9b07..1411e54691 100644 --- a/packages/daemon/package.json +++ b/packages/daemon/package.json @@ -81,6 +81,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 97.21 } } diff --git a/packages/env-options/package.json b/packages/env-options/package.json index 84d0f92d22..c80124750d 100644 --- a/packages/env-options/package.json +++ b/packages/env-options/package.json @@ -85,6 +85,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 72.22 } } diff --git a/packages/errors/package.json b/packages/errors/package.json index 6ba00b9ec0..8175d13c38 100644 --- a/packages/errors/package.json +++ b/packages/errors/package.json @@ -66,6 +66,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 95.91 } } diff --git a/packages/eventual-send/package.json b/packages/eventual-send/package.json index 1d90101bb6..232e1a42da 100644 --- a/packages/eventual-send/package.json +++ b/packages/eventual-send/package.json @@ -64,6 +64,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 77.79 } } diff --git a/packages/exo/package.json b/packages/exo/package.json index cb1921dbd4..a0c68bc9ff 100644 --- a/packages/exo/package.json +++ b/packages/exo/package.json @@ -72,6 +72,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 91.45 } } diff --git a/packages/far/package.json b/packages/far/package.json index 1d19fb9d4f..43ae0f79fb 100644 --- a/packages/far/package.json +++ b/packages/far/package.json @@ -66,6 +66,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 100 } } diff --git a/packages/import-bundle/package.json b/packages/import-bundle/package.json index f2e49ae28f..e677c1ced0 100644 --- a/packages/import-bundle/package.json +++ b/packages/import-bundle/package.json @@ -67,6 +67,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 65.38 } } diff --git a/packages/init/package.json b/packages/init/package.json index 263ed34408..e59a6ab67e 100644 --- a/packages/init/package.json +++ b/packages/init/package.json @@ -73,6 +73,6 @@ "access": "public" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 78.47 } } diff --git a/packages/lp32/package.json b/packages/lp32/package.json index 516c0eb276..ca1cedf43f 100644 --- a/packages/lp32/package.json +++ b/packages/lp32/package.json @@ -85,6 +85,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 100 } } diff --git a/packages/marshal/package.json b/packages/marshal/package.json index 22bfcbb9fa..ddf2c5334f 100644 --- a/packages/marshal/package.json +++ b/packages/marshal/package.json @@ -73,6 +73,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 89.31 } } diff --git a/packages/memoize/package.json b/packages/memoize/package.json index 12d3073625..6ef09fa0df 100644 --- a/packages/memoize/package.json +++ b/packages/memoize/package.json @@ -73,6 +73,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 95.83 } } diff --git a/packages/netstring/package.json b/packages/netstring/package.json index 88e8671985..b100974c23 100644 --- a/packages/netstring/package.json +++ b/packages/netstring/package.json @@ -73,6 +73,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 100 } } diff --git a/packages/pass-style/package.json b/packages/pass-style/package.json index 4f644ba6bb..60a39fe909 100644 --- a/packages/pass-style/package.json +++ b/packages/pass-style/package.json @@ -73,6 +73,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 84.02 } } diff --git a/packages/patterns/package.json b/packages/patterns/package.json index f5f5c18170..247d73edb3 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -70,6 +70,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 79.81 } } diff --git a/packages/promise-kit/package.json b/packages/promise-kit/package.json index efdfc50e2a..37daf28bed 100644 --- a/packages/promise-kit/package.json +++ b/packages/promise-kit/package.json @@ -78,6 +78,6 @@ "node": ">=11.0" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 90.9 } } diff --git a/packages/ses-ava/package.json b/packages/ses-ava/package.json index f1fe922109..e4a28838c3 100644 --- a/packages/ses-ava/package.json +++ b/packages/ses-ava/package.json @@ -71,6 +71,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 72.22 } } diff --git a/packages/ses/package.json b/packages/ses/package.json index c99190d07a..182e1d2211 100644 --- a/packages/ses/package.json +++ b/packages/ses/package.json @@ -180,6 +180,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 81.13 } } diff --git a/packages/static-module-record/package.json b/packages/static-module-record/package.json index 20593e2a8f..dcff365b1d 100644 --- a/packages/static-module-record/package.json +++ b/packages/static-module-record/package.json @@ -78,6 +78,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 40.33 } } diff --git a/packages/stream-node/package.json b/packages/stream-node/package.json index 6480c84001..b567d4e5b4 100644 --- a/packages/stream-node/package.json +++ b/packages/stream-node/package.json @@ -81,6 +81,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 98.69 } } diff --git a/packages/stream-types-test/package.json b/packages/stream-types-test/package.json index ceca0b867e..64cb09fa23 100644 --- a/packages/stream-types-test/package.json +++ b/packages/stream-types-test/package.json @@ -48,6 +48,6 @@ ] }, "typeCoverage": { - "atLeast": 0 + "atLeast": 100 } } diff --git a/packages/stream/package.json b/packages/stream/package.json index 5e71c01102..59254c20e2 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -82,6 +82,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 95.22 } } diff --git a/packages/syrup/package.json b/packages/syrup/package.json index 72140636d4..10dbf99d8f 100644 --- a/packages/syrup/package.json +++ b/packages/syrup/package.json @@ -69,6 +69,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 96.09 } } diff --git a/packages/where/package.json b/packages/where/package.json index 96524324bb..d1f963d47b 100644 --- a/packages/where/package.json +++ b/packages/where/package.json @@ -66,6 +66,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 100 } } diff --git a/packages/zip/package.json b/packages/zip/package.json index 8d7b1d94aa..3746c55668 100644 --- a/packages/zip/package.json +++ b/packages/zip/package.json @@ -71,6 +71,6 @@ "timeout": "2m" }, "typeCoverage": { - "atLeast": 0 + "atLeast": 98.61 } }