1 $group
2 $
3 var sect = {
4 title: 'Wizzi factory plugin package'
5 };
6 section( §)
7 p ArtifactProductions are packaged in node.js/npm modules
8 \b containing:
9 ul
10 li WizziSchemas
11 li WizziModels
12 li WizziModelFactories
13 li WizziModelTransformers
14 li ArtifactGenerators
15 p A Wizzi factory plugin package has this folder structure
16 ittf-panel
17 ittf
18 node_modules
19 <package-name>
20 lib
21 artifacts
22 <wfschema-name>
23 <artifact-name>
24 gen
25 ittf
26 [0..n]<ittfdocument-name>.<language-wizzi-schema>.ittf
27 main.js
28 [0..n]<helper-module>.js
29 <transformer-name>
30 trans
31 main.js
32 [0..n]<helper-module>.js
33 wizzi
34 models
35 <wfschema-name>-model.js
36 <wfschema-name>-factory.js
37 schemas
38 <wfschema-name>.wfschema.ittf
39 index.js
40 p The index.js module of the package exports the functions:
41 li getWizziModelFactory(wizziSchemaName)
42 li getModelTransformer(transformerPath)
43 li getArtifactGenerator(artifactPath)