Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

pwa-kit-create-app

Package Overview
Dependencies
8
Maintainers
1
Versions
80
Issues
File Explorer

Advanced tools

pwa-kit-create-app

Salesforce's project generator tool

    2.0.0nextlatest

Version published
Maintainers
1
Yearly downloads
7,999
increased by490.33%

Weekly downloads

Changelog

Source

v2.0.0

What’s New

We’ve added lots of new features to PWA Kit v2, including:

  • 🥳 TypeScript support. The build tools now support TypeScript by default—without having to update the configuration files for Babel or Webpack.
  • 🧰 An updated development server that supports hot reloading on the server side and makes it possible to support hot reloading on the client side in a future release.
  • 🤓 An all-new command-line tool called pwa-kit-dev that bundles our recommended development tools like Webpack, Babel, and Jest to support zero-config project templates.
  • 🖌️ Experimental support for non-React apps for those users interested in using Managed Runtime to host other Express-based apps (not just the Retail React App).

See our Upgrade to v2 guide for details on how to migrate your v1 site to v2.

Changelog

pwa-kit-create-app

  • Fix generator log #571
  • Fix incorrect site related values when generating without use of a preset #470
  • Support Multi-site implementation using dynamic config #469
  • Add verbose flag to generator #463
  • Environment Specific Configuration Support #477

pwa-kit-dev

  • Make the createApp API idiomatic for Express, fix service-worker loading. #536
  • Remove lodash and bluebird. #534
  • Allow pass thru cli options for test command #537
  • Ensure we copy the package.json file into the build folder. Also move logic for copying config files into the build script from the webpack config #524
  • Loading page: avoid seeing infinite reloads #532
  • Remove legacy remote proxy, which allowed remote environments to use proxy configs in package.json #425
  • Fix source maps cannot be found when debugging the server #526
  • Generate different reports for different bundles #508
  • Allow custom webpack config in projects #462
  • Hide webpack performance warnings #471
  • Support Multi-site implementation using dynamic config #469
  • Loading screen #473
  • Service worker loading for dev server #464
  • Environment Specific Configuration Support #477
  • Remove Webpack PwaKitConfigPlugin #443

pwa-kit-react-sdk

  • Remove lodash and bluebird. #534
  • Support Multi-site implementation using dynamic config #469
  • Support functions as default exports in the applications routes.jsx file. #447
  • Serialize application configuration in the HTML during rendering process. #447
  • Remove create-hash-manifest.js #425
  • Fix upload bug with extending an options object #419

pwa-kit-runtime

  • Make the createApp API idiomatic for Express, fix service-worker loading. #536
  • Add environment specific configuration support via getConfig. #447
  • Remove legacy remote proxy, which allowed remote environments to use proxy configs in package.json #425
  • Remove default body-parser middleware from express server. #444

Templates

template-retail-react-app

  • Multi-site, Fix the case when no site aliases is set #551
  • Fix invalid refresh token #528
  • Add valid token check before using refresh token on login #533
  • Fix localization scripts to output to the correct default locale #539
  • Merge guest cart and registered cart #540
  • Move retail react app jest setup out from pwa-kit-dev #545
  • Remove legacy remote proxy, which allowed remote environments to use proxy configs in package.json #425
  • Rename ‘pwa’ directory into ‘template-retail-react-app’ #485
  • Optimize visibility-off.svg #512
  • Support Multi-site implementation using dynamic config #469
  • Service worker loading for dev server #464
  • Environment Specific Configuration Support #477

template-express-minimal

template-typescript-minimal

Full Changelog: https://github.com/SalesforceCommerceCloud/pwa-kit/compare/v1.5.2...v2.0.0

Readme

Source

pwa-kit-create-app

A tool for generating Progressive Web App (PWA) Kit projects based on the Retail React App.

Requirements

Node ^14.x npm ^6.14.4

Quick Start

To get started, follow the wizard after running in a shell/terminal:

npx pwa-kit-create-app

For help, run:

npx pwa-kit-create-app --help

Documentation

The full documentation for PWA Kit is hosted on the Salesforce Developers portal.

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc