Skip to content

Commit

Permalink
Update core development dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonmade committed Feb 17, 2025
1 parent 6208c6c commit 903575a
Show file tree
Hide file tree
Showing 26 changed files with 730 additions and 1,466 deletions.
8 changes: 8 additions & 0 deletions .changeset/hip-sheep-start.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@quilted/cloudflare': patch
'@quilted/deno': patch
'@quilted/cli-kit': patch
'@quilted/create': patch
---

Update development dependencies
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v20.18.0
v22.14.0
2 changes: 1 addition & 1 deletion integrations/cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"devDependencies": {
"@quilted/quilt": "workspace:*",
"@quilted/rollup": "workspace:*",
"@types/common-tags": "^1.8.0",
"@types/common-tags": "^1.8.4",
"@types/mime": "^2.0.0"
}
}
2 changes: 1 addition & 1 deletion integrations/deno/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"build": "rollup --config configuration/rollup.config.js"
},
"dependencies": {
"@types/common-tags": "^1.8.0"
"@types/common-tags": "^1.8.4"
},
"peerDependencies": {
"@quilted/quilt": "workspace:^0.8.8",
Expand Down
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@
},
"packageManager": "[email protected]+sha512.f549b8a52c9d2b8536762f99c0722205efc5af913e77835dbccc3b0b0b2ca9e7dc8022b78062c17291c48e88749c70ce88eb5a74f1fa8c4bf5e18bb46c8bd83a",
"devDependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.5",
"@actions/core": "^1.11.0",
"@actions/github": "^6.0.0",
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.28.0",
"@quilted/events": "workspace:^",
"@quilted/performance": "workspace:^",
"@quilted/prettier": "workspace:^",
"@quilted/quilt": "workspace:^",
"@quilted/rollup": "workspace:^",
"@quilted/typescript": "workspace:^",
"@quilted/vite": "workspace:^",
"@types/common-tags": "^1.8.1",
"@types/node": "^20.8.0",
"@types/common-tags": "^1.8.4",
"@types/node": "^22.13.0",
"@types/react": "^18.2.0",
"@types/react-dom": "^18.2.0",
"common-tags": "^1.8.2",
"esbuild": "^0.23.0",
"execa": "^6.1.0",
"jsdom": "^24.0.0",
"execa": "^9.5.0",
"jsdom": "^26.0.0",
"preact": "^10.21.0",
"prettier": "^3.2.0",
"prettier": "^3.5.0",
"rollup": "^4.14.0",
"source-map-support": "^0.5.0",
"tsx": "^4.9.3",
"typescript": "^5.5.0",
"tsx": "^4.19.0",
"typescript": "^5.7.0",
"vite": "^5.3.0",
"vitest": "^2.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/cli-kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
},
"dependencies": {
"@quilted/events": "workspace:^2.0.0",
"@types/common-tags": "^1.8.1",
"@types/common-tags": "^1.8.0",
"@types/glob": "^8.0.0",
"@types/prompts": "^2.4.1",
"@types/prompts": "^2.4.0",
"arg": "^5.0.2",
"colorette": "^2.0.19",
"glob": "^8.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"devDependencies": {
"@quilted/cli-kit": "workspace:^0.2.0",
"@types/common-tags": "^1.8.0",
"@types/common-tags": "^1.8.4",
"@trpc/client": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/source/shared/prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export async function getCreateAsMonorepo(
) {
let createAsMonorepo: boolean;

if (argv['--monorepo' || argv['--yes']]) {
if (argv['--monorepo'] || argv['--yes']) {
createAsMonorepo = true;
} else if (argv['--no-monorepo']) {
createAsMonorepo = false;
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/app-basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"dependencies": {},
"devDependencies": {
"@quilted/quilt": "^0.8.0",
"jsdom": "^24.0.0",
"jsdom": "^26.0.0",
"preact": "^10.21.0",
"react": "npm:@quilted/react@^18.2.0",
"react-dom": "npm:@quilted/react-dom@^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/app-graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@quilted/graphql-tools": "^0.2.0",
"@quilted/quilt": "^0.8.0",
"graphql": "^16.8.0",
"jsdom": "^24.0.0",
"jsdom": "^26.0.0",
"preact": "^10.21.0",
"react": "npm:@quilted/react@^18.2.0",
"react-dom": "npm:@quilted/react-dom@^18.2.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/app-trpc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@trpc/client": "next",
"@trpc/react-query": "next",
"@trpc/server": "next",
"jsdom": "^24.0.0",
"jsdom": "^26.0.0",
"preact": "^10.21.0",
"react": "npm:@quilted/react@^18.2.0",
"react-dom": "npm:@quilted/react-dom@^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/templates/workspace/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"rollup": "^4.21.0",
"prettier": "^3.3.0",
"tsx": "^4.19.0",
"typescript": "^5.5.0",
"typescript": "^5.7.0",
"vite": "^5.4.0",
"vitest": "^2.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/graphql/source/ast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ export function getSelectionTypeMap(
const {typeCondition: typeConditionNode, selectionSet} = selection;

const typeCondition = typeConditionNode
? (context.schema.getType(
? ((context.schema.getType(
typeConditionNode.name.value,
) as GraphQLSelectableType) ?? undefined
) as GraphQLSelectableType) ?? undefined)
: undefined;

for (const selection of selectionSet.selections) {
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-async/source/AsyncComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function normalizeRender<Props>(
render?: ComponentChildren | ((props: Props) => ComponentChildren),
props: Props = {} as any,
): ComponentChildren {
return typeof render === 'function' ? render(props) : render ?? null;
return typeof render === 'function' ? render(props) : (render ?? null);
}

function displayNameFromId(id?: string) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function createRouteLocalization({

if (target.startsWith('/')) {
const fromTarget =
fromLocale == null ? '/' : localeMap.get(fromLocale) ?? '/';
fromLocale == null ? '/' : (localeMap.get(fromLocale) ?? '/');

toUrl.pathname = normalizePath(
toUrl.pathname.replace(fromTarget, target),
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-testing/source/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ export function nodeName<Props>({type}: Node<Props>) {

return typeof type === 'string'
? type
: type.displayName ?? type.name ?? 'Component';
: (type.displayName ?? type.name ?? 'Component');
}
2 changes: 1 addition & 1 deletion packages/react-testing/source/print.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,5 +112,5 @@ export function nodeName<Props>({type}: Node<Props>) {

return typeof type === 'string'
? type
: type.displayName ?? type.name ?? 'Component';
: (type.displayName ?? type.name ?? 'Component');
}
2 changes: 1 addition & 1 deletion packages/rollup/source/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,7 +973,7 @@ export function quiltAppServerInput({
const finalEntry =
format === 'request-router'
? MAGIC_MODULE_ENTRY
: serverEntry ?? MAGIC_MODULE_ENTRY;
: (serverEntry ?? MAGIC_MODULE_ENTRY);
const finalEntryName =
typeof serverEntry === 'string'
? path.basename(serverEntry).split('.').slice(0, -1).join('.')
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/source/features/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export interface MagicModuleEnvOptions {
export function resolveEnvOption(
option?: MagicModuleEnvOptions['mode'] | MagicModuleEnvOptions,
) {
return typeof option === 'string' ? {mode: option} : option ?? {};
return typeof option === 'string' ? {mode: option} : (option ?? {});
}

export function magicModuleEnv({
Expand Down
2 changes: 1 addition & 1 deletion packages/rollup/source/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export async function quiltServer({
const finalEntry =
format === 'request-router'
? MAGIC_MODULE_ENTRY
: serverEntry ?? MAGIC_MODULE_ENTRY;
: (serverEntry ?? MAGIC_MODULE_ENTRY);

const finalEntryName = serverEntry
? path.basename(serverEntry).split('.').slice(0, -1).join('.')
Expand Down
2 changes: 1 addition & 1 deletion packages/vite/source/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export async function quiltApp({
react: useReact = true,
graphql: useGraphQL = true,
}: AppOptions = {}) {
const mode = typeof env === 'string' ? env : env?.mode ?? 'development';
const mode = typeof env === 'string' ? env : (env?.mode ?? 'development');

const [
{default: prefresh},
Expand Down
Loading

0 comments on commit 903575a

Please sign in to comment.