How to use @nstudio/angular - 9 common examples

To help you get started, we’ve selected a few @nstudio/angular examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nstudio / xplat / packages / angular / src / schematics / component / index.ts View on Github external
(tree: Tree, context: SchematicContext) =>
      options.needsIndex
        ? addToFeature(
            '',
            'component',
            options,
            'libs',
            tree,
            '_base_index',
            true
          )(tree, context)
        : noop()(tree, context),
    // adjust libs barrel
github nstudio / xplat / packages / angular / src / schematics / component / index.ts View on Github external
(tree: Tree, context: SchematicContext) =>
      !options.onlyProject && options.createBase
        ? addToFeature('', 'component', options, 'libs', tree, '_base', true)(
            tree,
            context
          )
        : noop()(tree, context),
    // adjust libs barrel for subFolder
github nstudio / xplat / packages / angular / src / schematics / component / index.ts View on Github external
(tree: Tree, context: SchematicContext) =>
      !options.onlyProject && options.createBase
        ? adjustBarrelIndex(
            'component',
            options,
            `libs/features/${componentSettings.featureName}/base/index.ts`,
            false,
            true
          )(tree, context)
        : noop()(tree, context),
    // add index barrel if needed
github nstudio / xplat / packages / nativescript-angular / src / schematics / component / index.ts View on Github external
export default function(options: XplatComponentHelpers.Schema) {
  return chain(ComponentHelpers.platformGenerator(options, 'nativescript'));
}
github nstudio / xplat / packages / web-angular / src / schematics / component / index.ts View on Github external
export default function(options: XplatComponentHelpers.Schema) {
  return chain(ComponentHelpers.platformGenerator(options, 'web'));
}
github nstudio / xplat / packages / ionic-angular / src / schematics / component / index.ts View on Github external
export default function(options: XplatComponentHelpers.Schema) {
  return chain(ComponentHelpers.platformGenerator(options, 'ionic'));
}
github nstudio / xplat / packages / angular / src / schematics / component / index.ts View on Github external
(tree: Tree, context: SchematicContext) =>
      options.needsIndex
        ? addToFeature('', 'component', options, 'libs', tree, '_base_index')(
            tree,
            context
          )
        : noop()(tree, context),
github nstudio / xplat / packages / angular / src / schematics / service / index.ts View on Github external
export default function(options: featureOptions) {
  return generate('service', options);
}
github nstudio / xplat / packages / angular / src / schematics / directive / index.ts View on Github external
export default function(options: featureOptions) {
  return generate('directive', options);
}

@nstudio/angular

Angular Plugin for xplat

MIT
Latest version published 22 hours ago

Package Health Score

75 / 100
Full package analysis