Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
63fdcb3
chore(deps): update all non-major dependencies
github-actions[bot] Sep 11, 2025
cffe65a
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 11, 2025
fc383f2
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 14, 2025
0d86780
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 14, 2025
4a8a1cf
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 18, 2025
845596e
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 19, 2025
3d7dc49
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 23, 2025
88edc9e
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 24, 2025
9a51b8c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 25, 2025
c3dc0c3
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 26, 2025
e38b187
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 28, 2025
37a4dbc
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 29, 2025
b7313a4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Sep 30, 2025
fde0b36
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 3, 2025
f5e5bdd
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
16a7d85
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 7, 2025
fd0b253
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 8, 2025
b0ca992
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 8, 2025
d9e04e4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 8, 2025
35ef767
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 9, 2025
f16d5e7
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 10, 2025
a629966
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
8040da4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
5e1cd19
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
9c2d123
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
7bef9f4
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 11, 2025
344448b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 13, 2025
86a3974
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 13, 2025
017162b
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 14, 2025
851770c
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 14, 2025
55be592
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 14, 2025
512b7fb
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 15, 2025
cca1942
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 15, 2025
c6adbfb
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
d4f32e8
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 16, 2025
664d1ca
chore(deps): update all non-major dependencies (updated)
github-actions[bot] Oct 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/buddy-bot-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2
with:
bun-version: latest

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/buddy-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:

