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

Ts example "typo"? #505

Open
daKmoR opened this issue Nov 4, 2022 · 1 comment · May be fixed by #905
Open

Ts example "typo"? #505

daKmoR opened this issue Nov 4, 2022 · 1 comment · May be fixed by #905

Comments

@daKmoR
Copy link

daKmoR commented Nov 4, 2022

shouldn't that be tsconfig.tsbuildinfo and not "just" .tsbuildinfo?

at least that is what the file is called that gets created by my ts version (4.8.4)
also that file lives in the lib folder?

or am I looking at the wrong file? 🤔

{
  "scripts": {
    "ts": "wireit"
  },
  "wireit": {
    "ts": {
      "command": "tsc --build --pretty",
      "clean": "if-file-deleted",
      "files": ["src/**/*.ts", "tsconfig.json"],
-      "output": ["lib/**", ".tsbuildinfo"]
+      "output": ["lib/**", "lib/tsconfig.tsbuildinfo"]
    }
  }
}
@augustjk
Copy link
Collaborator

augustjk commented Nov 8, 2022

I could've sworn I've seen .tsbuildinfo being generated as a default which put me through a rabbit hole. It seems it depends on a lot of other configurations. microsoft/TypeScript-Website#2393

I'm sure people reading the example will easily figure out where and what their own .tsbuildinfo is named as, but I do think your example look more sensible with outDir is set to lib.

@augustjk augustjk linked a pull request Oct 6, 2023 that will close this issue
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 a pull request may close this issue.

2 participants