Skip to content

Commit b5bb79c

Browse files
authored
feat: update to latest partytown version (#7629)
1 parent 0f3fae6 commit b5bb79c

File tree

21 files changed

+47
-39
lines changed

21 files changed

+47
-39
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bun create qwik@latest
5252

5353
## Related
5454

55-
- [Partytown](https://partytown.builder.io/): Relocate resource intensive third-party scripts off of the main thread and into a web worker 🎉.
55+
- [Partytown](https://partytown.qwik.dev/): Relocate resource intensive third-party scripts off of the main thread and into a web worker 🎉.
5656
- [Mitosis](https://github.com/BuilderIO/mitosis): Write components once, run everywhere. Compiles to Vue, React, Solid, Angular, Svelte, and more.
5757
- [Builder](https://github.com/BuilderIO/builder): Drag and drop page builder and CMS for React, Vue, Angular, and more.
5858

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@
9898
"esbuild-plugin-raw": "^0.1.8"
9999
},
100100
"devDependencies": {
101-
"@builder.io/partytown": "0.10.2",
102101
"@builder.io/qwik": "workspace:^",
103102
"@builder.io/qwik-city": "workspace:^",
104103
"@changesets/cli": "2.28.1",
@@ -114,6 +113,7 @@
114113
"@node-rs/helper": "1.6.0",
115114
"@octokit/action": "6.1.0",
116115
"@playwright/test": "1.50.1",
116+
"@qwik.dev/partytown": "0.11.1",
117117
"@types/brotli": "1.3.4",
118118
"@types/bun": "1.1.6",
119119
"@types/cross-spawn": "6.0.6",

packages/create-qwik/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ console.log(result);
3535
## Related
3636

3737
- [Qwik](https://qwik.dev/)
38-
- [Partytown](https://partytown.builder.io)
38+
- [Partytown](https://partytown.qwik.dev)
3939
- [Mitosis](https://github.com/BuilderIO/mitosis)
4040
- [Builder.io](https://github.com/BuilderIO/)

packages/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"devDependencies": {
88
"@algolia/autocomplete-core": "1.7.4",
99
"@algolia/client-search": "4.14.3",
10-
"@builder.io/partytown": "0.10.2",
1110
"@builder.io/qwik": "workspace:^",
1211
"@builder.io/qwik-city": "workspace:^",
1312
"@builder.io/qwik-labs": "workspace:^",
@@ -19,6 +18,7 @@
1918
"@mui/system": "5.16.4",
2019
"@mui/x-data-grid": "6.20.4",
2120
"@qwik-ui/headless": "0.5.0",
21+
"@qwik.dev/partytown": "0.11.1",
2222
"@shikijs/colorized-brackets": "3.1.0",
2323
"@shikijs/rehype": "3.1.0",
2424
"@shikijs/transformers": "3.1.0",

packages/docs/src/components/router-head/vendor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { partytownSnippet } from '@builder.io/partytown/integration';
1+
import { partytownSnippet } from '@qwik.dev/partytown/integration';
22

33
export const Vendor = () => {
44
return (

packages/docs/src/routes/(blog)/blog/(articles)/introducing-qwik-starters/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The CLI consist of these four examples, that will be expanded in the near future
2020

2121
1. `starter`: A basic hello world.
2222
2. `starter-builder`: A basic hello world integrated with Builder's [Qwik API](https://www.builder.io/c/docs/qwik-api).
23-
3. `starter-partytown`: A basic hello world showing how expensive tasks can be run on web-worker with [Partytown](https://github.com/BuilderIO/partytown)
23+
3. `starter-partytown`: A basic hello world showing how expensive tasks can be run on web-worker with [Partytown](https://github.com/QwikDev/partytown)
2424
4. `todo`: A classic [TodoMVC](https://todomvc.com/) application.
2525

2626
## Basic Starter

packages/docs/src/routes/docs/(qwikcity)/pages/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export const head: DocumentHead = ({ head }) => {
150150

151151
This example integrates [Google Structured Data](https://developers.google.com/search/docs/appearance/structured-data/intro-structured-data)
152152
which helps by providing explicit clues about the meaning of a page to Google.
153-
If you want to embed custom JavaScript code, it would be ideal to do it lazily with [Partytown](https://partytown.builder.io/).
153+
If you want to embed custom JavaScript code, it would be ideal to do it lazily with [Partytown](https://partytown.qwik.dev/).
154154
Sometimes, however, you are forced to load them immediately. The following example illustrates this.
155155

156156
```tsx {8} /head/ title="src/routes/about/index.tsx"

packages/docs/src/routes/docs/(qwikcity)/qwikcity/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ This table shows which file (`index.tsx` vs `layout.tsx`) the respective feature
8888

8989
## Partytown
9090

91-
Qwik City also comes pre-integrated with [Partytown](https://partytown.builder.io) allowing you to execute your third-party code off the main thread.
91+
Qwik City also comes pre-integrated with [Partytown](https://partytown.qwik.dev) allowing you to execute your third-party code off the main thread.

packages/docs/src/routes/docs/integrations/partytown/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import PackageManagerTabs from '~/components/package-manager-tabs/index.tsx';
2323
Third party scripts slow down your initial page load substantially by blocking the main thread.
2424

2525
Partytown is a tool that allows you to defer third party scripts like Google Analytics, Facebook Pixel, etc off the main thread by using a web worker.
26-
For more information about this tool visit the [Partytown docs](https://partytown.builder.io/).
26+
For more information about this tool visit the [Partytown docs](https://partytown.qwik.dev/).
2727

2828
## Usage
2929

@@ -91,4 +91,4 @@ export default component$(() => {
9191

9292
## Advanced
9393

94-
To further configure Partytown with more options, please visit the [Partytown Documentation](https://partytown.builder.io/configuration)
94+
To further configure Partytown with more options, please visit the [Partytown Documentation](https://partytown.qwik.dev/configuration)

packages/docs/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { partytownVite } from '@builder.io/partytown/utils';
1+
import { partytownVite } from '@qwik.dev/partytown/utils';
22
import { qwikCity } from '@builder.io/qwik-city/vite';
33
import { qwikInsights } from '@builder.io/qwik-labs/vite';
44
import { qwikReact } from '@builder.io/qwik-react/vite';

0 commit comments

Comments
 (0)