mirror of
https://github.com/NaN72dev/kunkun-ext-string-utils.git
synced 2025-04-03 01:36:44 +00:00
feat(.): go back to bun
This commit is contained in:
parent
df2ad11cec
commit
62b6376d34
15
.github/workflows/npm-publish.yml
vendored
15
.github/workflows/npm-publish.yml
vendored
@ -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
4
.gitignore
vendored
@ -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/
|
@ -74,7 +74,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun build.ts dev",
|
||||
"build": "tsc build.ts",
|
||||
"build": "bun build.ts",
|
||||
"publish": "npm publish --provenance"
|
||||
},
|
||||
"dependencies": {
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user