Visitar URL original
chore: wip · stacksjs/action-releaser@96148ba · GitHub
Skip to content

Commit 96148ba

Browse files
chore: wip
1 parent 1e5b0eb commit 96148ba

18 files changed

Lines changed: 509 additions & 979 deletions

‎.github/workflows/release.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,24 @@ on:
55
tags:
66
- 'v*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
npm:
1013
name: npm
1114
runs-on: ubuntu-latest
1215

1316
steps:
14-
- uses: actions/checkout@v6
17+
- uses: actions/checkout@v4
1518
with:
1619
fetch-depth: 0
1720

1821
- name: Install Bun
1922
uses: oven-sh/setup-bun@v2
2023

2124
- name: Use cached node_modules
22-
uses: actions/cache@v5
25+
uses: actions/cache@v4
2326
with:
2427
path: node_modules
2528
key: node-modules-${{ hashFiles('**/bun.lock') }}

‎buddy-bot.config.ts‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@ const config: BuddyBotConfig = {
2525
packages: {
2626
strategy: 'all',
2727
ignore: [
28-
// Add packages to ignore here
29-
// Example: '@types/node', 'eslint'
28+
// Add packages to ignore here
29+
// Example: '@types/node', 'eslint'
3030
],
3131
ignorePaths: [
32-
// Add file/directory paths to ignore using glob patterns
33-
// Example: 'packages/test-*/**', '**/*test-envs/**', 'apps/legacy/**'
32+
// Add file/directory paths to ignore using glob patterns
33+
// Example: 'packages/test-*/**', '**/*test-envs/**', 'apps/legacy/**'
3434
],
3535
},
3636
verbose: false,

‎build.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { dts } from 'bun-plugin-dtsx'
22

3-
await Bun.build({
3+
await Bun.build( {
44
entrypoints: ['src/index.ts'],
55
outdir: './dist',
66
plugins: [dts()],

‎bun.lock‎

Lines changed: 7 additions & 517 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎docs/.vitepress/config.ts‎

Lines changed: 101 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -2,133 +2,130 @@ import type { HeadConfig } from 'vitepress'
22
import { transformerTwoslash } from '@shikijs/vitepress-twoslash'
33
import { withPwa } from '@vite-pwa/vitepress'
44
import { defineConfig } from 'vitepress'
5-
65
import viteConfig from './vite.config'
76

8-
// https://vitepress.dev/reference/site-config
9-
107
const analyticsHead: HeadConfig[] = [
11-
[
12-
'script',
13-
{
14-
'src': 'https://cdn.usefathom.com/script.js',
15-
'data-site': 'DCOEHMGA',
16-
'defer': '',
17-
},
18-
],
8+
[
9+
'script',
10+
{
11+
'src': 'https://cdn.usefathom.com/script.js',
12+
'data-site': 'DCOEHMGA',
13+
'defer': '',
14+
},
15+
],
1916
]
2017

2118
const nav = [
22-
{ text: 'News', link: 'https://stacksjs.org/news' },
23-
{
24-
text: 'Changelog',
25-
link: 'https://github.com/stacksjs/ts-starter/blob/main/CHANGELOG.md',
26-
},
27-
// { text: 'Blog', link: 'https://updates.ow3.org' },
19+
{ text: 'News', link: 'https://stacksjs.org/news' },
20+
{
21+
text: 'Changelog',
22+
link: 'https://github.com/stacksjs/ts-starter/blob/main/CHANGELOG.md',
23+
},
24+
// { text: 'Blog', link: 'https://updates.ow3.org' },
25+
{
26+
text: 'Resources',
27+
items: [
28+
{ text: 'Team', link: '/team' },
29+
{ text: 'Sponsors', link: '/sponsors' },
30+
{ text: 'Partners', link: '/partners' },
31+
{ text: 'Postcardware', link: '/postcardware' },
32+
{ text: 'License', link: '/license' },
2833
{
29-
text: 'Resources',
3034
items: [
31-
{ text: 'Team', link: '/team' },
32-
{ text: 'Sponsors', link: '/sponsors' },
33-
{ text: 'Partners', link: '/partners' },
34-
{ text: 'Postcardware', link: '/postcardware' },
35-
{ text: 'License', link: '/license' },
36-
{
37-
items: [
38-
{
39-
text: 'Awesome Stacks',
40-
link: 'https://github.com/stacksjs/awesome-stacks',
41-
},
42-
{
43-
text: 'Contributing',
44-
link: 'https://github.com/stacksjs/stacks/blob/main/.github/CONTRIBUTING.md',
45-
},
46-
],
47-
},
35+
{
36+
text: 'Awesome Stacks',
37+
link: 'https://github.com/stacksjs/awesome-stacks',
38+
},
39+
{
40+
text: 'Contributing',
41+
link: 'https://github.com/stacksjs/stacks/blob/main/.github/CONTRIBUTING.md',
42+
},
4843
],
4944
},
45+
],
46+
},
5047
]
5148

5249
const sidebar = [
53-
{
54-
text: 'Get Started',
55-
items: [
56-
{ text: 'Intro', link: '/intro' },
57-
{ text: 'Install', link: '/install' },
58-
{ text: 'Usage', link: '/usage' },
59-
{ text: 'Config', link: '/config' },
60-
],
61-
},
62-
{ text: 'Showcase', link: '/Showcase' },
50+
{
51+
text: 'Get Started',
52+
items: [
53+
{ text: 'Intro', link: '/intro' },
54+
{ text: 'Install', link: '/install' },
55+
{ text: 'Usage', link: '/usage' },
56+
{ text: 'Config', link: '/config' },
57+
],
58+
},
59+
{ text: 'Showcase', link: '/Showcase' },
6360
]
6461
const description = 'A TypeScript Starter Kit. For a better Development Experience.'
6562
const title = 'ts-starter | A TypeScript Starter Kit. For a better Development Experience.'
6663

6764
export default withPwa(
68-
defineConfig({
69-
lang: 'en-US',
70-
title: 'ts-starter',
71-
description,
72-
metaChunk: true,
73-
cleanUrls: true,
74-
lastUpdated: true,
75-
76-
head: [
77-
['link', { rel: 'icon', type: 'image/svg+xml', href: './images/logo-mini.svg' }],
78-
['link', { rel: 'icon', type: 'image/png', href: './images/logo.png' }],
79-
['meta', { name: 'theme-color', content: '#0A0ABC' }],
80-
['meta', { name: 'title', content: title }],
81-
['meta', { name: 'description', content: description }],
82-
['meta', { name: 'author', content: 'Stacks.js, Inc.' }],
83-
['meta', {
84-
name: 'tags',
85-
content: 'ts-starter, stacksjs, reverse proxy, modern, lightweight, zero-config, local development',
86-
}],
87-
88-
['meta', { property: 'og:type', content: 'website' }],
89-
['meta', { property: 'og:locale', content: 'en' }],
90-
['meta', { property: 'og:title', content: title }],
91-
['meta', { property: 'og:description', content: description }],
92-
93-
['meta', { property: 'og:site_name', content: 'ts-starter' }],
94-
['meta', { property: 'og:image', content: './images/og-image.jpg' }],
95-
['meta', { property: 'og:url', content: 'https://reverse-proxy.sh/' }],
96-
// ['script', { 'src': 'https://cdn.usefathom.com/script.js', 'data-site': '', 'data-spa': 'auto', 'defer': '' }],
97-
...analyticsHead,
98-
],
65+
defineConfig( {
66+
lang: 'en-US',
67+
title: 'ts-starter',
68+
description,
69+
metaChunk: true,
70+
cleanUrls: true,
71+
lastUpdated: true,
72+
73+
head: [
74+
['link', { rel: 'icon', type: 'image/svg+xml', href: './images/logo-mini.svg' }],
75+
['link', { rel: 'icon', type: 'image/png', href: './images/logo.png' }],
76+
['meta', { name: 'theme-color', content: '#0A0ABC' }],
77+
['meta', { name: 'title', content: title }],
78+
['meta', { name: 'description', content: description }],
79+
['meta', { name: 'author', content: 'Stacks.js, Inc.' }],
80+
['meta', {
81+
name: 'tags',
82+
content: 'ts-starter, stacksjs, reverse proxy, modern, lightweight, zero-config, local development',
83+
}],
84+
85+
['meta', { property: 'og:type', content: 'website' }],
86+
['meta', { property: 'og:locale', content: 'en' }],
87+
['meta', { property: 'og:title', content: title }],
88+
['meta', { property: 'og:description', content: description }],
89+
90+
['meta', { property: 'og:site_name', content: 'ts-starter' }],
91+
['meta', { property: 'og:image', content: './images/og-image.jpg' }],
92+
['meta', { property: 'og:url', content: 'https://reverse-proxy.sh/' }],
93+
// ['script', { 'src': 'https://cdn.usefathom.com/script.js', 'data-site': '', 'data-spa': 'auto', 'defer': '' }],
94+
...analyticsHead,
95+
],
9996

100-
themeConfig: {
101-
search: {
102-
provider: 'local',
103-
},
104-
logo: {
105-
light: './images/logo-transparent.svg',
106-
dark: './images/logo-white-transparent.svg',
107-
},
97+
themeConfig: {
98+
search: {
99+
provider: 'local',
100+
},
101+
logo: {
102+
light: './images/logo-transparent.svg',
103+
dark: './images/logo-white-transparent.svg',
104+
},
108105

109-
nav,
110-
sidebar,
106+
nav,
107+
sidebar,
111108

112-
editLink: {
113-
pattern: 'https://github.com/stacksjs/stacks/edit/main/docs/docs/:path',
114-
text: 'Edit this page on GitHub',
115-
},
109+
editLink: {
110+
pattern: 'https://github.com/stacksjs/stacks/edit/main/docs/docs/:path',
111+
text: 'Edit this page on GitHub',
112+
},
116113

117-
footer: {
118-
message: 'Released under the MIT License.',
119-
copyright: 'Copyright © 2025-present Stacks.js, Inc.',
120-
},
114+
footer: {
115+
message: 'Released under the MIT License.',
116+
copyright: 'Copyright © 2025-present Stacks.js, Inc.',
117+
},
121118

122-
socialLinks: [
123-
{ icon: 'twitter', link: 'https://twitter.com/stacksjs' },
124-
{ icon: 'bluesky', link: 'https://bsky.app/profile/chrisbreuer.dev' },
125-
{ icon: 'github', link: 'https://github.com/stacksjs/ts-starter' },
126-
{ icon: 'discord', link: 'https://discord.gg/stacksjs' },
127-
],
119+
socialLinks: [
120+
{ icon: 'twitter', link: 'https://twitter.com/stacksjs' },
121+
{ icon: 'bluesky', link: 'https://bsky.app/profile/chrisbreuer.dev' },
122+
{ icon: 'github', link: 'https://github.com/stacksjs/ts-starter' },
123+
{ icon: 'discord', link: 'https://discord.gg/stacksjs' },
124+
],
128125

129-
// algolia: services.algolia,
126+
// algolia: services.algolia,
130127

131-
// carbonAds: {
128+
// carbonAds: {
132129
// code: '',
133130
// placement: '',
134131
// },
@@ -147,10 +144,10 @@ export default withPwa(
147144
},
148145

149146
codeTransformers: [
150-
transformerTwoslash(),
147+
transformerTwoslash(),
151148
],
152149
},
153150

154151
vite: viteConfig,
155152
}),
156-
)
153+
)

0 commit comments

Comments
 (0)