From b1a78c20e59e56db00d770e292dab22ffcd06f24 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:01:36 +0200 Subject: [PATCH 1/9] ci: add macos-14 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80a11f7..18a86ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-2022] + os: [ubuntu-latest, macos-15-intel, macos-14, windows-2022] node-version: [22.x] steps: - name: Checkout From c4851a73ac802df8f7df692b18673423c5a3be64 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:05:21 +0200 Subject: [PATCH 2/9] feat: 10.13 is the min target --- binding.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index d4ebba5..431f161 100644 --- a/binding.gyp +++ b/binding.gyp @@ -28,7 +28,7 @@ "cxx": "clang++" }, "cflags": [ - "-O2", "-fstack-protector-strong" + "-O2", "-fstack-protector-strong", "-mmacosx-version-min=10.13" ] }], ['OS=="mac" and target_arch=="arm64"', { From 984bb3845a51f1846e4f06dd1c4e5856c48146c8 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:09:56 +0200 Subject: [PATCH 3/9] feat: 10.13 is the min target --- binding.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binding.gyp b/binding.gyp index 431f161..89e4c10 100644 --- a/binding.gyp +++ b/binding.gyp @@ -24,6 +24,9 @@ "defines": [ "MACOS", ], + "xcode_settings": { + "MACOSX_DEPLOYMENT_TARGET": "10.13" + }, "variables": { "cxx": "clang++" }, From 535b59b4068d1331df6a635e25c9601a20232fb0 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:12:36 +0200 Subject: [PATCH 4/9] feat: 10.13 is the min target --- binding.gyp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/binding.gyp b/binding.gyp index 89e4c10..ffe40c2 100644 --- a/binding.gyp +++ b/binding.gyp @@ -30,6 +30,12 @@ "variables": { "cxx": "clang++" }, + "cflags!": [ + "-mmacosx-version-min=10.7" + ], + "cflags_cc!": [ + "-mmacosx-version-min=10.7" + ], "cflags": [ "-O2", "-fstack-protector-strong", "-mmacosx-version-min=10.13" ] From c1cdd9d684461ee03d9085d1aa85e98b45fef469 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:14:43 +0200 Subject: [PATCH 5/9] feat: 10.13 is the min target --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 18a86ea..d281e9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,6 +52,10 @@ jobs: ) mkdir -p "$HOME/.gyp" echo "$includes" > "$HOME/.gyp/include.gypi" + + - name: Configure macOS + if: runner.os == 'macOS' + run: echo "MACOSX_DEPLOYMENT_TARGET=10.13" >> "$GITHUB_ENV" - name: Configure Windows if: runner.os == 'Windows' From 35ebe7358151976f8e95193858b8d63f0f5b5b48 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:44:56 +0200 Subject: [PATCH 6/9] feat: 10.13 is the min target --- binding.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/binding.gyp b/binding.gyp index ffe40c2..3adeac2 100644 --- a/binding.gyp +++ b/binding.gyp @@ -38,6 +38,9 @@ ], "cflags": [ "-O2", "-fstack-protector-strong", "-mmacosx-version-min=10.13" + ], + "cflags_cc": [ + "-mmacosx-version-min=10.13" ] }], ['OS=="mac" and target_arch=="arm64"', { From b34c2ca5ed8778a69eb079029913441af93e0194 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:52:02 +0200 Subject: [PATCH 7/9] feat: 10.13 is the min target --- .github/workflows/ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d281e9d..03d6ab6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,27 @@ jobs: - name: Configure macOS if: runner.os == 'macOS' - run: echo "MACOSX_DEPLOYMENT_TARGET=10.13" >> "$GITHUB_ENV" + run: | + set -e + includes=$(cat << 'EOF' + { + "target_defaults": { + "conditions": [ + ["OS=='mac'", { + "cflags_cc!": [ "-mmacosx-version-min=10.7" ], + "cflags_cc": [ "-mmacosx-version-min=10.13" ], + "xcode_settings": { + "MACOSX_DEPLOYMENT_TARGET": "10.13" + } + }] + ] + } + } + EOF + ) + mkdir -p "$HOME/.gyp" + echo "$includes" > "$HOME/.gyp/include.gypi" + echo "MACOSX_DEPLOYMENT_TARGET=10.13" >> "$GITHUB_ENV" - name: Configure Windows if: runner.os == 'Windows' From 7f83d35ed8d013e64daf13d6067f7b895a3d98bc Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sat, 24 Oct 2026 09:59:37 +0200 Subject: [PATCH 8/9] feat: 10.13 is the min target --- .github/workflows/ci.yml | 24 ------------------------ binding.gyp | 19 +++++++++++-------- 2 files changed, 11 insertions(+), 32 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03d6ab6..bf2ef59 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,30 +53,6 @@ jobs: mkdir -p "$HOME/.gyp" echo "$includes" > "$HOME/.gyp/include.gypi" - - name: Configure macOS - if: runner.os == 'macOS' - run: | - set -e - includes=$(cat << 'EOF' - { - "target_defaults": { - "conditions": [ - ["OS=='mac'", { - "cflags_cc!": [ "-mmacosx-version-min=10.7" ], - "cflags_cc": [ "-mmacosx-version-min=10.13" ], - "xcode_settings": { - "MACOSX_DEPLOYMENT_TARGET": "10.13" - } - }] - ] - } - } - EOF - ) - mkdir -p "$HOME/.gyp" - echo "$includes" > "$HOME/.gyp/include.gypi" - echo "MACOSX_DEPLOYMENT_TARGET=10.13" >> "$GITHUB_ENV" - - name: Configure Windows if: runner.os == 'Windows' shell: pwsh diff --git a/binding.gyp b/binding.gyp index 3adeac2..a80467f 100644 --- a/binding.gyp +++ b/binding.gyp @@ -5,13 +5,16 @@ "sources": [ "src/main.cc" ], - "dependencies": [ - " Date: Sat, 24 Oct 2026 10:19:31 +0200 Subject: [PATCH 9/9] build: increment version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index da53d74..3ad5093 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vscodium/policy-watcher", - "version": "1.6.0-267122", + "version": "1.6.0-267136", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@vscodium/policy-watcher", - "version": "1.6.0-267122", + "version": "1.6.0-267136", "license": "MIT", "dependencies": { "bindings": "^1.5.0", diff --git a/package.json b/package.json index 3cb2b67..d285cac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vscodium/policy-watcher", - "version": "1.6.0-267122", + "version": "1.6.0-267136", "description": "", "main": "index.js", "homepage": "https://github.com/VSCodium/policy-watcher",