Skip to content
Prev Previous commit
Next Next commit
NodeJS: pass a package namespace downstream
  • Loading branch information
ringods committed Oct 17, 2025
commit 6072b6b3c1bf131a65b3993e37c206433501b1e0
1 change: 1 addition & 0 deletions pkg/codegen/nodejs.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ func GenerateNodeJS(pg *PackageGenerator, cs *CodegenSettings) (map[string]*byte
pkg := pg.SchemaPackageWithObjectMetaType()
oldName := pkg.Name
pkg.Name = cs.PackageName
pkg.Namespace = cs.PackageNamespace

files, err := nodejs.GeneratePackage(PulumiToolName, pkg, nil, nil, true, nil)
if err != nil {
Expand Down