feat: json-schema updates\nfeat: new route proposal

This commit is contained in:
2023-11-01 14:31:12 +01:00
parent 8466976b3c
commit 0de613969e
20 changed files with 327 additions and 131 deletions

View File

@@ -1,5 +1,5 @@
import {defineConfig} from 'tsup';
import {jsonSchemaPlugin} from '@openstapps/json-schema-generator';
import {esbuildJsonSchemaPlugin} from '@openstapps/json-schema-generator';
export default defineConfig({
entry: ['src/app.ts'],
@@ -7,6 +7,6 @@ export default defineConfig({
clean: true,
format: 'esm',
outDir: 'lib',
noExternal: [/.*:schema#.*/],
plugins: [jsonSchemaPlugin('schema.json')],
noExternal: [/schema:.*/],
esbuildPlugins: [esbuildJsonSchemaPlugin],
});