@stacksjs/bunpress 0.1.1 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +148 -4
- package/dist/bin/cli.js +1 -1
- package/dist/chunk-bgzqswwb.js +517 -0
- package/dist/chunk-h6ac3d60.js +3 -0
- package/dist/{chunk-njjmvdjd.js → chunk-jcg8be8w.js} +1 -1
- package/dist/{chunk-nt1zw6bf.js → chunk-kfzscenj.js} +150 -132
- package/dist/chunk-mhvhmm0a.js +646 -0
- package/dist/chunk-tvj4g4m6.js +2 -0
- package/dist/config.d.ts +1 -1
- package/dist/highlighter.d.ts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/robots.d.ts +1 -1
- package/dist/rss.d.ts +1 -1
- package/dist/serve.d.ts +5 -3
- package/dist/sitemap.d.ts +1 -1
- package/dist/src/index.js +1 -1
- package/dist/template-loader.d.ts +5 -3
- package/dist/templates/blocks/alerts/caution.stx +1 -1
- package/dist/templates/blocks/alerts/important.stx +1 -1
- package/dist/templates/blocks/alerts/note.stx +1 -1
- package/dist/templates/blocks/alerts/tip.stx +1 -1
- package/dist/templates/blocks/alerts/warning.stx +1 -1
- package/dist/templates/blocks/containers/danger.stx +1 -1
- package/dist/templates/blocks/containers/details.stx +1 -1
- package/dist/templates/blocks/containers/info.stx +1 -1
- package/dist/templates/blocks/containers/raw.stx +1 -1
- package/dist/templates/blocks/containers/tip.stx +1 -1
- package/dist/templates/blocks/containers/warning.stx +1 -1
- package/dist/templates/features.stx +1 -1
- package/dist/templates/hero.stx +4 -4
- package/dist/templates/layout-doc.stx +7 -7
- package/dist/templates/layout-home.stx +4 -4
- package/dist/templates/layout-page.stx +40 -0
- package/dist/templates/page-toc.stx +1 -1
- package/dist/templates/sidebar-section.stx +1 -1
- package/dist/templates/sidebar.stx +1 -1
- package/dist/themes/bun/index.d.ts +1 -1
- package/dist/themes/index.d.ts +2 -2
- package/dist/themes/vitepress/index.d.ts +1 -1
- package/dist/toc.d.ts +1 -1
- package/dist/types.d.ts +8 -10
- package/package.json +10 -49
- package/CHANGELOG.md +0 -296
- package/dist/chunk-16hpnayn.js +0 -505
- package/dist/chunk-zabbw4a8.js +0 -2
package/dist/config.d.ts
CHANGED
|
@@ -4,4 +4,4 @@ export declare function getConfig(): Promise<BunPressConfig>;
|
|
|
4
4
|
// Default configuration
|
|
5
5
|
export declare const defaultConfig: BunPressConfig;
|
|
6
6
|
// Load and export the resolved configuration
|
|
7
|
-
export declare const config: BunPressConfig;
|
|
7
|
+
export declare const config: BunPressConfig;
|
package/dist/highlighter.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Highlighter as TSHighlighter } from 'ts-syntax-highlighter';
|
|
1
2
|
/**
|
|
2
3
|
* Reset the global highlighter instance (useful when changing themes)
|
|
3
4
|
*/
|
|
@@ -34,4 +35,4 @@ export declare function prewarmHighlighter(): Promise<void>;
|
|
|
34
35
|
/**
|
|
35
36
|
* Gets the highlighter instance for advanced usage
|
|
36
37
|
*/
|
|
37
|
-
export declare function getHighlighterInstance(): Promise<TSHighlighter>;
|
|
38
|
+
export declare function getHighlighterInstance(): Promise<TSHighlighter>;
|
package/dist/index.d.ts
CHANGED
package/dist/robots.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import type { BunPressConfig } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Generate robots.txt file
|
|
4
4
|
*/
|
|
5
|
-
export declare function generateRobotsTxt(outputDir: string, config: BunPressConfig): Promise<void>;
|
|
5
|
+
export declare function generateRobotsTxt(outputDir: string, config: BunPressConfig): Promise<void>;
|
package/dist/rss.d.ts
CHANGED
package/dist/serve.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import type { BunPressConfig } from './types';
|
|
|
3
3
|
/**
|
|
4
4
|
* Wrap content in BunPress documentation layout
|
|
5
5
|
*/
|
|
6
|
-
export declare function wrapInLayout(content: string, config: BunPressConfig, currentPath: string,
|
|
6
|
+
export declare function wrapInLayout(content: string, config: BunPressConfig, currentPath: string, layout?: string): Promise<string>;
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Convert markdown to HTML using Bun's built-in markdown parser
|
|
9
|
+
* See: https://bun.com/docs/runtime/markdown
|
|
9
10
|
*/
|
|
10
11
|
export declare function markdownToHtml(markdown: string, rootDir?: string): Promise<{ html: string, frontmatter: any }>;
|
|
11
12
|
/**
|
|
@@ -15,6 +16,7 @@ export declare function startServer(options?: {
|
|
|
15
16
|
port?: number
|
|
16
17
|
root?: string
|
|
17
18
|
watch?: boolean
|
|
19
|
+
quiet?: boolean
|
|
18
20
|
config?: BunPressConfig
|
|
19
21
|
}): Promise<{ server: any, url: string, stop: () => void }>;
|
|
20
22
|
/**
|
|
@@ -25,4 +27,4 @@ export declare function serveCLI(options?: {
|
|
|
25
27
|
root?: string
|
|
26
28
|
watch?: boolean
|
|
27
29
|
config?: BunPressConfig
|
|
28
|
-
}): Promise<void>;
|
|
30
|
+
}): Promise<void>;
|
package/dist/sitemap.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import type { BunPressConfig } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Generate XML sitemap from markdown files
|
|
4
4
|
*/
|
|
5
|
-
export declare function generateSitemap(docsDir: string, outputDir: string, config: BunPressConfig): Promise<void>;
|
|
5
|
+
export declare function generateSitemap(docsDir: string, outputDir: string, config: BunPressConfig): Promise<void>;
|
package/dist/src/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{A as
|
|
2
|
+
import{A as L,B as M,C as N,D as O,E as P,F as Q,G as R,H as S,I as T,J as V,K as W,g as t,h as b,i as e,j as h,k as j,l as k,m as q,n as u,o as v,p as w,q as z,r as B,s as D,t as E,u as F,v as G,w as H,x as I,y as J,z as K}from"../chunk-kfzscenj.js";import"../chunk-h6ac3d60.js";export{S as wrapInLayout,V as startServer,W as serveCLI,h as resetHighlighter,O as processInlineTocSyntax,w as prewarmHighlighter,j as normalizeLanguage,T as markdownToHtml,k as isLanguageSupported,u as highlightCodeSync,q as highlightCode,v as getSyntaxHighlightingStyles,z as getHighlighterInstance,e as getConfig,E as generateUniqueSlug,Q as generateTocStyles,R as generateTocScripts,N as generateTocPositions,I as generateTocHtml,M as generateTocData,D as generateSlug,K as generateSidebarTocHtml,J as generateInlineTocHtml,L as generateFloatingTocHtml,H as filterHeadings,F as extractHeadings,P as enhanceHeadingsWithAnchors,B as defaultTocConfig,t as defaultConfig,b as config,G as buildTocHierarchy};
|
|
@@ -3,9 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export declare function loadTemplate(name: string): Promise<string>;
|
|
5
5
|
/**
|
|
6
|
-
* Render a template with data
|
|
6
|
+
* Render a template with data using stx engine.
|
|
7
|
+
* Supports full stx syntax: {{ }}, {!! !!}, @if/@else/@endif,
|
|
8
|
+
* @foreach/@endforeach, @for/@endfor, @include, <script server>, etc.
|
|
7
9
|
*/
|
|
8
|
-
export declare function renderTemplate(template: string, data: Record<string, any>): string
|
|
10
|
+
export declare function renderTemplate(template: string, data: Record<string, any>): Promise<string>;
|
|
9
11
|
/**
|
|
10
12
|
* Load and render a template in one step
|
|
11
13
|
*/
|
|
@@ -13,4 +15,4 @@ export declare function render(templateName: string, data: Record<string, any>):
|
|
|
13
15
|
/**
|
|
14
16
|
* Clear the template cache (useful for development/hot reloading)
|
|
15
17
|
*/
|
|
16
|
-
export declare function clearTemplateCache(): void;
|
|
18
|
+
export declare function clearTemplateCache(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="VPHomeFeatures" style="padding: 64px 24px; border-top: 1px solid var(--bp-c-divider);">
|
|
2
2
|
<div style="max-width: 1152px; margin: 0 auto;">
|
|
3
3
|
<div class="VPFeatures" style="display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px;">
|
|
4
|
-
{
|
|
4
|
+
{!! items !!}
|
|
5
5
|
</div>
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
package/dist/templates/hero.stx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<div class="VPHomeHero" style="position: relative; padding: 32px 24px 0;">
|
|
2
2
|
<div style="max-width: 1152px; margin: 0 auto; padding: 48px 0 64px;">
|
|
3
3
|
<div class="VPHomeHeroInfo" style="max-width: 592px;">
|
|
4
|
-
{
|
|
5
|
-
{
|
|
6
|
-
{
|
|
7
|
-
{
|
|
4
|
+
{!! name !!}
|
|
5
|
+
{!! text !!}
|
|
6
|
+
{!! tagline !!}
|
|
7
|
+
{!! actions !!}
|
|
8
8
|
</div>
|
|
9
9
|
</div>
|
|
10
10
|
</div>
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>{{ title }}</title>
|
|
7
7
|
<meta name="description" content="{{ description }}">
|
|
8
|
-
{
|
|
8
|
+
{!! meta !!}
|
|
9
9
|
<style>
|
|
10
10
|
/* VitePress Theme CSS */
|
|
11
|
-
{
|
|
11
|
+
{!! customCSS !!}
|
|
12
12
|
</style>
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
<!-- Right side: Navigation + Icons -->
|
|
32
32
|
<div style="display: flex; align-items: center; gap: 24px;">
|
|
33
|
-
{
|
|
33
|
+
{!! nav !!}
|
|
34
34
|
<div class="VPSocialLinks" style="display: flex; align-items: center; gap: 12px; padding-left: 24px; border-left: 1px solid var(--bp-c-divider);">
|
|
35
35
|
<!-- Theme Toggle -->
|
|
36
36
|
<button class="theme-toggle" onclick="toggleTheme()" aria-label="Toggle dark mode" title="Toggle dark mode">
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
</header>
|
|
53
53
|
|
|
54
54
|
<!-- VPSidebar -->
|
|
55
|
-
{
|
|
55
|
+
{!! sidebar !!}
|
|
56
56
|
|
|
57
57
|
<!-- VPContent - Main content area -->
|
|
58
58
|
<main class="VPContent" style="position: fixed; top: var(--bp-nav-height, 64px); bottom: 0; overflow-y: auto; left: max(var(--bp-sidebar-width, 272px), calc((100vw - var(--bp-layout-max-width, 1440px)) / 2 + var(--bp-sidebar-width, 272px))); right: max(0px, calc((100vw - var(--bp-layout-max-width, 1440px)) / 2));">
|
|
59
59
|
<div class="VPDoc" style="padding: 32px 24px; padding-right: 32px;">
|
|
60
60
|
<div class="VPDocContent" style="max-width: 768px; margin: 0;">
|
|
61
61
|
<article class="bp-doc">
|
|
62
|
-
{
|
|
62
|
+
{!! content !!}
|
|
63
63
|
</article>
|
|
64
64
|
</div>
|
|
65
65
|
</div>
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
</div>
|
|
150
150
|
|
|
151
151
|
<!-- VPDocAside - TOC -->
|
|
152
|
-
{
|
|
152
|
+
{!! pageTOC !!}
|
|
153
153
|
</div>
|
|
154
154
|
|
|
155
|
-
{
|
|
155
|
+
{!! scripts !!}
|
|
156
156
|
</body>
|
|
157
157
|
</html>
|
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>{{ title }}</title>
|
|
7
7
|
<meta name="description" content="{{ description }}">
|
|
8
|
-
{
|
|
8
|
+
{!! meta !!}
|
|
9
9
|
<style>
|
|
10
10
|
/* VitePress Theme CSS */
|
|
11
|
-
{
|
|
11
|
+
{!! customCSS !!}
|
|
12
12
|
</style>
|
|
13
13
|
</head>
|
|
14
14
|
<body>
|
|
15
15
|
<div class="Layout">
|
|
16
16
|
<main class="VPHome">
|
|
17
|
-
{
|
|
17
|
+
{!! content !!}
|
|
18
18
|
</main>
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
{
|
|
21
|
+
{!! scripts !!}
|
|
22
22
|
</body>
|
|
23
23
|
</html>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>{{ title }}</title>
|
|
7
|
+
<meta name="description" content="{{ description }}">
|
|
8
|
+
{!! meta !!}
|
|
9
|
+
<style>
|
|
10
|
+
/* VitePress Theme CSS */
|
|
11
|
+
{!! customCSS !!}
|
|
12
|
+
</style>
|
|
13
|
+
</head>
|
|
14
|
+
<body>
|
|
15
|
+
<div class="Layout">
|
|
16
|
+
<!-- VPNav - Header -->
|
|
17
|
+
<header class="VPNav" style="position: fixed; top: 0; left: 0; right: 0; height: var(--bp-nav-height, 64px); background-color: var(--bp-nav-bg-color, var(--bp-c-bg)); border-bottom: 1px solid var(--bp-c-divider); z-index: var(--bp-z-index-nav, 30);">
|
|
18
|
+
<div style="max-width: var(--bp-layout-max-width, 1440px); margin: 0 auto; width: 100%; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px;">
|
|
19
|
+
<div style="display: flex; align-items: center; gap: 24px; flex: 1; min-width: 0;">
|
|
20
|
+
<a href="/" class="VPNavBarTitle" style="font-size: 16px; font-weight: 600; color: var(--bp-c-text-1); white-space: nowrap; text-decoration: none;">{{ title }}</a>
|
|
21
|
+
</div>
|
|
22
|
+
<div style="display: flex; align-items: center; gap: 24px;">
|
|
23
|
+
{!! nav !!}
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</header>
|
|
27
|
+
|
|
28
|
+
<!-- VPContent - Full-width content without sidebar -->
|
|
29
|
+
<main class="VPContent" style="padding-top: var(--bp-nav-height, 64px);">
|
|
30
|
+
<div class="VPPage" style="padding: 48px 24px; max-width: 768px; margin: 0 auto;">
|
|
31
|
+
<article class="bp-doc">
|
|
32
|
+
{!! content !!}
|
|
33
|
+
</article>
|
|
34
|
+
</div>
|
|
35
|
+
</main>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
{!! scripts !!}
|
|
39
|
+
</body>
|
|
40
|
+
</html>
|
package/dist/themes/index.d.ts
CHANGED
|
@@ -19,6 +19,6 @@ export declare interface Theme {
|
|
|
19
19
|
name: string
|
|
20
20
|
getCSS: () => string
|
|
21
21
|
}
|
|
22
|
-
export type ThemeName = 'vitepress' | 'bun'
|
|
22
|
+
export type ThemeName = 'vitepress' | 'bun';
|
|
23
23
|
export { getVitePressThemeCSS, vitePressTheme, getBunThemeCSS, bunTheme };
|
|
24
|
-
export default themes;
|
|
24
|
+
export default themes;
|
package/dist/toc.d.ts
CHANGED
package/dist/types.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare interface BunPressConfig {
|
|
|
15
15
|
plugins?: ConfigPlugin[]
|
|
16
16
|
sitemap?: SitemapConfig
|
|
17
17
|
robots?: RobotsConfig
|
|
18
|
+
rss?: import('./rss').RssFeedConfig
|
|
18
19
|
fathom?: FathomConfig
|
|
19
20
|
analytics?: AnalyticsConfig
|
|
20
21
|
selfHostedAnalytics?: SelfHostedAnalyticsConfig
|
|
@@ -59,15 +60,10 @@ export declare interface MarkdownPluginConfig {
|
|
|
59
60
|
title?: string
|
|
60
61
|
meta?: Record<string, string>
|
|
61
62
|
parserOptions?: {
|
|
62
|
-
/** Enable GitHub Flavored Markdown */
|
|
63
63
|
gfm?: boolean
|
|
64
|
-
/** Convert line breaks to <br> */
|
|
65
64
|
breaks?: boolean
|
|
66
|
-
/** Enable header IDs */
|
|
67
65
|
headerIds?: boolean
|
|
68
|
-
/** Prefix for header IDs */
|
|
69
66
|
headerPrefix?: string
|
|
70
|
-
/** Enable syntax highlighting */
|
|
71
67
|
highlight?: (code: string, lang: string) => string
|
|
72
68
|
}
|
|
73
69
|
preserveDirectoryStructure?: boolean
|
|
@@ -133,6 +129,7 @@ export declare interface Frontmatter {
|
|
|
133
129
|
layout?: 'home' | 'doc' | 'page'
|
|
134
130
|
hero?: Hero
|
|
135
131
|
features?: Feature[]
|
|
132
|
+
[key: string]: any
|
|
136
133
|
}
|
|
137
134
|
/**
|
|
138
135
|
* Table of Contents configuration
|
|
@@ -327,6 +324,7 @@ export declare interface SitemapEntry {
|
|
|
327
324
|
lastmod?: string | Date
|
|
328
325
|
changefreq?: SitemapChangefreq
|
|
329
326
|
priority?: number
|
|
327
|
+
[key: string]: any
|
|
330
328
|
}
|
|
331
329
|
/**
|
|
332
330
|
* Robots.txt configuration
|
|
@@ -373,20 +371,20 @@ export declare interface AnalyticsConfig {
|
|
|
373
371
|
trackHashChanges?: boolean
|
|
374
372
|
trackOutboundLinks?: boolean
|
|
375
373
|
}
|
|
376
|
-
export type BunPressOptions = Partial<BunPressConfig
|
|
374
|
+
export type BunPressOptions = Partial<BunPressConfig>;
|
|
377
375
|
/**
|
|
378
376
|
* Plugin options for the Markdown plugin
|
|
379
377
|
*/
|
|
380
|
-
export type MarkdownPluginOptions = Partial<MarkdownPluginConfig
|
|
378
|
+
export type MarkdownPluginOptions = Partial<MarkdownPluginConfig>;
|
|
381
379
|
/**
|
|
382
380
|
* TOC position options
|
|
383
381
|
*/
|
|
384
|
-
export type TocPosition = 'sidebar' | 'inline' | 'floating'
|
|
382
|
+
export type TocPosition = 'sidebar' | 'inline' | 'floating';
|
|
385
383
|
/**
|
|
386
384
|
* Sitemap change frequency values
|
|
387
385
|
*/
|
|
388
|
-
export type SitemapChangefreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never'
|
|
386
|
+
export type SitemapChangefreq = 'always' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' | 'never';
|
|
389
387
|
/**
|
|
390
388
|
* @deprecated Use AnalyticsConfig instead
|
|
391
389
|
*/
|
|
392
|
-
export type SelfHostedAnalyticsConfig = AnalyticsConfig
|
|
390
|
+
export type SelfHostedAnalyticsConfig = AnalyticsConfig;
|
package/package.json
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/bunpress",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.4",
|
|
5
5
|
"description": "Modern documentation engine. Powered by Bun.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"homepage": "https://github.com/stacksjs/bunpress#readme",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/stacksjs/bunpress.git"
|
|
11
|
+
"url": "git+https://github.com/stacksjs/bunpress.git",
|
|
12
|
+
"directory": "packages/bunpress"
|
|
12
13
|
},
|
|
13
14
|
"bugs": {
|
|
14
15
|
"url": "https://github.com/stacksjs/bunpress/issues"
|
|
@@ -39,8 +40,7 @@
|
|
|
39
40
|
"dist"
|
|
40
41
|
],
|
|
41
42
|
"scripts": {
|
|
42
|
-
"
|
|
43
|
-
"build": "bun --bun build.ts && bun run compile",
|
|
43
|
+
"build": "bun --bun build.ts",
|
|
44
44
|
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/bunpress",
|
|
45
45
|
"compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64",
|
|
46
46
|
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/bunpress-linux-x64",
|
|
@@ -48,57 +48,18 @@
|
|
|
48
48
|
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/bunpress-windows-x64.exe",
|
|
49
49
|
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/bunpress-darwin-x64",
|
|
50
50
|
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/bunpress-darwin-arm64",
|
|
51
|
-
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
|
|
52
51
|
"prepublishOnly": "bun --bun run build && bun run compile:all",
|
|
53
|
-
"
|
|
54
|
-
"test:quick": "bun test --timeout=10000",
|
|
55
|
-
"test:full": "bun test --timeout=60000 --no-bail",
|
|
56
|
-
"lint": "bunx --bun pickier lint . --config pickier.config.ts --max-warnings 9999",
|
|
57
|
-
"lint:fix": "bunx --bun pickier lint . --fix --config pickier.config.ts --max-warnings 9999",
|
|
58
|
-
"format": "bunx --bun pickier format . --config pickier.config.ts",
|
|
59
|
-
"format:fix": "bunx --bun pickier format . --write --config pickier.config.ts",
|
|
60
|
-
"changelog": "bunx logsmith --verbose",
|
|
61
|
-
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
|
|
62
|
-
"release": "bunx --bun bumpx prompt --recursive",
|
|
63
|
-
"dev:docs": "bun bin/cli.ts dev",
|
|
64
|
-
"build:docs": "bun bin/cli.ts build --outdir ./dist",
|
|
65
|
-
"preview:docs": "bun bin/cli.ts preview --outdir ./dist",
|
|
66
|
-
"typecheck": "bun --bun tsc --noEmit",
|
|
67
|
-
"bench": "bun run bench:build && bun run bench:server && bun run bench:features",
|
|
68
|
-
"bench:build": "bun benchmarks/build-performance.bench.ts",
|
|
69
|
-
"bench:server": "bun benchmarks/dev-server.bench.ts",
|
|
70
|
-
"bench:features": "bun benchmarks/features-comparison.bench.ts",
|
|
71
|
-
"bench:all": "bun run bench"
|
|
52
|
+
"typecheck": "bun --bun tsc --noEmit"
|
|
72
53
|
},
|
|
73
54
|
"dependencies": {
|
|
74
|
-
"@stacksjs/
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"@stacksjs/ts-cloud": "^0.
|
|
78
|
-
"
|
|
79
|
-
"@stacksjs/ts-cloud-core": "^0.1.7",
|
|
80
|
-
"@stacksjs/ts-cloud-types": "^0.1.7"
|
|
55
|
+
"@stacksjs/clapp": "^0.2.0",
|
|
56
|
+
"@stacksjs/stx": "^0.2.10",
|
|
57
|
+
"@stacksjs/ts-md": "^0.1.1",
|
|
58
|
+
"@stacksjs/ts-cloud": "^0.2.2",
|
|
59
|
+
"bunfig": "^0.15.6"
|
|
81
60
|
},
|
|
82
61
|
"devDependencies": {
|
|
83
|
-
"@stacksjs/bumpx": "^0.2.4",
|
|
84
|
-
"@stacksjs/gitlint": "^0.1.5",
|
|
85
|
-
"@stacksjs/headwind": "^0.1.3",
|
|
86
|
-
"@stacksjs/logsmith": "^0.2.1",
|
|
87
|
-
"@stacksjs/ts-i18n": "^0.0.0",
|
|
88
|
-
"bun-git-hooks": "^0.3.1",
|
|
89
|
-
"bun-plugin-dtsx": "0.9.9",
|
|
90
|
-
"bun-types": "^1.3.9",
|
|
91
|
-
"bunfig": "^0.15.6",
|
|
92
|
-
"mitata": "^1.0.34",
|
|
93
62
|
"ts-syntax-highlighter": "^0.2.1",
|
|
94
63
|
"typescript": "^5.9.3"
|
|
95
|
-
},
|
|
96
|
-
"git-hooks": {
|
|
97
|
-
"pre-commit": {
|
|
98
|
-
"staged-lint": {
|
|
99
|
-
"*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier --fix"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
|
|
103
64
|
}
|
|
104
65
|
}
|