feat(.): go back to bun

This commit is contained in:
Nan72 2025-02-14 13:11:27 +07:00
parent df2ad11cec
commit 62b6376d34
No known key found for this signature in database
5 changed files with 14 additions and 9 deletions

View File

@ -5,18 +5,23 @@ on:
jobs:
publish-npm:
environment: prod
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
- uses: oven-sh/setup-bun@v2
with:
version: 9 # Optional: specify a pnpm version
- run: pnpm install
- run: pnpm build
bun-version: latest
- uses: actions/setup-node@v4
with:
node-version: '22.x'
registry-url: 'https://registry.npmjs.org'
- run: bun install
- run: bun run build
- name: Publish to NPM
run: npm publish --provenance --access public
env:

4
.gitignore vendored
View File

@ -119,6 +119,7 @@ out
.nuxt
dist
build.js
# Gatsby files
@ -173,5 +174,4 @@ dist
# Finder (MacOS) folder config
.DS_Store
extensions_support/
extensions_support/

BIN
bun.lockb Executable file

Binary file not shown.

View File

@ -74,7 +74,7 @@
},
"scripts": {
"dev": "bun build.ts dev",
"build": "tsc build.ts",
"build": "bun build.ts",
"publish": "npm publish --provenance"
},
"dependencies": {

View File

@ -1,5 +1,5 @@
import {expose} from "@kksh/api/headless";
import camelCase from "lodash/camelcase";
import camelCase from "lodash/camelCase";
import {BaseExt} from "./base";
class CamelCaseExt extends BaseExt {