Skip to content

IoT folder from where to scaffold tasks and converters #744

Description

@MotoWiZ

In this page
https://criticalmanufacturing.github.io/cli/03-explore/guides/iot-scaffolding/#tasks-package-scaffolding-mes-v10-or-above

Point 5. Generate a custom Task (if needed):

Instead of:
cd {{project_or_feature_root_dir}}/Cmf.Custom.IoT/Cmf.Custom.IoT.Packages/projects/{{library_name}}
npx @angular/cli generate @criticalmanufacturing/ngx-iot-schematics:task {{task_name}}

it should be:
cd {{project_or_feature_root_dir}}/Cmf.Custom.IoT/Cmf.Custom.IoT.Packages
npx @angular/cli generate @criticalmanufacturing/ngx-iot-schematics:task {{task_name}} --project {{library_name}}

Point 6. Generate a custom Converter (if needed):

Instead of:
cd {{project_or_feature_root_dir}}/Cmf.Custom.IoT/Cmf.Custom.IoT.Packages/projects/{{library_name}}
npx @angular/cli generate @criticalmanufacturing/ngx-iot-schematics:converter {{converter_name}}

it should be:
cd {{project_or_feature_root_dir}}/Cmf.Custom.IoT/Cmf.Custom.IoT.Packages
npx @angular/cli generate @criticalmanufacturing/ngx-iot-schematics:converter {{converter_name}} --project {{library_name}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions