4.0.6 • Published 5 years ago

frontful-common v4.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

frontful-common is common configuration provider for Frontful infrastructure. It has no use outside Frontful infrastructure and is packaged and deployed for internal code reuse purposes only.

Package development assist

When developing a package it may be helpful to test it in playground project and immediately see changes when updating package code without need to rebuild, redeploy and reinstall package and restart test project. npm link and yarn link partially helps, but you still either need to rebuild your package or write it in ES5 and project restart is still needed.

Package development assist focuses on making package development and testing in the project seamless. Change package code and project will be rebuilt and reloaded as if you changed local project file.
Streamlined package development process can be beneficial in decoupling of larger applications and help distributed teams work on modules instead of single codebase. Package development assist is used in developing all Frontful packages and has shown to be efficient way of developing and maintaining several decoupled projects in production.

To benefit from Package development assist
  1. Playground project must use frontful-environment
  2. Package should be built using babel-preset-frontful or be compatible with its Babel preset
  3. Install package in playground project by executing yarn add my_package
  4. Register package link by executing yarn link in the root of the package
  5. Link package to playground project by executing yarn link my_package in the root of the project
  6. In playground projects package.json under frontful.common.packages array add name of the package. For details on configuration mechanics see frontful-config
// package.json
{
  "frontful": {
    "common": {
      "packages": ["my_package"]
    }
  }
}
  1. Start playground project, change package code and watch everything reload
4.0.6

5 years ago

4.0.5

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

5 years ago

3.1.2

5 years ago

3.1.1

5 years ago

3.0.7

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

6 years ago

3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago