1.8.30 • Published 2 years ago

mf-bundler v1.8.30

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

MfBundler

MfBundler (npm link) allow you to build your components with single command line

Quick Setup

In order to works, Mf-bundler needs:

  • mf-bundler.config.js at the root of the project with
const config = {
  entities: [
    {
      name: "menu", // entity folder name inside apps/ folder
    }
  ]
};

export {config};
  • mf-app.config.js at the root of each entity-type microfronts with
const config = {
  microAppName: "micro-app-menu-detail", // used by registerMicroApp and MicroAppComponent name attribute 
  entity: "menu", // used for the mf-maestro.json and dist folder structure for build
  uiType: "detail", // used for the mf-maestro.json and dist folder structure for build
  processor: "processor_name",  // used for the mf-maestro.json and dist folder structure for build
  requiredAcls: ["index", "create"] // used for the mf-maestro.json and dist folder structure for build
};

export {config};
  • npm scripts in root package.json with
  "scripts": {
    "build": "mf-bundle -d back-office-menu -p /assets/back-office-menu", // -d for domain & -p for prefix inside mf-maestro.json
    "clean": "mf-clean",
    "dependencies": "mf-install",
    "postinstall": "npm run dependencies",
    "start": "mf-serve",
    "test": "mf-test",
    "watch": "npm-watch"
  },

The overall structure to work will look like this:

/apps
     /entity
            /entity-master
                          /package.json
                          /mf-app.config.js
            /entity-detail
                          /package.json
                          /mf-app.config.js
            /entity-type...
/package.json => with mf-bundler scripts and installed in dependencies
/mf-bundler.config.json
1.8.29

2 years ago

1.8.30

2 years ago

1.8.20

3 years ago

1.8.21

3 years ago

1.8.22

3 years ago

1.8.23

3 years ago

1.8.24

3 years ago

1.8.25

3 years ago

1.8.26

3 years ago

1.8.27

3 years ago

1.8.28

3 years ago

1.8.17

3 years ago

1.8.18

3 years ago

1.8.19

3 years ago

1.8.14

3 years ago

1.8.15

3 years ago

1.8.16

3 years ago

1.8.9

3 years ago

1.8.10

3 years ago

1.8.8

3 years ago

1.8.11

3 years ago

1.8.7

3 years ago

1.8.12

3 years ago

1.8.6

3 years ago

1.8.13

3 years ago

1.8.5

3 years ago

1.8.2

4 years ago

1.8.1

4 years ago

1.8.4

4 years ago

1.8.3

4 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.7

5 years ago

1.6.6

5 years ago

1.6.5

5 years ago

1.6.4

6 years ago

1.6.3

6 years ago

1.6.2

6 years ago

1.6.1

6 years ago

1.6.0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.13

6 years ago

1.1.12

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago