chore: monorepo - plugin, backend und hilfsdaten in einem repo
- Eltern-Ordner ist jetzt EIN Git-Repo (statt getrennter Repos). - root .gitignore haelt Secrets (.env), node_modules, DB und Build-Artefakte raus. - release.ps1: manueller Release (ZIP bauen + ans Backend laden). - root README mit Struktur und Release-Ablauf. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
11
license-backend/test/hooks.mjs
Normal file
11
license-backend/test/hooks.mjs
Normal file
@@ -0,0 +1,11 @@
|
||||
import { pathToFileURL } from 'node:url';
|
||||
import { resolve as pathResolve } from 'node:path';
|
||||
|
||||
const shim = pathToFileURL( pathResolve( 'test/shim-better-sqlite3.mjs' ) ).href;
|
||||
|
||||
export async function resolve( specifier, context, next ) {
|
||||
if ( specifier === 'better-sqlite3' ) {
|
||||
return { url: shim, shortCircuit: true };
|
||||
}
|
||||
return next( specifier, context );
|
||||
}
|
||||
Reference in New Issue
Block a user