Skip to content

Commit

Permalink
[cloud] Mark client.json as generated file (#24455)
Browse files Browse the repository at this point in the history
## Summary & Motivation

as titled.

## Changelog

NOCHANGELOG
  • Loading branch information
salazarm authored Sep 13, 2024
1 parent 9773296 commit 5a82882
Show file tree
Hide file tree
Showing 4 changed files with 183 additions and 4 deletions.
1 change: 1 addition & 0 deletions js_modules/dagster-ui/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ packages/core/src/graphql/* linguist-generated=true
packages/core/src/**/types/* linguist-generated=true
packages/ui-core/src/graphql/* linguist-generated=true
packages/ui-core/src/**/types/* linguist-generated=true
packages/ui-core/client.json linguist-generated=true
4 changes: 1 addition & 3 deletions js_modules/dagster-ui/packages/ui-core/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

src/tsconfig.json

client.json
src/tsconfig.json
181 changes: 181 additions & 0 deletions js_modules/dagster-ui/packages/ui-core/client.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function exportHashesAsVersionVariables() {
if (!content.includes(`${operationName}Version`)) {
content += versionConstant;
writeFileSync(filePath, content);
console.log(`Updated ${filePath} with ${operationName}Version`);
}
}
});
Expand Down

1 comment on commit 5a82882

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for dagit-core-storybook ready!

✅ Preview
https://dagit-core-storybook-4zknj5rmc-elementl.vercel.app

Built with commit 5a82882.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.