{"id":20163719,"url":"https://github.com/emik03/emik.sourcegenerators.tattoo","last_synced_at":"2025-07-19T18:08:28.624Z","repository":{"id":186731054,"uuid":"609900166","full_name":"Emik03/Emik.SourceGenerators.Tattoo","owner":"Emik03","description":"Source generates a file that imports all namespaces.","archived":false,"fork":false,"pushed_at":"2025-03-11T03:39:08.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-19T08:24:06.887Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Emik03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"Emik03","custom":"https://paypal.me/emik03"}},"created_at":"2023-03-05T15:20:48.000Z","updated_at":"2025-01-01T10:51:51.000Z","dependencies_parsed_at":"2024-10-20T08:20:27.889Z","dependency_job_id":null,"html_url":"https://github.com/Emik03/Emik.SourceGenerators.Tattoo","commit_stats":null,"previous_names":["emik03/emik.sourcegenerators.tattoo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Emik03/Emik.SourceGenerators.Tattoo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FEmik.SourceGenerators.Tattoo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FEmik.SourceGenerators.Tattoo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FEmik.SourceGenerators.Tattoo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FEmik.SourceGenerators.Tattoo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Emik03","download_url":"https://codeload.github.com/Emik03/Emik.SourceGenerators.Tattoo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Emik03%2FEmik.SourceGenerators.Tattoo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265982792,"owners_count":23859573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T00:31:19.451Z","updated_at":"2025-07-19T18:08:28.597Z","avatar_url":"https://github.com/Emik03.png","language":"C#","funding_links":["https://github.com/sponsors/Emik03","https://paypal.me/emik03"],"categories":[],"sub_categories":[],"readme":"# Emik.SourceGenerators.Tattoo\n\n[![NuGet package](https://img.shields.io/nuget/v/Emik.SourceGenerators.Tattoo.svg?logo=NuGet)](https://www.nuget.org/packages/Emik.SourceGenerators.Tattoo)\n[![License](https://img.shields.io/github/license/Emik03/Emik.SourceGenerators.Tattoo.svg?style=flat)](https://github.com/Emik03/Emik.SourceGenerators.Tattoo/blob/main/LICENSE)\n\nGenerates a file that imports all namespaces.\n\nVersion 1 contains the original behavior, which is to source generate the file. This has the benefit of hiding the file within temporary directories managed by [Roslyn](https://github.com/dotnet/roslyn) and therefore more portable. However, [it may also conflict with other Source Generators](https://github.com/dotnet/runtime/issues/89923), as there is no way to declare precedence.\n\nVersion 2 changes this behavior by making a file directly within the project folder named `GlobalUsings.g.cs`, and writing to the file system directly. This fixes the aforementioned issue, however this behavior may be undesired to some.\n\nUse whichever version best applies to your situation, as both versions are separately maintained.\n\nFor maintainers, the [`main`](https://github.com/Emik03/Emik.SourceGenerators.Tattoo/tree/main/) branch is Version 2, and [`legacy`](https://github.com/Emik03/Emik.SourceGenerators.Tattoo/tree/legacy) is Version 1.\n\nThis project has a dependency to [Emik.Morsels](https://github.com/Emik03/Emik.Morsels), if you are building this project, refer to its [README](https://github.com/Emik03/Emik.Morsels/blob/main/README.md) first.\n\nExample file output:\n\n```csharp\n// \u003cauto-generated/\u003e\n// Emik.SourceGenerators.Tattoo, v2\n#pragma warning disable\nglobal using global::System;\nglobal using global::System.Buffers;\nglobal using global::System.Buffers.Binary;\nglobal using global::System.Buffers.Text;\nglobal using global::System.CodeDom;\nglobal using global::System.CodeDom.Compiler;\n// ... \u003comitted for brevity\u003e\n// Polyfills of namespaces in case dependencies are conditional.\nnamespace System { }\n\nnamespace System.Buffers { }\n\nnamespace System.Buffers.Binary { }\n\nnamespace System.Buffers.Text { }\n\nnamespace System.CodeDom { }\n\nnamespace System.CodeDom.Compiler { }\n// ... \u003comitted for brevity\u003e\n```\n\n---\n\n- [Contribute](#contribute)\n- [License](#license)\n\n---\n\n## Contribute\n\nIssues and pull requests are welcome to help this repository be the best it can be.\n\n## License\n\nThis repository falls under the [MPL-2 license](https://www.mozilla.org/en-US/MPL/2.0/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femik03%2Femik.sourcegenerators.tattoo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femik03%2Femik.sourcegenerators.tattoo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femik03%2Femik.sourcegenerators.tattoo/lists"}