Merge pull request #2283 from ing-bank/fix/providence-expose-inline-swc-to-babel
Fix/providence expose inline swc to babel
This commit is contained in:
commit
ee26f3ba23
4 changed files with 8 additions and 2 deletions
5
.changeset/wise-rice-speak.md
Normal file
5
.changeset/wise-rice-speak.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'providence-analytics': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix: expose inlined-swc-to-babel
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
/* eslint-disable import/no-extraneous-dependencies */
|
/* eslint-disable import/no-extraneous-dependencies */
|
||||||
module.exports = {
|
module.exports = {
|
||||||
'*.js': ['eslint --fix', 'prettier --write', 'git add'],
|
'*.js': ['eslint --fix', 'prettier --write'],
|
||||||
'*.md': [
|
'*.md': [
|
||||||
'prettier --write',
|
'prettier --write',
|
||||||
"markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
|
"markdownlint --ignore '{.github/**/*.md,.changeset/*.md,**/CHANGELOG.md,packages/ui/_legacy-changelogs/*.md}'",
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
"providence": "./src/cli/index.js"
|
"providence": "./src/cli/index.js"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
|
"inlined-swc-to-babel",
|
||||||
"src"
|
"src"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ const measurePerf = process.argv.includes('--measure-perf');
|
||||||
/**
|
/**
|
||||||
* @param {*} patterns
|
* @param {*} patterns
|
||||||
* @param {*} options
|
* @param {*} options
|
||||||
* @returns {string[]}
|
* @returns {Promise<string[]>}
|
||||||
*/
|
*/
|
||||||
async function runOptimisedGlobAndCheckGlobbyParity(patterns, options) {
|
async function runOptimisedGlobAndCheckGlobbyParity(patterns, options) {
|
||||||
performance.mark('start-optimisedGlob');
|
performance.mark('start-optimisedGlob');
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue