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
Offer the builds SolidStart makes in Build Artifacts
Țugui Dragoș1776f6937d20
diff --git a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swiftindex e4b759ef..1ddda617 100644--- a/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift+++ b/Packages/PeelCore/Sources/PeelCore/Developer/ProjectArtifacts.swift@@ -204,6 +204,14 @@ public enum ProjectArtifacts {name: ".turbo", markers: ["turbo.json"], tool: "Turborepo", isGeneric: false,source: "https://turborepo.dev/docs/crafting-your-repository/caching"),+ Definition(+ name: ".solid", markers: ["package.json"], tool: "SolidStart", isGeneric: false,+ source: "https://github.com/solidjs/solid-start/blob/2f44d456e4814b997058fb366d7361f0d6b1e4e8/packages/start-static/index.js#L28-L30"+ ),+ Definition(+ name: ".solid-start", markers: ["package.json"], tool: "SolidStart", isGeneric: false,+ source: "https://github.com/solidjs/solid-start/blob/9b943dc4a168e45bdce94dedc8a7ff54d402b4e8/packages/start/src/config/manifest.ts#L84"+ ),Definition(name: ".swc", markers: ["package.json", ".swcrc"], tool: "SWC", isGeneric: false,source: "https://github.com/swc-project/website/blob/81b00b1c8cc95477b64efd7f3f7a366a787757bd/apps/website/docs/docs/configuration/compilation.mdx#L671-L675"diff --git a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swiftindex 1deb0b80..03c7dc04 100644--- a/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift+++ b/Packages/PeelCore/Tests/PeelCoreTests/ProjectArtifactsTests.swift@@ -416,6 +416,21 @@ struct ProjectArtifactsTests {#expect(found.first?.isRecommended == true)}+ @Test func offersTheBuildsSolidStartMakes() async throws {+ let directory = try TemporaryDirectory()+ for app in ["old", "new"] {+ try directory.file("\(app)/package.json", bytes: 16)+ }+ try directory.file("old/.solid/server/server.js", bytes: 400_000)+ try directory.file("new/.solid-start/client/.vite/manifest.json", bytes: 400_000)+ try age(directory.url, days: 60)++ let found = await ProjectArtifacts.scan(roots: [directory.url]).artifacts++ #expect(found.map { "\($0.project.lastPathComponent)/\($0.name)" }.sorted() == ["new/.solid-start", "old/.solid"])+ #expect(found.allSatisfy { $0.tool == "SolidStart" && $0.isRecommended })+ }+@Test func offersTheCacheSWCKeepsForItsPlugins() async throws {let directory = try TemporaryDirectory()try directory.file("web/.swcrc", bytes: 16)