Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use @golemcloud org + Config improvements #4

Merged
merged 5 commits into from
Jun 14, 2024
Merged

Conversation

nicoburniske
Copy link
Member

@nicoburniske nicoburniske commented Jun 14, 2024

  • rename package from golem-ts to @golemcloud/golem-ts
  • Updated tsconfig.json to use node types instead of including dom in lib array
  • Added @types/node as dev dependency
  • Use 4 space indent instead of 3
  • Export and fix fetchSync types

@@ -20,15 +20,18 @@ import type { Result } from "./result";
* @param input
* @param init
*/
function fetchSync(input: RequestInfo | URL, init?: RequestInit): Response {
Copy link
Member Author

Choose a reason for hiding this comment

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

changes to types here to be compatible with node types

"lib": ["es2020", "dom"]
"lib": ["es2020"],
"types": ["node"],
"moduleResolution": "Node"
Copy link
Member Author

Choose a reason for hiding this comment

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

removed dom from lib (because we are not running in browser) and set moduleResolution to Node

"enabled": true,
"lineWidth": 100,
"indentStyle": "space",
"indentWidth": 3
Copy link
Member Author

@nicoburniske nicoburniske Jun 14, 2024

Choose a reason for hiding this comment

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

indentWidth 3 -> 4

@nicoburniske nicoburniske merged commit f3dde33 into main Jun 14, 2024
2 checks passed
@nicoburniske nicoburniske deleted the config_improvements branch June 14, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants