diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index fc45b5e..926c987 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -2,12 +2,6 @@ "version": 1, "isRoot": true, "tools": { - "paket": { - "version": "6.0.13", - "commands": [ - "paket" - ] - }, "fantomas-tool": { "version": "4.5.4", "commands": [ diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets deleted file mode 100644 index e230bb2..0000000 --- a/.paket/Paket.Restore.targets +++ /dev/null @@ -1,557 +0,0 @@ - - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - $(MSBuildVersion) - 15.0.0 - false - true - - true - $(MSBuildThisFileDirectory) - $(MSBuildThisFileDirectory)..\ - $(PaketRootPath)paket-files\paket.restore.cached - $(PaketRootPath)paket.lock - classic - proj - assembly - native - /Library/Frameworks/Mono.framework/Commands/mono - mono - - - $(PaketRootPath)paket.bootstrapper.exe - $(PaketToolsPath)paket.bootstrapper.exe - $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\ - - "$(PaketBootStrapperExePath)" - $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)" - - - - - true - true - - - True - - - False - - $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/')) - - - - - - - - - $(PaketRootPath)paket - $(PaketToolsPath)paket - - - - - - $(PaketRootPath)paket.exe - $(PaketToolsPath)paket.exe - - - - - - <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")) - <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"')) - <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false - - - - - - - - - - - <_PaketCommand>dotnet paket - - - - - - $(PaketToolsPath)paket - $(PaketBootStrapperExeDir)paket - - - paket - - - - - <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)")) - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)" - - - - - - - - - - - - - - - - - - - - - true - $(NoWarn);NU1603;NU1604;NU1605;NU1608 - false - true - - - - - - - - - $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)')) - - - - - - - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``)) - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``)) - - - - - %(PaketRestoreCachedKeyValue.Value) - %(PaketRestoreCachedKeyValue.Value) - - - - - true - false - true - - - - - true - - - - - - - - - - - - - - - - - - - $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached - - $(MSBuildProjectFullPath).paket.references - - $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references - - $(MSBuildProjectDirectory)\paket.references - - false - true - true - references-file-or-cache-not-found - - - - - $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)')) - $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)')) - references-file - false - - - - - false - - - - - true - target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths) - - - - - - - - - - - false - true - - - - - - - - - - - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7]) - - - %(PaketReferencesFileLinesInfo.PackageVersion) - All - runtime - $(ExcludeAssets);contentFiles - $(ExcludeAssets);build;buildMultitargeting;buildTransitive - true - true - - - - - $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools - - - - - - - - - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1]) - - - %(PaketCliToolFileLinesInfo.PackageVersion) - - - - - - - - - - false - - - - - - <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/> - - - - - - $(MSBuildProjectDirectory)/$(MSBuildProjectFile) - true - false - true - false - true - false - true - false - true - false - true - $(PaketIntermediateOutputPath)\$(Configuration) - $(PaketIntermediateOutputPath) - - - - <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/> - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Build.fsproj b/Build.fsproj index 23ab60c..190987e 100644 --- a/Build.fsproj +++ b/Build.fsproj @@ -7,5 +7,8 @@ - + + + + \ No newline at end of file diff --git a/examples/django/.gitignore b/examples/django/.gitignore new file mode 100644 index 0000000..8e5bbf0 --- /dev/null +++ b/examples/django/.gitignore @@ -0,0 +1 @@ +*.py \ No newline at end of file diff --git a/examples/django/Django.fsproj b/examples/django/Django.fsproj new file mode 100644 index 0000000..179dca5 --- /dev/null +++ b/examples/django/Django.fsproj @@ -0,0 +1,19 @@ + + + + Exe + net5.0 + 3390;$(WarnOn) + + + + + + + + + + + + + \ No newline at end of file diff --git a/examples/django/Manage.fs b/examples/django/Manage.fs new file mode 100644 index 0000000..96483c5 --- /dev/null +++ b/examples/django/Manage.fs @@ -0,0 +1,24 @@ +#!/usr/bin/env python + +module Django.Manage + +//Django command-line utility for administrative tasks. + +open Fable.Core + + +type IEnviron = + [] + abstract setdefault : string * string -> unit + +[] +let environ: IEnviron = nativeOnly + + +[] +let execute_from_command_line: string [] -> int = nativeOnly + +[] +let main argv = + environ.setdefault("DJANGO_SETTINGS_MODULE", "tproj.settings") + execute_from_command_line argv diff --git a/examples/django/README.md b/examples/django/README.md new file mode 100644 index 0000000..264457d --- /dev/null +++ b/examples/django/README.md @@ -0,0 +1,34 @@ +# Fable Python on Django + + + +## Info + +The project is a copy of Django's `python manage.py startproject testproj` output. +The compiled version should be almost identical to the above command. + + +## Install Dependencies + +```sh +> dotnet tool restore +> dotnet restore + +> pip3 install -r Django +``` + +## Build + +``` +> dotnet fable-py +``` + +## Run + +Note tht the first argument is skipped, because of `main(sys.argv[1:])` for some reason +```sh +> python3 manage.py s runserver +``` + +Visit http://127.0.0.1:8000/ + diff --git a/examples/django/requirements.txt b/examples/django/requirements.txt new file mode 100644 index 0000000..699ce5c --- /dev/null +++ b/examples/django/requirements.txt @@ -0,0 +1 @@ +Django>=3.2.8,<4.0.0 \ No newline at end of file diff --git a/examples/django/tproj/Asgi.fs b/examples/django/tproj/Asgi.fs new file mode 100644 index 0000000..f0f4788 --- /dev/null +++ b/examples/django/tproj/Asgi.fs @@ -0,0 +1,26 @@ +module Django.tproj.Asgi + +open Fable.Core +//ASGI config for testproj project. +// +//It exposes the ASGI callable as a module-level variable named ``application``. +// +//For more information on this file, see +//https://docs.djangoproject.com/en/3.2/howto/deployment/asgi/ + +type IEnviron = + [] + abstract setdefault : string * string -> unit + +[] +let environ: IEnviron = nativeOnly + +type IASGI = + [] + abstract get_asgi_application: unit -> unit + +[] +let asgi: IASGI= nativeOnly + +environ.setdefault("DJANGO_SETTINGS_MODULE", "tproj.settings") +let application = asgi.get_asgi_application() \ No newline at end of file diff --git a/examples/django/tproj/Settings.fs b/examples/django/tproj/Settings.fs new file mode 100644 index 0000000..bc59327 --- /dev/null +++ b/examples/django/tproj/Settings.fs @@ -0,0 +1,131 @@ +module Django.tproj.Settings + +open Fable.Core +open Fable.Core.PyInterop +open Fable.Python + +//Django settings for tproj project. +// +//Generated by "django-admin startproject " using Django 3.2.8. +// +//For more information on this file, see +//https://docs.djangoproject.com/en/3.2/topics/settings/ +// +//For the full list of settings and their values, see +//https://docs.djangoproject.com/en/3.2/ref/settings/ + + +[] +let __file__: string = nativeOnly + +[] +let Path: string -> obj = nativeOnly + +// Build paths inside the project like this: BASE_DIR / "subdir ". +let BASE_DIR:string = string (Path(__file__)?resolve()?parent?parent) + +// Quick-start development settings - unsuitable for production +// See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/ +// +// SECURITY WARNING: keep the secret key used in production secret! +let SECRET_KEY = "django-insecure-8@-!^t#jw8svblg!%z5meh+#48nvd)me-*^im))uvy6pfweb" +// +// SECURITY WARNING: don "t run with debug turned on in production! +let DEBUG = true + +let ALLOWED_HOSTS: string[] = [||] + + +// Application definition +// +let INSTALLED_APPS = [| + "django.contrib.admin" + "django.contrib.auth" + "django.contrib.contenttypes" + "django.contrib.sessions" + "django.contrib.messages" + "django.contrib.staticfiles" +|] + +let MIDDLEWARE = [| + "django.middleware.security.SecurityMiddleware" + "django.contrib.sessions.middleware.SessionMiddleware" + "django.middleware.common.CommonMiddleware" + "django.middleware.csrf.CsrfViewMiddleware" + "django.contrib.auth.middleware.AuthenticationMiddleware" + "django.contrib.messages.middleware.MessageMiddleware" + "django.middleware.clickjacking.XFrameOptionsMiddleware" +|] + +let ROOT_URLCONF = "tproj.urls" + +let TEMPLATES: {| APP_DIRS: bool; BACKEND: string; DIRS: string []; OPTIONS: {| context_processors: string [] |} |} [] = + [| + {| BACKEND = "django.template.backends.django.DjangoTemplates" + DIRS= [||] + APP_DIRS = true + OPTIONS ={| + context_processors= + [| + "django.template.context_processors.debug" + "django.template.context_processors.request" + "django.contrib.auth.context_processors.auth" + "django.contrib.messages.context_processors.messages" + |] + |} + + |} + |] + +let WSGI_APPLICATION = "tproj.wsgi.application" + +// Database +// https://docs.djangoproject.com/en/3.2/ref/settings/#databases + +let DATABASES = {| + ``default``= {| + ENGINE="django.db.backends.sqlite3" + NAME = BASE_DIR + "/db.sqlite3" + |} +|} + +// Password validation +// https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators + +let AUTH_PASSWORD_VALIDATORS = [| + {| + NAME="django.contrib.auth.password_validation.UserAttributeSimilarityValidator" + |} + {| + NAME="django.contrib.auth.password_validation.MinimumLengthValidator" + |} + {| + NAME="django.contrib.auth.password_validation.CommonPasswordValidator" + |} + {| + NAME="django.contrib.auth.password_validation.NumericPasswordValidator" + |} +|] + +// Internationalization +// https://docs.djangoproject.com/en/3.2/topics/i18n/ + +let LANGUAGE_CODE = "en-us" + +let TIME_ZONE = "UTC" + +let USE_I18N = true + +let USE_L10N = true + +let USE_TZ = true + +// Static files (CSS, JavaScript, Images) +// https://docs.djangoproject.com/en/3.2/howto/static-files/ + +let STATIC_URL = "/static/" + +// Default primary key field type +// https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field + +let DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" diff --git a/examples/django/tproj/Urls.fs b/examples/django/tproj/Urls.fs new file mode 100644 index 0000000..1852637 --- /dev/null +++ b/examples/django/tproj/Urls.fs @@ -0,0 +1,31 @@ +module Django.tproj.Urls + +open Fable.Core +open Fable.Core.PyInterop + +//tproj URL Configuration +// +//The `urlpatterns` list routes URLs to views. For more information please see: +// https://docs.djangoproject.com/en/3.2/topics/http/urls/ +//Examples: +//Function views +// 1. Add an import: from my_app import views +// 2. Add a URL to urlpatterns: path('', views.home, name='home') +//Class-based views +// 1. Add an import: from other_app.views import Home +// 2. Add a URL to urlpatterns: path('', Home.as_view(), name='home') +//Including another URLconf +// 1. Import the include() function: from django.urls import include, path +// 2. Add a URL to urlpatterns: path('blog/', include('blog.urls')) + +[] +let admin: obj = nativeOnly + +type IPath = + abstract path : url: string * view: obj -> obj + +[] +let urls: IPath = nativeOnly +let urlpatterns = [| + urls.path("admin/", admin?site?urls) +|] \ No newline at end of file diff --git a/examples/django/tproj/Wsgi.fs b/examples/django/tproj/Wsgi.fs new file mode 100644 index 0000000..c2e777c --- /dev/null +++ b/examples/django/tproj/Wsgi.fs @@ -0,0 +1,28 @@ +module Django.tproj.Wsgi + +open Fable.Core +//WSGI config for testproj project. +// +//It exposes the WSGI callable as a module-level variable named ``application``. +// +//For more information on this file, see +//https://docs.djangoproject.com/en/3.2/howto/deployment/wsgi/ + + + +type IEnviron = + [] + abstract setdefault : string * string -> unit + +[] +let environ: IEnviron = nativeOnly + +type IWSGI = + [] + abstract get_wsgi_application: unit -> unit + +[] +let wsgi: IWSGI= nativeOnly + +environ.setdefault("DJANGO_SETTINGS_MODULE", "tproj.settings") +let application = wsgi.get_wsgi_application() diff --git a/examples/flask/.paket/Paket.Restore.targets b/examples/flask/.paket/Paket.Restore.targets deleted file mode 100644 index e230bb2..0000000 --- a/examples/flask/.paket/Paket.Restore.targets +++ /dev/null @@ -1,557 +0,0 @@ - - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - $(MSBuildVersion) - 15.0.0 - false - true - - true - $(MSBuildThisFileDirectory) - $(MSBuildThisFileDirectory)..\ - $(PaketRootPath)paket-files\paket.restore.cached - $(PaketRootPath)paket.lock - classic - proj - assembly - native - /Library/Frameworks/Mono.framework/Commands/mono - mono - - - $(PaketRootPath)paket.bootstrapper.exe - $(PaketToolsPath)paket.bootstrapper.exe - $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\ - - "$(PaketBootStrapperExePath)" - $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)" - - - - - true - true - - - True - - - False - - $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/')) - - - - - - - - - $(PaketRootPath)paket - $(PaketToolsPath)paket - - - - - - $(PaketRootPath)paket.exe - $(PaketToolsPath)paket.exe - - - - - - <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")) - <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"')) - <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false - - - - - - - - - - - <_PaketCommand>dotnet paket - - - - - - $(PaketToolsPath)paket - $(PaketBootStrapperExeDir)paket - - - paket - - - - - <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)")) - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)" - - - - - - - - - - - - - - - - - - - - - true - $(NoWarn);NU1603;NU1604;NU1605;NU1608 - false - true - - - - - - - - - $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)')) - - - - - - - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``)) - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``)) - - - - - %(PaketRestoreCachedKeyValue.Value) - %(PaketRestoreCachedKeyValue.Value) - - - - - true - false - true - - - - - true - - - - - - - - - - - - - - - - - - - $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached - - $(MSBuildProjectFullPath).paket.references - - $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references - - $(MSBuildProjectDirectory)\paket.references - - false - true - true - references-file-or-cache-not-found - - - - - $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)')) - $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)')) - references-file - false - - - - - false - - - - - true - target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths) - - - - - - - - - - - false - true - - - - - - - - - - - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7]) - - - %(PaketReferencesFileLinesInfo.PackageVersion) - All - runtime - $(ExcludeAssets);contentFiles - $(ExcludeAssets);build;buildMultitargeting;buildTransitive - true - true - - - - - $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools - - - - - - - - - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1]) - - - %(PaketCliToolFileLinesInfo.PackageVersion) - - - - - - - - - - false - - - - - - <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/> - - - - - - $(MSBuildProjectDirectory)/$(MSBuildProjectFile) - true - false - true - false - true - false - true - false - true - false - true - $(PaketIntermediateOutputPath)\$(Configuration) - $(PaketIntermediateOutputPath) - - - - <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/> - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/flask/paket.dependencies b/examples/flask/paket.dependencies deleted file mode 100644 index a6d7234..0000000 --- a/examples/flask/paket.dependencies +++ /dev/null @@ -1,8 +0,0 @@ -source https://api.nuget.org/v3/index.json -framework: net5.0 -storage: none - -nuget Fable.Core.Experimental >= 4.0.0-alpha-003 -nuget Fable.Python -nuget Feliz.ViewEngine -nuget Zanaptak.TypedCssClasses diff --git a/examples/flask/paket.lock b/examples/flask/paket.lock deleted file mode 100644 index 42e21ad..0000000 --- a/examples/flask/paket.lock +++ /dev/null @@ -1,14 +0,0 @@ -STORAGE: NONE -RESTRICTION: == net5.0 -NUGET - remote: https://api.nuget.org/v3/index.json - Fable.Core.Experimental (4.0.0-alpha-003) - FSharp.Core (>= 4.7.2) - Fable.Python (0.9) - Fable.Core.Experimental (>= 4.0.0-alpha-002) - FSharp.Core (>= 6.0) - Feliz.ViewEngine (0.24) - FSharp.Core (>= 4.7) - FSharp.Core (6.0) - Zanaptak.TypedCssClasses (1.0) - FSharp.Core (>= 4.3.4) diff --git a/examples/flask/poetry.lock b/examples/flask/poetry.lock deleted file mode 100644 index 1542469..0000000 --- a/examples/flask/poetry.lock +++ /dev/null @@ -1,191 +0,0 @@ -[[package]] -name = "click" -version = "8.0.1" -description = "Composable command line interface toolkit" -category = "main" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -colorama = {version = "*", markers = "platform_system == \"Windows\""} - -[[package]] -name = "colorama" -version = "0.4.4" -description = "Cross-platform colored terminal text." -category = "main" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - -[[package]] -name = "expression" -version = "1.1.0" -description = "Practical functional programming for Python 3.8+" -category = "main" -optional = false -python-versions = ">=3.8" - -[[package]] -name = "fable-library" -version = "0.0.1" -description = "Fable library for Python" -category = "main" -optional = false -python-versions = ">=3.8" - -[package.dependencies] -expression = "*" - -[[package]] -name = "flask" -version = "2.0.1" -description = "A simple framework for building complex web applications." -category = "main" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -click = ">=7.1.2" -itsdangerous = ">=2.0" -Jinja2 = ">=3.0" -Werkzeug = ">=2.0" - -[package.extras] -async = ["asgiref (>=3.2)"] -dotenv = ["python-dotenv"] - -[[package]] -name = "itsdangerous" -version = "2.0.1" -description = "Safely pass data to untrusted environments and back." -category = "main" -optional = false -python-versions = ">=3.6" - -[[package]] -name = "jinja2" -version = "3.0.1" -description = "A very fast and expressive template engine." -category = "main" -optional = false -python-versions = ">=3.6" - -[package.dependencies] -MarkupSafe = ">=2.0" - -[package.extras] -i18n = ["Babel (>=2.7)"] - -[[package]] -name = "markupsafe" -version = "2.0.1" -description = "Safely add untrusted strings to HTML/XML markup." -category = "main" -optional = false -python-versions = ">=3.6" - -[[package]] -name = "werkzeug" -version = "2.0.1" -description = "The comprehensive WSGI web application library." -category = "main" -optional = false -python-versions = ">=3.6" - -[package.extras] -watchdog = ["watchdog"] - -[metadata] -lock-version = "1.1" -python-versions = "^3.8" -content-hash = "308cfda18f44fb9131128925e00a28eac5c1b9aae9321c4ea80761bc16e14f6a" - -[metadata.files] -click = [ - {file = "click-8.0.1-py3-none-any.whl", hash = "sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6"}, - {file = "click-8.0.1.tar.gz", hash = "sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a"}, -] -colorama = [ - {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, - {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, -] -expression = [ - {file = "Expression-1.1.0-py3-none-any.whl", hash = "sha256:1179a4b2262d5d81565c0fcafbe722b09f8716a8aa88efe764846a563c6227b2"}, - {file = "Expression-1.1.0.tar.gz", hash = "sha256:2ddd230462351a48029c4e7d6a57c36df78eb3540a2c0b3e1a129dcd4fe75eb9"}, -] -fable-library = [ - {file = "fable-library-0.0.1.tar.gz", hash = "sha256:58783bf9732699df712b7ea30d1cf3f22bb849cc115936b78488cb2d4bf09ba9"}, - {file = "fable_library-0.0.1-py3-none-any.whl", hash = "sha256:c83fa11e475d66e157127946adbcc4f9c3ac504a5a54b518788bfdbd2b25f04a"}, -] -flask = [ - {file = "Flask-2.0.1-py3-none-any.whl", hash = "sha256:a6209ca15eb63fc9385f38e452704113d679511d9574d09b2cf9183ae7d20dc9"}, - {file = "Flask-2.0.1.tar.gz", hash = "sha256:1c4c257b1892aec1398784c63791cbaa43062f1f7aeb555c4da961b20ee68f55"}, -] -itsdangerous = [ - {file = "itsdangerous-2.0.1-py3-none-any.whl", hash = "sha256:5174094b9637652bdb841a3029700391451bd092ba3db90600dea710ba28e97c"}, - {file = "itsdangerous-2.0.1.tar.gz", hash = "sha256:9e724d68fc22902a1435351f84c3fb8623f303fffcc566a4cb952df8c572cff0"}, -] -jinja2 = [ - {file = "Jinja2-3.0.1-py3-none-any.whl", hash = "sha256:1f06f2da51e7b56b8f238affdd6b4e2c61e39598a378cc49345bc1bd42a978a4"}, - {file = "Jinja2-3.0.1.tar.gz", hash = "sha256:703f484b47a6af502e743c9122595cc812b0271f661722403114f71a79d0f5a4"}, -] -markupsafe = [ - {file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:d8446c54dc28c01e5a2dbac5a25f071f6653e6e40f3a8818e8b45d790fe6ef53"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:36bc903cbb393720fad60fc28c10de6acf10dc6cc883f3e24ee4012371399a38"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2d7d807855b419fc2ed3e631034685db6079889a1f01d5d9dac950f764da3dad"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:add36cb2dbb8b736611303cd3bfcee00afd96471b09cda130da3581cbdc56a6d"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:168cd0a3642de83558a5153c8bd34f175a9a6e7f6dc6384b9655d2697312a646"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-win32.whl", hash = "sha256:99df47edb6bda1249d3e80fdabb1dab8c08ef3975f69aed437cb69d0a5de1e28"}, - {file = "MarkupSafe-2.0.1-cp310-cp310-win_amd64.whl", hash = "sha256:e0f138900af21926a02425cf736db95be9f4af72ba1bb21453432a07f6082134"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:f9081981fe268bd86831e5c75f7de206ef275defcb82bc70740ae6dc507aee51"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:0955295dd5eec6cb6cc2fe1698f4c6d84af2e92de33fbcac4111913cd100a6ff"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:0446679737af14f45767963a1a9ef7620189912317d095f2d9ffa183a4d25d2b"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:f826e31d18b516f653fe296d967d700fddad5901ae07c622bb3705955e1faa94"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:fa130dd50c57d53368c9d59395cb5526eda596d3ffe36666cd81a44d56e48872"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux2014_aarch64.whl", hash = "sha256:905fec760bd2fa1388bb5b489ee8ee5f7291d692638ea5f67982d968366bef9f"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:bf5d821ffabf0ef3533c39c518f3357b171a1651c1ff6827325e4489b0e46c3c"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:0d4b31cc67ab36e3392bbf3862cfbadac3db12bdd8b02a2731f509ed5b829724"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:baa1a4e8f868845af802979fcdbf0bb11f94f1cb7ced4c4b8a351bb60d108145"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-win32.whl", hash = "sha256:6c4ca60fa24e85fe25b912b01e62cb969d69a23a5d5867682dd3e80b5b02581d"}, - {file = "MarkupSafe-2.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b2f4bf27480f5e5e8ce285a8c8fd176c0b03e93dcc6646477d4630e83440c6a9"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:0717a7390a68be14b8c793ba258e075c6f4ca819f15edfc2a3a027c823718567"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6557b31b5e2c9ddf0de32a691f2312a32f77cd7681d8af66c2692efdbef84c18"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:49e3ceeabbfb9d66c3aef5af3a60cc43b85c33df25ce03d0031a608b0a8b2e3f"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:d7f9850398e85aba693bb640262d3611788b1f29a79f0c93c565694658f4071f"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:6a7fae0dd14cf60ad5ff42baa2e95727c3d81ded453457771d02b7d2b3f9c0c2"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux2014_aarch64.whl", hash = "sha256:b7f2d075102dc8c794cbde1947378051c4e5180d52d276987b8d28a3bd58c17d"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e9936f0b261d4df76ad22f8fee3ae83b60d7c3e871292cd42f40b81b70afae85"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:2a7d351cbd8cfeb19ca00de495e224dea7e7d919659c2841bbb7f420ad03e2d6"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:60bf42e36abfaf9aff1f50f52644b336d4f0a3fd6d8a60ca0d054ac9f713a864"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-win32.whl", hash = "sha256:a30e67a65b53ea0a5e62fe23682cfe22712e01f453b95233b25502f7c61cb415"}, - {file = "MarkupSafe-2.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:611d1ad9a4288cf3e3c16014564df047fe08410e628f89805e475368bd304914"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:5bb28c636d87e840583ee3adeb78172efc47c8b26127267f54a9c0ec251d41a9"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:be98f628055368795d818ebf93da628541e10b75b41c559fdf36d104c5787066"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:1d609f577dc6e1aa17d746f8bd3c31aa4d258f4070d61b2aa5c4166c1539de35"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7d91275b0245b1da4d4cfa07e0faedd5b0812efc15b702576d103293e252af1b"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:01a9b8ea66f1658938f65b93a85ebe8bc016e6769611be228d797c9d998dd298"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:47ab1e7b91c098ab893b828deafa1203de86d0bc6ab587b160f78fe6c4011f75"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux2014_aarch64.whl", hash = "sha256:97383d78eb34da7e1fa37dd273c20ad4320929af65d156e35a5e2d89566d9dfb"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6fcf051089389abe060c9cd7caa212c707e58153afa2c649f00346ce6d260f1b"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:5855f8438a7d1d458206a2466bf82b0f104a3724bf96a1c781ab731e4201731a"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3dd007d54ee88b46be476e293f48c85048603f5f516008bee124ddd891398ed6"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-win32.whl", hash = "sha256:023cb26ec21ece8dc3907c0e8320058b2e0cb3c55cf9564da612bc325bed5e64"}, - {file = "MarkupSafe-2.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:984d76483eb32f1bcb536dc27e4ad56bba4baa70be32fa87152832cdd9db0833"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:2ef54abee730b502252bcdf31b10dacb0a416229b72c18b19e24a4509f273d26"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:3c112550557578c26af18a1ccc9e090bfe03832ae994343cfdacd287db6a6ae7"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux1_i686.whl", hash = "sha256:53edb4da6925ad13c07b6d26c2a852bd81e364f95301c66e930ab2aef5b5ddd8"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:f5653a225f31e113b152e56f154ccbe59eeb1c7487b39b9d9f9cdb58e6c79dc5"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2010_i686.whl", hash = "sha256:4efca8f86c54b22348a5467704e3fec767b2db12fc39c6d963168ab1d3fc9135"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:ab3ef638ace319fa26553db0624c4699e31a28bb2a835c5faca8f8acf6a5a902"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux2014_aarch64.whl", hash = "sha256:f8ba0e8349a38d3001fae7eadded3f6606f0da5d748ee53cc1dab1d6527b9509"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c47adbc92fc1bb2b3274c4b3a43ae0e4573d9fbff4f54cd484555edbf030baf1"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:37205cac2a79194e3750b0af2a5720d95f786a55ce7df90c3af697bfa100eaac"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1f2ade76b9903f39aa442b4aadd2177decb66525062db244b35d71d0ee8599b6"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-win32.whl", hash = "sha256:10f82115e21dc0dfec9ab5c0223652f7197feb168c940f3ef61563fc2d6beb74"}, - {file = "MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl", hash = "sha256:693ce3f9e70a6cf7d2fb9e6c9d8b204b6b39897a2c4a1aa65728d5ac97dcc1d8"}, - {file = "MarkupSafe-2.0.1.tar.gz", hash = "sha256:594c67807fb16238b30c44bdf74f36c02cdf22d1c8cda91ef8a0ed8dabf5620a"}, -] -werkzeug = [ - {file = "Werkzeug-2.0.1-py3-none-any.whl", hash = "sha256:6c1ec500dcdba0baa27600f6a22f6333d8b662d22027ff9f6202e3367413caa8"}, - {file = "Werkzeug-2.0.1.tar.gz", hash = "sha256:1de1db30d010ff1af14a009224ec49ab2329ad2cde454c8a708130642d579c42"}, -] diff --git a/examples/flask/requirements.txt b/examples/flask/requirements.txt new file mode 100644 index 0000000..1b43fc8 --- /dev/null +++ b/examples/flask/requirements.txt @@ -0,0 +1 @@ +Flask>=2.0.2 \ No newline at end of file diff --git a/examples/flask/src/Flask.fsproj b/examples/flask/src/Flask.fsproj index 3e9e215..60c82bb 100644 --- a/examples/flask/src/Flask.fsproj +++ b/examples/flask/src/Flask.fsproj @@ -15,7 +15,10 @@ - + + + + + - \ No newline at end of file diff --git a/examples/flask/src/paket.references b/examples/flask/src/paket.references deleted file mode 100644 index df19221..0000000 --- a/examples/flask/src/paket.references +++ /dev/null @@ -1,3 +0,0 @@ -#Fable.Core.Experimental -Feliz.ViewEngine -Zanaptak.TypedCssClasses \ No newline at end of file diff --git a/examples/microbit/.paket/Paket.Restore.targets b/examples/microbit/.paket/Paket.Restore.targets deleted file mode 100644 index e230bb2..0000000 --- a/examples/microbit/.paket/Paket.Restore.targets +++ /dev/null @@ -1,557 +0,0 @@ - - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - $(MSBuildVersion) - 15.0.0 - false - true - - true - $(MSBuildThisFileDirectory) - $(MSBuildThisFileDirectory)..\ - $(PaketRootPath)paket-files\paket.restore.cached - $(PaketRootPath)paket.lock - classic - proj - assembly - native - /Library/Frameworks/Mono.framework/Commands/mono - mono - - - $(PaketRootPath)paket.bootstrapper.exe - $(PaketToolsPath)paket.bootstrapper.exe - $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\ - - "$(PaketBootStrapperExePath)" - $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)" - - - - - true - true - - - True - - - False - - $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/')) - - - - - - - - - $(PaketRootPath)paket - $(PaketToolsPath)paket - - - - - - $(PaketRootPath)paket.exe - $(PaketToolsPath)paket.exe - - - - - - <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")) - <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"')) - <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false - - - - - - - - - - - <_PaketCommand>dotnet paket - - - - - - $(PaketToolsPath)paket - $(PaketBootStrapperExeDir)paket - - - paket - - - - - <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)")) - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)" - - - - - - - - - - - - - - - - - - - - - true - $(NoWarn);NU1603;NU1604;NU1605;NU1608 - false - true - - - - - - - - - $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)')) - - - - - - - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``)) - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``)) - - - - - %(PaketRestoreCachedKeyValue.Value) - %(PaketRestoreCachedKeyValue.Value) - - - - - true - false - true - - - - - true - - - - - - - - - - - - - - - - - - - $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached - - $(MSBuildProjectFullPath).paket.references - - $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references - - $(MSBuildProjectDirectory)\paket.references - - false - true - true - references-file-or-cache-not-found - - - - - $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)')) - $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)')) - references-file - false - - - - - false - - - - - true - target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths) - - - - - - - - - - - false - true - - - - - - - - - - - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[6]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[7]) - - - %(PaketReferencesFileLinesInfo.PackageVersion) - All - runtime - $(ExcludeAssets);contentFiles - $(ExcludeAssets);build;buildMultitargeting;buildTransitive - true - true - - - - - $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools - - - - - - - - - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1]) - - - %(PaketCliToolFileLinesInfo.PackageVersion) - - - - - - - - - - false - - - - - - <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/> - - - - - - $(MSBuildProjectDirectory)/$(MSBuildProjectFile) - true - false - true - false - true - false - true - false - true - false - true - $(PaketIntermediateOutputPath)\$(Configuration) - $(PaketIntermediateOutputPath) - - - - <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/> - - - - - - - - - - - - - - - - - - - - - - - diff --git a/examples/microbit/Build.fsproj b/examples/microbit/Build.fsproj index 23ab60c..9dedbf4 100644 --- a/examples/microbit/Build.fsproj +++ b/examples/microbit/Build.fsproj @@ -7,5 +7,10 @@ - + + + + + + \ No newline at end of file diff --git a/examples/microbit/paket.dependencies b/examples/microbit/paket.dependencies deleted file mode 100644 index b832777..0000000 --- a/examples/microbit/paket.dependencies +++ /dev/null @@ -1,9 +0,0 @@ -source https://api.nuget.org/v3/index.json -framework: net5.0 -storage: none - -nuget Fable.Core.Experimental >= 4.0.0-alpha-002 -nuget Fable.Python - -nuget Fake.Core.Target -nuget Fake.IO.FileSystem diff --git a/examples/microbit/paket.lock b/examples/microbit/paket.lock deleted file mode 100644 index 23dcfae..0000000 --- a/examples/microbit/paket.lock +++ /dev/null @@ -1,54 +0,0 @@ -STORAGE: NONE -RESTRICTION: == net5.0 -NUGET - remote: https://api.nuget.org/v3/index.json - Fable.Core.Experimental (4.0.0-alpha-002) - FSharp.Core (>= 4.7.2) - Fable.Python (0.9) - Fable.Core.Experimental (>= 4.0.0-alpha-002) - FSharp.Core (>= 6.0) - Fake.Core.CommandLineParsing (5.20.4) - FParsec (>= 1.1.1) - FSharp.Core (>= 4.7.2) - Fake.Core.Context (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Environment (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.FakeVar (5.20.4) - Fake.Core.Context (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Process (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - System.Collections.Immutable (>= 1.7.1) - Fake.Core.String (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Target (5.20.4) - Fake.Core.CommandLineParsing (>= 5.20.4) - Fake.Core.Context (>= 5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - FSharp.Control.Reactive (>= 4.4.2) - FSharp.Core (>= 4.7.2) - Fake.Core.Trace (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.IO.FileSystem (5.20.4) - Fake.Core.String (>= 5.20.4) - FSharp.Core (>= 4.7.2) - FParsec (1.1.1) - FSharp.Core (>= 4.3.4) - FSharp.Control.Reactive (5.0.2) - FSharp.Core (>= 4.7.2) - System.Reactive (>= 5.0) - FSharp.Core (6.0) - System.Collections.Immutable (5.0) - System.Reactive (5.0) diff --git a/examples/microbit/paket.references b/examples/microbit/paket.references deleted file mode 100644 index 40aad72..0000000 --- a/examples/microbit/paket.references +++ /dev/null @@ -1,2 +0,0 @@ -Fake.Core.Target -Fake.IO.FileSystem diff --git a/examples/microbit/src/paket.references b/examples/microbit/src/paket.references deleted file mode 100644 index e0e5c8a..0000000 --- a/examples/microbit/src/paket.references +++ /dev/null @@ -1 +0,0 @@ -Fable.Core.Experimental \ No newline at end of file diff --git a/examples/paket.dependencies b/examples/paket.dependencies deleted file mode 100644 index 8cb5d38..0000000 --- a/examples/paket.dependencies +++ /dev/null @@ -1 +0,0 @@ -# Just to keep paket out of the examples folder \ No newline at end of file diff --git a/examples/timeflies/TimeFlies.fsproj b/examples/timeflies/TimeFlies.fsproj index 4063881..1bc534c 100644 --- a/examples/timeflies/TimeFlies.fsproj +++ b/examples/timeflies/TimeFlies.fsproj @@ -1,16 +1,16 @@  - - Exe - net5.0 - 3390;$(WarnOn) - - - - - - - - - - \ No newline at end of file + + Exe + net5.0 + 3390;$(WarnOn) + + + + + + + + + + \ No newline at end of file diff --git a/global.json b/global.json new file mode 100644 index 0000000..d8366ba --- /dev/null +++ b/global.json @@ -0,0 +1,6 @@ +{ + "sdk": { + "version": "6.0.0", + "rollForward": "latestMinor" + } +} \ No newline at end of file diff --git a/paket.dependencies b/paket.dependencies deleted file mode 100644 index 546852f..0000000 --- a/paket.dependencies +++ /dev/null @@ -1,27 +0,0 @@ - -source https://api.nuget.org/v3/index.json -storage: none -framework: net5.0, netstandard2.0, netstandard2.1 - -nuget FSharp.Core >= 5 -nuget Fable.Core.Experimental >= 4.0.0-alpha-002 - -group Test - source https://api.nuget.org/v3/index.json - storage: none - framework: net5.0 - - nuget FSharp.Core - nuget Fable.Core.Experimental >= 4.0.0-alpha-002 - nuget Microsoft.NET.Test.Sdk ~> 16 - nuget XUnit ~> 2 - nuget xunit.runner.visualstudio ~> 2 - - -group Build - source https://api.nuget.org/v3/index.json - storage: none - framework: net5.0 - - nuget Fake.Core.Target - nuget Fake.IO.FileSystem diff --git a/paket.lock b/paket.lock deleted file mode 100644 index a00b0e6..0000000 --- a/paket.lock +++ /dev/null @@ -1,101 +0,0 @@ -STORAGE: NONE -RESTRICTION: || (== net5.0) (== netstandard2.0) (== netstandard2.1) -NUGET - remote: https://api.nuget.org/v3/index.json - Fable.Core.Experimental (4.0.0-alpha-002) - FSharp.Core (>= 4.7.2) - FSharp.Core (6.0) - -GROUP Build -STORAGE: NONE -RESTRICTION: == net5.0 -NUGET - remote: https://api.nuget.org/v3/index.json - Fake.Core.CommandLineParsing (5.20.4) - FParsec (>= 1.1.1) - FSharp.Core (>= 4.7.2) - Fake.Core.Context (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Environment (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.FakeVar (5.20.4) - Fake.Core.Context (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Process (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - System.Collections.Immutable (>= 1.7.1) - Fake.Core.String (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Target (5.20.4) - Fake.Core.CommandLineParsing (>= 5.20.4) - Fake.Core.Context (>= 5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - FSharp.Control.Reactive (>= 4.4.2) - FSharp.Core (>= 4.7.2) - Fake.Core.Trace (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.IO.FileSystem (5.20.4) - Fake.Core.String (>= 5.20.4) - FSharp.Core (>= 4.7.2) - FParsec (1.1.1) - FSharp.Core (>= 4.3.4) - FSharp.Control.Reactive (5.0.2) - FSharp.Core (>= 4.7.2) - System.Reactive (>= 5.0) - FSharp.Core (6.0) - System.Collections.Immutable (5.0) - System.Reactive (5.0) - -GROUP Test -STORAGE: NONE -RESTRICTION: == net5.0 -NUGET - remote: https://api.nuget.org/v3/index.json - Fable.Core.Experimental (4.0.0-alpha-002) - FSharp.Core (>= 4.7.2) - FSharp.Core (6.0) - Microsoft.CodeCoverage (16.11) - Microsoft.NET.Test.Sdk (16.11) - Microsoft.CodeCoverage (>= 16.11) - Microsoft.TestPlatform.TestHost (>= 16.11) - Microsoft.NETCore.Platforms (5.0.4) - Microsoft.TestPlatform.ObjectModel (16.11) - NuGet.Frameworks (>= 5.0) - System.Reflection.Metadata (>= 1.6) - Microsoft.TestPlatform.TestHost (16.11) - Microsoft.TestPlatform.ObjectModel (>= 16.11) - Newtonsoft.Json (>= 9.0.1) - NETStandard.Library (2.0.3) - Microsoft.NETCore.Platforms (>= 1.1) - Newtonsoft.Json (13.0.1) - NuGet.Frameworks (5.11) - System.Reflection.Metadata (5.0) - xunit (2.4.1) - xunit.analyzers (>= 0.10) - xunit.assert (2.4.1) - xunit.core (2.4.1) - xunit.abstractions (2.0.3) - xunit.analyzers (0.10) - xunit.assert (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.core (2.4.1) - xunit.extensibility.core (2.4.1) - xunit.extensibility.execution (2.4.1) - xunit.extensibility.core (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.abstractions (>= 2.0.3) - xunit.extensibility.execution (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.extensibility.core (2.4.1) - xunit.runner.visualstudio (2.4.3) diff --git a/paket.references b/paket.references deleted file mode 100644 index f6779cc..0000000 --- a/paket.references +++ /dev/null @@ -1,4 +0,0 @@ -group Build - -Fake.Core.Target -Fake.IO.FileSystem diff --git a/src/Fable.Python.fsproj b/src/Fable.Python.fsproj index 213a444..c6705fc 100644 --- a/src/Fable.Python.fsproj +++ b/src/Fable.Python.fsproj @@ -31,5 +31,8 @@ - + + + + \ No newline at end of file diff --git a/src/paket.references b/src/paket.references deleted file mode 100644 index bdc56d3..0000000 --- a/src/paket.references +++ /dev/null @@ -1,3 +0,0 @@ - -FSharp.Core -Fable.Core.Experimental \ No newline at end of file diff --git a/test/Fable.Python.Test.fsproj b/test/Fable.Python.Test.fsproj index f2c869f..d9005b9 100644 --- a/test/Fable.Python.Test.fsproj +++ b/test/Fable.Python.Test.fsproj @@ -17,5 +17,14 @@ - + + + + + + + all + runtime; build; native; contentfiles; analyzers; buildtransitive + + \ No newline at end of file diff --git a/test/paket.references b/test/paket.references deleted file mode 100644 index 196a4ed..0000000 --- a/test/paket.references +++ /dev/null @@ -1,10 +0,0 @@ -group Test - -FSharp.Core -Fable.Core.Experimental - -Microsoft.NET.Test.Sdk - -XUnit - -xunit.runner.visualstudio