MCPcopy
hub / github.com/QwikDev/qwik / buildEslint

Function buildEslint

scripts/eslint.ts:8–24  ·  view source on GitHub ↗
(config: BuildConfig)

Source from the content-addressed store, hash-verified

6const PACKAGE = 'eslint-plugin-qwik';
7
8export async function buildEslint(config: BuildConfig) {
9 const eslintDir = join(config.packagesDir, PACKAGE);
10 const eslintOutput = join(eslintDir, 'dist');
11
12 await build({
13 entryPoints: [join(eslintDir, 'index.ts')],
14 outfile: join(eslintOutput, 'index.js'),
15 bundle: true,
16 sourcemap: false,
17 target: nodeTarget,
18 platform: 'node',
19 minify: !config.dev,
20 external: ['eslint', 'espree', '@typescript-eslint/utils', 'typescript'],
21 });
22
23 console.log(`📐 ${PACKAGE}`);
24}
25
26export async function publishEslint(
27 config: BuildConfig,

Callers 1

buildFunction · 0.90

Calls 2

joinFunction · 0.85
buildFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…