Major project reorganization: Centralized version management and improved structure

- Reorganized project structure with proper directory separation:
  * All scripts moved to scripts/ directory (including examples)
  * All documentation moved to docs/ directory (except README.md)
  * Centralized version management in Version.ps1

- Implemented centralized version management system:
  * Version.ps1 provides single source of truth for version information
  * Automatic yyyy.MM.dd.HHmm versioning based on build time
  * scripts/Update-Version.ps1 updates all version references
  * src/Properties/AssemblyInfo.cs for assembly version information

- Enhanced build system:
  * scripts/Build.ps1 - Full build with validation and packaging
  * scripts/Quick-Build.ps1 - Fast build handling file locking issues
  * Removed automatic copy from project file to avoid locking
  * Integrated version updates into build process

- Updated PowerShell Gallery publishing:
  * scripts/Publish-PSMinIOToGallery.ps1 updated for new structure
  * docs/POWERSHELL-GALLERY-RELEASE.md comprehensive publishing guide
  * Module manifest updated with proper metadata and release notes

- Updated all documentation and examples:
  * README.md updated with PowerShell Gallery installation
  * All example scripts updated with correct import paths
  * scripts/examples/README.md updated for new location
  * docs/PROJECT-STRUCTURE.md documents new organization

- Version updated to 2025.07.11.1151 with centralized management
- All import paths corrected for new structure
- Professional project organization following PowerShell best practices
This commit is contained in:
PSMinIO Developer
2025-07-11 11:53:08 -04:00
parent 677fa8c172
commit 90c64d3237
24 changed files with 1704 additions and 64 deletions
+3 -18
View File
@@ -4,15 +4,7 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>PSMinIO</AssemblyName>
<RootNamespace>PSMinIO</RootNamespace>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<AssemblyTitle>PSMinIO PowerShell Module</AssemblyTitle>
<AssemblyDescription>A PowerShell module for MinIO object storage operations</AssemblyDescription>
<AssemblyCompany>PSMinIO</AssemblyCompany>
<AssemblyProduct>PSMinIO</AssemblyProduct>
<AssemblyCopyright>Copyright © 2025</AssemblyCopyright>
<AssemblyVersion>2025.07.10.1200</AssemblyVersion>
<FileVersion>2025.07.10.1200</FileVersion>
<InformationalVersion>2025.07.10.1200</InformationalVersion>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
@@ -43,7 +35,7 @@
<ItemGroup>
<None Include="PSMinIO.psd1">
<None Include="Module\PSMinIO\PSMinIO.psd1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Module\PSMinIO\types\*.ps1xml">
@@ -51,13 +43,6 @@
</None>
</ItemGroup>
<Target Name="CopyModuleFiles" AfterTargets="Build">
<ItemGroup>
<ModuleFiles Include="$(OutputPath)\PSMinIO.dll" />
<ModuleFiles Include="$(OutputPath)\PSMinIO.pdb" />
<ModuleFiles Include="PSMinIO.psd1" />
</ItemGroup>
<Copy SourceFiles="@(ModuleFiles)" DestinationFolder="Module\PSMinIO\bin\" />
</Target>
<!-- Removed automatic copy to avoid file locking issues - use scripts/Quick-Build.ps1 instead -->
</Project>