Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
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
18 changes: 9 additions & 9 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 @@ -90,10 +90,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 @@ -107,4 +107,4 @@ jobs:
run: bun run build

- name: Publish Commit
run: bunx pkg-pr-new publish
run: bunx pkg-pr-new publish './packages/*'
2 changes: 1 addition & 1 deletion deps.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dependencies:
bun.sh: ^1.2.20
bun.sh: ^1.2.23
22 changes: 12 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "headwind",
"type": "module",
"version": "0.0.0",
"description": "Like our `ts-starter`, but optimized for monorepos.",
"version": "0.1.1",
"description": "A performant Utility-First CSS framework. Similar to Tailwind or UnoCSS.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/headwind#readme",
Expand All @@ -15,34 +15,33 @@
},
"keywords": [
"monorepo",
"ts-starter",
"headwind",
"template"
],
"scripts": {
"build": "cd packages/headwind && bun run build",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"test": "bun test",
"lint": "bunx --bun eslint .",
"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 bumpx -r",
"dev:docs": "bun --bun vitepress dev docs",
"build:docs": "bun --bun vitepress build docs",
"preview:docs": "bun --bun vitepress preview docs",
"typecheck": "bun --bun tsc --noEmit"
},
"devDependencies": {
"@stacksjs/bumpx": "^0.1.84",
"@stacksjs/bumpx": "^0.1.86",
"@stacksjs/docs": "^0.70.23",
"@stacksjs/eslint-config": "^4.14.0-beta.3",
"@stacksjs/gitlint": "^0.1.5",
"@stacksjs/logsmith": "^0.1.18",
"@types/bun": "^1.2.23",
"buddy-bot": "^0.9.7",
"bun-git-hooks": "^0.2.19",
"bun-plugin-dtsx": "^0.21.12",
"buddy-bot": "^0.9.8",
"bun-git-hooks": "^0.3.1",
"bun-plugin-dtsx": "0.21.12",
"typescript": "^5.9.3"
},
"overrides": {
Expand All @@ -55,5 +54,8 @@
}
},
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
}
},
"workspaces": [
"packages/*"
]
}
82 changes: 82 additions & 0 deletions packages/headwind/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"name": "headwind",
"type": "module",
"version": "0.0.0",
"description": "A blazingly fast, utility-first CSS framework built with Bun. Generates only the CSS you need by scanning your files for utility classes.",
"author": "Chris Breuer <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/stacksjs/headwind#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/stacksjs/headwind.git"
},
"bugs": {
"url": "https://github.com/stacksjs/headwind/issues"
},
"keywords": [
"css",
"utility-first",
"tailwind",
"css-framework",
"bun",
"performance",
"headwind",
"atomic-css",
"typescript",
"on-demand"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/src/index.js"
},
"./*": {
"import": "./dist/*"
}
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"headwind": "./dist/bin/cli.js"
},
"files": [
"README.md",
"dist"
],
"scripts": {
"build": "bun --bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --outfile bin/bin-name",
"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/bin-name-linux-x64",
"compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/bin-name-linux-arm64",
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/bin-name-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/bin-name-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/bin-name-darwin-arm64",
"zip": "bun run zip:all",
"zip:all": "bun run zip:linux-x64 && bun run zip:linux-arm64 && bun run zip:windows-x64 && bun run zip:darwin-x64 && bun run zip:darwin-arm64",
"zip:linux-x64": "zip -j bin/bin-name-linux-x64.zip bin/bin-name-linux-x64",
"zip:linux-arm64": "zip -j bin/bin-name-linux-arm64.zip bin/bin-name-linux-arm64",
"zip:windows-x64": "zip -j bin/bin-name-windows-x64.zip bin/bin-name-windows-x64.exe",
"zip:darwin-x64": "zip -j bin/bin-name-darwin-x64.zip bin/bin-name-darwin-x64",
"zip:darwin-arm64": "zip -j bin/bin-name-darwin-arm64.zip bin/bin-name-darwin-arm64",
"lint": "bunx --bun eslint .",
"lint:fix": "bunx --bun eslint . --fix",
"fresh": "bunx rimraf node_modules/ bun.lock && bun i",
"changelog": "bunx changelogen --output CHANGELOG.md",
"prepublishOnly": "bun --bun run build && bun run compile:all && bun run zip",
"release": "bun run changelog && bunx bumpp package.json --all",
"test": "bun test"
},
"devDependencies": {
"bunfig": "^0.15.0"
},
"overrides": {
"unconfig": "0.3.10"
},
"lint-staged": {
"*.{js,ts}": "bunx --bun eslint . --fix"
},
"workspaces": [
"packages/*"
]
}
2 changes: 1 addition & 1 deletion packages/launchpad/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"test": "bun test"
},
"devDependencies": {
"bunfig": "^0.10.1"
"bunfig": "^0.15.0"
},
"overrides": {
"unconfig": "0.3.10"
Expand Down