refactor: revert json schema changes

This commit is contained in:
2023-11-01 14:44:45 +01:00
parent 0de613969e
commit d18a579cb8
22 changed files with 173 additions and 371 deletions

View File

@@ -1,5 +1,5 @@
import {defineConfig} from 'tsup';
import {esbuildJsonSchemaPlugin} from '@openstapps/json-schema-generator';
import {jsonSchemaPlugin} 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:.*/],
esbuildPlugins: [esbuildJsonSchemaPlugin],
noExternal: [/.*:schema#.*/],
plugins: [jsonSchemaPlugin('schema.json')],
});