mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
patch: update partytown dependencies (#12822)
This commit is contained in:
parent
5ab724c633
commit
1fab2f2ef6
4 changed files with 28 additions and 15 deletions
5
.changeset/thirty-apples-develop.md
Normal file
5
.changeset/thirty-apples-develop.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@astrojs/partytown': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Updates the partytown dependency to the new npm org name and latest version.
|
|
@ -32,7 +32,7 @@
|
||||||
"dev": "astro-scripts dev \"src/**/*.ts\""
|
"dev": "astro-scripts dev \"src/**/*.ts\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@builder.io/partytown": "^0.10.2",
|
"@qwik.dev/partytown": "^0.11.0",
|
||||||
"mrmime": "^2.0.0"
|
"mrmime": "^2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
|
|
@ -2,9 +2,9 @@ import * as fs from 'node:fs';
|
||||||
import { createRequire } from 'node:module';
|
import { createRequire } from 'node:module';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
import type { PartytownConfig } from '@builder.io/partytown/integration';
|
import type { PartytownConfig } from '@qwik.dev/partytown/integration';
|
||||||
import { partytownSnippet } from '@builder.io/partytown/integration';
|
import { partytownSnippet } from '@qwik.dev/partytown/integration';
|
||||||
import { copyLibFiles, libDirPath } from '@builder.io/partytown/utils';
|
import { copyLibFiles, libDirPath } from '@qwik.dev/partytown/utils';
|
||||||
import type { AstroIntegration } from 'astro';
|
import type { AstroIntegration } from 'astro';
|
||||||
import sirv from './sirv.js';
|
import sirv from './sirv.js';
|
||||||
const resolve = createRequire(import.meta.url).resolve;
|
const resolve = createRequire(import.meta.url).resolve;
|
||||||
|
@ -19,7 +19,7 @@ function appendForwardSlash(str: string) {
|
||||||
|
|
||||||
export default function createPlugin(options?: PartytownOptions): AstroIntegration {
|
export default function createPlugin(options?: PartytownOptions): AstroIntegration {
|
||||||
let partytownSnippetHtml: string;
|
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');
|
const partytownLibDirectory = path.resolve(partytownEntrypoint, '../lib');
|
||||||
return {
|
return {
|
||||||
name: '@astrojs/partytown',
|
name: '@astrojs/partytown',
|
||||||
|
|
|
@ -4980,9 +4980,9 @@ importers:
|
||||||
|
|
||||||
packages/integrations/partytown:
|
packages/integrations/partytown:
|
||||||
dependencies:
|
dependencies:
|
||||||
'@builder.io/partytown':
|
'@qwik.dev/partytown':
|
||||||
specifier: ^0.10.2
|
specifier: ^0.11.0
|
||||||
version: 0.10.2
|
version: 0.11.0
|
||||||
mrmime:
|
mrmime:
|
||||||
specifier: ^2.0.0
|
specifier: ^2.0.0
|
||||||
version: 2.0.0
|
version: 2.0.0
|
||||||
|
@ -5933,11 +5933,6 @@ packages:
|
||||||
resolution: {integrity: sha512-0Y6ILl9wJMkALcHGBMtkNDhXVjeFLqSEutwQThYj7jEqKpZ35j+p7QpKEhci+GyY77paMFGETXy1OBU39adWqg==}
|
resolution: {integrity: sha512-0Y6ILl9wJMkALcHGBMtkNDhXVjeFLqSEutwQThYj7jEqKpZ35j+p7QpKEhci+GyY77paMFGETXy1OBU39adWqg==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
|
|
||||||
'@builder.io/partytown@0.10.2':
|
|
||||||
resolution: {integrity: sha512-A9U+4PREWcS+CCYzKGIPovtGB/PBgnH/8oQyCE6Nr9drDJk6cMPpLQIEajpGPmG9tYF7N3FkRvhXm/AS9+0iKg==}
|
|
||||||
engines: {node: '>=18.0.0'}
|
|
||||||
hasBin: true
|
|
||||||
|
|
||||||
'@changesets/apply-release-plan@7.0.6':
|
'@changesets/apply-release-plan@7.0.6':
|
||||||
resolution: {integrity: sha512-TKhVLtiwtQOgMAC0fCJfmv93faiViKSDqr8oMEqrnNs99gtSC1sZh/aEMS9a+dseU1ESZRCK+ofLgGY7o0fw/Q==}
|
resolution: {integrity: sha512-TKhVLtiwtQOgMAC0fCJfmv93faiViKSDqr8oMEqrnNs99gtSC1sZh/aEMS9a+dseU1ESZRCK+ofLgGY7o0fw/Q==}
|
||||||
|
|
||||||
|
@ -7009,6 +7004,11 @@ packages:
|
||||||
preact: ^10.4.0
|
preact: ^10.4.0
|
||||||
vite: '>=2.0.0'
|
vite: '>=2.0.0'
|
||||||
|
|
||||||
|
'@qwik.dev/partytown@0.11.0':
|
||||||
|
resolution: {integrity: sha512-MHime7cxj7KGrapGZ1VqLkXXq5BLNqvjNZndRJVvMkUWn92F2bsezlWW1lKDoFaKCKu2xv9LRUZL99RYOs+ccA==}
|
||||||
|
engines: {node: '>=18.0.0'}
|
||||||
|
hasBin: true
|
||||||
|
|
||||||
'@rollup/pluginutils@4.2.1':
|
'@rollup/pluginutils@4.2.1':
|
||||||
resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
|
resolution: {integrity: sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==}
|
||||||
engines: {node: '>= 8.0.0'}
|
engines: {node: '>= 8.0.0'}
|
||||||
|
@ -8217,6 +8217,10 @@ packages:
|
||||||
domutils@3.1.0:
|
domutils@3.1.0:
|
||||||
resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==}
|
resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==}
|
||||||
|
|
||||||
|
dotenv@16.4.7:
|
||||||
|
resolution: {integrity: sha512-47qPchRCykZC03FhkYAhrvwU4xDBFIj1QPqaarj6mdM/hgUzfPHcpkHJOn3mJAufFeeAxAzeGsr5X0M4k6fLZQ==}
|
||||||
|
engines: {node: '>=12'}
|
||||||
|
|
||||||
dotenv@8.6.0:
|
dotenv@8.6.0:
|
||||||
resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==}
|
resolution: {integrity: sha512-IrPdXQsk2BbzvCBGBOTmmSH5SodmqZNt4ERAZDmW4CT+tL8VtvinqywuANaFu4bOMWki16nqf0e4oC0QIaDr/g==}
|
||||||
engines: {node: '>=10'}
|
engines: {node: '>=10'}
|
||||||
|
@ -12092,8 +12096,6 @@ snapshots:
|
||||||
dependencies:
|
dependencies:
|
||||||
tar: 6.2.1
|
tar: 6.2.1
|
||||||
|
|
||||||
'@builder.io/partytown@0.10.2': {}
|
|
||||||
|
|
||||||
'@changesets/apply-release-plan@7.0.6':
|
'@changesets/apply-release-plan@7.0.6':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@changesets/config': 3.0.4
|
'@changesets/config': 3.0.4
|
||||||
|
@ -13123,6 +13125,10 @@ snapshots:
|
||||||
transitivePeerDependencies:
|
transitivePeerDependencies:
|
||||||
- supports-color
|
- supports-color
|
||||||
|
|
||||||
|
'@qwik.dev/partytown@0.11.0':
|
||||||
|
dependencies:
|
||||||
|
dotenv: 16.4.7
|
||||||
|
|
||||||
'@rollup/pluginutils@4.2.1':
|
'@rollup/pluginutils@4.2.1':
|
||||||
dependencies:
|
dependencies:
|
||||||
estree-walker: 2.0.2
|
estree-walker: 2.0.2
|
||||||
|
@ -14437,6 +14443,8 @@ snapshots:
|
||||||
domelementtype: 2.3.0
|
domelementtype: 2.3.0
|
||||||
domhandler: 5.0.3
|
domhandler: 5.0.3
|
||||||
|
|
||||||
|
dotenv@16.4.7: {}
|
||||||
|
|
||||||
dotenv@8.6.0: {}
|
dotenv@8.6.0: {}
|
||||||
|
|
||||||
drizzle-orm@0.31.4(@libsql/client@0.14.0)(@types/react@18.3.12)(react@18.3.1):
|
drizzle-orm@0.31.4(@libsql/client@0.14.0)(@types/react@18.3.12)(react@18.3.1):
|
||||||
|
|
Loading…
Reference in a new issue