Drop the yarn link step from make install

This commit is contained in:
2026-08-08 15:28:53 +03:00
parent bb3c15135b
commit 096e5c0974

View File

@@ -64,12 +64,11 @@ build_dotnet: tfgen
# ------------------------------------------------------------------ local ----
.PHONY: install
install: provider install_nodejs_sdk ## Install the plugin locally so `pulumi up` can find it
install: provider ## Install the plugin locally so `pulumi up` can find it
pulumi plugin install resource $(PACK) $(VERSION) --file $(WORKING_DIR)/bin/$(PROVIDER) --reinstall
.PHONY: install_nodejs_sdk
install_nodejs_sdk:
@if [ -d sdk/nodejs/bin ]; then yarn link --cwd sdk/nodejs/bin; fi
@echo
@echo "To use the unpublished Node SDK from a local program:"
@echo " make build_nodejs && npm install $(WORKING_DIR)/sdk/nodejs"
.PHONY: lint
lint: ## Vet and format-check the provider sources