Skip to content

Commit

Permalink
fix(deps): upgrade to newer version of partytown package
Browse files Browse the repository at this point in the history
  • Loading branch information
stdavis committed Dec 23, 2024
1 parent 5ab724c commit 8466e05
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/integrations/partytown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"dev": "astro-scripts dev \"src/**/*.ts\""
},
"dependencies": {
"@builder.io/partytown": "^0.10.2",
"@qwik.dev/partytown": "^0.11.0",
"mrmime": "^2.0.0"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions packages/integrations/partytown/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import * as fs from 'node:fs';
import { createRequire } from 'node:module';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import type { PartytownConfig } from '@builder.io/partytown/integration';
import { partytownSnippet } from '@builder.io/partytown/integration';
import { copyLibFiles, libDirPath } from '@builder.io/partytown/utils';
import type { PartytownConfig } from '@qwik.dev/partytown/integration';
import { partytownSnippet } from '@qwik.dev/partytown/integration';
import { copyLibFiles, libDirPath } from '@qwik.dev/partytown/utils';
import type { AstroIntegration } from 'astro';
import sirv from './sirv.js';
const resolve = createRequire(import.meta.url).resolve;
Expand All @@ -19,7 +19,7 @@ function appendForwardSlash(str: string) {

export default function createPlugin(options?: PartytownOptions): AstroIntegration {
let partytownSnippetHtml: string;
const partytownEntrypoint = resolve('@builder.io/partytown/package.json');
const partytownEntrypoint = resolve('@qwik.dev/partytown/package.json');
const partytownLibDirectory = path.resolve(partytownEntrypoint, '../lib');
return {
name: '@astrojs/partytown',
Expand Down
28 changes: 18 additions & 10 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 8466e05

Please sign in to comment.