Commit stub SDK manifest so Dependabot can resolve the file: dependency (#142)
Dependabot's npm updater fetches manifests directly from git and aborts on every run because package.json declares "@pulumi/googleworkspace": "file:sdks/googleworkspace" while sdks/ is gitignored and only materialized by `pulumi install`. Keep the generated SDK sources ignored, but commit sdks/googleworkspace/package.json (name/version/dependencies matching the existing package-lock.json entry) so the path dependency resolves from the git tree. `pulumi install` removes and regenerates the whole SDK directory before npm ci in CI, so CI behavior is unchanged. Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Den Delimarsky <53200638+localden@users.noreply.github.com>
This commit is contained in:
parent
b6e4b13668
commit
ef304d5573
1 changed files with 18 additions and 1 deletions
11
sdks/googleworkspace/package.json
Normal file
11
sdks/googleworkspace/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"name": "@pulumi/googleworkspace",
|
||||
"version": "0.7.0",
|
||||
"description": "Stub manifest for the @pulumi/googleworkspace SDK, committed so Dependabot can resolve the file: dependency. The full SDK is generated in place by `pulumi install` (see Pulumi.yaml).",
|
||||
"dependencies": {
|
||||
"@pulumi/pulumi": "^3.142.0",
|
||||
"@types/node": "^18",
|
||||
"async-mutex": "^0.5.0",
|
||||
"typescript": "^4.3.5"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue