Skip to content

Commit 2ac9032

Browse files
feat(qwik-nx): upgrade qwik dependencies (#191)
1 parent cacb6ba commit 2ac9032

File tree

6 files changed

+40
-13
lines changed

6 files changed

+40
-13
lines changed

e2e/qwik-nx-e2e/tests/qwik-nx-netlify.spec.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ describe('qwik nx netlify generator', () => {
6262
const p = await runCommandUntil(
6363
`run ${project}:preview-netlify`,
6464
(output) => {
65-
console.log(output);
6665
return output.includes('Server now ready on http://localhost:8888');
6766
}
6867
);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"pnpm": "^8.0.0"
1919
},
2020
"devDependencies": {
21-
"@builder.io/qwik": "^1.1.5",
21+
"@builder.io/qwik": "^1.2.6",
2222
"@commitlint/cli": "^17.3.0",
2323
"@commitlint/config-angular": "^17.3.0",
2424
"@commitlint/config-conventional": "^17.3.0",

packages/qwik-nx/migrations.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,26 @@
242242
"version": "^3.0.2"
243243
}
244244
}
245+
},
246+
"1.0.8": {
247+
"version": "1.0.2",
248+
"packages": {
249+
"@builder.io/qwik": {
250+
"version": "~1.2.6"
251+
},
252+
"@builder.io/qwik-city": {
253+
"version": "~1.2.6"
254+
},
255+
"eslint-plugin-qwik": {
256+
"version": "~1.2.6"
257+
},
258+
"vite": {
259+
"version": "^4.4.0"
260+
},
261+
"vitest": {
262+
"version": "^0.32.0"
263+
}
264+
}
245265
}
246266
}
247267
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ export function withNx(
1313
config: UserConfig,
1414
qwikViteOpts?: QwikVitePluginOptions
1515
): UserConfig {
16-
const updated = mergeConfig(config, {
16+
const updated: UserConfig = mergeConfig(config, {
1717
build: {
1818
rollupOptions: {
1919
external: ['@qwik-city-sw-register'],
2020
},
2121
},
2222
});
23-
updated.plugins = updated.plugins?.map((plugin: PluginOption) => {
23+
updated.plugins = updated.plugins?.flat(10).map((plugin: PluginOption) => {
2424
switch ((plugin as any)?.name) {
2525
case 'vite-plugin-qwik':
2626
// as of now there's no way of extending qwikVite with overridden output paths, thus have to override to completely

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.1.1';
3-
export const qwikCityVersion = '~1.1.1';
4-
export const qwikEslintPluginVersion = '~1.1.1';
2+
export const qwikVersion = '~1.2.6';
3+
export const qwikCityVersion = '~1.2.6';
4+
export const qwikEslintPluginVersion = '~1.2.6';
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.5';
12+
export const viteVersion = '~4.4.0';
1313
export const viteTsconfigPathsVersion = '~4.2.0';
14-
export const vitestVersion = '^0.31.0';
14+
export const vitestVersion = '^0.32.0';
1515

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

pnpm-lock.yaml

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)