File tree Expand file tree Collapse file tree 5 files changed +40
-13
lines changed Expand file tree Collapse file tree 5 files changed +40
-13
lines changed Original file line number Diff line number Diff line change 58
58
env :
59
59
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
60
60
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 }}
67
62
68
63
- name : Push changes
69
64
uses : ad-m/github-push-action@master
Original file line number Diff line number Diff line change @@ -33,6 +33,12 @@ npm install -D qwik-nx
33
33
34
34
### Generating a workspace
35
35
36
+ ```
37
+ npx create-qwik-nx@latest
38
+ ```
39
+
40
+ or
41
+
36
42
```
37
43
npx create-nx-workspace@latest org-workspace --preset=qwik-nx
38
44
```
Original file line number Diff line number Diff line change 208
208
"version" : " ^0.2.0"
209
209
}
210
210
}
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
+ }
211
231
}
212
232
}
213
233
}
Original file line number Diff line number Diff line change 1
- import type { PluginOption , UserConfig } from 'vite' ;
1
+ import { PluginOption , UserConfig , mergeConfig } from 'vite' ;
2
2
import {
3
3
type QwikVitePluginOptions ,
4
4
qwikVite ,
@@ -13,7 +13,13 @@ export function withNx(
13
13
config : UserConfig ,
14
14
qwikViteOpts ?: QwikVitePluginOptions
15
15
) : UserConfig {
16
- const updated = { ...config } ;
16
+ const updated = mergeConfig ( config , {
17
+ build : {
18
+ rollupOptions : {
19
+ external : [ '@qwik-city-sw-register' ] ,
20
+ } ,
21
+ } ,
22
+ } ) ;
17
23
updated . plugins = updated . plugins ?. map ( ( plugin : PluginOption ) => {
18
24
switch ( ( plugin as any ) ?. name ) {
19
25
case 'vite-plugin-qwik' :
Original file line number Diff line number Diff line change 1
1
// 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 ' ;
5
5
6
6
// css preprocessors
7
7
export const sassVersion = '~1.56.1' ;
8
8
export const lessVersion = '~4.1.3' ;
9
9
export const stylusVersion = '~0.59.0' ;
10
10
11
11
export const undiciVersion = '^5.22.0' ;
12
- export const viteVersion = '^4.3.3 ' ;
12
+ export const viteVersion = '^4.3.5 ' ;
13
13
export const viteTsconfigPathsVersion = '~4.2.0' ;
14
- export const vitestVersion = '^0.30.1 ' ;
14
+ export const vitestVersion = '^0.31.0 ' ;
15
15
16
16
export const autoprefixerVersion = '~10.4.11' ;
17
17
export const postcssVersion = '~8.4.16' ;
You can’t perform that action at this time.
0 commit comments