Skip to content

Commit bfc9b15

Browse files
committed
chore: wip
chore: wip chore: wip
1 parent cc9d179 commit bfc9b15

File tree

29 files changed

+123
-67
lines changed

29 files changed

+123
-67
lines changed

bun.lockb

2.88 KB
Binary file not shown.

config/docs.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
import type { DocsConfig } from '@stacksjs/types'
22

3-
interface SocialLink {
4-
icon: SocialLinkIcon
5-
link: string
6-
ariaLabel?: string
7-
}
8-
9-
type SocialLinkIcon =
10-
| 'discord'
11-
| 'facebook'
12-
| 'github'
13-
| 'instagram'
14-
| 'linkedin'
15-
| 'mastodon'
16-
| 'slack'
17-
| 'twitter'
18-
| 'youtube'
19-
| { svg: string }
20-
213
const nav = [
224
{ text: 'Config', link: '/config', activeMatch: '/config' },
235
{

eslint.config.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ export default stacks({
66
quotes: 'single', // or 'double'
77
},
88

9-
// TypeScript & Vue are auto-detected
10-
// you may also explicitly enable them:
9+
stacks: true,
1110
typescript: true,
12-
vue: true,
1311

1412
// Enable jsonc, yaml, toml support
1513
jsonc: true,

resources/components/Button.stx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,15 @@ const className = computed(() => {
3636
if (props.className)
3737
classes += ` ${props.className}`
3838

39+
// eslint-disable-next-line no-console
3940
console.log('classes', classes)
4041

4142
return classes
4243
})
4344

4445
// easily use any of the lifecycle hooks without needing to import them
4546
onMounted(() => {
47+
// eslint-disable-next-line no-console
4648
console.log('Button component mounted')
4749
})
4850
</script>

resources/components/marketing/SecondaryFeatures.stx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const features = [
2626
]
2727

2828
const tabIndex = ref(0)
29-
const tabOrientation = ref('horizontal')
29+
// const tabOrientation = ref('horizontal')
3030
const selectedIndex = computed(() => tabIndex.value)
3131
</script>
3232

resources/views/system-tray/index.stx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
wip
1+
<!-- wip -->

storage/framework/buddy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env bun
2+
import('./stacks/src/buddy/src/cli')

storage/framework/docs/.vitepress/theme/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default {
1111
// https://vitepress.dev/guide/extending-default-theme#layout-slots
1212
})
1313
},
14-
enhanceApp({ app, router, siteData }) {
15-
// ...
16-
},
14+
// enhanceApp({ app, router, siteData }) {
15+
// // ...
16+
// },
1717
} satisfies Theme

storage/framework/libs/examples/vue/App.stx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
any of the components developed.
55
-->
66
<script setup lang="ts">
7-
import { Demo } from './dist/index.mjs'
7+
// import { Demo } from './dist/index.mjs' before we reenable this, we need to ensure it works with eslint's antfu/no-import-dist rule
88
</script>
99

1010
<template>

storage/framework/stacks/src/actions/src/ai/request-model-access.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ import { ai } from '@stacksjs/config'
1212
process.env.AWS_REGION = 'us-east-1'
1313

1414
config.getCredentials((err) => {
15-
if (err) { log.info(err.stack) }
15+
if (err) {
16+
log.info(err.stack)
17+
}
1618
else if (config.credentials) {
1719
const { accessKeyId, secretAccessKey, sessionToken } = config.credentials
1820
log.info('AWS credentials are set', accessKeyId, secretAccessKey, sessionToken)

0 commit comments

Comments
 (0)