From 9312d92c9459b1bbd6a7790573a88868a104f904 Mon Sep 17 00:00:00 2001 From: Nathan Brown <32497422+KingOfTac@users.noreply.github.com> Date: Fri, 6 Sep 2024 07:55:34 -0600 Subject: [PATCH] update to support npm provenance attestation --- .github/workflows/publish-packages.yml | 3 +++ packages/adaptive-ui-designer-core/package.json | 3 +++ packages/adaptive-ui-designer-figma/package.json | 3 +++ packages/adaptive-ui/package.json | 3 +++ packages/adaptive-web-components/package.json | 3 +++ 5 files changed, 15 insertions(+) diff --git a/.github/workflows/publish-packages.yml b/.github/workflows/publish-packages.yml index aa6c0d58..b43680b8 100644 --- a/.github/workflows/publish-packages.yml +++ b/.github/workflows/publish-packages.yml @@ -3,6 +3,9 @@ name: release npm packages +permissions: + id-token: write + on: workflow_dispatch: diff --git a/packages/adaptive-ui-designer-core/package.json b/packages/adaptive-ui-designer-core/package.json index f5176353..c9b3c506 100644 --- a/packages/adaptive-ui-designer-core/package.json +++ b/packages/adaptive-ui-designer-core/package.json @@ -3,6 +3,9 @@ "version": "0.3.1", "description": "Core infrastructure for the Adaptive UI Designer", "main": "dist/esm/index.js", + "publishConfig": { + "provenance": true + }, "exports": { ".": { "types": "./dist/dts/index.d.ts", diff --git a/packages/adaptive-ui-designer-figma/package.json b/packages/adaptive-ui-designer-figma/package.json index 1f62a27d..744c10bd 100644 --- a/packages/adaptive-ui-designer-figma/package.json +++ b/packages/adaptive-ui-designer-figma/package.json @@ -3,6 +3,9 @@ "version": "0.4.1", "description": "Figma integration for Adaptive Web.", "main": "./dist/lib/index.js", + "publishConfig": { + "provenance": true + }, "bin": { "aui-figma-compiler": "./bin/aui-figma-compiler.js" }, diff --git a/packages/adaptive-ui/package.json b/packages/adaptive-ui/package.json index 0938c80e..cdaaaa92 100644 --- a/packages/adaptive-ui/package.json +++ b/packages/adaptive-ui/package.json @@ -5,6 +5,9 @@ "type": "module", "sideEffects": false, "license": "MIT", + "publishConfig": { + "provenance": true + }, "author": { "name": "Adaptive Web Community", "url": "https://github.com/adaptive-web-community" diff --git a/packages/adaptive-web-components/package.json b/packages/adaptive-web-components/package.json index 09cfe9ee..c9acbd16 100644 --- a/packages/adaptive-web-components/package.json +++ b/packages/adaptive-web-components/package.json @@ -18,6 +18,9 @@ "url": "https://github.com/adaptive-web-community/adaptive-web-components.git", "directory": "packages/adaptive-web-components" }, + "publishConfig": { + "provenance": true + }, "main": "dist/adaptive-web-components.cjs", "module": "dist/esm/index.js", "types": "dist/dts/index.d.ts",