diff --git a/build.fsx b/build.fsx index bc9ff40732..e9ea966893 100644 --- a/build.fsx +++ b/build.fsx @@ -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" diff --git a/src/Fable.Cli/Util.fs b/src/Fable.Cli/Util.fs index 76d39567b4..6bb6e117f8 100644 --- a/src/Fable.Cli/Util.fs +++ b/src/Fable.Cli/Util.fs @@ -2,7 +2,7 @@ namespace Fable.Cli module Literals = - let [] VERSION = "2.2.0-beta-007" + let [] VERSION = "2.2.0-beta-008" let [] CORE_VERSION = "2.1.0" let [] DEFAULT_PORT = 61225 let [] FORCE = "force:" diff --git a/src/fable-compiler/RELEASE_NOTES.md b/src/fable-compiler/RELEASE_NOTES.md index 45133116de..a804e19978 100644 --- a/src/fable-compiler/RELEASE_NOTES.md +++ b/src/fable-compiler/RELEASE_NOTES.md @@ -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 diff --git a/src/fable-compiler/package-lock.json b/src/fable-compiler/package-lock.json index 978a763cf5..82cb5d33a1 100644 --- a/src/fable-compiler/package-lock.json +++ b/src/fable-compiler/package-lock.json @@ -1,6 +1,6 @@ { "name": "fable-compiler", - "version": "2.2.0-beta-007", + "version": "2.2.0-beta-008", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/src/fable-compiler/package.json b/src/fable-compiler/package.json index 24258b8de8..67a2f2f085 100644 --- a/src/fable-compiler/package.json +++ b/src/fable-compiler/package.json @@ -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": [ diff --git a/src/fable-standalone/RELEASE_NOTES.md b/src/fable-standalone/RELEASE_NOTES.md index c47c102c68..b86b0be822 100644 --- a/src/fable-standalone/RELEASE_NOTES.md +++ b/src/fable-standalone/RELEASE_NOTES.md @@ -1,3 +1,7 @@ +### 1.0.0-beta-005 + +* Anonymous records + ### 1.0.0-beta-004 * Compile tests with fable-compiler-js @ncave diff --git a/src/fable-standalone/package.json b/src/fable-standalone/package.json index 0a15618aab..d7a1e7b58e 100644 --- a/src/fable-standalone/package.json +++ b/src/fable-standalone/package.json @@ -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": [