Skip to content

Commit 1bce523

Browse files
Release version 3.1.1
1 parent 36784e6 commit 1bce523

File tree

5 files changed

+13
-7
lines changed

5 files changed

+13
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
public/js
33
public/libs
44
public/metadata
5+
src/Standalone/
56
deploy/
67
temp/
78
.idea

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9+
## 3.1.1
10+
11+
* Update Fable
12+
913
## 3.0.4
1014

1115
* New attempt at removing ServiceWorker

build.fsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ let METADATA_EXPORT_DIR = Path.Combine(CWD, "src/Export")
3333
let CHANGELOG_FILE = Path.Combine(CWD, "CHANGELOG.md")
3434
let PRELUDE_FILE = CWD </> "src/App/Prelude.fs"
3535

36-
let METADATA_LIB, STANDALONE_DIST =
36+
let METADATA_LIB, STANDALONE_DIST, STANDALONE_SRC =
3737
match Environment.environVarOrNone "LOCAL_PKG" with
3838
| Some _ ->
3939
printfn "Using local packages..."
40-
"../fable/src/fable-metadata/lib", "../fable/src/fable-standalone/dist"
41-
| None -> "node_modules/fable-metadata/lib", "node_modules/fable-standalone/dist"
40+
"../Fable/src/fable-metadata/lib", "../Fable/src/fable-standalone/dist", "../Fable/src/fable-standalone/src"
41+
| None -> "node_modules/fable-metadata/lib", "node_modules/fable-standalone/dist", "node_modules/fable-standalone/dist"
4242

4343
module Util =
4444

@@ -130,6 +130,7 @@ let copyModules = BuildTask.create "CopyModules" [ npmInstall ] {
130130
)
131131

132132
Shell.copyDir REPL_OUTPUT STANDALONE_DIST (fun _ -> true)
133+
Shell.copyDir "src/Standalone" STANDALONE_SRC (fun f -> f.EndsWith(".fs"))
133134
}
134135

135136
// TODO re-add generate metadata for REPL lib using git submobules
@@ -197,7 +198,7 @@ let watchApp = BuildTask.create "WatchApp" [ copyModules ] {
197198
Npm.run "start" id
198199
}
199200

200-
let _release = BuildTask.create "Release" [ updatePreludeREPLVersion; buildApp ] {
201+
let _release = BuildTask.create "Release" [ updatePreludeREPLVersion; ] {
201202
let token =
202203
match Environment.environVarOrDefault "GITHUB_TOKEN" "" with
203204
| s when not (System.String.IsNullOrWhiteSpace s) -> s

src/App/App.fsproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
<TargetFramework>netstandard2.0</TargetFramework>
55
</PropertyGroup>
66
<ItemGroup>
7-
<Compile Include="..\..\node_modules\fable-standalone\src\Interfaces.fs" />
8-
<Compile Include="..\..\node_modules\fable-standalone\src\Worker\Shared.fs" />
7+
<Compile Include="..\Standalone\Interfaces.fs" />
8+
<Compile Include="..\Standalone\Worker\Shared.fs" />
99
<Compile Include="Libs\Monaco.fs" />
1010
<Compile Include="Libs/ReactDeviceDetect.fs" />
1111
<Compile Include="Prelude.fs" />

src/App/Prelude.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ open Fable.Core
66

77
[<RequireQualifiedAccess>]
88
module Literals =
9-
let [<Literal>] REPL_VERSION = "3.0.4" // Do not edit manually
9+
let [<Literal>] REPL_VERSION = "3.1.1" // Do not edit manually
1010
let [<Literal>] STORAGE_KEY = "fable-repl"
1111
let [<Literal>] MAX_LOGS_LENGTH = 200
1212
// let [<Literal>] HOST =

0 commit comments

Comments
 (0)