-
Notifications
You must be signed in to change notification settings - Fork 0
Upm #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upm #22
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to this package will be documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | ||
|
|
||
| ## [2.0.0] - 2025-03-16 | ||
|
|
||
| ### Changed | ||
|
|
||
| - **UPM (Unity Package Manager) support**: Package restructured for full UPM compatibility. Content moved from `Assets/Stash.Native/` to `Packages/gg.stash.unity/` with standard layout: `Runtime/`, `Editor/`, `Plugins/`, `Samples~/`. | ||
| - Added assembly definitions (`Stash.Unity`, `Stash.Unity.Editor`) for compilation isolation. | ||
| - Samples are now importable via Package Manager (Window > Package Manager > Stash for Unity > Samples). | ||
|
|
||
| ### Installation | ||
|
|
||
| - **Git URL**: Add package from git URL: `https://github.com/stashgg/stash-unity.git?path=Packages/gg.stash.unity` | ||
| - **manifest.json**: Add `"gg.stash.unity": "https://github.com/stashgg/stash-unity.git?path=Packages/gg.stash.unity"` to dependencies. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| { | ||
| "name": "Stash.Unity.Editor", | ||
| "rootNamespace": "Stash.Editor", | ||
| "references": [ | ||
| "Stash.Unity" | ||
| ], | ||
| "includePlatforms": [ | ||
| "Editor" | ||
| ], | ||
| "excludePlatforms": [], | ||
| "allowUnsafeCode": false, | ||
| "overrideReferences": false, | ||
| "precompiledReferences": [], | ||
| "autoReferenced": true, | ||
| "defineConstraints": [], | ||
| "versionDefines": [], | ||
| "noEngineReferences": false | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gitignore
*~pattern silently ignoresSamples~directoryHigh Severity
The newly added
*~pattern in.gitignorematches any file or directory whose name ends with~, which includes theSamples~directory also introduced in this PR. While currently committed files are unaffected, any new untracked files added toSamples~/in the future will be silently git-ignored. Developers won't see them ingit statusandgit addwill refuse them without-f. This directly undermines the UPM samples workflow this PR sets up. A negation rule like!Samples~is needed.Additional Locations (1)
Packages/gg.stash.unity/Samples~.meta#L1-L8