Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Releases: alleyinteractive/huron

Multiple entry points

06 Feb 21:09
870fd8e
Compare
Choose a tag to compare
Multiple entry points Pre-release
Pre-release

Adds prototypeEntry config property and --use-prototype CLI flag. These allow a user to add files from any number of additional entry points to HMR or load them in an additional <script> (for dev and production respectively).

Also:

  • Updates package.json to require node 8
  • Adds global bodyClasses config property to supply classes to <body> for all prototypes

Release 2.3.3

08 Jan 18:54
870fd8e
Compare
Choose a tag to compare

This release includes:

  • Support for webpack 3
  • Fix for webpack-dev-server setup that will allow referencing of static assets in prototypes that work on both dev and build (example: prototype sample images)

Package Updates

05 Jan 15:21
d44ccfb
Compare
Choose a tag to compare

Updates kss-node to eliminate a security vulnerability in a npm dependency.

Fix bug in `-p` flag for building prototype HTML

05 Dec 17:58
9eee0bd
Compare
Choose a tag to compare
  • process.exit() was exiting too early, preventing webpack build from finishing.

Add functionality to support CSS modules

16 Oct 22:45
Compare
Choose a tag to compare

Also includes a variety of code cleanup, standardization, and steamlining:

  • Switch all directories and filenames to use camelCase
  • Use webpack to build the browser script and incorporate via output.library and output.libraryTarget (woohoo!). This unifies the dev experience for both the CLI and the browser script
  • Remove prebuild script (which used eslint cli) in favor of eslint-loader now that we're using webpack for both builds
  • Update node target for babel-preset-env to latest lts version
  • Remove postbuild.js in favor of dist/cli/index.js so cli will still work with dev build. Postbuild was previously prepending the required #!/usr/bin/env node. However, this was not happening when you ran npm run dev-cli, so dev-cli was rather pointless. This creates an index.js file for use as the npm bin.
  • Switch to using include everywhere we're using indexOf
  • Use import for everything we're able to in the CLI
  • Move gaze logic to a separate fileWatcher.js
  • Update various other packages and add package-lock.json
  • Add engines to package.json to specify both node and npm version requirements
  • Switch to using webpack module key (it's unique!) instead of an md5 hash for targeting correct markup to replace in the browser script. We were using node crypto for the hash, which was adding a whole crapload of modules to the browser build.
  • Switch to using the more standard index.js for both web and cli entry points
  • Devise and implement a method for us to both lint and transpile the HMR logic for the browser script (which needs to be dynamically generated and written based on user's huron config)

Fix issue with trailing slash

16 Oct 22:34
Compare
Choose a tag to compare
Pre-release

opn would open a prototype URL with doubled slashes after the configured root directory if user added a trailing slash in their configuration. This fix removes any trailing slashes that may be there.

Changes related to code review of CSS modules functionality

16 Oct 22:32
Compare
Choose a tag to compare
2.3.0-beta.6

Merge branch 'cssmodules' into beta

Fix linting for HMR logic

16 Oct 21:44
Compare
Choose a tag to compare
Pre-release

Linting wasn't actually functioning in the last beta release, this release fixes it.

Transpile and lint HMR handling logic

16 Oct 21:42
Compare
Choose a tag to compare
Pre-release

This release settles on a method of both transpiling and linting browser HMR logic.

Fix issue where styleguide section template would not be copied over

16 Oct 18:22
Compare
Choose a tag to compare
2.3.0-beta.3

Merge branch 'cssmodules' into beta