From f9698e97259ca8cac1579ce31dfe47c916bc0ce5 Mon Sep 17 00:00:00 2001 From: Thijs Louisse Date: Wed, 15 May 2024 00:27:47 +0200 Subject: [PATCH 1/2] fix: expose inlined-swc-to-babel --- .changeset/wise-rice-speak.md | 5 +++++ packages-node/providence-analytics/package.json | 1 + .../test-node/program/utils/optimised-glob.test.js | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/wise-rice-speak.md diff --git a/.changeset/wise-rice-speak.md b/.changeset/wise-rice-speak.md new file mode 100644 index 0000000000..929bdf7467 --- /dev/null +++ b/.changeset/wise-rice-speak.md @@ -0,0 +1,5 @@ +--- +'providence-analytics': patch +--- + +fix: expose inlined-swc-to-babel diff --git a/packages-node/providence-analytics/package.json b/packages-node/providence-analytics/package.json index 8bcdafbfb4..8b28de230e 100644 --- a/packages-node/providence-analytics/package.json +++ b/packages-node/providence-analytics/package.json @@ -23,6 +23,7 @@ "providence": "./src/cli/index.js" }, "files": [ + "inlined-swc-to-babel", "src" ], "scripts": { diff --git a/packages-node/providence-analytics/test-node/program/utils/optimised-glob.test.js b/packages-node/providence-analytics/test-node/program/utils/optimised-glob.test.js index 2d8159163a..0e77f9344c 100644 --- a/packages-node/providence-analytics/test-node/program/utils/optimised-glob.test.js +++ b/packages-node/providence-analytics/test-node/program/utils/optimised-glob.test.js @@ -13,7 +13,7 @@ const measurePerf = process.argv.includes('--measure-perf'); /** * @param {*} patterns * @param {*} options - * @returns {string[]} + * @returns {Promise} */ async function runOptimisedGlobAndCheckGlobbyParity(patterns, options) { performance.mark('start-optimisedGlob'); From 337d84755e3fd5bdaa875a942d41ca36cd9a18a5 Mon Sep 17 00:00:00 2001 From: Thijs Louisse Date: Wed, 15 May 2024 00:29:37 +0200 Subject: [PATCH 2/2] chore: update .lintstagedrc.js (no `git add`) --- .lintstagedrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lintstagedrc.js b/.lintstagedrc.js index 23f4651171..10e30d5c9e 100644 --- a/.lintstagedrc.js +++ b/.lintstagedrc.js @@ -1,6 +1,6 @@ /* eslint-disable import/no-extraneous-dependencies */ module.exports = { - '*.js': ['eslint --fix', 'prettier --write', 'git add'], + '*.js': ['eslint --fix', 'prettier --write'], '*.md': [ 'prettier --write', "markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",