Skip to content

Commit 82f0606

Browse files
chore: wip
1 parent 4b27ecd commit 82f0606

File tree

12 files changed

+329
-382
lines changed

12 files changed

+329
-382
lines changed

.stacks/core/alias/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,7 @@ export default defineBuildConfig({
2525

2626
clean: false, // logging, alias, development, storage, tinker, and path are all prerequisites for other packages—needed for the release process
2727
declaration: true,
28+
rollup: {
29+
emitCJS: true,
30+
},
2831
})

.stacks/core/config/build.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ export default defineBuildConfig({
1515

1616
declaration: false, // todo: investigate why it errors when enabled & whether it's useful
1717
clean: true,
18+
rollup: {
19+
emitCJS: true,
20+
},
1821
})
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
import { MandrillProvider } from '@novu/mandrill'
2-
import type { EmailOptions } from '@stacksjs/types'
3-
import { notification } from '@stacksjs/config'
4-
import type { ResultAsync } from '@stacksjs/error-handling'
5-
import { send as sendEmail } from '../actions/send'
1+
// import { MandrillProvider } from '@novu/mandrill'
2+
// import type { EmailOptions } from '@stacksjs/types'
3+
// import { notification } from '@stacksjs/config'
4+
// import type { ResultAsync } from '@stacksjs/error-handling'
5+
// import { send as sendEmail } from '../actions/send'
66

7-
const env = notification.email
8-
const service = notification.email?.drivers.mandrill
7+
// const env = notification.email
8+
// const service = notification.email?.drivers.mandrill
99

10-
const provider = new MandrillProvider({
11-
apiKey: service?.key || '',
12-
from: env?.from.address || '',
13-
})
10+
// const provider = new MandrillProvider({
11+
// apiKey: service?.key || '',
12+
// from: env?.from.address || '',
13+
// })
1414

15-
async function send(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>> {
16-
return sendEmail(options, provider, 'Mandrill', css)
17-
}
15+
// async function send(options: EmailOptions, css?: string): Promise<ResultAsync<any, Error>> {
16+
// return sendEmail(options, provider, 'Mandrill', css)
17+
// }
1818

19-
export { send as Send, send }
19+
// export { send as Send, send }
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-vue-components
5+
// Read more: https://github.com/vuejs/core/pull/3399
6+
export {}
7+
8+
declare module 'vue' {
9+
export interface GlobalComponents {
10+
RouterLink: typeof import('vue-router')['RouterLink']
11+
RouterView: typeof import('vue-router')['RouterView']
12+
}
13+
}

.stacks/stacks/tables/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"vue",
2323
"typescript",
2424
"javascript"
25-
],
25+
],
2626
"contributors": [
2727
"Chris Breuer <chris@ow3.org>"
2828
],
2929
"scripts": {
3030
"dev": "vite",
3131
"build": "",
3232
"preview": "vite preview",
33-
"dev:components": "vite -c vite.config.ts"
33+
"dev:components": "vite -c ../../core/vite/src/vue-components.mts"
3434
},
3535
"peerDependencies": {
3636
"@stacksjs/search-engine": "workspace:*",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/* eslint-disable */
2+
/* prettier-ignore */
3+
// @ts-nocheck
4+
// Generated by unplugin-vue-components
5+
// Read more: https://github.com/vuejs/core/pull/3399
6+
export {}
7+
8+
declare module 'vue' {
9+
export interface GlobalComponents {
10+
Demo: typeof import('./components/Demo.vue')['default']
11+
README: typeof import('./components/README.md')['default']
12+
RouterLink: typeof import('vue-router')['RouterLink']
13+
RouterView: typeof import('vue-router')['RouterView']
14+
Table: typeof import('./components/Table.vue')['default']
15+
TableBody: typeof import('./components/TableBody.vue')['default']
16+
TableCellActionItems: typeof import('./components/TableCellActionItems.vue')['default']
17+
TableFilters: typeof import('./components/TableFilters.vue')['default']
18+
TableHead: typeof import('./components/TableHead.vue')['default']
19+
TablePagination: typeof import('./components/TablePagination.vue')['default']
20+
TableRow: typeof import('./components/TableRow.vue')['default']
21+
TableSearch: typeof import('./components/TableSearch.vue')['default']
22+
Tooltip: typeof import('./components/Tooltip.vue')['default']
23+
}
24+
}

0 commit comments

Comments
 (0)