Skip to content

Commit 2466759

Browse files
committed
chore: wip
1 parent 52f42e4 commit 2466759

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

storage/framework/core/components/notification/components.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
// @ts-nocheck
33
// Generated by unplugin-vue-components
44
// Read more: https://github.com/vuejs/core/pull/3399
5-
export type {}
5+
export {}
66

77
/* prettier-ignore */
88
declare module 'vue' {
99
export interface GlobalComponents {
10-
'Carbon:cafe': typeof import('~icons/carbon/cafe')['default']
11-
'Carbon:logoTwitter': typeof import('~icons/carbon/logo-twitter')['default']
1210
CheckIcon: typeof import('./src/components/icons/CheckIcon.vue')['default']
1311
CloseIcon: typeof import('./src/components/icons/CloseIcon.vue')['default']
1412
CopyIcon: typeof import('./src/components/icons/CopyIcon.vue')['default']
@@ -21,7 +19,6 @@ declare module 'vue' {
2119
InfoIcon: typeof import('./src/components/icons/InfoIcon.vue')['default']
2220
Installation: typeof import('./src/components/Installation.vue')['default']
2321
Loader: typeof import('./src/components/icons/Loader.vue')['default']
24-
'Mdi:heart': typeof import('~icons/mdi/heart')['default']
2522
Others: typeof import('./src/components/Others.vue')['default']
2623
Position: typeof import('./src/components/Position.vue')['default']
2724
RouterLink: typeof import('vue-router')['RouterLink']

storage/framework/core/components/notification/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "0.61.24",
55
"description": "An opinionated notification component for Stacks.",
66
"author": "Chris Breuer",
7+
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
78
"license": "MIT",
89
"funding": "https://github.com/sponsors/chrisbbreuer",
910
"homepage": "https://github.com/stacksjs/stacks/tree/main/storage/framework/core/components/notification#readme",
@@ -24,12 +25,11 @@
2425
},
2526
"module": "dist/stacks-notification.js",
2627
"types": "dist/stacks-notification.d.ts",
27-
"contributors": ["Chris Breuer <chris@stacksjs.org>"],
2828
"files": ["README.md", "lib", "src", "volar.d.ts"],
2929
"scripts": {
3030
"dev": "bunx --bun vite",
31-
"build": "bunx --bun vite build",
32-
"build:lib": "vite build --mode lib && bun run build:types",
31+
"build": "vite build --mode lib && bun run build:types",
32+
"build:demo": "bunx --bun vite build",
3333
"build:types": "bunx --bun vue-tsc -p tsconfig.build.json && api-extractor run",
3434
"preview": "bunx --bun vite preview"
3535
},

storage/framework/core/components/notification/vite.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export default defineConfig(({ command, mode }) => {
3939
if (mode === 'lib') {
4040
userConfig.build = {
4141
lib: {
42-
entry: resolve(__dirname, 'packages/index.ts'),
42+
entry: resolve(__dirname, 'src/index.ts'),
4343
name: 'StacksNotification',
4444
fileName: 'stacks-notification',
4545
},
46-
outDir: 'lib',
46+
outDir: 'dist',
4747
emptyOutDir: true,
4848
cssCodeSplit: false,
4949
sourcemap: true,
@@ -56,7 +56,7 @@ export default defineConfig(({ command, mode }) => {
5656
// },
5757
{
5858
format: 'es',
59-
entryFileNames: `stacks-notification.js`,
59+
entryFileNames: `index.js`,
6060
preserveModules: false,
6161
},
6262
],

0 commit comments

Comments
 (0)