Skip to content

Commit dc27ba3

Browse files
committed
docs: test wf
2 parents 514efae + da06c3d commit dc27ba3

File tree

8 files changed

+766
-38
lines changed

8 files changed

+766
-38
lines changed

.github/workflows/release-for-create-quarkc.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths:
7-
- 'packages/create-quarkc/package.json'
7+
- "packages/create-quarkc/package.json"
88

99
jobs:
1010
release:
@@ -17,13 +17,13 @@ jobs:
1717
- name: Setup node
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '16'
20+
node-version: "16"
2121
registry-url: https://registry.npmjs.org/
2222

2323
- name: Install pnpm
2424
uses: pnpm/action-setup@v2
2525
with:
26-
version: 7
26+
version: 8
2727
run_install: false
2828

2929
# Use cache to reduce installation time
@@ -48,7 +48,7 @@ jobs:
4848
run: pnpm run build
4949

5050
- name: publish
51-
working-directory: 'packages/create-quarkc'
51+
working-directory: "packages/create-quarkc"
5252
env:
5353
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
54-
run: npm publish
54+
run: npm publish

.github/workflows/release-package.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Release
33
on:
44
push:
55
branches: [main]
6-
# paths:
7-
# - 'packages/core/package.json'
6+
paths:
7+
- "packages/core/package.json"
88

99
jobs:
1010
release:
@@ -17,13 +17,13 @@ jobs:
1717
- name: Setup node
1818
uses: actions/setup-node@v2
1919
with:
20-
node-version: '16'
20+
node-version: "16"
2121
registry-url: https://registry.npmjs.org/
2222

2323
- name: Install pnpm
2424
uses: pnpm/action-setup@v2
2525
with:
26-
version: 7
26+
version: 8
2727
run_install: false
2828

2929
# Use cache to reduce installation time
@@ -48,7 +48,7 @@ jobs:
4848
run: pnpm run build4Core
4949

5050
- name: publish
51-
working-directory: 'packages/core'
51+
working-directory: "packages/core"
5252
env:
5353
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
5454
run: npm publish
@@ -57,7 +57,7 @@ jobs:
5757
- name: Read package.json
5858
uses: tyankatsu0105/read-package-version-actions@v1
5959
with:
60-
path: './packages/core'
60+
path: "./packages/core"
6161
id: package-version
6262

6363

.npmrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
registry="https://registry.npmjs.org/"
2-
strict-peer-dependencies=false
2+
strict-peer-dependencies=false
3+
auto-install-peers=false

packages/core/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quarkc",
3-
"version": "1.0.41",
4-
"description": "Web components quark-element",
3+
"version": "1.0.42",
4+
"description": "Web components quark-element quarkc",
55
"type": "module",
66
"main": "./lib/index.umd.js",
77
"module": "./lib/index.js",

packages/core/src/index.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,7 @@ export class QuarkElement extends HTMLElement implements ReactiveControllerHost
264264

265265
private _render() {
266266
const newRootVNode = this.render();
267-
268-
if (newRootVNode) {
269-
this.rootPatch(newRootVNode);
270-
}
267+
this.rootPatch(newRootVNode);
271268
}
272269

273270
/**

packages/router/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "quark-router",
3-
"version": "0.0.0",
3+
"version": "1.0.0",
44
"description": "A router for Quark",
55
"type": "module",
66
"main": "./lib/index.js",
@@ -41,7 +41,7 @@
4141
"urlpattern-polyfill": "^9.0.0"
4242
},
4343
"peerDependencies": {
44-
"quarkc": "^1.0.40"
44+
"quarkc": "^1.0.41"
4545
},
4646
"devDependencies": {
4747
"@babel/core": "^7.22.5",

0 commit comments

Comments
 (0)