- name: Setup PHP and Composer (if needed)
if: ${{ hashFiles('composer.json') != '' }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.35.5
with:
php-version: '8.4'
tools: composer
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:

- name: Setup PHP and Composer (if needed)
if: ${{ hashFiles('composer.json') != '' }}
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2.35.5
with:
php-version: '8.4'
tools: composer
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -44,10 +44,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -67,10 +67,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand All @@ -89,10 +89,10 @@ jobs:
- uses: actions/checkout@v4

- name: Install Bun
uses: oven-sh/setup-bun@v2
uses: oven-sh/setup-bun@v2.0.2

- name: Use cached node_modules
uses: actions/cache@v4
uses: actions/cache@v4.3.0
with:
path: node_modules
key: node-modules-${{ hashFiles('**/bun.lock') }}
Expand Down
45 changes: 4 additions & 41 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:

jobs:
npm:
name: npm
runs-on: ubuntu-latest

steps:
Expand All @@ -30,12 +31,10 @@ jobs:
node-modules-

- name: Install Dependencies
run: |
bun install
bun add -g logsmith
run: bun install

- name: Publish to npm
run: ./scripts/publish-packages.sh
run: ./scripts/publish.sh
env:
BUN_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

Expand All @@ -45,7 +44,7 @@ jobs:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Attach Binaries
uses: stacksjs/action-releaser@v1.1.0
uses: stacksjs/action-releaser@v1.2.5
with:
files: |
packages/stx/bin/stx-linux-x64.zip
Expand All @@ -55,39 +54,3 @@ jobs:
packages/stx/bin/stx-darwin-arm64.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Extract Version
id: version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT

- name: Generate Release Changelog
run: |
# Generate changelog for this release only
PREVIOUS_TAG=$(git describe --tags --abbrev=0 HEAD~1 2>/dev/null || echo "")
if [ -n "$PREVIOUS_TAG" ]; then
logsmith --from "$PREVIOUS_TAG" --to "${{ steps.version.outputs.VERSION }}" \
--theme github --format markdown --output RELEASE_NOTES.md
else
logsmith --to "${{ steps.version.outputs.VERSION }}" \
--theme github --format markdown --output RELEASE_NOTES.md
fi

- name: Update Full Changelog
run: |
logsmith --theme github --output CHANGELOG.md
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add CHANGELOG.md
git commit -m "docs: update changelog for ${{ steps.version.outputs.VERSION }}" || exit 0
git push origin HEAD:main

- name: Create GitHub Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.version.outputs.VERSION }}
release_name: Release ${{ steps.version.outputs.VERSION }}
body_path: RELEASE_NOTES.md
draft: false
prerelease: false
2 changes: 2 additions & 0 deletions deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dependencies:
bun.sh: ^1.3.0
34 changes: 12 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stx",
"type": "module",
"version": "0.0.14",
"version": "0.1.12",
"private": true,
"description": "A fast & powerful UI / templating engine. Laravel Blade-inspired. Powered by Bun.",
"author": "Chris Breuer <[email protected]>",
Expand Down Expand Up @@ -45,6 +45,8 @@
],
"scripts": {
"build": "cd packages/bun-plugin && bun --bun build.ts && cd ../stx && bun --bun build.ts && cd ../.. && bun run compile",
"build:css": "cd packages/stx && bun run build:css && cd ../..",
"css:watch": "cd packages/stx && bun run css:watch && cd ../..",
"compile": "bun build ./packages/stx/bin/cli.ts --compile --minify --outfile bin/stx",
"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",
"compile:linux-x64": "bun build ./packages/stx/bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/stx-linux-x64",
Expand All @@ -60,10 +62,6 @@
"zip:darwin-x64": "zip -j bin/stx-darwin-x64.zip bin/stx-darwin-x64",
"zip:darwin-arm64": "zip -j bin/stx-darwin-arm64.zip bin/stx-darwin-arm64",
"lint:staged": "bun eslint --fix",
"prettier:fix": "bun prettier --write",
"prettier:staged": "bun prettier --write",
"stylelint:fix": "bun stylelint --fix",
"stylelint:staged": "bun stylelint --fix",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"prepublishOnly": "bun run build",
"setup": "bun run scripts/setup.ts",
Expand All @@ -72,33 +70,25 @@
"lint:fix": "bunx --bun eslint . --fix",
"changelog": "bunx logsmith --verbose",
"changelog:generate": "bunx logsmith --output CHANGELOG.md",
"release": "bun run changelog:generate && bunx bumpx prompt --recursive",
"postinstall": "bunx git-hooks",
"release": "bun run changelog:generate && bunx --bun bumpx prompt --recursive",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun tsc --noEmit"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.1.17",
"@stacksjs/bumpx": "^0.2.2",
"@stacksjs/docs": "^0.70.23",
"@stacksjs/eslint-config": "^4.14.0-beta.3",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.1.8",
"@types/bun": "^1.2.18",
"buddy-bot": "^0.8.9",
"bumpx": "^0.1.1",
"bun-git-hooks": "^0.2.19",
"bun-plugin-dtsx": "^0.21.12",
"bunfig": "^0.10.1",
"@stacksjs/logsmith": "^0.2.0",
"@types/bun": "^1.3.0",
"buddy-bot": "^0.9.9",
"bun-git-hooks": "^0.3.1",
"bun-plugin-dtsx": "0.21.12",
"happy-dom": "^18.0.1",
"prettier": "^3.6.2",
"stylelint": "^16.21.1",
"stylelint-config-standard": "^38.0.0",
"typescript": "^5.8.3"
},
"overrides": {
"eslint": "^9.31.0"
"typescript": "^5.9.3",
"very-happy-dom": "link:very-happy-dom"
},
"git-hooks": {
"pre-commit": {
Expand Down
39 changes: 39 additions & 0 deletions packages/benchmarks/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "@stacksjs/benchmarks",
"type": "module",
"version": "0.1.15",
"private": true,
"description": "Performance benchmarks comparing @stacksjs/markdown and @stacksjs/sanitizer against competitors",
"main": "./src/index.ts",
"scripts": {
"bench": "bun run src/index.ts",
"bench:markdown": "bun run src/markdown-bench.ts",
"bench:frontmatter": "bun run src/frontmatter-bench.ts",
"bench:yaml": "bun run src/yaml-bench.ts",
"bench:sanitizer": "bun run src/sanitizer-bench.ts",
"bench:all": "bun run src/all-bench.ts",
"bench:js-framework": "bun run --cwd js-framework-benchmark bench"
},
"dependencies": {
"@stacksjs/markdown": "workspace:*",
"@stacksjs/sanitizer": "workspace:*",
"dompurify": "^3.3.0",
"gray-matter": "^4.0.3",
"isomorphic-dompurify": "^2.29.0",
"js-yaml": "^4.1.0",
"markdown-it": "^14.1.0",
"marked": "^16.4.0",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"sanitize-html": "^2.17.0",
"showdown": "^2.1.0",
"tinybench": "^5.0.1",
"xss": "^1.0.15"
},
"devDependencies": {
"@types/dompurify": "^3.2.0",
"@types/marked": "^6.0.0",
"@types/sanitize-html": "^2.16.0",
"jsdom": "^27.0.0"
}
}
6 changes: 3 additions & 3 deletions packages/devtools/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "@stx/devtools",
"name": "@stacksjs/devtools",
"version": "1.0.0",
"private": true,
"description": "Development tools for STX templating engine",
"description": "Development tools for stx templating engine",
"main": "src/index.ts",
"scripts": {
"dev": "bun run devtools-server.ts",
Expand All @@ -15,6 +15,6 @@
"bun-plugin-stx": "workspace:*"
},
"devDependencies": {
"unocss": "^66.3.3"
"unocss": "^66.5.2"
}
}
54 changes: 54 additions & 0 deletions packages/markdown/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
{
"name": "@stacksjs/markdown",
"type": "module",
"version": "0.1.15",
"description": "A fast, native Bun-powered markdown parser with frontmatter support. Replaces gray-matter, marked, and yaml.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/stx#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/stx.git"
},
"bugs": {
"url": "https://github.com/stacksjs/stx/issues"
},
"keywords": [
"markdown",
"frontmatter",
"parser",
"bun",
"yaml",
"gray-matter",
"marked",
"performance"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"LICENSE.md",
"README.md",
"dist"
],
"scripts": {
"build": "bun --bun build.ts",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"typecheck": "bun tsc --noEmit"
},
"devDependencies": {
"@types/bun": "^1.3.0",
"bun-plugin-dtsx": "^0.21.12",
"typescript": "^5.8.3"
}
}
19 changes: 10 additions & 9 deletions packages/stx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@stacksjs/stx",
"type": "module",
"version": "0.0.10",
"description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
"description": "A performant UI Framework. Powered by Bun.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/stx#readme",
Expand Down Expand Up @@ -43,7 +43,9 @@
"dist"
],
"scripts": {
"build": "bun --bun build.ts",
"build": "bun run build:css && bun --bun build.ts",
"build:css": "bun ./scripts/build-css.ts",
"css:watch": "bun ./scripts/watch-css.ts",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile ./bin/stx",
"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",
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile ./bin/stx-linux-x64",
Expand All @@ -70,13 +72,12 @@
"typecheck": "bun tsc --noEmit"
},
"dependencies": {
"@stacksjs/headwind": "^0.1.1",
"@stacksjs/markdown": "workspace:*",
"@stacksjs/sanitizer": "workspace:*",
"bun-plugin-stx": "workspace:*",
"gray-matter": "^4.0.3",
"marked": "^16.0.0",
"shiki": "^3.8.0",
"yaml": "^2.8.0"
},
"devDependencies": {
"@types/marked": "^6.0.0"
"bunfig": "^0.15.0",
"cac": "^6.7.14",
"shiki": "^3.13.0"
}
}
3 changes: 3 additions & 0 deletions packages/vscode/deps.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dependencies:
bun.sh: ^1.2.10
node: ^23.11.1
Loading