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
40 changes: 40 additions & 0 deletions .github/workflows/actions/install/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Install Bun, PNPM and Node.js with pnpm
inputs:
install:
description: Choose a specific package to install with pnpm
required: false
node-version:
required: false
default: 22.9.0
bun-version:
required: false
default: 1.1.34
pnpm-version:
required: false
default: 9.14.2

runs:
using: composite
steps:
- run: echo "PACKAGE_JSON=$(jq -c . < package.json)" >> $GITHUB_ENV
shell: bash

- name: Use Bun ${{ fromJson(env.PACKAGE_JSON).engines.bun || inputs.bun-version }}
uses: oven-sh/setup-bun@v2
with:
bun-version: ${{ fromJson(env.PACKAGE_JSON).engines.bun || inputs.bun-version }}

- name: Use Pnpm ${{ fromJson(env.PACKAGE_JSON).engines.pnpm || inputs.pnpm-version }}
uses: pnpm/action-setup@v3
with:
version: ${{ fromJson(env.PACKAGE_JSON).engines.pnpm || inputs.pnpm-version }}

- name: Use Node.js ${{ fromJson(env.PACKAGE_JSON).engines.node || inputs.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ fromJson(env.PACKAGE_JSON).engines.node || inputs.node-version }}
cache: pnpm

- name: Install dependencies
run: pnpm install ${{ inputs.install && format('--filter {0}', inputs.install) || '' }}
shell: bash
21 changes: 7 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,27 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: ./.github/workflows/actions/install

- name: Install
run: bun install
run: pnpm install

- name: Lint
run: bun run lint
run: pnpm run lint

test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- name: Install
run: bun install
- uses: ./.github/workflows/actions/install

- name: Build
run: bun run build
run: pnpm run build

- name: Test
run: bun run test
run: pnpm run test

- name: Typecheck
run: bun run typecheck
run: pnpm run typecheck
11 changes: 3 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,18 @@ jobs:
with:
fetch-depth: 0

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- uses: ./.github/workflows/actions/install

- run: bun x changelogithub
continue-on-error: false
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Install
run: bun install

- name: Build
run: bun run build
run: pnpm run build

- name: Publish to NPM
run: bun run publish:ci
run: pnpm run publish:ci
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"prettier.enable": false,
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"workbench.colorCustomizations": {},
"inline-bookmarks.view.showVisibleFilesOnly": false
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ Contributions, issues and feature requests are welcome!

1. Fork this repo

2. [Install `bun`.](https://bun.sh/docs/installation)
2. Install `pnpm`.

3. Use `bun i` at the mono-repo root.
3. Use `pnpm i` at the monorepo root.

4. Make modifications and follow conventional commits.

Expand Down
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Merge server-actions-nuxt repo into form-actions-nuxt
Binary file removed bun.lockb
Binary file not shown.
6 changes: 0 additions & 6 deletions docs/.env.example

This file was deleted.

2 changes: 0 additions & 2 deletions docs/.eslintignore

This file was deleted.

25 changes: 0 additions & 25 deletions docs/.gitignore

This file was deleted.

275 changes: 275 additions & 0 deletions docs/.vitepress/cache/deps/@theme_index.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions docs/.vitepress/cache/deps/@theme_index.js.map

Large diffs are not rendered by default.

40 changes: 40 additions & 0 deletions docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"hash": "f9b44162",
"configHash": "b9a84e00",
"lockfileHash": "55e85b3e",
"browserHash": "bba2edc9",
"optimized": {
"vue": {
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "827f9922",
"needsInterop": false
},
"vitepress > @vue/devtools-api": {
"src": "../../../../node_modules/.pnpm/@vue+devtools-api@7.7.2/node_modules/@vue/devtools-api/dist/index.js",
"file": "vitepress___@vue_devtools-api.js",
"fileHash": "29131457",
"needsInterop": false
},
"vitepress > @vueuse/core": {
"src": "../../../../node_modules/.pnpm/@vueuse+core@12.7.0_typescript@5.8.2/node_modules/@vueuse/core/index.mjs",
"file": "vitepress___@vueuse_core.js",
"fileHash": "f2fde090",
"needsInterop": false
},
"@theme/index": {
"src": "../../../../node_modules/.pnpm/vitepress@1.6.3_@algolia+client-search@5.20.3_@types+node@20.17.23_change-case@5.4.4_fuse.js@_feq5bms5wceycn5qlaapeog2se/node_modules/vitepress/dist/client/theme-default/index.js",
"file": "@theme_index.js",
"fileHash": "0b16279a",
"needsInterop": false
}
},
"chunks": {
"chunk-67YJKGSN": {
"file": "chunk-67YJKGSN.js"
},
"chunk-LW4I4DCF": {
"file": "chunk-LW4I4DCF.js"
}
}
}
Loading
Loading