fix(deps): update dependency jscodeshift to v0.16.1 - autoclosed #32299
ci.yml
on: pull_request
🔍 Detect changes
9s
✅ Check constraints, dependencies, and package.json's
12s
✅ Check constraints, dependencies, and package.json's
0s
🌲 Tutorial E2E / node 20 latest
0s
🌲 Create Redwood App
0s
Server tests
0s
Matrix: build-lint-test-skip
Matrix: cli-smoke-tests-skip
Matrix: fragments-smoke-tests-skip
Matrix: rsc-smoke-tests-skip
Matrix: smoke-tests-react-18-skip
Matrix: smoke-tests-skip
Matrix: ssr-smoke-tests-skip
Matrix: telemetry-check-skip
Matrix: rsc-smoke-tests
Matrix: ssr-smoke-tests
🌲 Tutorial E2E / node 20 latest
8m 39s
🌲 Create Redwood App
6m 1s
Server tests
5m 36s
Matrix: build-lint-test
Matrix: cli-smoke-tests
Matrix: fragments-smoke-tests
Matrix: smoke-tests-react-18
Matrix: smoke-tests
Matrix: telemetry-check
Annotations
13 errors
🔄 CLI smoke tests / ubuntu-latest / node 20 latest
Process completed with exit code 1.
|
src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts > Middleware codemod > Handles the default TSX case:
packages/cli/src/testUtils/matchTransformSnapshot.ts#L84
AssertionError: expected 'import type { TagDescriptor } from "@…' to deeply equal 'import OgImageMiddleware from "@redwo…'
- Expected
+ Received
- import OgImageMiddleware from "@redwoodjs/ogimage-gen/middleware";
import type { TagDescriptor } from "@redwoodjs/web";
import App from "./App";
import { Document } from "./Document";
interface Props {
css: string[];
meta?: TagDescriptor[];
}
export const ServerEntry: React.FC<Props> = ({ css, meta }) => {
return (
<Document css={css} meta={meta}>
<App />
</Document>
);
- };
-
- export const registerMiddleware = async () => {
- const ogMw = new OgImageMiddleware({
- App,
- Document,
- });
-
- return [ogMw];
};
❯ matchTransformSnapshot src/testUtils/matchTransformSnapshot.ts:84:48
❯ src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts:5:5
|
src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts > Middleware codemod > Handles when OgImageMiddleware is already imported:
packages/cli/src/testUtils/matchTransformSnapshot.ts#L84
AssertionError: expected 'import OgImageMiddleware from "@redwo…' to deeply equal 'import OgImageMiddleware from "@redwo…'
- Expected
+ Received
import OgImageMiddleware from "@redwoodjs/ogimage-gen/middleware";
import type { TagDescriptor } from "@redwoodjs/web";
import App from "./App";
import { Document } from "./Document";
interface Props {
css: string[];
meta?: TagDescriptor[];
}
export const ServerEntry: React.FC<Props> = ({ css, meta }) => {
return (
<Document css={css} meta={meta}>
<App />
</Document>
);
};
- export const registerMiddleware = async () => {
- const ogMw = new OgImageMiddleware({
- App,
- Document,
- });
-
- return [ogMw];
- };
-
❯ matchTransformSnapshot src/testUtils/matchTransformSnapshot.ts:84:48
❯ src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts:9:5
|
src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts > Middleware codemod > Handles when registerMiddleware function is already defined:
packages/cli/src/testUtils/matchTransformSnapshot.ts#L84
AssertionError: expected 'import type { TagDescriptor } from "@…' to deeply equal 'import OgImageMiddleware from "@redwo…'
- Expected
+ Received
- import OgImageMiddleware from "@redwoodjs/ogimage-gen/middleware";
import type { TagDescriptor } from "@redwoodjs/web";
import App from "./App";
import { Document } from "./Document";
interface Props {
css: string[];
meta?: TagDescriptor[];
}
export const ServerEntry: React.FC<Props> = ({ css, meta }) => {
return (
<Document css={css} meta={meta}>
<App />
</Document>
);
};
export const registerMiddleware = async () => {
const mojomboMiddleware = () => {
while (true) {
console.log("RedwoodJS is awesome!");
}
};
- const ogMw = new OgImageMiddleware({
- App,
- Document,
- });
-
- return [mojomboMiddleware, ogMw];
+ return [mojomboMiddleware];
};
❯ matchTransformSnapshot src/testUtils/matchTransformSnapshot.ts:84:48
❯ src/commands/setup/middleware/ogImage/__codemod_tests__/middleware.ts:13:5
|
src/commands/setup/middleware/ogImage/__codemod_tests__/vitePlugin.ts > Vite plugin codemod > Handles the default vite config case:
packages/cli/src/testUtils/matchTransformSnapshot.ts#L84
AssertionError: expected 'import dns from "dns";\n\nimport type…' to deeply equal 'import vitePluginOgImageGen from "@re…'
- Expected
+ Received
- import vitePluginOgImageGen from "@redwoodjs/ogimage-gen/plugin";
import dns from "dns";
import type { UserConfig } from "vite";
import { defineConfig } from "vite";
import redwood from "@redwoodjs/vite";
// So that Vite will load on localhost instead of `127.0.0.1`.
// See: https://vitejs.dev/config/server-options.html#server-host.
dns.setDefaultResultOrder("verbatim");
const viteConfig: UserConfig = {
- plugins: [redwood(), vitePluginOgImageGen()],
+ plugins: [redwood()],
optimizeDeps: {
force: true,
},
};
export default defineConfig(viteConfig);
❯ matchTransformSnapshot src/testUtils/matchTransformSnapshot.ts:84:48
❯ src/commands/setup/middleware/ogImage/__codemod_tests__/vitePlugin.ts:5:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > App.tsx with no graphQLClientConfig:
packages/cli/src/testUtils/matchFolderTransform.ts#L126
Error: AssertionError: expected 'import { FatalErrorBoundary, RedwoodP…' to deeply equal 'import { FatalErrorBoundary, RedwoodP…'
File contents do not match for fixture at:
graphql/features/fragments/__testfixtures__/config-simple/output/App.tsx
❯ matchFolderTransform src/testUtils/matchFolderTransform.ts:126:5
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:10:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > App.tsx with existing inline graphQLClientConfig:
packages/cli/src/testUtils/matchFolderTransform.ts#L126
Error: AssertionError: expected 'import { FatalErrorBoundary, RedwoodP…' to deeply equal 'import { FatalErrorBoundary, RedwoodP…'
File contents do not match for fixture at:
graphql/features/fragments/__testfixtures__/existingPropInline/output/App.tsx
❯ matchFolderTransform src/testUtils/matchFolderTransform.ts:126:5
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:16:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > App.tsx with existing graphQLClientConfig in separate variable:
packages/cli/src/testUtils/matchFolderTransform.ts#L126
Error: AssertionError: expected 'import { FatalErrorBoundary, RedwoodP…' to deeply equal 'import { FatalErrorBoundary, RedwoodP…'
File contents do not match for fixture at:
graphql/features/fragments/__testfixtures__/existingPropVariable/output/App.tsx
❯ matchFolderTransform src/testUtils/matchFolderTransform.ts:126:5
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:22:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > App.tsx with existing graphQLClientConfig in separate variable, without cacheConfig property:
packages/cli/src/testUtils/matchFolderTransform.ts#L126
Error: AssertionError: expected 'import { FatalErrorBoundary, RedwoodP…' to deeply equal 'import { FatalErrorBoundary, RedwoodP…'
File contents do not match for fixture at:
graphql/features/fragments/__testfixtures__/existingPropVariableNoCacheConfig/output/App.tsx
❯ matchFolderTransform src/testUtils/matchFolderTransform.ts:126:5
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:32:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > App.tsx with existing graphQLClientConfig in separate variable with non-standard name:
packages/cli/src/testUtils/matchFolderTransform.ts#L126
Error: AssertionError: expected 'import { FatalErrorBoundary, RedwoodP…' to deeply equal 'import { FatalErrorBoundary, RedwoodP…'
File contents do not match for fixture at:
graphql/features/fragments/__testfixtures__/existingPropVariableCustomName/output/App.tsx
❯ matchFolderTransform src/testUtils/matchFolderTransform.ts:126:5
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:42:5
|
src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts > fragments graphQLClientConfig > test-project App.tsx:
packages/cli/src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts#L53
Error: ENOENT: no such file or directory, open '__fixtures__/test-project/web/src/App.tsx'
❯ src/commands/setup/graphql/features/fragments/__codemod_tests__/appGqlConfigTransform.test.ts:53:34
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '__fixtures__/test-project/web/src/App.tsx' }
|
🏗 Build, lint, test / windows-latest / node 20 latest
The job was canceled because "ubuntu-latest" failed.
|
🔄 CLI smoke tests / windows-latest / node 20 latest
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
logs
Expired
|
2.54 KB |
|