haul

Haul is a command line tool for developing React Native apps, powered by Webpack

MIT License

Downloads
1.9K
Stars
3.6K
Committers
94

Bot releases are visible (Hide)

haul - Release 13/04/2021 Latest Release

Published by zamotany over 3 years ago

Updated packages

  • @haul-bundler/cli ➡️0.23.0
  • @haul-bundler/core ➡️0.23.0
  • @haul-bundler/preset-0.59 ➡️0.18.1
  • @haul-bundler/preset-0.60 ➡️0.18.1
  • @haul-bundler/explore ➡️0.16.1

Changelog

core / cli

  • chore: handle unknown args (#759)
  • feat: support node 14 (#758)

preset-0.59 / preset-0.60

  • feat: refactor plugins - PreloadBundlesPlugin, PreloadModulesDllPlugin and LooseModePlugin (#749)
  • fix: provide original code in source maps when using RAM bundles (#761)
haul - Release 31/10/19

Published by zamotany almost 5 years ago

Updated packages

  • @haul-bundler/babel-preset-react-native ➡️0.14.2
  • @haul-bundler/cli ➡️0.14.2
  • @haul-bundler/core ➡️0.14.2
  • @haul-bundler/preset-0.59 ➡️0.14.2
  • @haul-bundler/preset-0.60 ➡️0.14.2
  • @haul-bundler/ram-bundle-webpack-plugin ➡️0.14.2

Changelog

babel-preset-react-native

  • fix: transform spread operator for Hermes (#670)

core / cli

  • feat: use webpack to resolve initializeCoreLocation file (#669)

preset-0.59 / preset-0.60

  • fix: use correct aliasFileds to exclude Node polyfills from bundle (#672)
haul - Release 24/10/19

Published by zamotany almost 5 years ago

Updated packages

  • @haul-bundler/babel-preset-react-native ➡️0.14.0 0.14.1
  • @haul-bundler/basic-bundle-webpack-plugin ➡️0.14.0 0.14.1
  • @haul-bundler/cli ➡️0.14.0 0.14.1
  • @haul-bundler/core-legacy ➡️0.14.0 0.14.1
  • @haul-bundler/core ➡️0.14.0 0.14.1
  • @haul-bundler/inspector-events ➡️0.14.0 0.14.1
  • @haul-bundler/inspector➡️0.14.0 0.14.1
  • @haul-bundler/preset-0.59 ➡️0.14.0 0.14.1
  • @haul-bundler/preset-0.60 ➡️0.14.0 0.14.1
  • @haul-bundler/ram-bundle-webpack-plugin ➡️0.14.0 0.14.1

Changelog

cli

  • feat: install previous version of preset if the target one is not available (#665)

core

  • fix: assets in transitive dependencies (#661)

babel-preset-react-native

  • feat: export functions for getting a list of plugins and utilities (#664)
  • fix: include CJS transform when testing in Babel preset (#662)
  • fix: add missing transform for ChackraCore (#659)

preset-0.59

  • fix: add aliasFields to webpack config (#654)

preset-0.60

  • fix: add aliasFields to webpack config (#654)
haul - @haul-bundler/babel-preset-react-native v0.13.2

Published by zamotany about 5 years ago

  • @haul-bundler/babel-preset-react-native package was updated to 0.13.2 (requires manual update)

Changelog

  • fix: use platform-specific path separator (#647)
haul - @haul-bundler/babel-preset-react-native v0.13.1

Published by zamotany about 5 years ago

  • @haul-bundler/babel-preset-react-native package was updated to 0.13.1 (requires manual update)

Changelog

  • fix: only add plugin-transform-react-jsx-source in dev (#640) thanks to @tido64
haul - @haul-bundler v0.13.0

Published by zamotany about 5 years ago

All @haul-bundler packages were released to NPM with version 0.12.0.

Changelog

  • feat: external bundles (#633)
haul - @haul-bundler/* v0.12.0

Published by zamotany about 5 years ago

All @haul-bundler packages were released to NPM with version 0.12.0.

Changelog

  • feat: reads ANDROID_HOME for adb location (#627) - thanks to @joelgallant
  • fix: inline source maps for TS + split source w/ and w/o into groups (#626)
  • feat: improved logging and server UI (#628)
haul - @haul-bundler/* v0.11.0

Published by zamotany about 5 years ago

All @haul-bundler packages were released to NPM with version 0.9.0.

Changelog

  • docs: add note about localhost/0.0.0.0 issue (#622) - thanks to @michael-stern
  • fix: port setting in haul.config.js not used (#623)
  • fix: speed up source map generation by only stringifying at the end (#624) - thanks to @FuegoFro
  • chore: update dependencies (#625)
haul - @haul-bundler/babel-preset-react-native v0.10.1

Published by zamotany about 5 years ago

@haul-bundler/babel-preset-react-native package was release with version 0.10.1 with the following changes:

  • fix: hermes option read from wrong param #619
haul - @haul-bundler/* v0.10.0

Published by zamotany about 5 years ago

All @haul-bundler packages were released to NPM with version 0.9.0.

Notes

We've migrated away from @babel/register in favour of transpiling only modules that needs to be transpiled in the config with #613, which means that @babel/register is not longer injected into the require calls. If you are using custom Webpack plugins, resolvers etc with syntax unsupported by Node 10 LTS or newer like import/export (ES Modules), then you need to transpile those files manually (for example with postinstall script) or rewrite them to use supported syntax.

Changelog

  • fix: add babel plugins to support Hermes #617 - thanks to @tido64
  • chore: improve integration test suites #615
  • feat: improve TypeScript support #614
  • feat: replace @babel/register and manually transpile config modules on-demand #613
  • feat: better handle interactivity in start command #611
  • fix: replace --tempDir with --temp-dir #610
haul - @haul-bundler/cli + @haul-bundler/core v0.9.1

Published by zamotany about 5 years ago

@haul-bundler/cli and @haul-bundler/core were released to NPM with version 0.9.1.

Changelog:

  • fix: --port option not being used (fixes #607) #609
  • fix: compilation progress being cut-off in server UI 44177dbd6624f854c36f9b881566193d8baa8bb9
haul - @haul-bundler v0.9.0

Published by zamotany over 5 years ago

All @haul-bundler packages were released to NPM with version 0.9.0.

Changelog:

  • fix: use proxy method instead of Proxy for logger in compiler fork (fixes #602) #603
  • feat: support vscode-react-native extension #604
  • feat: install required devDeps in init command #605
haul - @haul-bundler v0.8.0

Published by zamotany over 5 years ago

All @haul-bundler packages were released to NPM with version 0.8.0.

Changelog:

  • fix: image assets not being send and rendered (fixes #593) #596
  • fix: /open-stack-frame validation #595
  • feat: add --verbose option back #597
  • feat: add missing reload command #598
  • feat: add --output-file and --json options to allow logging to a file #599
haul -

Published by thymikee about 6 years ago

  • feat: add --no-interactive mode (#486)
  • feat: Place the cache-loader cache inside the .cache subfolder within node_modules (#481)
  • fix: Can't release application with latest haul #487 (#488)
  • test: Modify tests to work on windows (#483)
  • chore: add .gitattributes (#482)
haul -

Published by jukben over 6 years ago

To avoid issues with different Webpack versions (https://github.com/callstack/haul/issues/423), we encourage to add "webpack": "^4.16.0" into your project's dependencies.

Another approach is to use Yarn resolutions (thanks to @FredyC)


BREAKING CHANGE: We have removed haul-integrate.sh, we are now good just with CLI_PATH #234

To get your project into the same shape as you would get after yarn haul init, please edit Bundle React Native code and images build phase

and remove Integrate Haul with React Native

See https://github.com/callstack/haul/blob/next/docs/Configuring_Your_Project.md for more informations.

haul -

Published by thymikee over 6 years ago

  • fix: don't use deflate & better socket error handle (#434)
  • fix: Remove webpack entry verification checks (#431)
  • fix: Pass environment variables to child processes (#426)
  • docs: polished configuration docs f8fc9e7a74fda0703cec711d6a21c36da1879bea
  • docs: fix broken link for HMR setup guide (#433)
  • docs: fix some docs typos (#437)
  • chore: replace deprecated react-strem-renderer with react-slate (#427)
haul -

Published by thymikee over 6 years ago

  • fix: assetLoader android path issue when bundling (#436)
  • feat: allow out-of-tree platforms to be dynamically added (#419)
  • docs: Updating TypeScript configuration to the new style in Recipes (#438)
  • docs: fix typos (#440)
haul -

Published by thymikee over 6 years ago

  • fix: allow more URLs for debugging ui, pnpm support (#443)
haul -

Published by thymikee over 6 years ago

Time to roll out our first Release Candidate 🎉🎉

Highlights

[BREAKING] Webpack 4

Haul was upgraded to the latest Webpack version. If you extended the default Haul configuration in any way, your builds may fail. That's why we mark it as a breaking change. This is also the primary reason why we entered Release Candidate phase – we don't want to break anything between our Betas (which are still running Webpack 3 and will not be actively maintained anymore – only bugfixes).

New UI 💅

To provide better developer experience, we've changed how the UI for start command looks like, to make it fabulous while remaining clean and minimalistic. For that we actually use React thanks to react-slate - the UI is a React app!

haul-cli-preview

Node workers and lazy loading 🤖

To make development for both platforms more seamless, the way we build bundles have changed - now we do it in a separate process for each platform. This means that when running start command not only bundles are lazily loaded but also you can dynamically request bundle for another platform without stopping the server and starting haul with different --platform options. Which brings us to: there's no haul start --platform option anymore, just run haul start. You can still run --platform with bundle command.

New configuration style ⚙

In this version, we have introduced a new configuration style via haul.config.js file. With this approach, we hope you will find configuration (and eventual partial sharing) of Webpack config more convenient. Don't worry, you can run in legacy mode if you want and everything will work as usual. With this version of Haul, you can also run without any configuration file at all. Haul will seek for entry file (in package.json) and will try to serve your application from it.

Check the example of configuration bellow and for more complex use-cases check out or documentation.

// haul.config.js
import { createWebpackConfig } from 'haul';

export default {
  webpack: createWebpackConfig({
    entry: `./index.js`,
  }),
};

Breaking Changes

  • 6e6444b - Upgrade to Webpack 4 (#381) (Michał Pierzchała)

Fixes

  • b8ba6e2 - Upgrade babel-loader, thread-loader to fix peer dep warnings, allow 3.x.x and 4.x.x babel-preset-react-native (#406) (Daniel Playfair Cal)
  • 7568948 - fix cannot get debugger-ui page (#395) (Evgeny Zaytsev)
  • ea6af54 - fix: remove escape characters around $@ in Xcode script (#399) (Nadia Dillon)
  • 83377b4 - Explicitly transpile metro dependency (fixes #400) (Kir Belevich)
  • dcde6e3 - Fixing Haste module resolution when react-native is symlinked (#397) (Chase Holland)
  • 54cd2d4 - Fix scriptUrl match for production build (#363) (Luke Czyszczonik)
  • bd5190d - fix(install): add core-js as an explicit dependency for npm users (#357) (Travis Nuttall)

Features & Improvements

  • 9a1465a - Update polyfills to sync with latest RN (#414) (Michał Pierzchała)
  • 0f71323 - Better Dev UX 🍝 (#413) (Jakub Beneš)
  • 7e2d713 - Better browser luncher 🌎 (#409) (Jakub Beneš)
  • 9016ddb - Seek for the deprecated config file 🔎 (#408) (Jakub Beneš)
  • 1d66e21 - Inform user that compiler uses ZERO-CONFIGURATION 🚀mode (#407) (Jakub Beneš)
  • 248dfab - Implement new config with haul.config.js (#372) (Jakub Beneš)
  • d74de3f - Use node workers to compile bundles (#339) (Krzysztof Borowy)
  • 6f65f0c - Remove Haste references from polyfillEnvironment (#393) (Ryan Dy)
  • 400ab44 - Properly resolve dev server origin (#387) (Paweł Trysła)
  • 7a12370 - support bundle files without "index" in the name (#358) (Travis Nuttall)
  • c6a8570 - Update contributor list (#364) (Luke Czyszczonik)
  • 27e9d97 - Bump flow (#360) (Paweł Trysła)
  • 172c93a - Added more asset types (#347) (Giau Tran Minh)

Chores & Docs

  • 95ade60 - Base website setup with Docusaurus (#374) (Ryan Stelly)
  • eb73e64 - Add image asset to example-app (8 days ago) (Michał Pierzchała)
  • edeced9 - Update docs for running example-app with Xcode (#365) (Luke Czyszczonik)
  • abdd5b6 - switch to Yarn when running package's scripts (#361) (Paweł Trysła)
  • 142c050 - chore(example): Update example-app to RN 0.53.0 (#359) (Luke Czyszczonik)
  • 8b8649f - Use Jest 22.2.1 (3 months ago) (Michał Pierzchała)
  • 7ee324c - chore: Upgrade Jest to v22.2.0 (3 months ago) (Michał Pierzchała)
  • 9f9e101 - chore: mention automatic config setup with Gradle (#348) (Michał Pierzchała)

If you spot any problem or bug with this release, please file an appropriate issue (ideally with a repro we can debug)!

haul - 1.0.0-beta.13

Published by krizzu over 6 years ago

Fixes

  • HMR unmounted redraws and no-op warnings 1ca155e401049c9310404b0442a88b2289271037
  • Haul transpile itself using local babel config 6d7b2092c82d50327de4c9c743b514c566316f54
  • adb command now running only from user path 26b3a1df9f4f58f18d17e566df275a976cc7f3d2
  • Temporary add notes about delta bundles 6f6e0a70d875436b78f4182ee62848a6bf972b28
  • HMR to handle Android error in some edge cases 6c689a40fa8dc34b361ddb49f9ae7d03c9a3163b

Features

  • haul init now adds config to build.gradle 33775258ab1b801d1e0a4762a72fc3b78844c0bf
Package Rankings
Top 2.5% on Npmjs.org
Badges
Extracted from project README
Build Status MIT License PRs Welcome Code of Conduct Chat tweet cli version core version core-legacy version babel-preset-react-native version basic-bundle-webpack-plugin version ram-bundle-webpack-plugin version preset-0.59 version preset-0.60 version explore version