Skip to content

Commit

Permalink
SvelteKit migration: add type: "module"
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Oct 1, 2024
1 parent e86fa56 commit 14ec0f4
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 106 deletions.
34 changes: 17 additions & 17 deletions src/main/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/main/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "vlingo-schemata-ui",
"version": "0.1.1",
"private": true,
"type": "module",
"description": "The UI of the schema registry for the VLINGO XOOM Platform.",
"scripts": {
"dev": "sapper dev",
Expand All @@ -16,7 +17,7 @@
"body-parser": "^1.20.3",
"compression": "^1.7.4",
"dompurify": "^2.5.7",
"marked": "^4.0.19",
"marked": "^14.1.2",
"polka": "^1.0.0-next.28",
"sirv": "^1.0.19"
},
Expand Down
5 changes: 0 additions & 5 deletions src/main/frontend/src/client.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/frontend/src/components/VersionContainer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import SchemataRepository from '../api/SchemataRepository';
import ButtonBar from '../components/form/ButtonBar.svelte';
import Button from '../components/form/Button.svelte';
import marked from 'marked';
import { marked } from 'marked';
import DOMPurify from 'dompurify';
Expand Down
2 changes: 2 additions & 0 deletions src/main/frontend/src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ import sirv from 'sirv';
import polka from 'polka';
import compression from 'compression';
import * as sapper from '@sapper/server';
import { createRequire } from "module";
const require = createRequire(import.meta.url);
const { json } = require('body-parser');
const { createProxyMiddleware } = require('http-proxy-middleware');

Expand Down
82 changes: 0 additions & 82 deletions src/main/frontend/src/service-worker.js

This file was deleted.

0 comments on commit 14ec0f4

Please sign in to comment.