pull/2130/head
FabianLars 8 months ago
parent 1d5f2b397d
commit 393ab84595
No known key found for this signature in database

@ -1,5 +1,9 @@
--- ---
upload: patch upload: patch
upload-js: minor
fs: patch
fs-js: patch
localhost: patch
--- ---
test test

@ -1,5 +0,0 @@
---
upload-js: patch
---
test

@ -1,6 +0,0 @@
---
upload: patch
upload-js: patch
---
test

@ -1,18 +1,20 @@
#!/usr/bin/env node #!/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: Apache-2.0
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
import { readFileSync, readdirSync } from 'fs' import { readFileSync, readdirSync } from 'fs'
import { join } from 'path' import { join } from 'path'
const ignorePackages = [ /* const ignorePackages = [
'api-example', 'api-example',
'api-example-js', 'api-example-js',
'deep-link-example', 'deep-link-example',
'deep-link-example-js' 'deep-link-example-js'
] ] */
const rsOnly = ['localhost', 'persisted-scope']
function checkChangeFiles(changeFiles) { function checkChangeFiles(changeFiles) {
let code = 0 let code = 0
@ -37,6 +39,8 @@ function checkChangeFiles(changeFiles) {
) )
for (const pkg in rsPackages) { for (const pkg in rsPackages) {
if (rsOnly.includes(pkg)) continue
if (!jsPackages[pkg]) { if (!jsPackages[pkg]) {
console.error( console.error(
`Missing "${rsPackages[pkg]}" bump for JS package "${pkg}-js" in ${file}.` `Missing "${rsPackages[pkg]}" bump for JS package "${pkg}-js" in ${file}.`

Loading…
Cancel
Save