From 393ab84595ccfd6cac77661213fff294420da0ac Mon Sep 17 00:00:00 2001 From: FabianLars Date: Tue, 3 Dec 2024 19:17:42 +0100 Subject: [PATCH] x --- .changes/bad.md | 4 ++++ .changes/badtoo.md | 5 ----- .changes/good.md | 6 ------ .scripts/ci/check-change-files.js | 10 +++++++--- 4 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 .changes/badtoo.md delete mode 100644 .changes/good.md diff --git a/.changes/bad.md b/.changes/bad.md index 7510ba56..2d62e18e 100644 --- a/.changes/bad.md +++ b/.changes/bad.md @@ -1,5 +1,9 @@ --- upload: patch +upload-js: minor +fs: patch +fs-js: patch +localhost: patch --- test \ No newline at end of file diff --git a/.changes/badtoo.md b/.changes/badtoo.md deleted file mode 100644 index fb18834d..00000000 --- a/.changes/badtoo.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -upload-js: patch ---- - -test \ No newline at end of file diff --git a/.changes/good.md b/.changes/good.md deleted file mode 100644 index e1830eb3..00000000 --- a/.changes/good.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -upload: patch -upload-js: patch ---- - -test \ No newline at end of file diff --git a/.scripts/ci/check-change-files.js b/.scripts/ci/check-change-files.js index 34adaa04..aece556f 100644 --- a/.scripts/ci/check-change-files.js +++ b/.scripts/ci/check-change-files.js @@ -1,18 +1,20 @@ #!/usr/bin/env node -// Copyright 2019-2024 Tauri Programme within The Commons Conservancy +// Copyright 2019-2023 Tauri Programme within The Commons Conservancy // SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: MIT import { readFileSync, readdirSync } from 'fs' import { join } from 'path' -const ignorePackages = [ +/* const ignorePackages = [ 'api-example', 'api-example-js', 'deep-link-example', 'deep-link-example-js' -] +] */ + +const rsOnly = ['localhost', 'persisted-scope'] function checkChangeFiles(changeFiles) { let code = 0 @@ -37,6 +39,8 @@ function checkChangeFiles(changeFiles) { ) for (const pkg in rsPackages) { + if (rsOnly.includes(pkg)) continue + if (!jsPackages[pkg]) { console.error( `Missing "${rsPackages[pkg]}" bump for JS package "${pkg}-js" in ${file}.`