5.1.1 • Published 6 months ago

modular-scripts v5.1.1

Weekly downloads
168
License
Apache-2.0
Repository
github
Last release
6 months ago

PRs Welcome NPM version Static Tests Coverage

modular is a collection of tools and guidance to enable micro-frontend development at scale. It is derived from work at JP Morgan to enable development in large monorepositories owned by many teams.

It provides a CLI to:

  • Scaffold new micro-frontends and libraries from scratch
  • Provide ready-to-use, opinionated test, lint and build configurations for micro-frontends and libraries
  • Provide tooling to incrementally and selectively run operations on monorepositories at scale

Pre-requisites

See the compatibility page.

Getting Started

  yarn create modular-react-app my-new-modular-project [--verbose] [--prefer-offline] [--repo]

Bootstraps a new project, configured to use Yarn workspaces.

This also creates a workspace named 'app' which is a new modular app written in TypeScript.

It supports three flags:

  • --verbose enables verbose yarn and modular logging.
  • --prefer-offline will prefer locally cached node_modules versions over those from your remote registry.
  • --repo <value> will toggle whether a new git repo is created and the initial files committed.

Commands

More documentation about modular commands is here.

Configuration

Modular is based around the idea of minimal configuration - however documentation for the options available is here.

@babel/code-frame@modular-scripts/workspace-resolver@npmcli/arborist@rollup/plugin-babel@rollup/plugin-commonjs@rollup/plugin-json@rollup/plugin-node-resolve@schemastore/tsconfig@svgr/core@svgr/webpack@swc/core@swc/jest@types/case-sensitive-paths-webpack-plugin@types/lodash@types/micromatch@types/node@types/npmcli__arborist@types/postcss-normalize@types/shell-quote@types/yarnpkg__lockfile@yarnpkg/lockfileaddressbabel-jestbabel-preset-react-appbrowserslistbuiltin-modulescase-sensitive-paths-webpack-pluginchalkchange-casecommandercorscosmiconfigcross-spawncss-loadercss-minimizer-webpack-plugindedentdetect-port-altdotenvdotenv-expandesbuildesbuild-loaderescape-string-regexpeslintexecaexpressexpress-wsfile-loaderfilesizefind-upfork-ts-checker-webpack-pluginfs-extraglobal-modulesglobbygzip-sizehtml-minifier-terserhtml-webpack-pluginis-ciis-rootjestjest-circusjest-clijest-configjest-environment-jsdomjest-runner-eslintjest-transform-stubjest-watch-typeaheadjs-yamlkill-portloader-utilsmicromatchmimemini-css-extract-pluginminimatchnpm-packlistopenparse5pkg-uppnp-webpack-pluginpostcsspostcss-flexbugs-fixespostcss-loaderpostcss-normalizepostcss-preset-envpostcss-safe-parserpromptsreact-error-overlayreact-native-webreact-refreshrecursive-readdirresolveresolve-url-loaderrimrafrolluprollup-plugin-esbuildrollup-plugin-postcsssass-loaderselfsignedsemversemver-regexshell-quotesource-map-supportstrip-ansistyle-loaderterser-webpack-plugintmpts-jestts-morphupdate-notifierurl-loadervalidate-npm-package-namewebpackwebpack-dev-serverwebpack-manifest-pluginwebpack-mergews
5.1.1

6 months ago

4.4.1

12 months ago

4.4.2

11 months ago

5.0.1

10 months ago

5.0.0

11 months ago

5.1.0

10 months ago

4.4.0

12 months ago

4.3.1

1 year ago

4.3.0

1 year ago

4.0.1

1 year ago

4.0.0

1 year ago

4.2.0

1 year ago

4.1.0

1 year ago

3.6.0

1 year ago

3.5.0

1 year ago

3.4.0

2 years ago

3.4.1

2 years ago

3.3.1

2 years ago

3.3.0

2 years ago

3.3.2

2 years ago

3.2.0

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.1.3

2 years ago

3.1.2

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.1.5

2 years ago

3.1.4

2 years ago

2.4.0

2 years ago

3.0.0

2 years ago

3.0.0-beta.1

2 years ago

3.0.0-beta.0

2 years ago

3.0.0-beta.2

2 years ago

2.3.0

2 years ago

2.3.2

2 years ago

2.3.1

2 years ago

2.2.0

2 years ago

2.0.0

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

1.6.0

2 years ago

1.4.1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.5

3 years ago

1.2.4

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.14.0

3 years ago

0.13.0

3 years ago

0.12.4

3 years ago

0.12.0

3 years ago

0.12.1

3 years ago

0.12.2

3 years ago

0.12.3

3 years ago

0.11.0

3 years ago

0.10.0

3 years ago

0.9.10

3 years ago

0.9.9

3 years ago

0.9.8-next.0

3 years ago

0.9.7-next.0

3 years ago

0.9.6

3 years ago

0.9.5

3 years ago

0.9.4

3 years ago

0.9.3

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago

0.7.0

3 years ago

0.6.3

3 years ago

0.6.2

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.3

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.5.0

3 years ago

0.3.5

3 years ago

0.4.0

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.0

3 years ago

0.3.1

3 years ago

0.2.0

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago