mirror of
https://github.com/NaN72dev/kunkun-ext-string-utils.git
synced 2025-04-03 17:56:45 +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:
|
jobs:
|
||||||
publish-npm:
|
publish-npm:
|
||||||
|
environment: prod
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
id-token: write
|
id-token: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup pnpm
|
- uses: oven-sh/setup-bun@v2
|
||||||
uses: pnpm/action-setup@v3 # docs https://pnpm.io/continuous-integration#github-actions
|
|
||||||
with:
|
with:
|
||||||
version: 9 # Optional: specify a pnpm version
|
bun-version: latest
|
||||||
- run: pnpm install
|
- uses: actions/setup-node@v4
|
||||||
- run: pnpm build
|
with:
|
||||||
|
node-version: '22.x'
|
||||||
|
registry-url: 'https://registry.npmjs.org'
|
||||||
|
|
||||||
|
- run: bun install
|
||||||
|
- run: bun run build
|
||||||
- name: Publish to NPM
|
- name: Publish to NPM
|
||||||
run: npm publish --provenance --access public
|
run: npm publish --provenance --access public
|
||||||
env:
|
env:
|
||||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -119,6 +119,7 @@ out
|
|||||||
|
|
||||||
.nuxt
|
.nuxt
|
||||||
dist
|
dist
|
||||||
|
build.js
|
||||||
|
|
||||||
# Gatsby files
|
# Gatsby files
|
||||||
|
|
||||||
@ -173,5 +174,4 @@ dist
|
|||||||
|
|
||||||
# Finder (MacOS) folder config
|
# Finder (MacOS) folder config
|
||||||
.DS_Store
|
.DS_Store
|
||||||
extensions_support/
|
extensions_support/
|
||||||
|
|
@ -74,7 +74,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "bun build.ts dev",
|
"dev": "bun build.ts dev",
|
||||||
"build": "tsc build.ts",
|
"build": "bun build.ts",
|
||||||
"publish": "npm publish --provenance"
|
"publish": "npm publish --provenance"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import {expose} from "@kksh/api/headless";
|
import {expose} from "@kksh/api/headless";
|
||||||
import camelCase from "lodash/camelcase";
|
import camelCase from "lodash/camelCase";
|
||||||
import {BaseExt} from "./base";
|
import {BaseExt} from "./base";
|
||||||
|
|
||||||
class CamelCaseExt extends BaseExt {
|
class CamelCaseExt extends BaseExt {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user