Skip to content

Commit ea6f279

Browse files
committed
chore: update package configurations and CI workflow
- Updated package.json for @qwik.dev/devtools to version 0.2.0 and set private to true. - Added new release script for publishing changes. - Introduced CI workflow for automated builds and releases. - Removed outdated changelog files for other packages and updated their package.json to set private to true.
2 parents 69fa275 + dfce856 commit ea6f279

File tree

16 files changed

+82
-131
lines changed

16 files changed

+82
-131
lines changed

.changeset/fair-points-begin.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/flat-parrots-swim.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/old-pugs-kick.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.changeset/seven-numbers-move.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: CI Flow
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- main
8+
9+
jobs:
10+
build-and-publish:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v5
16+
with:
17+
fetch-depth: 0
18+
19+
- name: PNPM Install
20+
uses: pnpm/action-setup@v4
21+
with:
22+
version: 10.15.0
23+
24+
- name: Setup Node
25+
uses: actions/setup-node@v5
26+
with:
27+
node-version: 24
28+
cache: 'pnpm'
29+
registry-url: https://registry.npmjs.org/
30+
31+
- name: Use Latest Corepack
32+
run: |
33+
pnpm install -g corepack@latest
34+
corepack enable
35+
pnpm --version
36+
37+
- name: Install NPM Dependencies
38+
run: pnpm install --frozen-lockfile
39+
40+
- name: Build
41+
run: pnpm build
42+
43+
- name: Publish any commit / build for testing
44+
shell: bash
45+
run: pnpm release.pkg-pr-new
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48+
49+
- name: Create Release Pull Request or Publish
50+
if: github.ref == 'refs/heads/main'
51+
id: changesets
52+
uses: changesets/action@v1
53+
with:
54+
publish: pnpm release
55+
env:
56+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
57+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"playground": "MODE=dev pnpm --filter playground dev",
88
"build": "tsx scripts/build-devtools.ts",
99
"change": "changeset",
10-
"release": "changeset version"
10+
"release": "changeset publish",
11+
"release.pkg-pr-new": "cd packages/devtools && pnpm dlx pkg-pr-new publish"
1112
},
1213
"devDependencies": {
1314
"@changesets/cli": "^2.27.11",
@@ -18,7 +19,7 @@
1819
"tsx": "^4.19.2",
1920
"vitest": "^3.2.4"
2021
},
21-
"private": false,
22+
"private": true,
2223
"keywords": [
2324
"qwik",
2425
"devtools",

packages/devtools/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @qwik.dev/devtools
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 99a81b1: FEAT: new UI and features
8+
39
## 0.1.1
410

511
### Patch Changes

packages/devtools/package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@qwik.dev/devtools",
3-
"version": "0.1.2",
3+
"version": "0.2.0",
44
"license": "MIT",
55
"main": "./dist/plugin/index.mjs",
66
"description": "Qwik devtools package",
@@ -32,7 +32,7 @@
3232
"oxc-parser": "^0.82.1",
3333
"superjson": "^2.2.2",
3434
"vite-hot-client": "^0.2.4",
35-
"vite-plugin-inspect":"^11.0.0"
35+
"vite-plugin-inspect": "^11.0.0"
3636
},
3737
"type": "module",
3838
"devDependencies": {
@@ -43,6 +43,9 @@
4343
"@changesets/types": "^6.0.0"
4444
},
4545
"private": false,
46+
"publishConfig": {
47+
"access": "public"
48+
},
4649
"keywords": [
4750
"qwik",
4851
"devtools",

packages/kit/CHANGELOG.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)