This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +372
-7
lines changed
packages/vite-plugin-cloudflare Expand file tree Collapse file tree 7 files changed +372
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Publish prereleases
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+
8+ jobs :
9+ publish-prerelease :
10+ if : ${{ github.repository_owner == 'flarelabs-net' }}
11+ name : Publish prerelease
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - name : Checkout Repo
16+ uses : actions/checkout@v4
17+ with :
18+ fetch-depth : 0
19+
20+ - name : Install pnpm
21+ uses : pnpm/action-setup@v4
22+ with :
23+ version : 9
24+
25+ - name : Install Node.js 22
26+ uses : actions/setup-node@v4
27+ with :
28+ node-version : 22
29+ cache : ' pnpm'
30+ registry-url : ' https://registry.npmjs.org'
31+
32+ - name : Install Dependencies
33+ shell : bash
34+ run : pnpm install --frozen-lockfile
35+
36+ - name : Publish to pkg-pr-new
37+ run : pnpm exec pkg-pr-new publish --pnpm './packages/vite-plugin-cloudflare'
Original file line number Diff line number Diff line change 2121 },
2222 "devDependencies" : {
2323 "@ianvs/prettier-plugin-sort-imports" : " ^4.3.1" ,
24+ "pkg-pr-new" : " ^0.0.33" ,
2425 "playwright-chromium" : " ^1.48.1" ,
2526 "prettier" : " ^3.3.3" ,
2627 "prettier-plugin-packagejson" : " ^2.5.3" ,
Original file line number Diff line number Diff line change 2626 "@cloudflare/workers-shared" : " ^0.7.0" ,
2727 "@cloudflare/workers-types" : " catalog:default" ,
2828 "@types/node" : " catalog:default" ,
29- "@vite-plugin-cloudflare/typescript-config" : " workspace:*" ,
3029 "magic-string" : " ^0.30.12" ,
3130 "tsup" : " ^8.3.0" ,
3231 "typescript" : " catalog:default" ,
Original file line number Diff line number Diff line change 11{
2- "extends" : " @vite-plugin-cloudflare /typescript-config/worker.json" ,
2+ "extends" : " .. /typescript-config/worker.json" ,
33 "include" : [" src/assets" ]
44}
Original file line number Diff line number Diff line change 11{
2- "extends" : " @vite-plugin-cloudflare /typescript-config/base.json" ,
2+ "extends" : " .. /typescript-config/base.json" ,
33 "include" : [" src" ],
44 "exclude" : [" src/runner" , " src/assets" ]
55}
Original file line number Diff line number Diff line change 11{
2- "extends" : " @vite-plugin-cloudflare /typescript-config/worker.json" ,
2+ "extends" : " .. /typescript-config/worker.json" ,
33 "include" : [" src/runner" ]
44}
You can’t perform that action at this time.
0 commit comments