1.8.30 • Published 1 year ago

mf-bundler v1.8.30

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year 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

1 year ago

1.8.30

1 year ago

1.8.20

1 year ago

1.8.21

1 year ago

1.8.22

1 year ago

1.8.23

1 year ago

1.8.24

1 year ago

1.8.25

1 year ago

1.8.26

1 year ago

1.8.27

1 year ago

1.8.28

1 year ago

1.8.17

2 years ago

1.8.18

2 years ago

1.8.19

2 years ago

1.8.14

2 years ago

1.8.15

2 years ago

1.8.16

2 years ago

1.8.9

2 years ago

1.8.10

2 years ago

1.8.8

2 years ago

1.8.11

2 years ago

1.8.7

2 years ago

1.8.12

2 years ago

1.8.6

2 years ago

1.8.13

2 years ago

1.8.5

2 years ago

1.8.2

2 years ago

1.8.1

2 years ago

1.8.4

2 years ago

1.8.3

2 years ago

1.8.0

4 years ago

1.7.1

4 years ago

1.7.0

4 years ago

1.6.7

4 years ago

1.6.6

4 years ago

1.6.5

4 years ago

1.6.4

4 years ago

1.6.3

4 years ago

1.6.2

4 years ago

1.6.1

4 years ago

1.6.0

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

5 years ago

1.1.13

5 years ago

1.1.12

5 years ago

1.1.11

5 years ago

1.1.10

5 years ago

1.1.9

5 years ago

1.1.8

5 years ago

1.1.7

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago