googleapis / googleapis/google-api-nodejs-client

tsconfig gets packed to individual packages

Open
#3,057 0 comments 0 reactions 0 assignees View on GitHub
priority: p2 type: bug
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

Visual Studio code shows compilation errors for `node_modules` folder if a package from `@googleapis/` is installed:

image

image

The reason for that is that those packages include `tsconfig.json` which extends a (not installed) `gts` config, which wouldn't exist:

image

We should include `files:` section to the generated `package.json` for `@googleapis/` packages and include only files that are needed there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.