Skip to content

Commit

Permalink
unify test project names
Browse files Browse the repository at this point in the history
  • Loading branch information
HLWeil committed Mar 7, 2024
1 parent 9525665 commit 181fc70
Show file tree
Hide file tree
Showing 68 changed files with 232 additions and 254 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -355,15 +355,15 @@ tmp/
output/
.fsdocs/
/tests/FsSpreadsheet.JsNativeTests/fable/**/*.js
/tests/FsSpreadsheet.ExcelIO.Tests/TestFiles/WRITE_*.xlsx
/tests/FsSpreadsheet.Net.Tests/TestFiles/WRITE_*.xlsx
/tests/JS/TestFiles/WRITE_*.xlsx
/tests/TestUtils/TestFiles/TestWorkbook_FsSpreadsheet_WRITE.*.xlsx
/js
**/py/**
/.venv
/tests/FsSpreadsheet.Tests/js
/tests/JS/fable
/tests/JS/FsSpreadsheet.Exceljs
/tests/FsSpreadsheet.Exceljs.Tests/js
/tests/JS/FsSpreadsheet.Js
/tests/FsSpreadsheet.Js.Tests/js
/dist
/tests/TestUtils/TestFiles/Scripts/fable
178 changes: 89 additions & 89 deletions FsSpreadsheet.sln

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
* [[#c5bf348](https://github.com/CSBiology/FsSpreadsheet/commit/c5bf34808d105723738dde53e6cb778a2b97da3e)] Finish io tests :heavy_check_mark:
* [[#80f7632](https://github.com/CSBiology/FsSpreadsheet/commit/80f7632b2a4865951f144fc271e02a2ee4f6989c)] Improve DateTime numberFormat recognition
* [[#baa88ce](https://github.com/CSBiology/FsSpreadsheet/commit/baa88ceb185c43302c8e7742ba8fe1afab893739)] update libre test file
* [[#9805811](https://github.com/CSBiology/FsSpreadsheet/commit/980581193cdcceaa80cd87f91e86121726c1046f)] Setup current FsSpreadsheet.Exceljs write for defaultio tests :construction:
* [[#9805811](https://github.com/CSBiology/FsSpreadsheet/commit/980581193cdcceaa80cd87f91e86121726c1046f)] Setup current FsSpreadsheet.Js write for defaultio tests :construction:
* [[#05e0ca4](https://github.com/CSBiology/FsSpreadsheet/commit/05e0ca492e3ae54cdaf6fdec4c19c1296614e565)] update gitignore
* [[#2b99506](https://github.com/CSBiology/FsSpreadsheet/commit/2b99506e9abafd7d579d8e3f09fb59d7e20a8398)] Further work on #71 change FsCell.Value to obj :boom:
* [[#546e029](https://github.com/CSBiology/FsSpreadsheet/commit/546e02962c5d18127e143d85705523a4163d63c2)] add stylesheet helper functions
Expand Down Expand Up @@ -124,11 +124,11 @@
* [[#95c5d16](https://github.com/CSBiology/FsSpreadsheet/commit/95c5d167403cb5a3323782b2e6895c66c9f1ebd8)] Push WIP state
* [[#58b57ae](https://github.com/CSBiology/FsSpreadsheet/commit/58b57ae74d7d5d98e6146c75ce31eb819c0ed5d9)] Start refactoring to resizeArray :hammer:#53
* [[#5ed3752](https://github.com/CSBiology/FsSpreadsheet/commit/5ed37521a61683dfb6f6240a1c807474f50b9574)] Specify code snippet
* [[#4a9ff2e](https://github.com/CSBiology/FsSpreadsheet/commit/4a9ff2e91cf16c3d7d5587937f9c97d0c348e967)] Initiate test setup for FsSpreadsheet.Exceljs
* [[#4a9ff2e](https://github.com/CSBiology/FsSpreadsheet/commit/4a9ff2e91cf16c3d7d5587937f9c97d0c348e967)] Initiate test setup for FsSpreadsheet.Js
* [[#d785795](https://github.com/CSBiology/FsSpreadsheet/commit/d785795061967c0206855983eebf49f1f182fe86)] Finish Api for both f# fable access and js native :sparkles:
* [[#1456337](https://github.com/CSBiology/FsSpreadsheet/commit/1456337f88c8af863fb24bf134a93580ef5ed8b6)] update gitignore
* [[#97f712c](https://github.com/CSBiology/FsSpreadsheet/commit/97f712cfe1d8422835a50c0186e28fc5cd2fcc4a)] setup msbuild
* [[#efa9815](https://github.com/CSBiology/FsSpreadsheet/commit/efa981573a24015d110a70c2e306e2678a5a36d5)] Init FsSpreadsheet.Exceljs and add Fable.Exceljs dependency
* [[#efa9815](https://github.com/CSBiology/FsSpreadsheet/commit/efa981573a24015d110a70c2e306e2678a5a36d5)] Init FsSpreadsheet.Js and add Fable.Exceljs dependency
* [[#c4fdce6](https://github.com/CSBiology/FsSpreadsheet/commit/c4fdce69ea59a6a7da12fd190249a8e2f8d43136)] improve testsuit
* [[#33eb847](https://github.com/CSBiology/FsSpreadsheet/commit/33eb84701d24d145cef5801966bf25844a8a7931)] cleanup test tasks
* [[#3116aae](https://github.com/CSBiology/FsSpreadsheet/commit/3116aae6831fddcccc552d9d68b1bf4a565578ec)] Add dotnet tool femto
Expand Down
2 changes: 1 addition & 1 deletion build/PackageTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ let packJSPrerelease = BuildTask.create "PackJSPrerelease" [setPrereleaseTag; cl
module BundlePy =
let bundle (versionTag: string) =

run dotnet $"fable src/FsSpreadsheet.ExcelPy -o {ProjectInfo.pyPkgDir}/fsspreadsheet --lang python" ""
run dotnet $"fable src/FsSpreadsheet.Py -o {ProjectInfo.pyPkgDir}/fsspreadsheet --lang python" ""
run python "-m poetry install --no-root" ProjectInfo.pyPkgDir
//GenerateIndexPy.ARCtrl_generate (ProjectInfo.pyPkgDir + "/arctrl")

Expand Down
2 changes: 1 addition & 1 deletion build/ProjectInfo.fs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let project = "FsSpreadsheet"
let testProjects =
[
"tests/FsSpreadsheet.Tests"
"tests/FsSpreadsheet.ExcelIO.Tests"
"tests/FsSpreadsheet.Net.Tests"
"tests/FsSpreadsheet.Interactive.Tests"
]

Expand Down
2 changes: 1 addition & 1 deletion build/TestTasks.fs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module RunTests =
let testProjectsPy =
[
"tests/FsSpreadsheet.Tests"
"tests/FsSpreadsheet.ExcelPy.Tests"
"tests/FsSpreadsheet.Py.Tests"
]
for path in testProjectsPy do
//transpile py files from fsharp code
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"scripts": {
"pretest": "dotnet fable tests/FsSpreadsheet.Tests --noCache -o tests/FsSpreadsheet.Tests/js",
"test": "node tests/FsSpreadsheet.Tests/js/Main.js",
"pretestexceljs": "dotnet fable tests/FsSpreadsheet.Exceljs.Tests --noCache -o tests/FsSpreadsheet.Exceljs.Tests/js",
"testexceljs": "node tests/FsSpreadsheet.Exceljs.Tests/js/Main.js",
"pretestjs": "dotnet fable src/FsSpreadsheet.Exceljs --noCache -o tests/JS/FsSpreadsheet.Exceljs",
"pretestexceljs": "dotnet fable tests/FsSpreadsheet.Js.Tests --noCache -o tests/FsSpreadsheet.Js.Tests/js",
"testexceljs": "node tests/FsSpreadsheet.Js.Tests/js/Main.js",
"pretestjs": "dotnet fable src/FsSpreadsheet.Js --noCache -o tests/JS/FsSpreadsheet.Js",
"testjs": "mocha tests/JS",
"prebundle": "mkdir dist/js & dotnet fable clean --extension .js --yes -o dist/js",
"bundle": "dotnet fable src/FsSpreadsheet.Exceljs -o dist/js"
"bundle": "dotnet fable src/FsSpreadsheet.Js -o dist/js"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace FsSpreadsheet.Exceljs
namespace FsSpreadsheet.Js


module JsCell =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[<AutoOpenAttribute>]
module FsSpreadsheet.Exceljs.FsSpreadsheet
module FsSpreadsheet.Js.FsSpreadsheet

open FsSpreadsheet
open FsSpreadsheet.Exceljs
open FsSpreadsheet.Js
open Fable.Core
open Fable.Core.JS
open Fable.Core.JsInterop
Expand Down
Original file line number Diff line number Diff line change
@@ -1,50 +1,50 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Authors>Kevin Frey, Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
<Description>Excel IO Extensions for the FsSpreadsheet Datamodel in js environments using exceljs.</Description>
<Summary>Spreadsheet creation and manipulation in FSharp</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F# FSharp spreadsheet Excel xlsx datascience fable fable-library fable-javascript</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\docs\img\logo.png" Link="logo.png">
<PackagePath>\</PackagePath>
<Pack>true</Pack>
</None>
<Compile Include="Cell.fs" />
<Compile Include="Table.fs" />
<Compile Include="Worksheet.fs" />
<Compile Include="Workbook.fs" />
<Compile Include="Xlsx.fs" />
<Compile Include="FsExtensions.fs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fable.Exceljs" Version="1.6.0" />
<PackageReference Include="Fable.Promise" Version="3.2.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" />
</ItemGroup>
<ItemGroup>
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
</ItemGroup>

<PropertyGroup>
<NpmDependencies>
<NpmPackage Name="@nfdi4plants/exceljs" Version="gte 0.1.0 lt 1.0.0" ResolutionStrategy="Max" />
</NpmDependencies>
</PropertyGroup>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<Authors>Kevin Frey, Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
<Description>Excel IO Extensions for the FsSpreadsheet Datamodel in js environments using exceljs.</Description>
<Summary>Spreadsheet creation and manipulation in FSharp</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F# FSharp spreadsheet Excel xlsx datascience fable fable-library fable-javascript</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\docs\img\logo.png" Link="logo.png">
<PackagePath>\</PackagePath>
<Pack>true</Pack>
</None>
<Compile Include="Cell.fs" />
<Compile Include="Table.fs" />
<Compile Include="Worksheet.fs" />
<Compile Include="Workbook.fs" />
<Compile Include="Xlsx.fs" />
<Compile Include="FsExtensions.fs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fable.Exceljs" Version="1.6.0" />
<PackageReference Include="Fable.Promise" Version="3.2.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" />
</ItemGroup>
<ItemGroup>
<Content Include="*.fsproj; **\*.fs; **\*.fsi" PackagePath="fable\" />
</ItemGroup>

<PropertyGroup>
<NpmDependencies>
<NpmPackage Name="@nfdi4plants/exceljs" Version="gte 0.1.0 lt 1.0.0" ResolutionStrategy="Max" />
</NpmDependencies>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace FsSpreadsheet.Exceljs
namespace FsSpreadsheet.Js

module JsTable =

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace FsSpreadsheet.Exceljs
namespace FsSpreadsheet.Js

module JsWorkbook =
open FsSpreadsheet
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace FsSpreadsheet.Exceljs
namespace FsSpreadsheet.Js


module JsWorksheet =
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace FsSpreadsheet.Exceljs
namespace FsSpreadsheet.Js

open FsSpreadsheet
open Fable.ExcelJs
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,60 +1,60 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<Authors>Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
<Description>Excel IO Extensions for the FsSpreadsheet Datamodel</Description>
<Summary>Excel IO Extensions for the FsSpreadsheet Datamodel</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F# FSharp spreadsheet xlsx datascience</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<ItemGroup>
<Compile Include="Stylesheet.fs" />
<Compile Include="SharedStringTable.fs" />
<Compile Include="Cell.fs" />
<Compile Include="CellData.fs" />
<Compile Include="Row.fs" />
<Compile Include="SheetData.fs" />
<Compile Include="Sheet.fs" />
<Compile Include="Table.fs" />
<Compile Include="Worksheet.fs" />
<Compile Include="Workbook.fs" />
<Compile Include="Spreadsheet.fs" />
<Compile Include="Package.fs" />
<Compile Include="ZipArchiveReader.fs" />
<Compile Include="FsExtensions.fs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocumentFormat.OpenXml" Version="2.16.0" />
<None Include="..\..\docs\img\logo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" PackageVersion="[5.0.0, 6.0.0)" />
</ItemGroup>

<Target Name="UseExplicitPackageVersions" BeforeTargets="GenerateNuspec">
<ItemGroup>
<_ProjectReferenceWithExplicitPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.PackageVersion)' != ''" />
<_ProjectReferenceWithExactPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.ExactVersion)' == 'true'" />
<_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExplicitPackageVersion)' == '@(_ProjectReferencesWithVersions)'">
<ProjectVersion>@(_ProjectReferenceWithExplicitPackageVersion->'%(PackageVersion)')</ProjectVersion>
</_ProjectReferenceWithReassignedVersion>
<_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExactPackageVersion)' == '@(_ProjectReferencesWithVersions)'">
<ProjectVersion>[@(_ProjectReferencesWithVersions->'%(ProjectVersion)')]</ProjectVersion>
</_ProjectReferenceWithReassignedVersion>
<_ProjectReferencesWithVersions Remove="@(_ProjectReferenceWithReassignedVersion)" />
<_ProjectReferencesWithVersions Include="@(_ProjectReferenceWithReassignedVersion)" />
</ItemGroup>
</Target>

</Project>
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup>
<Authors>Heinrich Lukas Weil, Oliver Maus, Kevin Schneider, Timo Mühlhaus</Authors>
<Description>Excel IO Extensions for the FsSpreadsheet Datamodel</Description>
<Summary>Excel IO Extensions for the FsSpreadsheet Datamodel</Summary>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageIcon>logo.png</PackageIcon>
<PackageTags>F# FSharp spreadsheet xlsx datascience</PackageTags>
<RepositoryUrl>https://github.com/CSBiology/FsSpreadsheet</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<ItemGroup>
<Compile Include="Stylesheet.fs" />
<Compile Include="SharedStringTable.fs" />
<Compile Include="Cell.fs" />
<Compile Include="CellData.fs" />
<Compile Include="Row.fs" />
<Compile Include="SheetData.fs" />
<Compile Include="Sheet.fs" />
<Compile Include="Table.fs" />
<Compile Include="Worksheet.fs" />
<Compile Include="Workbook.fs" />
<Compile Include="Spreadsheet.fs" />
<Compile Include="Package.fs" />
<Compile Include="ZipArchiveReader.fs" />
<Compile Include="FsExtensions.fs" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="DocumentFormat.OpenXml" Version="2.16.0" />
<None Include="..\..\docs\img\logo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\FsSpreadsheet\FsSpreadsheet.fsproj" PackageVersion="[5.0.0, 6.0.0)" />
</ItemGroup>

<Target Name="UseExplicitPackageVersions" BeforeTargets="GenerateNuspec">
<ItemGroup>
<_ProjectReferenceWithExplicitPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.PackageVersion)' != ''" />
<_ProjectReferenceWithExactPackageVersion Include="@(ProjectReference->'%(FullPath)')" Condition="'%(ProjectReference.ExactVersion)' == 'true'" />
<_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExplicitPackageVersion)' == '@(_ProjectReferencesWithVersions)'">
<ProjectVersion>@(_ProjectReferenceWithExplicitPackageVersion->'%(PackageVersion)')</ProjectVersion>
</_ProjectReferenceWithReassignedVersion>
<_ProjectReferenceWithReassignedVersion Include="@(_ProjectReferencesWithVersions)" Condition="'%(Identity)' != '' And '@(_ProjectReferenceWithExactPackageVersion)' == '@(_ProjectReferencesWithVersions)'">
<ProjectVersion>[@(_ProjectReferencesWithVersions->'%(ProjectVersion)')]</ProjectVersion>
</_ProjectReferenceWithReassignedVersion>
<_ProjectReferencesWithVersions Remove="@(_ProjectReferenceWithReassignedVersion)" />
<_ProjectReferencesWithVersions Include="@(_ProjectReferenceWithReassignedVersion)" />
</ItemGroup>
</Target>

</Project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

open TestingUtils
open FsSpreadsheet
open FsSpreadsheet.Exceljs
open FsSpreadsheet.Js
open Fable.Core


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Compile Include="Main.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\FsSpreadsheet.Exceljs\FsSpreadsheet.Exceljs.fsproj" />
<ProjectReference Include="..\..\src\FsSpreadsheet.Js\FsSpreadsheet.Js.fsproj" />
<ProjectReference Include="..\TestUtils\TestUtils.fsproj" />
<PackageReference Include="Fable.Pyxpecto" Version="1.0.1" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module FsSpreadsheet.Exceljs.Tests
module FsSpreadsheet.Js.Tests

open Fable.Core.JsInterop
open Fable.Pyxpecto
Expand Down
Loading

0 comments on commit 181fc70

Please sign in to comment.