This commit is contained in:
Benjamin Palko 2025-03-09 12:55:58 -04:00
parent 908e503360
commit 540d03f367
3 changed files with 39 additions and 5 deletions

View file

@ -1,14 +1,15 @@
{
"name": "@atlas/svelte",
"version": "1.0.2-alpha",
"type": "module",
"version": "1.0.3-alpha",
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
},
"./components": {
"types": "./dist/components/index.d.ts",
"svelte": "./dist/components/index.js"
},
"./types": {
"types": "./dist/types/index.d.ts"
}
},
"types": "./dist/index.d.ts",
@ -18,6 +19,13 @@
"!dist/**/*.stories.*",
"dist"
],
"keywords": [
"svelte",
"UI",
"daisyui",
"component",
"library"
],
"scripts": {
"build-storybook": "storybook build",
"test:unit": "vitest",
@ -65,5 +73,6 @@
"daisyui": "^4.12.22",
"svelte": "^5.0.0",
"tailwindcss": "^3.4.9"
}
},
"svelte": "./dist/index.js"
}

13
packages/svelte/src/app.d.ts vendored Normal file
View file

@ -0,0 +1,13 @@
// See https://kit.svelte.dev/docs/types#app
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
// interface Locals {}
// interface PageData {}
// interface PageState {}
// interface Platform {}
}
}
export {};

View file

@ -0,0 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover">
<div>%sveltekit.body%</div>
</body>
</html>