Skip to content

Commit

Permalink
feat(qwik-nx): upgrade qwik dependencies (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-stepanenko authored Jul 26, 2023
1 parent cacb6ba commit 2ac9032
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 13 deletions.
1 change: 0 additions & 1 deletion e2e/qwik-nx-e2e/tests/qwik-nx-netlify.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ describe('qwik nx netlify generator', () => {
const p = await runCommandUntil(
`run ${project}:preview-netlify`,
(output) => {
console.log(output);
return output.includes('Server now ready on http://localhost:8888');
}
);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"pnpm": "^8.0.0"
},
"devDependencies": {
"@builder.io/qwik": "^1.1.5",
"@builder.io/qwik": "^1.2.6",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-angular": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
Expand Down
20 changes: 20 additions & 0 deletions packages/qwik-nx/migrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,26 @@
"version": "^3.0.2"
}
}
},
"1.0.8": {
"version": "1.0.2",
"packages": {
"@builder.io/qwik": {
"version": "~1.2.6"
},
"@builder.io/qwik-city": {
"version": "~1.2.6"
},
"eslint-plugin-qwik": {
"version": "~1.2.6"
},
"vite": {
"version": "^4.4.0"
},
"vitest": {
"version": "^0.32.0"
}
}
}
}
}
4 changes: 2 additions & 2 deletions packages/qwik-nx/src/utils/storybook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ export function withNx(
config: UserConfig,
qwikViteOpts?: QwikVitePluginOptions
): UserConfig {
const updated = mergeConfig(config, {
const updated: UserConfig = mergeConfig(config, {
build: {
rollupOptions: {
external: ['@qwik-city-sw-register'],
},
},
});
updated.plugins = updated.plugins?.map((plugin: PluginOption) => {
updated.plugins = updated.plugins?.flat(10).map((plugin: PluginOption) => {
switch ((plugin as any)?.name) {

Check warning on line 24 in packages/qwik-nx/src/utils/storybook.ts

View workflow job for this annotation

GitHub Actions / test (16, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 24 in packages/qwik-nx/src/utils/storybook.ts

View workflow job for this annotation

GitHub Actions / test (16, windows-latest)

Unexpected any. Specify a different type
case 'vite-plugin-qwik':
// as of now there's no way of extending qwikVite with overridden output paths, thus have to override to completely
Expand Down
10 changes: 5 additions & 5 deletions packages/qwik-nx/src/utils/versions.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// qwik packages
export const qwikVersion = '~1.1.1';
export const qwikCityVersion = '~1.1.1';
export const qwikEslintPluginVersion = '~1.1.1';
export const qwikVersion = '~1.2.6';
export const qwikCityVersion = '~1.2.6';
export const qwikEslintPluginVersion = '~1.2.6';

// css preprocessors
export const sassVersion = '~1.56.1';
export const lessVersion = '~4.1.3';
export const stylusVersion = '~0.59.0';

export const undiciVersion = '^5.22.0';
export const viteVersion = '^4.3.5';
export const viteVersion = '~4.4.0';
export const viteTsconfigPathsVersion = '~4.2.0';
export const vitestVersion = '^0.31.0';
export const vitestVersion = '^0.32.0';

export const autoprefixerVersion = '~10.4.11';
export const postcssVersion = '~8.4.16';
Expand Down
16 changes: 12 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2ac9032

Please sign in to comment.