From bdd5cb562e6062e5dd7f5c54a4554e37a100e169 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Sat, 10 Sep 2022 19:16:17 +0200 Subject: [PATCH] chore: Run unit tests from source --- designs/aaron/build.mjs | 14 -------------- designs/aaron/tests/shared.test.mjs | 2 +- designs/albert/build.mjs | 14 -------------- designs/albert/tests/shared.test.mjs | 2 +- designs/bee/build.mjs | 14 -------------- designs/bee/tests/shared.test.mjs | 2 +- designs/bella/build.mjs | 14 -------------- designs/bella/tests/shared.test.mjs | 2 +- designs/benjamin/build.mjs | 14 -------------- designs/benjamin/tests/shared.test.mjs | 2 +- designs/bent/build.mjs | 14 -------------- designs/bent/tests/shared.test.mjs | 2 +- designs/bob/build.mjs | 14 -------------- designs/bob/tests/shared.test.mjs | 2 +- designs/breanna/build.mjs | 14 -------------- designs/breanna/tests/shared.test.mjs | 2 +- designs/brian/build.mjs | 14 -------------- designs/brian/tests/shared.test.mjs | 2 +- designs/bruce/build.mjs | 14 -------------- designs/bruce/tests/shared.test.mjs | 2 +- designs/carlita/build.mjs | 14 -------------- designs/carlita/tests/shared.test.mjs | 2 +- designs/carlton/build.mjs | 14 -------------- designs/carlton/tests/shared.test.mjs | 2 +- designs/cathrin/build.mjs | 14 -------------- designs/cathrin/tests/shared.test.mjs | 2 +- designs/charlie/build.mjs | 14 -------------- designs/charlie/tests/shared.test.mjs | 2 +- designs/cornelius/build.mjs | 14 -------------- designs/cornelius/tests/shared.test.mjs | 2 +- designs/diana/build.mjs | 14 -------------- designs/diana/tests/shared.test.mjs | 2 +- designs/examples/build.mjs | 14 -------------- designs/examples/tests/shared.test.mjs | 2 +- designs/florence/build.mjs | 14 -------------- designs/florence/tests/shared.test.mjs | 2 +- designs/florent/build.mjs | 14 -------------- designs/florent/tests/shared.test.mjs | 2 +- designs/hi/build.mjs | 14 -------------- designs/hi/tests/shared.test.mjs | 2 +- designs/holmes/build.mjs | 14 -------------- designs/holmes/tests/shared.test.mjs | 2 +- designs/hortensia/build.mjs | 14 -------------- designs/hortensia/tests/shared.test.mjs | 2 +- designs/huey/build.mjs | 14 -------------- designs/huey/tests/shared.test.mjs | 2 +- designs/hugo/build.mjs | 14 -------------- designs/hugo/tests/shared.test.mjs | 2 +- designs/jaeger/build.mjs | 14 -------------- designs/jaeger/tests/shared.test.mjs | 2 +- designs/legend/build.mjs | 14 -------------- designs/legend/tests/shared.test.mjs | 2 +- designs/lucy/build.mjs | 14 -------------- designs/lucy/tests/shared.test.mjs | 2 +- designs/lunetius/build.mjs | 14 -------------- designs/lunetius/tests/shared.test.mjs | 2 +- designs/noble/build.mjs | 14 -------------- designs/noble/tests/shared.test.mjs | 2 +- designs/octoplushy/build.mjs | 14 -------------- designs/octoplushy/tests/shared.test.mjs | 2 +- designs/paco/build.mjs | 14 -------------- designs/paco/tests/shared.test.mjs | 2 +- designs/penelope/build.mjs | 14 -------------- designs/penelope/tests/shared.test.mjs | 2 +- designs/plugintest/build.mjs | 14 -------------- designs/plugintest/tests/shared.test.mjs | 2 +- designs/rendertest/build.mjs | 14 -------------- designs/rendertest/tests/shared.test.mjs | 2 +- designs/sandy/build.mjs | 14 -------------- designs/sandy/tests/shared.test.mjs | 2 +- designs/shin/build.mjs | 14 -------------- designs/shin/tests/shared.test.mjs | 2 +- designs/simon/build.mjs | 14 -------------- designs/simon/tests/shared.test.mjs | 2 +- designs/simone/build.mjs | 14 -------------- designs/simone/tests/shared.test.mjs | 2 +- designs/sven/build.mjs | 14 -------------- designs/sven/tests/shared.test.mjs | 2 +- designs/tamiko/build.mjs | 14 -------------- designs/tamiko/tests/shared.test.mjs | 2 +- designs/teagan/build.mjs | 14 -------------- designs/teagan/tests/shared.test.mjs | 2 +- designs/tiberius/build.mjs | 14 -------------- designs/tiberius/tests/shared.test.mjs | 2 +- designs/titan/build.mjs | 14 -------------- designs/titan/tests/shared.test.mjs | 2 +- designs/trayvon/build.mjs | 14 -------------- designs/trayvon/tests/shared.test.mjs | 2 +- designs/tutorial/build.mjs | 14 -------------- designs/tutorial/tests/shared.test.mjs | 2 +- designs/ursula/build.mjs | 14 -------------- designs/ursula/tests/shared.test.mjs | 2 +- designs/wahid/build.mjs | 14 -------------- designs/wahid/tests/shared.test.mjs | 2 +- designs/walburga/build.mjs | 14 -------------- designs/walburga/tests/shared.test.mjs | 2 +- designs/waralee/build.mjs | 14 -------------- designs/waralee/tests/shared.test.mjs | 2 +- designs/yuri/build.mjs | 14 -------------- designs/yuri/tests/shared.test.mjs | 2 +- packages/core/build.mjs | 14 -------------- packages/models/build.mjs | 14 -------------- packages/snapseries/build.mjs | 14 -------------- plugins/plugin-banner/build.mjs | 14 -------------- plugins/plugin-bartack/build.mjs | 14 -------------- plugins/plugin-bust/build.mjs | 14 -------------- plugins/plugin-buttons/build.mjs | 14 -------------- plugins/plugin-cutlist/build.mjs | 14 -------------- plugins/plugin-cutonfold/build.mjs | 14 -------------- plugins/plugin-dimension/build.mjs | 14 -------------- plugins/plugin-flip/build.mjs | 14 -------------- plugins/plugin-gore/build.mjs | 14 -------------- plugins/plugin-grainline/build.mjs | 14 -------------- plugins/plugin-i18n/build.mjs | 14 -------------- plugins/plugin-logo/build.mjs | 14 -------------- plugins/plugin-measurements/build.mjs | 14 -------------- plugins/plugin-mirror/build.mjs | 14 -------------- plugins/plugin-notches/build.mjs | 14 -------------- plugins/plugin-round/build.mjs | 14 -------------- plugins/plugin-scalebox/build.mjs | 14 -------------- plugins/plugin-sprinkle/build.mjs | 14 -------------- plugins/plugin-svgattr/build.mjs | 14 -------------- plugins/plugin-theme/build.mjs | 14 -------------- plugins/plugin-title/build.mjs | 14 -------------- plugins/plugin-versionfree-svg/build.mjs | 14 -------------- 125 files changed, 50 insertions(+), 1100 deletions(-) diff --git a/designs/aaron/build.mjs b/designs/aaron/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/aaron/build.mjs +++ b/designs/aaron/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/aaron/tests/shared.test.mjs b/designs/aaron/tests/shared.test.mjs index a041429bfa6..998f8f124d3 100644 --- a/designs/aaron/tests/shared.test.mjs +++ b/designs/aaron/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Aaron } from './dist/index.mjs' +import { Aaron } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/albert/build.mjs b/designs/albert/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/albert/build.mjs +++ b/designs/albert/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/albert/tests/shared.test.mjs b/designs/albert/tests/shared.test.mjs index f7bdabe51eb..d9e14179213 100644 --- a/designs/albert/tests/shared.test.mjs +++ b/designs/albert/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Albert } from './dist/index.mjs' +import { Albert } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/bee/build.mjs b/designs/bee/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/bee/build.mjs +++ b/designs/bee/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/bee/tests/shared.test.mjs b/designs/bee/tests/shared.test.mjs index eb2d58aed5f..e10dd09cd34 100644 --- a/designs/bee/tests/shared.test.mjs +++ b/designs/bee/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Bee } from './dist/index.mjs' +import { Bee } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/bella/build.mjs b/designs/bella/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/bella/build.mjs +++ b/designs/bella/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/bella/tests/shared.test.mjs b/designs/bella/tests/shared.test.mjs index 37c17184769..2e5d54a1d44 100644 --- a/designs/bella/tests/shared.test.mjs +++ b/designs/bella/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Bella } from './dist/index.mjs' +import { Bella } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/benjamin/build.mjs b/designs/benjamin/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/benjamin/build.mjs +++ b/designs/benjamin/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/benjamin/tests/shared.test.mjs b/designs/benjamin/tests/shared.test.mjs index 40a30c28b9c..c100da6e8a7 100644 --- a/designs/benjamin/tests/shared.test.mjs +++ b/designs/benjamin/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Benjamin } from './dist/index.mjs' +import { Benjamin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/bent/build.mjs b/designs/bent/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/bent/build.mjs +++ b/designs/bent/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/bent/tests/shared.test.mjs b/designs/bent/tests/shared.test.mjs index f81b278700d..773d2a33732 100644 --- a/designs/bent/tests/shared.test.mjs +++ b/designs/bent/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Bent } from './dist/index.mjs' +import { Bent } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/bob/build.mjs b/designs/bob/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/bob/build.mjs +++ b/designs/bob/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/bob/tests/shared.test.mjs b/designs/bob/tests/shared.test.mjs index a2292a1699c..ed9390cabe7 100644 --- a/designs/bob/tests/shared.test.mjs +++ b/designs/bob/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Bob } from './dist/index.mjs' +import { Bob } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/breanna/build.mjs b/designs/breanna/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/breanna/build.mjs +++ b/designs/breanna/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/breanna/tests/shared.test.mjs b/designs/breanna/tests/shared.test.mjs index 3d8e4c74e69..1705ef26179 100644 --- a/designs/breanna/tests/shared.test.mjs +++ b/designs/breanna/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Breanna } from './dist/index.mjs' +import { Breanna } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/brian/build.mjs b/designs/brian/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/brian/build.mjs +++ b/designs/brian/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/brian/tests/shared.test.mjs b/designs/brian/tests/shared.test.mjs index 5df68ea4cde..411dfd26ee0 100644 --- a/designs/brian/tests/shared.test.mjs +++ b/designs/brian/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Brian } from './dist/index.mjs' +import { Brian } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/bruce/build.mjs b/designs/bruce/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/bruce/build.mjs +++ b/designs/bruce/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/bruce/tests/shared.test.mjs b/designs/bruce/tests/shared.test.mjs index ec401965902..2f74e137fad 100644 --- a/designs/bruce/tests/shared.test.mjs +++ b/designs/bruce/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Bruce } from './dist/index.mjs' +import { Bruce } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/carlita/build.mjs b/designs/carlita/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/carlita/build.mjs +++ b/designs/carlita/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/carlita/tests/shared.test.mjs b/designs/carlita/tests/shared.test.mjs index ae9882e6e00..5b8435628a3 100644 --- a/designs/carlita/tests/shared.test.mjs +++ b/designs/carlita/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Carlita } from './dist/index.mjs' +import { Carlita } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/carlton/build.mjs b/designs/carlton/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/carlton/build.mjs +++ b/designs/carlton/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/carlton/tests/shared.test.mjs b/designs/carlton/tests/shared.test.mjs index ee9afa94f5a..5b021ea3ee2 100644 --- a/designs/carlton/tests/shared.test.mjs +++ b/designs/carlton/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Carlton } from './dist/index.mjs' +import { Carlton } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/cathrin/build.mjs b/designs/cathrin/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/cathrin/build.mjs +++ b/designs/cathrin/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/cathrin/tests/shared.test.mjs b/designs/cathrin/tests/shared.test.mjs index f46b7e81001..372c79c575d 100644 --- a/designs/cathrin/tests/shared.test.mjs +++ b/designs/cathrin/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Cathrin } from './dist/index.mjs' +import { Cathrin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/charlie/build.mjs b/designs/charlie/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/charlie/build.mjs +++ b/designs/charlie/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/charlie/tests/shared.test.mjs b/designs/charlie/tests/shared.test.mjs index 5bd0e1aded9..abf213a6abb 100644 --- a/designs/charlie/tests/shared.test.mjs +++ b/designs/charlie/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Charlie } from './dist/index.mjs' +import { Charlie } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/cornelius/build.mjs b/designs/cornelius/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/cornelius/build.mjs +++ b/designs/cornelius/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/cornelius/tests/shared.test.mjs b/designs/cornelius/tests/shared.test.mjs index 638d6c42d50..483b2d1111f 100644 --- a/designs/cornelius/tests/shared.test.mjs +++ b/designs/cornelius/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Cornelius } from './dist/index.mjs' +import { Cornelius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/diana/build.mjs b/designs/diana/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/diana/build.mjs +++ b/designs/diana/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/diana/tests/shared.test.mjs b/designs/diana/tests/shared.test.mjs index 0aa345bdff7..bd81fcc3a7f 100644 --- a/designs/diana/tests/shared.test.mjs +++ b/designs/diana/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Diana } from './dist/index.mjs' +import { Diana } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/examples/build.mjs b/designs/examples/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/examples/build.mjs +++ b/designs/examples/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/examples/tests/shared.test.mjs b/designs/examples/tests/shared.test.mjs index df3ed91e710..88702efb737 100644 --- a/designs/examples/tests/shared.test.mjs +++ b/designs/examples/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Examples } from './dist/index.mjs' +import { Examples } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/florence/build.mjs b/designs/florence/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/florence/build.mjs +++ b/designs/florence/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/florence/tests/shared.test.mjs b/designs/florence/tests/shared.test.mjs index d3faad044e6..f955c7ff706 100644 --- a/designs/florence/tests/shared.test.mjs +++ b/designs/florence/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Florence } from './dist/index.mjs' +import { Florence } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/florent/build.mjs b/designs/florent/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/florent/build.mjs +++ b/designs/florent/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/florent/tests/shared.test.mjs b/designs/florent/tests/shared.test.mjs index 9524031812f..4d95c7ae8a3 100644 --- a/designs/florent/tests/shared.test.mjs +++ b/designs/florent/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Florent } from './dist/index.mjs' +import { Florent } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/hi/build.mjs b/designs/hi/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/hi/build.mjs +++ b/designs/hi/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/hi/tests/shared.test.mjs b/designs/hi/tests/shared.test.mjs index 8cc2ae3c8cc..8fde1c62240 100644 --- a/designs/hi/tests/shared.test.mjs +++ b/designs/hi/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Hi } from './dist/index.mjs' +import { Hi } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/holmes/build.mjs b/designs/holmes/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/holmes/build.mjs +++ b/designs/holmes/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/holmes/tests/shared.test.mjs b/designs/holmes/tests/shared.test.mjs index ba59969c3d7..1d87dd6fcff 100644 --- a/designs/holmes/tests/shared.test.mjs +++ b/designs/holmes/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Holmes } from './dist/index.mjs' +import { Holmes } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/hortensia/build.mjs b/designs/hortensia/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/hortensia/build.mjs +++ b/designs/hortensia/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/hortensia/tests/shared.test.mjs b/designs/hortensia/tests/shared.test.mjs index 29edb99399f..f5719229006 100644 --- a/designs/hortensia/tests/shared.test.mjs +++ b/designs/hortensia/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Hortensia } from './dist/index.mjs' +import { Hortensia } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/huey/build.mjs b/designs/huey/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/huey/build.mjs +++ b/designs/huey/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/huey/tests/shared.test.mjs b/designs/huey/tests/shared.test.mjs index 787a9f3f115..25224d7bf4e 100644 --- a/designs/huey/tests/shared.test.mjs +++ b/designs/huey/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Huey } from './dist/index.mjs' +import { Huey } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/hugo/build.mjs b/designs/hugo/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/hugo/build.mjs +++ b/designs/hugo/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/hugo/tests/shared.test.mjs b/designs/hugo/tests/shared.test.mjs index faf35daad65..c941094d73a 100644 --- a/designs/hugo/tests/shared.test.mjs +++ b/designs/hugo/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Hugo } from './dist/index.mjs' +import { Hugo } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/jaeger/build.mjs b/designs/jaeger/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/jaeger/build.mjs +++ b/designs/jaeger/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/jaeger/tests/shared.test.mjs b/designs/jaeger/tests/shared.test.mjs index 240d05f5bf0..ac45cf219b7 100644 --- a/designs/jaeger/tests/shared.test.mjs +++ b/designs/jaeger/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Jaeger } from './dist/index.mjs' +import { Jaeger } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/legend/build.mjs b/designs/legend/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/legend/build.mjs +++ b/designs/legend/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/legend/tests/shared.test.mjs b/designs/legend/tests/shared.test.mjs index c680620c623..7a03972d523 100644 --- a/designs/legend/tests/shared.test.mjs +++ b/designs/legend/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Legend } from './dist/index.mjs' +import { Legend } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/lucy/build.mjs b/designs/lucy/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/lucy/build.mjs +++ b/designs/lucy/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/lucy/tests/shared.test.mjs b/designs/lucy/tests/shared.test.mjs index 2032711f1b0..c4ff50b3137 100644 --- a/designs/lucy/tests/shared.test.mjs +++ b/designs/lucy/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Lucy } from './dist/index.mjs' +import { Lucy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/lunetius/build.mjs b/designs/lunetius/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/lunetius/build.mjs +++ b/designs/lunetius/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/lunetius/tests/shared.test.mjs b/designs/lunetius/tests/shared.test.mjs index 1160b503c10..e61a1200df5 100644 --- a/designs/lunetius/tests/shared.test.mjs +++ b/designs/lunetius/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Lunetius } from './dist/index.mjs' +import { Lunetius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/noble/build.mjs b/designs/noble/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/noble/build.mjs +++ b/designs/noble/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/noble/tests/shared.test.mjs b/designs/noble/tests/shared.test.mjs index be8b28b92ef..3cacb3a1352 100644 --- a/designs/noble/tests/shared.test.mjs +++ b/designs/noble/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Noble } from './dist/index.mjs' +import { Noble } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/octoplushy/build.mjs b/designs/octoplushy/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/octoplushy/build.mjs +++ b/designs/octoplushy/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/octoplushy/tests/shared.test.mjs b/designs/octoplushy/tests/shared.test.mjs index 75d754f8656..4d8325bd423 100644 --- a/designs/octoplushy/tests/shared.test.mjs +++ b/designs/octoplushy/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Octoplushy } from './dist/index.mjs' +import { Octoplushy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/paco/build.mjs b/designs/paco/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/paco/build.mjs +++ b/designs/paco/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/paco/tests/shared.test.mjs b/designs/paco/tests/shared.test.mjs index ea9bec83a1d..7908ff68dd5 100644 --- a/designs/paco/tests/shared.test.mjs +++ b/designs/paco/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Paco } from './dist/index.mjs' +import { Paco } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/penelope/build.mjs b/designs/penelope/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/penelope/build.mjs +++ b/designs/penelope/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/penelope/tests/shared.test.mjs b/designs/penelope/tests/shared.test.mjs index b715d6e0d47..39f56bc4504 100644 --- a/designs/penelope/tests/shared.test.mjs +++ b/designs/penelope/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Penelope } from './dist/index.mjs' +import { Penelope } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/plugintest/build.mjs b/designs/plugintest/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/plugintest/build.mjs +++ b/designs/plugintest/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/plugintest/tests/shared.test.mjs b/designs/plugintest/tests/shared.test.mjs index a0b95a848b2..1e78b45fef5 100644 --- a/designs/plugintest/tests/shared.test.mjs +++ b/designs/plugintest/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Plugintest } from './dist/index.mjs' +import { Plugintest } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/rendertest/build.mjs b/designs/rendertest/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/rendertest/build.mjs +++ b/designs/rendertest/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/rendertest/tests/shared.test.mjs b/designs/rendertest/tests/shared.test.mjs index bb9c6b977ff..a04bcc15254 100644 --- a/designs/rendertest/tests/shared.test.mjs +++ b/designs/rendertest/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Rendertest } from './dist/index.mjs' +import { Rendertest } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/sandy/build.mjs b/designs/sandy/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/sandy/build.mjs +++ b/designs/sandy/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/sandy/tests/shared.test.mjs b/designs/sandy/tests/shared.test.mjs index 8189f1e1e60..8f98f87ab76 100644 --- a/designs/sandy/tests/shared.test.mjs +++ b/designs/sandy/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Sandy } from './dist/index.mjs' +import { Sandy } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/shin/build.mjs b/designs/shin/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/shin/build.mjs +++ b/designs/shin/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/shin/tests/shared.test.mjs b/designs/shin/tests/shared.test.mjs index 173d4144a09..52c191bb923 100644 --- a/designs/shin/tests/shared.test.mjs +++ b/designs/shin/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Shin } from './dist/index.mjs' +import { Shin } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/simon/build.mjs b/designs/simon/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/simon/build.mjs +++ b/designs/simon/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/simon/tests/shared.test.mjs b/designs/simon/tests/shared.test.mjs index 82e56e133e7..63d2ab35b99 100644 --- a/designs/simon/tests/shared.test.mjs +++ b/designs/simon/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Simon } from './dist/index.mjs' +import { Simon } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/simone/build.mjs b/designs/simone/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/simone/build.mjs +++ b/designs/simone/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/simone/tests/shared.test.mjs b/designs/simone/tests/shared.test.mjs index d072c7a614c..41603253f25 100644 --- a/designs/simone/tests/shared.test.mjs +++ b/designs/simone/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Simone } from './dist/index.mjs' +import { Simone } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/sven/build.mjs b/designs/sven/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/sven/build.mjs +++ b/designs/sven/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/sven/tests/shared.test.mjs b/designs/sven/tests/shared.test.mjs index e06c8a5511a..cef4b0e0e74 100644 --- a/designs/sven/tests/shared.test.mjs +++ b/designs/sven/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Sven } from './dist/index.mjs' +import { Sven } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/tamiko/build.mjs b/designs/tamiko/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/tamiko/build.mjs +++ b/designs/tamiko/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/tamiko/tests/shared.test.mjs b/designs/tamiko/tests/shared.test.mjs index 7fc3da6192f..71a292e1e5e 100644 --- a/designs/tamiko/tests/shared.test.mjs +++ b/designs/tamiko/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Tamiko } from './dist/index.mjs' +import { Tamiko } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/teagan/build.mjs b/designs/teagan/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/teagan/build.mjs +++ b/designs/teagan/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/teagan/tests/shared.test.mjs b/designs/teagan/tests/shared.test.mjs index a5903941476..3909099fb73 100644 --- a/designs/teagan/tests/shared.test.mjs +++ b/designs/teagan/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Teagan } from './dist/index.mjs' +import { Teagan } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/tiberius/build.mjs b/designs/tiberius/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/tiberius/build.mjs +++ b/designs/tiberius/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/tiberius/tests/shared.test.mjs b/designs/tiberius/tests/shared.test.mjs index 6723aa72b07..79174b02351 100644 --- a/designs/tiberius/tests/shared.test.mjs +++ b/designs/tiberius/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Tiberius } from './dist/index.mjs' +import { Tiberius } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/titan/build.mjs b/designs/titan/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/titan/build.mjs +++ b/designs/titan/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/titan/tests/shared.test.mjs b/designs/titan/tests/shared.test.mjs index fb76f4cf6ef..3c539d9eb38 100644 --- a/designs/titan/tests/shared.test.mjs +++ b/designs/titan/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Titan } from './dist/index.mjs' +import { Titan } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/trayvon/build.mjs b/designs/trayvon/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/trayvon/build.mjs +++ b/designs/trayvon/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/trayvon/tests/shared.test.mjs b/designs/trayvon/tests/shared.test.mjs index 7cb65194731..237008fbbce 100644 --- a/designs/trayvon/tests/shared.test.mjs +++ b/designs/trayvon/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Trayvon } from './dist/index.mjs' +import { Trayvon } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/tutorial/build.mjs b/designs/tutorial/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/tutorial/build.mjs +++ b/designs/tutorial/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/tutorial/tests/shared.test.mjs b/designs/tutorial/tests/shared.test.mjs index 118b49ff0df..1dae867ccde 100644 --- a/designs/tutorial/tests/shared.test.mjs +++ b/designs/tutorial/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Tutorial } from './dist/index.mjs' +import { Tutorial } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/ursula/build.mjs b/designs/ursula/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/ursula/build.mjs +++ b/designs/ursula/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/ursula/tests/shared.test.mjs b/designs/ursula/tests/shared.test.mjs index 958c451cbae..851b2d126e4 100644 --- a/designs/ursula/tests/shared.test.mjs +++ b/designs/ursula/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Ursula } from './dist/index.mjs' +import { Ursula } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/wahid/build.mjs b/designs/wahid/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/wahid/build.mjs +++ b/designs/wahid/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/wahid/tests/shared.test.mjs b/designs/wahid/tests/shared.test.mjs index f789d0f3499..8c826f0ab54 100644 --- a/designs/wahid/tests/shared.test.mjs +++ b/designs/wahid/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Wahid } from './dist/index.mjs' +import { Wahid } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/walburga/build.mjs b/designs/walburga/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/walburga/build.mjs +++ b/designs/walburga/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/walburga/tests/shared.test.mjs b/designs/walburga/tests/shared.test.mjs index b14af5133cd..fada4a67504 100644 --- a/designs/walburga/tests/shared.test.mjs +++ b/designs/walburga/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Walburga } from './dist/index.mjs' +import { Walburga } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/waralee/build.mjs b/designs/waralee/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/waralee/build.mjs +++ b/designs/waralee/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/waralee/tests/shared.test.mjs b/designs/waralee/tests/shared.test.mjs index bf37e71c43b..41a1754c79c 100644 --- a/designs/waralee/tests/shared.test.mjs +++ b/designs/waralee/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Waralee } from './dist/index.mjs' +import { Waralee } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/designs/yuri/build.mjs b/designs/yuri/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/designs/yuri/build.mjs +++ b/designs/yuri/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/designs/yuri/tests/shared.test.mjs b/designs/yuri/tests/shared.test.mjs index 759945bdd2b..a0e2c5039b8 100644 --- a/designs/yuri/tests/shared.test.mjs +++ b/designs/yuri/tests/shared.test.mjs @@ -1,5 +1,5 @@ // This file is auto-generated | Any changes you make will be overwritten. -import { Yuri } from './dist/index.mjs' +import { Yuri } from '../src/index.mjs' // Shared tests import { testPatternConfig } from '../../../tests/designs/config.mjs' diff --git a/packages/core/build.mjs b/packages/core/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/packages/core/build.mjs +++ b/packages/core/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/packages/models/build.mjs b/packages/models/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/packages/models/build.mjs +++ b/packages/models/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/packages/snapseries/build.mjs b/packages/snapseries/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/packages/snapseries/build.mjs +++ b/packages/snapseries/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-banner/build.mjs b/plugins/plugin-banner/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-banner/build.mjs +++ b/plugins/plugin-banner/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-bartack/build.mjs b/plugins/plugin-bartack/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-bartack/build.mjs +++ b/plugins/plugin-bartack/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-bust/build.mjs b/plugins/plugin-bust/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-bust/build.mjs +++ b/plugins/plugin-bust/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-buttons/build.mjs b/plugins/plugin-buttons/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-buttons/build.mjs +++ b/plugins/plugin-buttons/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-cutlist/build.mjs b/plugins/plugin-cutlist/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-cutlist/build.mjs +++ b/plugins/plugin-cutlist/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-cutonfold/build.mjs b/plugins/plugin-cutonfold/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-cutonfold/build.mjs +++ b/plugins/plugin-cutonfold/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-dimension/build.mjs b/plugins/plugin-dimension/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-dimension/build.mjs +++ b/plugins/plugin-dimension/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-flip/build.mjs b/plugins/plugin-flip/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-flip/build.mjs +++ b/plugins/plugin-flip/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-gore/build.mjs b/plugins/plugin-gore/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-gore/build.mjs +++ b/plugins/plugin-gore/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-grainline/build.mjs b/plugins/plugin-grainline/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-grainline/build.mjs +++ b/plugins/plugin-grainline/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-i18n/build.mjs b/plugins/plugin-i18n/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-i18n/build.mjs +++ b/plugins/plugin-i18n/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-logo/build.mjs b/plugins/plugin-logo/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-logo/build.mjs +++ b/plugins/plugin-logo/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-measurements/build.mjs b/plugins/plugin-measurements/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-measurements/build.mjs +++ b/plugins/plugin-measurements/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-mirror/build.mjs b/plugins/plugin-mirror/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-mirror/build.mjs +++ b/plugins/plugin-mirror/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-notches/build.mjs b/plugins/plugin-notches/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-notches/build.mjs +++ b/plugins/plugin-notches/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-round/build.mjs b/plugins/plugin-round/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-round/build.mjs +++ b/plugins/plugin-round/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-scalebox/build.mjs b/plugins/plugin-scalebox/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-scalebox/build.mjs +++ b/plugins/plugin-scalebox/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-sprinkle/build.mjs b/plugins/plugin-sprinkle/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-sprinkle/build.mjs +++ b/plugins/plugin-sprinkle/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-svgattr/build.mjs b/plugins/plugin-svgattr/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-svgattr/build.mjs +++ b/plugins/plugin-svgattr/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-theme/build.mjs b/plugins/plugin-theme/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-theme/build.mjs +++ b/plugins/plugin-theme/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-title/build.mjs b/plugins/plugin-title/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-title/build.mjs +++ b/plugins/plugin-title/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })() diff --git a/plugins/plugin-versionfree-svg/build.mjs b/plugins/plugin-versionfree-svg/build.mjs index c5581c1e4a2..aa4dfabb290 100644 --- a/plugins/plugin-versionfree-svg/build.mjs +++ b/plugins/plugin-versionfree-svg/build.mjs @@ -33,18 +33,4 @@ let result console.log(info) } - // Also build a version that has all dependencies bundled - // This makes it easy to run tests - await esbuild - .build({ - ...options, - minify: false, - keepNames: true, - sourcemap: false, - outfile: 'tests/dist/index.mjs', - format: 'esm', - external: [], - }) - .catch(() => process.exit(1)) - })()