From 630f0a1d4e8a315d0f0c0f140ddd4914dad6afd0 Mon Sep 17 00:00:00 2001 From: Eugene Chybisov <18644653+chybisov@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:58:57 +0200 Subject: [PATCH] ci: enable provenance (#282) --- .github/workflows/publish.yaml | 6 ++++- .nvmrc | 2 +- package.json | 2 +- packages/wallet-management/package.json | 10 ++++---- packages/widget-embedded/package.json | 6 ++--- packages/widget-playground-next/package.json | 8 +++---- packages/widget-playground-vite/package.json | 8 +++---- packages/widget-playground/package.json | 2 +- packages/widget/package.json | 4 ++-- packages/widget/src/config/version.ts | 2 +- yarn.lock | 24 ++++++++++---------- 11 files changed, 39 insertions(+), 35 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index f2800312a..127e26d7e 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -10,9 +10,9 @@ on: jobs: release: - runs-on: ubuntu-latest permissions: contents: write + runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v4 @@ -28,6 +28,9 @@ jobs: prerelease: false publish: + permissions: + contents: write + id-token: write runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -40,3 +43,4 @@ jobs: yarn release:publish${{ contains(github.ref_name, 'alpha') && ':alpha' || contains(github.ref_name, 'beta') && ':beta' || '' }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_CONFIG_PROVENANCE: true diff --git a/.nvmrc b/.nvmrc index 3c032078a..2bd5a0a98 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +22 diff --git a/package.json b/package.json index 28eb64cb9..dfb59993f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "3.4.0-beta.0", + "version": "3.4.0-beta.2", "private": true, "sideEffects": false, "type": "module", diff --git a/packages/wallet-management/package.json b/packages/wallet-management/package.json index ef7f7d85b..33b6dd328 100644 --- a/packages/wallet-management/package.json +++ b/packages/wallet-management/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/wallet-management", - "version": "3.0.7-beta.0", + "version": "3.0.7-beta.1", "description": "LI.FI Wallet Management solution.", "type": "module", "main": "./src/index.ts", @@ -22,14 +22,14 @@ "publishConfig": { "access": "public" }, - "author": "Adrian Weniger ", - "homepage": "https://github.com/lifinance/wallet-management", + "author": "Eugene Chybisov ", + "homepage": "https://github.com/lifinance/widget", "repository": { "type": "git", - "url": "git+ssh://git@github.com/lifinance/wallet-management.git" + "url": "git+ssh://git@github.com/lifinance/widget.git" }, "bugs": { - "url": "https://github.com/lifinance/wallet-management/issues" + "url": "https://github.com/lifinance/widget/issues" }, "license": "Apache-2.0", "keywords": [ diff --git a/packages/widget-embedded/package.json b/packages/widget-embedded/package.json index af9945234..73be35539 100644 --- a/packages/widget-embedded/package.json +++ b/packages/widget-embedded/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/widget-embedded", - "version": "1.0.207", + "version": "1.0.209", "type": "module", "scripts": { "analyze": "source-map-explorer 'dist/assets/*.js' --no-border-checks", @@ -20,8 +20,8 @@ "author": "Eugene Chybisov ", "dependencies": { "@lifi/sdk": "^3.1.3", - "@lifi/wallet-management": "^3.0.7-beta.0", - "@lifi/widget": "^3.4.0-beta.0", + "@lifi/wallet-management": "^3.0.7-beta.1", + "@lifi/widget": "^3.4.0-beta.1", "@mui/icons-material": "^5.16.5", "@mui/lab": "^5.0.0-alpha.173", "@mui/material": "^5.16.5", diff --git a/packages/widget-playground-next/package.json b/packages/widget-playground-next/package.json index 9b266c136..5d6785d7e 100644 --- a/packages/widget-playground-next/package.json +++ b/packages/widget-playground-next/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/widget-playground-next", - "version": "1.0.207", + "version": "1.0.209", "scripts": { "dev": "next dev -p 3001", "build": "next build", @@ -17,9 +17,9 @@ "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@lifi/sdk": "^3.1.3", - "@lifi/wallet-management": "^3.0.7-beta.0", - "@lifi/widget": "^3.4.0-beta.0", - "@lifi/widget-playground": "^1.0.207", + "@lifi/wallet-management": "^3.0.7-beta.1", + "@lifi/widget": "^3.4.0-beta.1", + "@lifi/widget-playground": "^1.0.209", "@mui/icons-material": "^5.16.5", "@mui/material": "^5.16.5", "@mui/material-nextjs": "^5.16.4", diff --git a/packages/widget-playground-vite/package.json b/packages/widget-playground-vite/package.json index 02c78c9b3..5ca5c51b1 100644 --- a/packages/widget-playground-vite/package.json +++ b/packages/widget-playground-vite/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/widget-playground-vite", - "version": "1.0.207", + "version": "1.0.209", "type": "module", "scripts": { "analyze": "source-map-explorer 'dist/assets/*.js' --no-border-checks", @@ -19,9 +19,9 @@ "author": "Eugene Chybisov ", "dependencies": { "@lifi/sdk": "^3.1.3", - "@lifi/wallet-management": "^3.0.7-beta.0", - "@lifi/widget": "^3.4.0-beta.0", - "@lifi/widget-playground": "^1.0.207", + "@lifi/wallet-management": "^3.0.7-beta.1", + "@lifi/widget": "^3.4.0-beta.1", + "@lifi/widget-playground": "^1.0.209", "@mui/icons-material": "^5.16.5", "@mui/material": "^5.16.5", "@rainbow-me/rainbowkit": "^2.1.3", diff --git a/packages/widget-playground/package.json b/packages/widget-playground/package.json index f05e91c3a..40a9ba045 100644 --- a/packages/widget-playground/package.json +++ b/packages/widget-playground/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/widget-playground", - "version": "1.0.207", + "version": "1.0.209", "type": "module", "main": "./src/index.ts", "types": "./src/index.d.ts", diff --git a/packages/widget/package.json b/packages/widget/package.json index dead073dc..b0547c042 100644 --- a/packages/widget/package.json +++ b/packages/widget/package.json @@ -1,6 +1,6 @@ { "name": "@lifi/widget", - "version": "3.4.0-beta.0", + "version": "3.4.0-beta.1", "description": "LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.", "type": "module", "main": "./src/index.ts", @@ -51,7 +51,7 @@ "@emotion/react": "^11.13.0", "@emotion/styled": "^11.13.0", "@lifi/sdk": "^3.1.3", - "@lifi/wallet-management": "^3.0.7-beta.0", + "@lifi/wallet-management": "^3.0.7-beta.1", "@mui/icons-material": "^5.16.5", "@mui/lab": "^5.0.0-alpha.173", "@mui/material": "^5.16.5", diff --git a/packages/widget/src/config/version.ts b/packages/widget/src/config/version.ts index 66ed17267..6a7675979 100644 --- a/packages/widget/src/config/version.ts +++ b/packages/widget/src/config/version.ts @@ -1,2 +1,2 @@ export const name = '@lifi/widget'; -export const version = '3.4.0-beta.0'; +export const version = '3.4.0-beta.1'; diff --git a/yarn.lock b/yarn.lock index 410fc62af..1c340fa27 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2497,7 +2497,7 @@ __metadata: languageName: node linkType: hard -"@lifi/wallet-management@npm:^3.0.7-beta.0, @lifi/wallet-management@workspace:packages/wallet-management": +"@lifi/wallet-management@npm:^3.0.7-beta.1, @lifi/wallet-management@workspace:packages/wallet-management": version: 0.0.0-use.local resolution: "@lifi/wallet-management@workspace:packages/wallet-management" dependencies: @@ -2524,8 +2524,8 @@ __metadata: dependencies: "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@lifi/sdk": "npm:^3.1.3" - "@lifi/wallet-management": "npm:^3.0.7-beta.0" - "@lifi/widget": "npm:^3.4.0-beta.0" + "@lifi/wallet-management": "npm:^3.0.7-beta.1" + "@lifi/widget": "npm:^3.4.0-beta.1" "@mui/icons-material": "npm:^5.16.5" "@mui/lab": "npm:^5.0.0-alpha.173" "@mui/material": "npm:^5.16.5" @@ -2555,9 +2555,9 @@ __metadata: "@emotion/react": "npm:^11.13.0" "@emotion/styled": "npm:^11.13.0" "@lifi/sdk": "npm:^3.1.3" - "@lifi/wallet-management": "npm:^3.0.7-beta.0" - "@lifi/widget": "npm:^3.4.0-beta.0" - "@lifi/widget-playground": "npm:^1.0.207" + "@lifi/wallet-management": "npm:^3.0.7-beta.1" + "@lifi/widget": "npm:^3.4.0-beta.1" + "@lifi/widget-playground": "npm:^1.0.209" "@mui/icons-material": "npm:^5.16.5" "@mui/material": "npm:^5.16.5" "@mui/material-nextjs": "npm:^5.16.4" @@ -2590,9 +2590,9 @@ __metadata: dependencies: "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@lifi/sdk": "npm:^3.1.3" - "@lifi/wallet-management": "npm:^3.0.7-beta.0" - "@lifi/widget": "npm:^3.4.0-beta.0" - "@lifi/widget-playground": "npm:^1.0.207" + "@lifi/wallet-management": "npm:^3.0.7-beta.1" + "@lifi/widget": "npm:^3.4.0-beta.1" + "@lifi/widget-playground": "npm:^1.0.209" "@mui/icons-material": "npm:^5.16.5" "@mui/material": "npm:^5.16.5" "@rainbow-me/rainbowkit": "npm:^2.1.3" @@ -2618,7 +2618,7 @@ __metadata: languageName: unknown linkType: soft -"@lifi/widget-playground@npm:^1.0.207, @lifi/widget-playground@workspace:packages/widget-playground": +"@lifi/widget-playground@npm:^1.0.209, @lifi/widget-playground@workspace:packages/widget-playground": version: 0.0.0-use.local resolution: "@lifi/widget-playground@workspace:packages/widget-playground" dependencies: @@ -2654,14 +2654,14 @@ __metadata: languageName: unknown linkType: soft -"@lifi/widget@npm:^3.4.0-beta.0, @lifi/widget@workspace:packages/widget": +"@lifi/widget@npm:^3.4.0-beta.1, @lifi/widget@workspace:packages/widget": version: 0.0.0-use.local resolution: "@lifi/widget@workspace:packages/widget" dependencies: "@emotion/react": "npm:^11.13.0" "@emotion/styled": "npm:^11.13.0" "@lifi/sdk": "npm:^3.1.3" - "@lifi/wallet-management": "npm:^3.0.7-beta.0" + "@lifi/wallet-management": "npm:^3.0.7-beta.1" "@mui/icons-material": "npm:^5.16.5" "@mui/lab": "npm:^5.0.0-alpha.173" "@mui/material": "npm:^5.16.5"