Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add psc-ide-server arguments and pass src to psc-ide-server | Michal Kozakiewicz | 2017-01-06 | 1 | -4/+5 |
| | |||||
* | Emit warnings/errors to the compilation instance | eric thul | 2016-11-19 | 2 | -7/+33 |
| | | | | Avoids duplication of warnings. Resolves #78 | ||||
* | Use emitError and emitWarning | eric thul | 2016-11-19 | 3 | -21/+23 |
| | |||||
* | PscIde full recompile on unknown module imports | eric thul | 2016-11-19 | 1 | -1/+7 |
| | | | | | | | 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. | ||||
* | Update debug statements during build/bundle | eric thul | 2016-11-19 | 1 | -3/+4 |
| | |||||
* | Always resolve on psc-ide rebuild failure | eric thul | 2016-11-19 | 1 | -9/+4 |
| | | | | | | | | | | | | | | | | | | 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 | ||||
* | Don't console.log unless it is needed | Javier Casas | 2016-11-11 | 1 | -3/+3 |
| | |||||
* | Adding dargs dependency | eric thul | 2016-11-05 | 1 | -13/+4 |
| | | | | See issue #69 | ||||
* | Wrapping reject values in Error objects | eric thul | 2016-11-05 | 3 | -9/+9 |
| | |||||
* | Fixes bundled output path | James Yu | 2016-09-06 | 1 | -1/+1 |
| | |||||
* | Clear warnings and errors after use | eric thul | 2016-06-12 | 1 | -0/+2 |
| | | | | Resolves #57 | ||||
* | Handle no filename in PscIde result | eric thul | 2016-06-12 | 1 | -43/+49 |
| | | | | Resolves #58 | ||||
* | Reduce building of PureScript module map | eric thul | 2016-06-12 | 5 | -355/+444 |
| | | | | Resolves #59 and resolves #60 | ||||
* | Bumping version number to 2.0.0-rc.0 | eric thul | 2016-06-04 | 1 | -14/+19 |
| | | | | | | | | | 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 | ||||
* | Escape require paths for windows | eric thul | 2016-05-24 | 1 | -3/+4 |
| | | | | Resolves #52 | ||||
* | Use cross-spawn for windows support | eric thul | 2016-05-24 | 1 | -1/+1 |
| | | | | Resolves #50 | ||||
* | Handler for multiple psc-ide-client data events | eric thul | 2016-05-24 | 1 | -4/+18 |
| | | | | | | | Attach a handler to the `psc-ide-client` process to capture one or more chunks from the `data` event. Resolves #48 | ||||
* | Reference source ffi module instead of output ffi module. | Alex Mingoia | 2016-05-21 | 1 | -15/+24 |
| | |||||
* | Correctly parse boolean options. | Alex Mingoia | 2016-05-14 | 1 | -1/+1 |
| | |||||
* | Do not assume line-delimited psc output. | Alex Mingoia | 2016-05-14 | 1 | -9/+10 |
| | |||||
* | Use more descriptive names for compile state. | Alex Mingoia | 2016-05-14 | 1 | -8/+8 |
| | |||||
* | Disable instant psc-ide rebuilds by default. | Alex Mingoia | 2016-05-12 | 1 | -14/+20 |
| | | | | Using psc-ide-server is experimental and there may be bugs or edge-cases. | ||||
* | Recompile on when psc-client-ide receives UnknownModule. | Alex Mingoia | 2016-05-10 | 1 | -2/+2 |
| | |||||
* | Refactor to compile independently of purescript-webpack-plugin. | Alex Mingoia | 2016-05-10 | 12 | -315/+465 |
| | | | | | | | - 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. | ||||
* | Escape path for require | eric thul | 2016-03-14 | 3 | -4/+14 |
| | | | | Resolves #41 | ||||
* | Defers to the plugin for writing PureScript output | eric thul | 2016-03-13 | 2 | -12/+4 |
| | |||||
* | Merge branch 'master' into topic/stderr | eric thul | 2016-03-12 | 8 | -114/+31 |
|\ | |||||
| * | Handling dependencies | eric thul | 2016-03-12 | 4 | -46/+6 |
| | | |||||
| * | Handle optional bundling by the compiler | eric thul | 2016-03-08 | 7 | -72/+29 |
| | | | | | | | | Resolves ethul/purescript-webpack-plugin#9 | ||||
* | | Writes PureScript output to stderr | eric thul | 2016-03-06 | 2 | -16/+30 |
|/ | | | | Resolves #40 | ||||
* | Bumping version number to 0.6.0-beta.30.6.0-beta.3 | eric thul | 2016-02-29 | 1 | -1/+2 |
| | |||||
* | Bumping version number to 0.6.0-beta.20.6.0-beta.2 | eric thul | 2016-02-28 | 1 | -0/+2 |
| | |||||
* | Adding debug logging | eric thul | 2016-02-27 | 3 | -0/+27 |
| | |||||
* | Adds dependencies of modules process by the loader. | eric thul | 2016-02-24 | 4 | -35/+128 |
| | | | | | | | The module file path and dependency graph information is provided by the purescript-webpack-plugin. Resolves #37 | ||||
* | Updating bundle output option name | eric thul | 2015-12-25 | 2 | -9/+9 |
| | |||||
* | Splitting PSC functionality into a separate plugin | eric thul | 2015-12-25 | 11 | -395/+91 |
| | | | | | | | | 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 | ||||
* | Fixing compiler warnings | eric thul | 2015-12-20 | 3 | -5/+20 |
| | |||||
* | Remove `require-path`, use relative paths for PS | Nathan Faubion | 2015-11-02 | 3 | -40/+66 |
| | | | | | | | | 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`. | ||||
* | Compiling after adding webpack dependencies | eric thul | 2015-08-11 | 1 | -2/+2 |
| | | | | Resolves #28 | ||||
* | Add all PureScript files as webpack dependencies | eric thul | 2015-08-11 | 2 | -0/+6 |
| | | | | Resolves #26 | ||||
* | PureScript 0.7 updates and migration to pulp | eric thul | 2015-08-11 | 13 | -172/+232 |
| | |||||
* | Moving files to match module | eric thul | 2015-08-11 | 7 | -0/+0 |
| | |||||
* | Ensure purescript error is displayed | eric thul | 2015-07-20 | 1 | -3/+9 |
| | | | | Resolves #24 | ||||
* | Add FFI JavaScript as a webpack dependency | eric thul | 2015-07-18 | 3 | -3/+79 |
| | | | | Resolves #18 | ||||
* | Capturing stderr on psc invocation | eric thul | 2015-07-18 | 1 | -2/+12 |
| | | | | Resolves #17 | ||||
* | Generate .psci file | eric thul | 2015-07-06 | 5 | -16/+114 |
| | | | | Resolves #11 | ||||
* | Updating for PureScript 0.7 | eric thul | 2015-07-06 | 7 | -246/+42 |
| | | | | Resolves #14 | ||||
* | Additional loader options | eric thul | 2015-05-14 | 2 | -30/+57 |
| | | | | | | | | | | | Adds the `psc-make` options `comments` and `no-prefix`. Also, an internal option `src` has been added that is used to specify the source paths of `PureScript` files that will be globbed for compilation. By default the `bower_components` path is globbed, but the loader requires that the source paths be provided for the user's code. Resolves #12 | ||||
* | Optimizing dependency list generation | eric thul | 2015-05-02 | 1 | -6/+13 |
| | | | | | | | Improving the generation of the dependencies in `mkDeps` to avoid a `RangeError` on large inputs. Resolves #9 | ||||
* | Rewrite using purescript for the implementation | eric thul | 2015-04-12 | 9 | -0/+436 |