Skip to content

Commit

Permalink
Publish 2.2.0-beta-008
Browse files Browse the repository at this point in the history
alfonsogarciacaro committed Feb 21, 2019
1 parent b377710 commit 6a96779
Showing 7 changed files with 18 additions and 10 deletions.
12 changes: 6 additions & 6 deletions build.fsx
Original file line number Diff line number Diff line change
@@ -101,12 +101,12 @@ let buildStandalone() =
let libraryTarget = projectDir </> "dist/fable-library"
copyDirRecursive libraryDir libraryTarget
// These files will be used in the browser, so make sure the import paths include .js extension
// let reg = Regex(@"^import (.*"".*)("".*)$", RegexOptions.Multiline)
// getFullPathsInDirectoryRecursively libraryTarget
// |> Array.filter (fun file -> file.EndsWith(".js"))
// |> Array.iter (fun file ->
// reg.Replace(readFile file, "import $1.js$2")
// |> writeFile file)
let reg = Regex(@"^import (.*"".*)("".*)$", RegexOptions.Multiline)
getFullPathsInDirectoryRecursively libraryTarget
|> Array.filter (fun file -> file.EndsWith(".js"))
|> Array.iter (fun file ->
reg.Replace(readFile file, "import $1.js$2")
|> writeFile file)

// Bump version
// let compilerVersion = Publish.loadReleaseVersion "src/fable-compiler"
2 changes: 1 addition & 1 deletion src/Fable.Cli/Util.fs
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ namespace Fable.Cli

module Literals =

let [<Literal>] VERSION = "2.2.0-beta-007"
let [<Literal>] VERSION = "2.2.0-beta-008"
let [<Literal>] CORE_VERSION = "2.1.0"
let [<Literal>] DEFAULT_PORT = 61225
let [<Literal>] FORCE = "force:"
4 changes: 4 additions & 0 deletions src/fable-compiler/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 2.2.0-beta-008

* Anonymous records!

### 2.2.0-beta-007

* Fix report of warnings as errors from files in `.fable` dir
2 changes: 1 addition & 1 deletion src/fable-compiler/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/fable-compiler/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fable-compiler",
"version": "2.2.0-beta-007",
"version": "2.2.0-beta-008",
"main": "dist/index.js",
"description": "Fable compiler",
"keywords": [
4 changes: 4 additions & 0 deletions src/fable-standalone/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.0.0-beta-005

* Anonymous records

### 1.0.0-beta-004

* Compile tests with fable-compiler-js @ncave
2 changes: 1 addition & 1 deletion src/fable-standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fable-standalone",
"version": "1.0.0-beta-004",
"version": "1.0.0-beta-005",
"main": "dist/commonjs/index.js",
"description": "Fable compiler",
"keywords": [

0 comments on commit 6a96779

Please sign in to comment.