Skip to content

feat: tsconfig, gitignore, npm script enhancements - #782

Merged
kanadgupta merged 9 commits into
mainfrom
kanad/rm-8189-look-into-using-esnext-etc-for-tsconfigjson
Oct 25, 2023
Merged

feat: tsconfig, gitignore, npm script enhancements#782
kanadgupta merged 9 commits into
mainfrom
kanad/rm-8189-look-into-using-esnext-etc-for-tsconfigjson

Conversation

@kanadgupta

@kanadgupta kanadgupta commented Oct 23, 2023

Copy link
Copy Markdown
Contributor
🚥 Resolves RM-8234, Resolves RM-8189

🧰 Changes

Makes a few enhancements in the codegen'd SDK directory:

  • Makes a few changes to the tsconfig.json to better match what's going on (this cheatsheet has been very helpful)
  • Creates a .gitignore file that ignores the dist/ directory since that directory is being autogenerated on a regular basis with the prepare npm script
  • Adds a lint npm script so the user can typecheck their SDK if needed.

🧬 QA & Testing

I confirmed that the SDK changes work well in my sandbox!

@kanadgupta kanadgupta added enhancement New feature or request area:core Issues related to `core`, which is the package that powers the SDKs at runtime labels Oct 25, 2023
@kanadgupta
kanadgupta requested a review from erunion October 25, 2023 17:54
@kanadgupta
kanadgupta marked this pull request as ready for review October 25, 2023 17:54
Comment thread packages/api/src/codegen/languages/typescript/index.ts
Comment thread packages/api/src/codegen/languages/typescript/index.ts
Comment on lines 2 to +7
"compilerOptions": {
"module": "NodeNext",
"resolveJsonModule": true
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"strict": true

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is attw still happy with these changes?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good reminder, i hadn't checked that — but yes!

CleanShot 2023-10-25 at 13 55 04@2x

@kanadgupta kanadgupta changed the title chore: tsconfig tweaks feat: tsconfig, gitignore, npm script enhancements Oct 25, 2023
@kanadgupta
kanadgupta merged commit cd9e22c into main Oct 25, 2023
@kanadgupta
kanadgupta deleted the kanad/rm-8189-look-into-using-esnext-etc-for-tsconfigjson branch October 25, 2023 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:core Issues related to `core`, which is the package that powers the SDKs at runtime enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants