Socket
Socket
Sign inDemoInstall

@pulumi/pulumi

Package Overview
Dependencies
287
Maintainers
0
Versions
4234
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pulumi/pulumi

Pulumi's Node.js SDK


Version published
Maintainers
0
Created

Changelog

Source

3.121.0 (2024-06-22)

Features

  • [cli/install] Make pulumi install work for policy packs #16438

  • [engine] Resolve provider in the engine before passing it to transforms #16409

  • [sdk/go] Suggest valid attributes with similar names to unrecognised ones when validating project definitions #16097

  • [cli/new] Allow passing runtime options as args in pulumi new #16346

  • [cli/new] Query language runtime for options during “pulumi new” #16346

  • [cli/new] Add packagemanager prompt to pulumi new for nodejs #16417

  • [sdk/nodejs] Detect pnpm workspaces when running pulumi install #15525

  • [sdk/nodejs] Add options to Workspace::removeStack() #16333

  • [sdk/python] Automatically convert requirements.txt to pyproject.toml when using Poetry #16346

  • [sdkgen/python] Generate TypedDict types for inputs #15957

Bug Fixes

  • [engine] Fix a panic when ignoring wildcard values with arrays of different length #16406

  • [engine] Fix provider Deletes #16441

  • [cli/engine] Fix --continue-on-error running indefinitely when a resource fails to be created or updated #16371

  • [sdk/nodejs] Avoid an unhandled error when dependencies is missing from package.json during closure serialization #16433

  • [cli/plugin] Fix plugin install command when plugin type is tool #16407

  • [sdk/python] Fix Python SDK docs by escaping the trailing underscore in a docstring #14866

  • [sdk/python] Don't incorrectly emit deprecation warnings for non-deprecated properties #16400

  • [sdk/python] Handle extra CLI arguments passed policy packs plugins #16402

  • [sdk/python] Add VIRTUAL_ENV environment variable when running inside a virtual environment #16425

  • [sdk/python] Don't lift dunder attributes on Outputs #16439

Miscellaneous

  • [sdk/{go,nodejs,python}] Add register resource transform alias for register stack transform #16435

  • [cli/new] Instruct the user to use 'pulumi install' when using --generate-only #16411

Readme

Source

Pulumi Node.js SDK

The Pulumi Node.js SDK lets you write cloud programs in JavaScript.

Installation

Using npm:

$ npm install --save @pulumi/pulumi

Using yarn:

$ yarn add @pulumi/pulumi

This SDK is meant for use with the Pulumi CLI. Visit Pulumi's Download & Install to install the CLI.

Building and Testing

For anybody who wants to build from source, here is how you do it.

Prerequisites

This SDK uses Node.js and we support any of the Current, Active and Maintenance LTS versions. We support both NPM and Yarn for package management.

At the moment, we only support building on macOS and Linux, where standard GNU tools like make are available.

Make Targets

To build the SDK, simply run make from the root directory (where this README lives, at sdk/nodejs/ from the repo's root). This will build the code, run tests, and install the package and its supporting artifacts.

At the moment, for local development, we install everything into $HOME/.dev-pulumi. You will want this on your $PATH.

The tests will verify that everything works, but feel free to try running pulumi preview and/or pulumi up from the examples/minimal/ directory. Remember to run tsc first, since pulumi expects JavaScript, not TypeScript.

FAQs

Last updated on 22 Jun 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc