How to use the @nrwl/workspace.addPackageWithInit function in @nrwl/workspace

To help you get started, weโ€™ve selected a few @nrwl/workspace 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 nrwl / nx / packages / react / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addDependencies(),
    moveDependency()
  ]);
}
github nrwl / nx / packages / react / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addDependencies(),
    moveDependency()
  ]);
}
github nrwl / nx / packages / node / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addDependencies(),
    moveDependency(),
    formatFiles(schema)
  ]);
}
github bennymeg / nx-electron / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addDependencies(),
    moveDependency(),
    formatFiles(schema)
  ]);
}
github nrwl / nx / packages / web / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addDependencies(),
    moveDependency(),
    formatFiles(schema)
  ]);
}
github nrwl / nx / packages / web / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addDependencies(),
    moveDependency(),
    formatFiles(schema)
  ]);
}
github nrwl / nx / packages / next / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addPackageWithInit('@nrwl/react'),
    addDependencies()
  ]);
}
github nrwl / nx / packages / next / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addPackageWithInit('@nrwl/react'),
    addDependencies()
  ]);
}
github nrwl / nx / packages / next / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addPackageWithInit('@nrwl/react'),
    addDependencies()
  ]);
}
github nrwl / nx / packages / react / src / schematics / init / init.ts View on Github external
export default function(schema: Schema) {
  return chain([
    setDefault(),
    addPackageWithInit('@nrwl/jest'),
    addPackageWithInit('@nrwl/cypress'),
    addPackageWithInit('@nrwl/web'),
    addDependencies(),
    moveDependency()
  ]);
}