diff --git a/package.json b/package.json index 1bfb56d..071ccd5 100644 --- a/package.json +++ b/package.json @@ -9,9 +9,9 @@ }, "engines": { "node": "^22.21.1", - "pnpm": "^10.13.1" + "pnpm": "^10.16.0" }, - "packageManager": "pnpm@10.13.1", + "packageManager": "pnpm@10.34.6", "dependencies": { "@auto-it/version-file": "^10.46.0", "@babel/plugin-transform-react-jsx-source": "^7.23.3", @@ -62,7 +62,7 @@ }, "volta": { "node": "22.21.1", - "pnpm": "10.13.1" + "pnpm": "10.34.6" }, "pnpm": { "onlyBuiltDependencies": [] diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ba2919c..29bf0ce 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,9 @@ -# This file is auto-generated by generate-pnpm-workspace.js packages: - - "cli" + - "*" + - "!bazel-*" + +minimumReleaseAge: 4320 # 3 days +minimumReleaseAgeExclude: + - "@player-cli/*" + - "@player-lang/*" + - "@xlr-lib/*" diff --git a/scripts/generate-pnpm-workspace.js b/scripts/generate-pnpm-workspace.js deleted file mode 100644 index 1f61232..0000000 --- a/scripts/generate-pnpm-workspace.js +++ /dev/null @@ -1,17 +0,0 @@ -const fs = require("fs"); -const glob = require("glob"); - -// Find all directories that contain a BUILD file -const directories = glob.sync("**/BUILD", { realpath: true }); - -// Get the parent directory of each BUILD file -const packages = directories.map((dir) => dir.replace("/BUILD", "")); - -// Create the packages section of the pnpm-workspace.yaml file -const packagesYaml = packages.map((pkg) => ` - "${pkg}"`).join("\n"); - -// Create the full pnpm-workspace.yaml content with a comment at the top -const yamlContent = `# This file is auto-generated by generate-pnpm-workspace.js\npackages:\n${packagesYaml}\n`; - -// Write the pnpm-workspace.yaml file -fs.writeFileSync("pnpm-workspace.yaml", yamlContent);