]>
git.immae.eu Git - github/fretlink/purs-loader.git/log
eric thul [Mon, 20 Feb 2017 18:03:26 +0000 (13:03 -0500)]
Fix typo in makeBundleJS
eric thul [Mon, 20 Feb 2017 01:00:15 +0000 (20:00 -0500)]
Version 2.4.0-beta.0
eric thul [Sun, 19 Feb 2017 17:17:27 +0000 (12:17 -0500)]
Fix typo in README
eric thul [Sun, 19 Feb 2017 16:29:57 +0000 (11:29 -0500)]
Add a watch option
Similar to the way psc-ide support works, the purs-loader now tolerates
compiler errors when the `watch` option is true. When webpack is being
run in watch mode the user can set `watch` to true in order to avoid
failing the webpack bundle creation when the PureScript compiler fails.
Resolves issue #66
Resolves issue #73
Resolves issue #74
eric thul [Sun, 12 Feb 2017 23:05:07 +0000 (18:05 -0500)]
Ensure that all imported files are watched
In order to handle the case where a new PureScript file is imported, but
fails to compile, the purs-loader now tracks imports for each PureScript
file in order to append any additional imports to the resulting JS.
This ensures that webpack will watch the new file even before it
successfully compiles.
eric thul [Sun, 12 Feb 2017 21:16:23 +0000 (16:16 -0500)]
Version 2.3.0
eric thul [Sun, 12 Feb 2017 21:15:12 +0000 (16:15 -0500)]
Small update to README
Andrei Dziahel [Sun, 12 Feb 2017 21:12:35 +0000 (00:12 +0300)]
initial psc-package support (#82)
* Extract deps path
* Initial psc-package support
* index.js: `pscPackage` and `src` incompatibility warning
* index.js: make use of user-provided options
* index.js: make use of user-provided options: now for pscIdeColors
* index.js: remember depsPaths call result
* index.js: implemented appending user src paths with psc-packages'
* README.md: sync changes of pscPackage behavior
Also reflect pscPackage support in "Default options" section
eric thul [Tue, 10 Jan 2017 13:22:35 +0000 (08:22 -0500)]
Version 2.2.0
eric [Mon, 9 Jan 2017 20:48:12 +0000 (15:48 -0500)]
Merge pull request #80 from kozak/feature/psc-ide-server-args
Add psc-ide-server arguments and pass src to psc-ide-server
Michal Kozakiewicz [Mon, 9 Jan 2017 16:42:05 +0000 (17:42 +0100)]
Add information about potentially slowing down webpack startup
Michal Kozakiewicz [Fri, 6 Jan 2017 16:18:59 +0000 (17:18 +0100)]
Add psc-ide-server arguments and pass src to psc-ide-server
eric thul [Sun, 20 Nov 2016 02:13:16 +0000 (21:13 -0500)]
Version 2.1.1
eric thul [Sun, 20 Nov 2016 02:08:47 +0000 (21:08 -0500)]
Emit warnings/errors to the compilation instance
Avoids duplication of warnings. Resolves #78
eric thul [Sat, 19 Nov 2016 19:09:56 +0000 (14:09 -0500)]
Version 2.1.0
eric [Sat, 19 Nov 2016 19:09:12 +0000 (14:09 -0500)]
Merge pull request #77 from ethul/topic/psc-ide
Topic/psc ide
eric thul [Sat, 19 Nov 2016 18:57:32 +0000 (13:57 -0500)]
Use emitError and emitWarning
eric thul [Sat, 19 Nov 2016 18:12:54 +0000 (13:12 -0500)]
PscIde full recompile on unknown module imports
Instead of forcing a recompile on an unknown value and on unknown module
imports, opt to only recompile for unknown module imports. An unknown
value may be a typo. Having a faster feedback loop in these cases seems
ideal.
eric thul [Sat, 19 Nov 2016 17:47:18 +0000 (12:47 -0500)]
Update debug statements during build/bundle
eric thul [Sat, 19 Nov 2016 17:26:58 +0000 (12:26 -0500)]
Always resolve on psc-ide rebuild failure
The objective of enabling psc-ide is to obtain feedback immediately from
the PureScript compiler. When the loader triggers an error to webpack,
the bundle is invalidated and dependencies of the PureScript file that
caused the error will be passed through the loader on the next
successful rebuild.
However, this behaviour adds time to the feedback loop. In order to
reduce the time of the PureScript compiler feedback loop when in
development, this commit always resolves the rebuild process with a
success. Errors and warnings are still emitted, but the webpack bundle
is not invalidated. This means that the loader will only be run for the
current file being editted and the developer gets immediate feedback on
success or failure when psc-ide is enabled.
Resolves #76
eric thul [Sat, 12 Nov 2016 13:16:45 +0000 (08:16 -0500)]
Clarify dist-tags
eric thul [Sat, 12 Nov 2016 13:10:20 +0000 (08:10 -0500)]
Bumping version number to 2.0.2
eric [Sat, 12 Nov 2016 13:08:35 +0000 (08:08 -0500)]
Merge pull request #75 from javcasas/master
Don't console.log unless it is needed
Javier Casas [Fri, 11 Nov 2016 15:45:03 +0000 (10:45 -0500)]
Don't console.log unless it is needed
eric thul [Sat, 5 Nov 2016 21:49:56 +0000 (17:49 -0400)]
Merge branch 'paluh-master'
eric thul [Sat, 5 Nov 2016 21:49:34 +0000 (17:49 -0400)]
Update wording in README
Tomasz Rybarczyk [Sat, 5 Nov 2016 21:20:56 +0000 (22:20 +0100)]
Add info about possibility to connect to existing `psc-ide-server`
Tomasz Rybarczyk [Sat, 5 Nov 2016 20:12:23 +0000 (21:12 +0100)]
Add pscIdeArgs to default options list in README.md
eric thul [Sat, 5 Nov 2016 18:23:21 +0000 (14:23 -0400)]
Update README for PureScript 0.10
eric thul [Sat, 5 Nov 2016 18:18:35 +0000 (14:18 -0400)]
Bumping version number to 2.0.1
eric thul [Sat, 5 Nov 2016 18:15:58 +0000 (14:15 -0400)]
Adding dargs dependency
See issue #69
eric thul [Sat, 5 Nov 2016 18:01:18 +0000 (14:01 -0400)]
Wrapping reject values in Error objects
eric thul [Wed, 12 Oct 2016 21:44:14 +0000 (17:44 -0400)]
Bumping version number to 2.0.0
eric [Tue, 6 Sep 2016 17:51:19 +0000 (13:51 -0400)]
Merge pull request #67 from jqyu/master
Fixes bundled output path
James Yu [Tue, 6 Sep 2016 17:43:50 +0000 (13:43 -0400)]
Fixes bundled output path
eric thul [Sun, 12 Jun 2016 20:10:44 +0000 (16:10 -0400)]
Bumping version number to 2.0.0-rc.1
eric [Sun, 12 Jun 2016 20:06:34 +0000 (16:06 -0400)]
Merge pull request #61 from ethul/topic/issues
Reduce building of PureScript module map
eric thul [Sun, 12 Jun 2016 20:04:14 +0000 (16:04 -0400)]
Clear warnings and errors after use
Resolves #57
eric thul [Sun, 12 Jun 2016 19:37:34 +0000 (15:37 -0400)]
Handle no filename in PscIde result
Resolves #58
eric thul [Sun, 12 Jun 2016 19:17:44 +0000 (15:17 -0400)]
Reduce building of PureScript module map
Resolves #59 and resolves #60
eric [Sat, 4 Jun 2016 04:15:57 +0000 (00:15 -0400)]
Merge pull request #55 from ethul/topic/issue-54
Bumping version number to 2.0.0-rc.0
eric thul [Tue, 31 May 2016 01:43:29 +0000 (21:43 -0400)]
Bumping version number to 2.0.0-rc.0
Adds support for PureScript 0.9.1 and newer (purescript/purescript#2151)
The `next` tag on NPM points to this pre-release. Also note that
`peerDependencies` has been removed (npm/npm#8854).
Resolves #54
eric thul [Sat, 4 Jun 2016 03:25:35 +0000 (23:25 -0400)]
Bumping version number to 1.0.0
eric thul [Tue, 24 May 2016 12:57:37 +0000 (08:57 -0400)]
Bumping version number to 1.0.0-rc.1
eric [Tue, 24 May 2016 12:56:59 +0000 (08:56 -0400)]
Merge pull request #53 from ethul/topic/issue-52
Escape require paths for windows
eric thul [Tue, 24 May 2016 12:55:38 +0000 (08:55 -0400)]
Escape require paths for windows
Resolves #52
eric [Tue, 24 May 2016 11:48:06 +0000 (07:48 -0400)]
Merge pull request #51 from ethul/topic/issue-50
Use cross-spawn for windows support
eric thul [Tue, 24 May 2016 11:46:39 +0000 (07:46 -0400)]
Use cross-spawn for windows support
Resolves #50
eric [Tue, 24 May 2016 11:41:12 +0000 (07:41 -0400)]
Merge pull request #49 from ethul/topic/issue-48
Handler for multiple psc-ide-client data events
eric thul [Tue, 24 May 2016 11:34:35 +0000 (07:34 -0400)]
Handler for multiple psc-ide-client data events
Attach a handler to the `psc-ide-client` process to capture one or more
chunks from the `data` event.
Resolves #48
eric thul [Sun, 22 May 2016 02:57:33 +0000 (22:57 -0400)]
Bumping version number to 1.0.0-rc.0
eric [Sun, 22 May 2016 02:44:27 +0000 (22:44 -0400)]
Merge pull request #47 from alexmingoia/topic/refactor
Refactor to compile independently of purescript-webpack-plugin.
Alex Mingoia [Sun, 22 May 2016 00:04:26 +0000 (17:04 -0700)]
Reference source ffi module instead of output ffi module.
Alex Mingoia [Sun, 22 May 2016 00:01:32 +0000 (17:01 -0700)]
Add prepublish transpilation script.
Alex Mingoia [Sat, 21 May 2016 23:53:29 +0000 (16:53 -0700)]
Do not check-in transpiled source.
Alex Mingoia [Sat, 14 May 2016 20:57:05 +0000 (13:57 -0700)]
Update babelified source.
Alex Mingoia [Sat, 14 May 2016 20:56:14 +0000 (13:56 -0700)]
Correctly parse boolean options.
Alex Mingoia [Sat, 14 May 2016 20:55:24 +0000 (13:55 -0700)]
Do not assume line-delimited psc output.
Alex Mingoia [Sat, 14 May 2016 20:55:04 +0000 (13:55 -0700)]
Use more descriptive names for compile state.
Alex Mingoia [Sat, 14 May 2016 05:35:10 +0000 (22:35 -0700)]
Add babelified source.
Alex Mingoia [Thu, 12 May 2016 20:57:55 +0000 (13:57 -0700)]
Disable instant psc-ide rebuilds by default.
Using psc-ide-server is experimental and there may be bugs or edge-cases.
Alex Mingoia [Wed, 11 May 2016 05:04:44 +0000 (22:04 -0700)]
Recompile on when psc-client-ide receives UnknownModule.
Alex Mingoia [Tue, 10 May 2016 07:09:28 +0000 (00:09 -0700)]
Refactor to compile independently of purescript-webpack-plugin.
- Remove dependence on purescript-webpack-plugin
- Fixes double-compilation issue by loading compiled JS instead of adding
dependency.
- Uses `psc-ide-server` for fast rebuilds.
eric thul [Tue, 15 Mar 2016 22:51:26 +0000 (18:51 -0400)]
Bumping version number to 0.6.0
eric thul [Tue, 15 Mar 2016 00:41:43 +0000 (20:41 -0400)]
Bumping version number to 0.6.0-beta.6
eric [Tue, 15 Mar 2016 00:40:54 +0000 (20:40 -0400)]
Merge pull request #45 from ethul/topic/issue-41
Escape path for require
eric thul [Tue, 15 Mar 2016 00:35:35 +0000 (20:35 -0400)]
Escape path for require
Resolves #41
eric thul [Sun, 13 Mar 2016 14:11:34 +0000 (10:11 -0400)]
Bumping version number to 0.6.0-beta.5
eric [Sun, 13 Mar 2016 14:07:58 +0000 (10:07 -0400)]
Merge pull request #44 from ethul/topic/output-only-once
Topic/output only once
eric thul [Sun, 13 Mar 2016 14:06:11 +0000 (10:06 -0400)]
Extracting out the example
eric thul [Sun, 13 Mar 2016 14:00:17 +0000 (10:00 -0400)]
Defers to the plugin for writing PureScript output
eric thul [Sat, 12 Mar 2016 20:06:35 +0000 (15:06 -0500)]
Bumping version number to 0.6.0-beta.4
eric [Sat, 12 Mar 2016 19:56:34 +0000 (14:56 -0500)]
Merge pull request #42 from ethul/topic/stderr
Writes PureScript output to stderr
eric thul [Sat, 12 Mar 2016 19:55:05 +0000 (14:55 -0500)]
Merge branch 'master' into topic/stderr
eric [Sat, 12 Mar 2016 19:46:01 +0000 (14:46 -0500)]
Merge pull request #43 from ethul/topic/optional-bundle
Handle optional bundling by the compiler
eric thul [Sat, 12 Mar 2016 19:33:55 +0000 (14:33 -0500)]
Handling dependencies
eric thul [Wed, 9 Mar 2016 02:58:55 +0000 (21:58 -0500)]
Handle optional bundling by the compiler
Resolves ethul/purescript-webpack-plugin#9
eric thul [Sun, 6 Mar 2016 16:47:39 +0000 (11:47 -0500)]
Writes PureScript output to stderr
Resolves #40
eric thul [Tue, 1 Mar 2016 00:57:39 +0000 (19:57 -0500)]
Bumping version number to 0.6.0-beta.3
eric thul [Sun, 28 Feb 2016 14:22:09 +0000 (09:22 -0500)]
Bumping version number to 0.6.0-beta.2
eric thul [Sun, 28 Feb 2016 01:19:09 +0000 (20:19 -0500)]
Bumping version number to 0.6.0-beta.1
eric [Sun, 28 Feb 2016 01:16:49 +0000 (20:16 -0500)]
Merge pull request #39 from ethul/topic/debug
Adding debug logging
eric thul [Sun, 28 Feb 2016 01:15:10 +0000 (20:15 -0500)]
Adding debug logging
eric thul [Fri, 26 Feb 2016 02:49:33 +0000 (21:49 -0500)]
Bumping version number to 0.6.0-beta.0
eric [Fri, 26 Feb 2016 02:48:42 +0000 (21:48 -0500)]
Merge pull request #38 from ethul/topic/dependency-graph
Topic/dependency graph
eric thul [Thu, 25 Feb 2016 03:55:17 +0000 (22:55 -0500)]
Updating example
eric thul [Thu, 25 Feb 2016 03:53:40 +0000 (22:53 -0500)]
Adds dependencies of modules process by the loader.
The module file path and dependency graph information is provided by the
purescript-webpack-plugin.
Resolves #37
eric thul [Tue, 19 Jan 2016 13:55:06 +0000 (08:55 -0500)]
Bumping version number to 0.5.0
eric [Tue, 19 Jan 2016 13:41:51 +0000 (08:41 -0500)]
Merge pull request #34 from ethul/topic/psc-webpack-plugin
Topic/psc webpack plugin
eric thul [Tue, 29 Dec 2015 13:24:06 +0000 (08:24 -0500)]
Updating example for .purs extension
Showing usage of specifying .purs and not specifying an extension for
require statements.
eric thul [Sun, 27 Dec 2015 15:17:21 +0000 (10:17 -0500)]
More example files
eric thul [Sat, 26 Dec 2015 00:24:02 +0000 (19:24 -0500)]
Updating bundle output option name
eric thul [Sat, 26 Dec 2015 00:16:21 +0000 (19:16 -0500)]
Updating example
eric thul [Fri, 25 Dec 2015 23:41:33 +0000 (18:41 -0500)]
Splitting PSC functionality into a separate plugin
The loader creates shim modules that reference their corresponding
PureScript module that is bundled by the PureScript webpack plugin,
which invokes `psc` and `psc-bundle`.
Resolves #31 and resolves #32
eric thul [Mon, 21 Dec 2015 03:11:16 +0000 (22:11 -0500)]
Fixing compiler warnings
eric thul [Sat, 7 Nov 2015 20:14:39 +0000 (15:14 -0500)]
Bumping version number to 0.4.0
eric [Sat, 7 Nov 2015 20:06:39 +0000 (15:06 -0500)]
Merge pull request #30 from natefaubion/fix-paths
Fix paths
Nathan Faubion [Sat, 7 Nov 2015 19:55:46 +0000 (13:55 -0600)]
Update example webpack.config
Nathan Faubion [Mon, 2 Nov 2015 20:04:58 +0000 (14:04 -0600)]
Remove `require-path`, use relative paths for PS
Fixes #15
Removes the `require-path` option and fixes it to '../'. When generating
the temporary module for Webpack, use a relative path to the output
directory so it doesn't need to be in `modulesDirectories`.
Nathan Faubion [Mon, 2 Nov 2015 20:03:45 +0000 (14:03 -0600)]
Update bower deps for latest PS compiler