From 2c4d3f7a04db83754273d93b1acefb12692c300e Mon Sep 17 00:00:00 2001 From: Natan Rolnik Date: Tue, 28 Oct 2025 13:04:13 +0200 Subject: [PATCH 1/3] Add 'txt' and 'json' to valid resource extensions --- Sources/XcodeGraph/Models/Target.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index 52cb9341..870c9f02 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -15,7 +15,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { ] public static let validResourceExtensions: [String] = [ // Resource - "md", "xcstrings", "plist", "rtf", "tutorial", "sks", "xcprivacy", "gpx", "strings", "stringsdict", "geojson", + "md", "xcstrings", "plist", "rtf", "tutorial", "sks", "xcprivacy", "gpx", "strings", "stringsdict", "geojson", "txt", "json", // User interface "storyboard", "xib", // Other From ba45c692974fa85787dae6cb4fb769e508a97493 Mon Sep 17 00:00:00 2001 From: Natan Rolnik Date: Tue, 28 Oct 2025 13:18:35 +0200 Subject: [PATCH 2/3] Format Target.validResourceExtensions --- Sources/XcodeGraph/Models/Target.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index 870c9f02..d5c12b49 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -15,7 +15,9 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { ] public static let validResourceExtensions: [String] = [ // Resource - "md", "xcstrings", "plist", "rtf", "tutorial", "sks", "xcprivacy", "gpx", "strings", "stringsdict", "geojson", "txt", "json", + "md", "xcstrings", "plist", "rtf", "tutorial", "sks", "xcprivacy", "gpx", "strings", "stringsdict", + "geojson", "txt", "json", + // User interface "storyboard", "xib", // Other From 4c3f3874179232d9bc9f3c143ebf3bd00024ee03 Mon Sep 17 00:00:00 2001 From: Natan Rolnik Date: Tue, 28 Oct 2025 13:21:30 +0200 Subject: [PATCH 3/3] Add 'js' to valid resource extensions --- Sources/XcodeGraph/Models/Target.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/XcodeGraph/Models/Target.swift b/Sources/XcodeGraph/Models/Target.swift index d5c12b49..0021d190 100644 --- a/Sources/XcodeGraph/Models/Target.swift +++ b/Sources/XcodeGraph/Models/Target.swift @@ -16,7 +16,7 @@ public struct Target: Equatable, Hashable, Comparable, Codable, Sendable { public static let validResourceExtensions: [String] = [ // Resource "md", "xcstrings", "plist", "rtf", "tutorial", "sks", "xcprivacy", "gpx", "strings", "stringsdict", - "geojson", "txt", "json", + "geojson", "txt", "json", "js", // User interface "storyboard", "xib",