]>
git.immae.eu Git - github/fretlink/purs-loader.git/log
eric thul [Tue, 17 Dec 2019 01:33:09 +0000 (20:33 -0500)]
Fix package.json
eric thul [Tue, 17 Dec 2019 01:25:32 +0000 (20:25 -0500)]
Update dependencies
Daniel Harvey [Tue, 17 Dec 2019 01:11:06 +0000 (01:11 +0000)]
Use 'spago path output' to choose default output path (#132)
* Use 'spago path output'
* Remove eol from path
eric thul [Sun, 2 Jun 2019 12:39:12 +0000 (08:39 -0400)]
Version 3.6.0
Daniel Harvey [Sun, 2 Jun 2019 12:31:30 +0000 (13:31 +0100)]
Add option to include Spago sources (#126)
eric thul [Fri, 24 May 2019 12:48:43 +0000 (08:48 -0400)]
Version 3.5.0
Cyril Sobierajewicz [Fri, 24 May 2019 12:46:35 +0000 (14:46 +0200)]
Don’t unnecessarily invalidate the module map (#124)
* Don’t unnecessarily invalidate the module map
Additional imports in PureScript sources (compared to their JavaScript output) shouldn’t always invalidate the module map because imports of types are erased and re-exports are followed.
Also `Prim.*` modules are internal to the compiler and won’t ever be present in the module map.
* Don’t add imports to unused modules
Otherwise the following expression
```purs
hello :: Effect Unit
hello = log "Hello"
```
includes the whole `Prelude` into its chunk whereas only `log` is actually needed at runtime.
eric thul [Sun, 10 Mar 2019 12:54:55 +0000 (08:54 -0400)]
Version 3.4.0
Rajat Sharma [Sun, 10 Mar 2019 12:53:45 +0000 (18:23 +0530)]
Added hooks support (#122)
Closes #120
eric thul [Sun, 20 Jan 2019 20:56:01 +0000 (15:56 -0500)]
Version 3.3.0
eric [Sun, 20 Jan 2019 20:43:29 +0000 (15:43 -0500)]
Remove psModule references (#119)
Resolves #110
eric [Sun, 20 Jan 2019 20:32:26 +0000 (15:32 -0500)]
Sourcemaps for ide rebuild (#118)
Resolves #116
eric thul [Thu, 14 Jun 2018 09:32:36 +0000 (05:32 -0400)]
Version 3.2.0
Michael Trotter [Thu, 14 Jun 2018 09:31:34 +0000 (03:31 -0600)]
Update regex for 0.12.0 (#112)
eric thul [Sat, 17 Mar 2018 21:15:24 +0000 (17:15 -0400)]
Version 3.1.4
eric thul [Sat, 17 Mar 2018 20:30:56 +0000 (16:30 -0400)]
3.1.3
eric thul [Sat, 17 Mar 2018 20:24:20 +0000 (16:24 -0400)]
Fix for webpack4
Resolves #103 and provides an alternative to #108
eric thul [Tue, 3 Oct 2017 17:42:24 +0000 (13:42 -0400)]
3.1.2
eric thul [Tue, 3 Oct 2017 17:40:08 +0000 (13:40 -0400)]
Rebuild module map for new files
Resolves #100
eric thul [Thu, 24 Aug 2017 23:58:57 +0000 (19:58 -0400)]
3.1.1
eric [Thu, 24 Aug 2017 23:58:05 +0000 (19:58 -0400)]
Generate module map once (#105)
Resolves #97
eric thul [Sat, 12 Aug 2017 14:48:53 +0000 (10:48 -0400)]
3.1.0
eric [Sat, 12 Aug 2017 14:47:55 +0000 (10:47 -0400)]
Adding source map support (#102)
* Adding source map support
Resolves #101
* Remove unused fs
eric thul [Tue, 25 Apr 2017 21:56:47 +0000 (17:56 -0400)]
Version 3.0.0
eric thul [Tue, 25 Apr 2017 01:06:01 +0000 (21:06 -0400)]
Version 3.0.0-beta.2
eric thul [Tue, 25 Apr 2017 01:04:49 +0000 (21:04 -0400)]
Add options for ide commands
eric thul [Sun, 23 Apr 2017 23:02:21 +0000 (19:02 -0400)]
Version 3.0.0-beta.1
eric thul [Sun, 23 Apr 2017 23:02:01 +0000 (19:02 -0400)]
Fix requires and psc-package caching
eric thul [Sun, 23 Apr 2017 22:23:46 +0000 (18:23 -0400)]
Version 3.0.0-beta.0
eric thul [Sun, 23 Apr 2017 22:23:34 +0000 (18:23 -0400)]
Update yarn.lock
eric thul [Sun, 23 Apr 2017 22:17:27 +0000 (18:17 -0400)]
Handle multiple forced compiles on rebuild
Resolves #90
eric thul [Sun, 23 Apr 2017 21:29:44 +0000 (17:29 -0400)]
Caching the result of psc-package
Resolves #83
eric thul [Sun, 23 Apr 2017 18:43:44 +0000 (14:43 -0400)]
Update README
eric thul [Sun, 23 Apr 2017 18:00:35 +0000 (14:00 -0400)]
Refactoring cache usage
eric thul [Sat, 22 Apr 2017 14:52:54 +0000 (10:52 -0400)]
Support for PureScript 0.11
Resolves #89
eric thul [Sat, 15 Apr 2017 19:59:16 +0000 (15:59 -0400)]
Version 2.4.2
eric thul [Sat, 15 Apr 2017 19:48:32 +0000 (15:48 -0400)]
Merge branch 'ryani33-fix-deprecated-warning'
eric thul [Sat, 15 Apr 2017 19:48:12 +0000 (15:48 -0400)]
Merge branch 'fix-deprecated-warning' of https://github.com/ryani33/purs-loader into ryani33-fix-deprecated-warning
eric thul [Sat, 18 Mar 2017 11:39:07 +0000 (07:39 -0400)]
Version 2.4.1
eric thul [Sat, 18 Mar 2017 11:38:03 +0000 (07:38 -0400)]
Fix rebuild for ModuleNotFound
Resolves #88
eric [Sat, 25 Feb 2017 18:36:30 +0000 (13:36 -0500)]
Merge pull request #87 from cyrbon/master
Add troubleshooting "Error spawn ENOENT"
cyrbon [Sat, 25 Feb 2017 18:35:45 +0000 (20:35 +0200)]
Rephrase troubleshoting "Error `spawn ENOENT`"
cyrbon [Sat, 25 Feb 2017 18:23:59 +0000 (20:23 +0200)]
Add troubleshooting "Error spawn ENOENT"
eric thul [Sat, 25 Feb 2017 15:33:05 +0000 (10:33 -0500)]
Version 2.4.0
eric [Sat, 25 Feb 2017 15:30:44 +0000 (10:30 -0500)]
Merge pull request #84 from ethul/topic/error-handling
Topic/error handling
eric thul [Sat, 25 Feb 2017 15:10:32 +0000 (10:10 -0500)]
Version 2.4.0-beta.2
eric thul [Sat, 25 Feb 2017 15:09:45 +0000 (10:09 -0500)]
Adding an additional module check
eric thul [Sat, 25 Feb 2017 14:55:18 +0000 (09:55 -0500)]
Handle missing module and adding debugging
ryani33 [Sat, 25 Feb 2017 04:32:40 +0000 (12:32 +0800)]
fix deprecated warning
eric thul [Mon, 20 Feb 2017 22:56:56 +0000 (17:56 -0500)]
Update README for error reporting
eric thul [Mon, 20 Feb 2017 18:03:51 +0000 (13:03 -0500)]
Version 2.4.0-beta.1
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