Skip to content

Commit ed81fd9

Browse files
chore: bump qwik to v1.1 (#158)
1 parent 0423f38 commit ed81fd9

File tree

5 files changed

+40
-13
lines changed

5 files changed

+40
-13
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,7 @@ jobs:
5858
env:
5959
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
6060
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
61-
run: pnpx nx run ${{ inputs.package }}:version-publish --configuration=${{ inputs.type }} --push=true
62-
63-
- name: Tag last-release
64-
if: github.ref == 'refs/heads/main'
65-
shell: bash
66-
run: git tag -f last-release
61+
run: pnpx nx run ${{ inputs.package }}:version-publish --configuration=${{ inputs.type }} --push=true --baseBranch=${{ github.ref_name }}
6762

6863
- name: Push changes
6964
uses: ad-m/github-push-action@master

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ npm install -D qwik-nx
3333

3434
### Generating a workspace
3535

36+
```
37+
npx create-qwik-nx@latest
38+
```
39+
40+
or
41+
3642
```
3743
npx create-nx-workspace@latest org-workspace --preset=qwik-nx
3844
```

packages/qwik-nx/migrations.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,26 @@
208208
"version": "^0.2.0"
209209
}
210210
}
211+
},
212+
"1.0.2": {
213+
"version": "1.0.2",
214+
"packages": {
215+
"@builder.io/qwik": {
216+
"version": "~1.1.1"
217+
},
218+
"@builder.io/qwik-city": {
219+
"version": "~1.1.1"
220+
},
221+
"eslint-plugin-qwik": {
222+
"version": "~1.1.1"
223+
},
224+
"vite": {
225+
"version": "^4.3.5"
226+
},
227+
"vitest": {
228+
"version": "^0.31.0"
229+
}
230+
}
211231
}
212232
}
213233
}

packages/qwik-nx/src/utils/storybook.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { PluginOption, UserConfig } from 'vite';
1+
import { PluginOption, UserConfig, mergeConfig } from 'vite';
22
import {
33
type QwikVitePluginOptions,
44
qwikVite,
@@ -13,7 +13,13 @@ export function withNx(
1313
config: UserConfig,
1414
qwikViteOpts?: QwikVitePluginOptions
1515
): UserConfig {
16-
const updated = { ...config };
16+
const updated = mergeConfig(config, {
17+
build: {
18+
rollupOptions: {
19+
external: ['@qwik-city-sw-register'],
20+
},
21+
},
22+
});
1723
updated.plugins = updated.plugins?.map((plugin: PluginOption) => {
1824
switch ((plugin as any)?.name) {
1925
case 'vite-plugin-qwik':

packages/qwik-nx/src/utils/versions.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
// qwik packages
2-
export const qwikVersion = '~1.0.0';
3-
export const qwikCityVersion = '~1.0.0';
4-
export const qwikEslintPluginVersion = '~1.0.0';
2+
export const qwikVersion = '~1.1.1';
3+
export const qwikCityVersion = '~1.1.1';
4+
export const qwikEslintPluginVersion = '~1.1.1';
55

66
// css preprocessors
77
export const sassVersion = '~1.56.1';
88
export const lessVersion = '~4.1.3';
99
export const stylusVersion = '~0.59.0';
1010

1111
export const undiciVersion = '^5.22.0';
12-
export const viteVersion = '^4.3.3';
12+
export const viteVersion = '^4.3.5';
1313
export const viteTsconfigPathsVersion = '~4.2.0';
14-
export const vitestVersion = '^0.30.1';
14+
export const vitestVersion = '^0.31.0';
1515

1616
export const autoprefixerVersion = '~10.4.11';
1717
export const postcssVersion = '~8.4.16';

0 commit comments

Comments
 (0)