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 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
Original file line number Diff line number Diff 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```
3743npx create-nx-workspace@latest org-workspace --preset=qwik-nx
3844```
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change 1- import type { PluginOption , UserConfig } from 'vite' ;
1+ import { PluginOption , UserConfig , mergeConfig } from 'vite' ;
22import {
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' :
Original file line number Diff line number Diff line change 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
77export const sassVersion = '~1.56.1' ;
88export const lessVersion = '~4.1.3' ;
99export const stylusVersion = '~0.59.0' ;
1010
1111export const undiciVersion = '^5.22.0' ;
12- export const viteVersion = '^4.3.3 ' ;
12+ export const viteVersion = '^4.3.5 ' ;
1313export const viteTsconfigPathsVersion = '~4.2.0' ;
14- export const vitestVersion = '^0.30.1 ' ;
14+ export const vitestVersion = '^0.31.0 ' ;
1515
1616export const autoprefixerVersion = '~10.4.11' ;
1717export const postcssVersion = '~8.4.16' ;
You can’t perform that action at this time.
0 commit comments