Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
List what Jekyll builds and caches in Build Artifacts
Țugui Dragoș4acfa5f89797
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swiftindex 17297763..8c44ca95 100644--- a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift+++ b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift@@ -153,6 +153,7 @@ public enum ProjectArtifacts {private static let viteConfigFiles = ["ts", "mts", "cts", "js", "mjs", "cjs"].map { "vite.config." + $0 }private static let vitestConfigFiles = ["ts", "mts", "cts", "js", "mjs", "cjs"].map { "vitest.config." + $0 }private static let gatsbyConfigFiles = ["gatsby-config.js", "gatsby-config.ts", "gatsby-config.mjs"]+ private static let jekyllConfigFiles = ["_config.yml", "_config.yaml", "_config.toml"]private static let eleventyConfigFiles = [".eleventy.js"] + ["buildawesome.config", "eleventy.config"].flatMap { name in["js", "mjs", "cjs", "ts", "mts", "cts"].map { "\(name).\($0)" }}@@ -331,6 +332,16 @@ public enum ProjectArtifacts {name: "public", markers: gatsbyConfigFiles, tool: "Gatsby", isGeneric: true,source: "https://www.gatsbyjs.com/docs/reference/gatsby-cli/"),+ // Other site generators name their output `_site` too, and Jekyll keeps there, from one build to the next,+ // whatever its `keep_files` setting names.+ Definition(+ name: "_site", markers: jekyllConfigFiles, tool: "Jekyll", isGeneric: true,+ source: "https://github.com/jekyll/jekyll/blob/541d8b2ee75c8907de4744d4b87a7a6f1f997cae/lib/jekyll/configuration.rb#L9-L12"+ ),+ Definition(+ name: ".jekyll-cache", markers: jekyllConfigFiles, tool: "Jekyll", isGeneric: false,+ source: "https://github.com/jekyll/jekyll/blob/541d8b2ee75c8907de4744d4b87a7a6f1f997cae/lib/jekyll/commands/clean.rb#L20-L31"+ ),Definition(name: ".dart_tool", markers: ["pubspec.yaml"], tool: "Dart & Flutter", isGeneric: false,source: "https://dart.dev/tools/pub/package-layout"diff --git a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swiftindex 4741b9ed..d6fd1387 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift@@ -372,6 +372,8 @@ struct ProjectArtifactsTests {Kind(artifact: "lib", marker: "shard.lock", tool: "Shards", isGeneric: true, isEnvironment: true),Kind(artifact: "vendor", marker: "composer.json", tool: "Composer", isGeneric: true, isEnvironment: true),Kind(artifact: ".terragrunt-cache", marker: "terragrunt.hcl", tool: "Terragrunt", isGeneric: false),+ Kind(artifact: "_site", marker: "_config.yml", tool: "Jekyll", isGeneric: true),+ Kind(artifact: ".jekyll-cache", marker: "_config.toml", tool: "Jekyll", isGeneric: false),])}