From a7e2518bec489f9c417f869b225392c67c01417a Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 22:27:55 -0500 Subject: [PATCH 1/6] updated release workflow to allow for oidc --- .github/workflows/release.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ee096e36..cd50f303 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: From fcf7e314b337270f71b65753cede72074986205e Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 22:50:39 -0500 Subject: [PATCH 2/6] more release.yml updates --- .github/workflows/release.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cd50f303..bdffd424 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,15 +5,16 @@ on: branches: - main -permissions: - id-token: write # Required for OIDC - concurrency: ${{ github.workflow }}-${{ github.ref }} jobs: release: name: Release runs-on: ubuntu-latest + permissions: + contents: write # For creating releases + pull-requests: write # For changesets PR + id-token: write # For npm OIDC env: NODE_OPTIONS: --max-old-space-size=4096 steps: @@ -22,10 +23,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 24.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 24.x cache: 'npm' - name: Install Dependencies @@ -47,5 +48,4 @@ jobs: with: publish: npm run release env: - GITHUB_TOKEN: ${{ steps.release_token.outputs.token }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + GITHUB_TOKEN: ${{ steps.release_token.outputs.token }} \ No newline at end of file From 58cf1637b75b7a33c3f2a1fe468ebd0f08d1cc46 Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 22:52:12 -0500 Subject: [PATCH 3/6] updated other workflows to node 24 --- .github/workflows/lint.yml | 4 ++-- .github/workflows/test.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 9d6a51e7..e3974ab3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,10 @@ jobs: with: fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 24.x uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 24.x cache: 'npm' - name: Install Dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f8165efb..78c128b5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Node.js environment uses: actions/setup-node@v3 with: - node-version: 18 + node-version: 24 cache: 'npm' - name: Install dependencies From ffee1f654e314c605504c8e029d9d1f36260a5e4 Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 23:02:13 -0500 Subject: [PATCH 4/6] adding repository info to package.json --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 62afe054..3b0bee0d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,9 @@ { "private": true, + "repository": { + "type": "git", + "url": "https://github.com/FlatFilers/flatfile-core-libraries.git" + }, "workspaces": [ "packages/*", "packages/angular/*", From a1f459564b92ed4c8e1e26abce08379b1a2a298f Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 23:07:57 -0500 Subject: [PATCH 5/6] debugging package.json --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 496d6674..8ee437e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,18 @@ jobs: - name: Build run: npm run build + - name: Debug package.json + run: | + echo "=== Root package.json ===" + cat package.json | grep -A 3 repository || echo "No repository field" + echo "" + echo "=== Checking dist/build output ===" + find . -name "package.json" -type f | while read f; do + echo "File: $f" + cat "$f" | grep -A 3 repository || echo "No repository field" + echo "" + done + - name: Get Release token id: release_token uses: peter-murray/workflow-application-token-action@v3 From 0dc0ee9371355fd0e2dc57ebef2cd197f5ad5596 Mon Sep 17 00:00:00 2001 From: Matt McCoy Date: Wed, 28 Jan 2026 23:13:37 -0500 Subject: [PATCH 6/6] adding repository info to cli package.json, removing debug --- .github/workflows/release.yml | 12 ------------ packages/cli/package.json | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8ee437e5..496d6674 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,18 +38,6 @@ jobs: - name: Build run: npm run build - - name: Debug package.json - run: | - echo "=== Root package.json ===" - cat package.json | grep -A 3 repository || echo "No repository field" - echo "" - echo "=== Checking dist/build output ===" - find . -name "package.json" -type f | while read f; do - echo "File: $f" - cat "$f" | grep -A 3 repository || echo "No repository field" - echo "" - done - - name: Get Release token id: release_token uses: peter-murray/workflow-application-token-action@v3 diff --git a/packages/cli/package.json b/packages/cli/package.json index 7844aeb8..a0350882 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -3,6 +3,10 @@ "version": "3.12.0", "description": "", "main": "./dist/index.js", + "repository": { + "type": "git", + "url": "https://github.com/FlatFilers/flatfile-core-libraries.git" + }, "bin": { "flatfile": "./dist/index.js" },