Skip to content

Commit ce7c222

Browse files
committed
chore: wip
1 parent 2b97e28 commit ce7c222

File tree

5 files changed

+27
-27
lines changed

5 files changed

+27
-27
lines changed

.stacks/auto-imports.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,7 @@ declare module 'vue' {
393393
readonly normalizeScale: UnwrapRef<typeof import('./core/utils/src/currency')['normalizeScale']>
394394
readonly normalizeString: UnwrapRef<typeof import('./core/path/src/index')['normalizeString']>
395395
readonly not: UnwrapRef<typeof import('./core/utils/src/math')['not']>
396+
readonly notNullish: UnwrapRef<typeof import('./core/utils/src/guards')['notNullish']>
396397
readonly notUndefined: UnwrapRef<typeof import('./core/utils/src/guards')['notUndefined']>
397398
readonly notification: UnwrapRef<typeof import('../config/notification')['default']>
398399
readonly notificationsPath: UnwrapRef<typeof import('./core/path/src/index')['notificationsPath']>
@@ -1127,6 +1128,7 @@ declare module 'vue' {
11271128
const normalizeScale: typeof import('./core/utils/src/currency')['normalizeScale']
11281129
const normalizeString: typeof import('./core/path/src/index')['normalizeString']
11291130
const not: typeof import('./core/utils/src/math')['not']
1131+
const notNullish: typeof import('./core/utils/src/guards')['notNullish']
11301132
const notUndefined: typeof import('./core/utils/src/guards')['notUndefined']
11311133
const notification: typeof import('../config/notification')['default']
11321134
const notificationsPath: typeof import('./core/path/src/index')['notificationsPath']
@@ -1870,6 +1872,7 @@ declare module 'vue' {
18701872
readonly normalizeScale: UnwrapRef<typeof import('./core/utils/src/currency')['normalizeScale']>
18711873
readonly normalizeString: UnwrapRef<typeof import('./core/path/src/index')['normalizeString']>
18721874
readonly not: UnwrapRef<typeof import('./core/utils/src/math')['not']>
1875+
readonly notNullish: UnwrapRef<typeof import('./core/utils/src/guards')['notNullish']>
18731876
readonly notUndefined: UnwrapRef<typeof import('./core/utils/src/guards')['notUndefined']>
18741877
readonly notification: UnwrapRef<typeof import('../config/notification')['default']>
18751878
readonly notificationsPath: UnwrapRef<typeof import('./core/path/src/index')['notificationsPath']>

.stacks/core/build/src/stacks.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ import { defu } from 'defu'
1414
import type { AutoImportsOptions, ComponentOptions, InspectOptions, LayoutOptions, MarkdownOptions, PagesOption } from '@stacksjs/types'
1515
import { path as p, resolve } from '@stacksjs/path'
1616

17-
// it is important to note that path references within this file
18-
// are relative to the ./build folder
19-
2017
function inspect(options?: InspectOptions) {
2118
return Inspect(options)
2219
}
@@ -44,7 +41,7 @@ function components(options?: ComponentOptions): PluginOption {
4441

4542
// https://github.com/hannoeru/vite-plugin-pages
4643
function pages(options?: PagesOption) {
47-
const defaultOptions: PagesOption = {
44+
const defaultOptions = {
4845
extensions: ['vue', 'md'],
4946
dirs: [
5047
p.pagesPath(),
@@ -57,10 +54,10 @@ function pages(options?: PagesOption) {
5754
}
5855

5956
function markdown(options?: MarkdownOptions) {
60-
const defaultOptions: MarkdownOptions = {
57+
const defaultOptions = {
6158
wrapperClasses: 'prose prose-sm m-auto text-left',
6259
headEnabled: true,
63-
markdownItSetup(md) {
60+
markdownItSetup(md: any) {
6461
// https://prismjs.com/
6562
md.use(Shiki, {
6663
theme: 'nord',

.stacks/core/email/src/tailwind.config.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { notification } from '@stacksjs/config'
1+
// import { notification } from '@stacksjs/config'
22

3-
const email = notification.email
3+
// const email = notification.email
44

55
export const config = {
6-
...email?.build,
6+
// ...email?.build,
77
theme: {
88
screens: {
99
sm: '480px',

.stacks/ide/vscode/.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"editor.formatOnSave": true,
1717
"eslint.format.enable": true,
1818
"editor.codeActionsOnSave": {
19-
// "source.fixAll.eslint": true
19+
"source.fixAll.eslint": true
2020
},
2121
"eslint.codeAction.showDocumentation": {
2222
"enable": true

.stacks/stacks/x-ray/src/desktop/api/routes/api/store-logs.ts

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
import storage from '../../storage'
2-
import type { Log } from '~/api/src/types'
1+
// import storage from '../../storage'
2+
// import type { Log } from '~/api/src/types'
3+
//
4+
// export default eventHandler(async (event) => {
5+
// const body = await readBody(event)
6+
//
7+
// await appendLogs(body)
8+
//
9+
// return { status: 'success' }
10+
// })
311

4-
export default eventHandler(async (event) => {
5-
const body = await readBody(event)
6-
7-
await appendLogs(body)
8-
9-
return { status: 'success' }
10-
})
11-
12-
async function appendLogs(log: Log) {
13-
const storageLogs: any = await storage.getItem('logs') || []
14-
15-
const newLogs = [...storageLogs, log]
16-
17-
await storage.setItem('logs', newLogs)
18-
}
12+
// async function appendLogs(log: Log) {
13+
// const storageLogs: any = await storage.getItem('logs') || []
14+
//
15+
// const newLogs = [...storageLogs, log]
16+
//
17+
// await storage.setItem('logs', newLogs)
18+
// }
1919

2020
// function clearStorage() {
2121
// storage.clear()

0 commit comments

Comments
 (0)