@ppwcode/angular-schematics
Advanced tools
+33
| # Getting Started With ppwcode schematics | ||
| This repository is a ppwcode schematic implementation | ||
| that serves as a starting point to create a ppwcode compliant Angular repository. | ||
| ### Usage as package | ||
| To generate an Angular project with ppw compliant configurations | ||
| 1. Run `npm install -g @ppwcode/angular-schematics`. | ||
| 2. Go to your desired directory by running: `cd ./to/your/desired/directory` | ||
| 2. Run `ng new --collection=@ppwcode/angular-schematics` | ||
| ### Dev workflow | ||
| If you want to test the development code follow the following steps: | ||
| 1. Run `npm run build` in this project | ||
| 2. Go to your desired directory by running: `cd ./to/your/desired/directory` | ||
| 3. Run `ng new test --collection=<path_to_this_repo>/dist/collection.json` | ||
| ### Unit Testing | ||
| `npm run test` will run the unit tests, using Jasmine as a runner and test framework. | ||
| ### Publishing | ||
| To publish, simply do: | ||
| ```bash | ||
| npm run build | ||
| npm publish | ||
| ``` | ||
| That's it! |
+2
-2
| { | ||
| "name": "@ppwcode/angular-schematics", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "description": "PPWCode Angular Schematics", | ||
@@ -8,3 +8,3 @@ "scripts": { | ||
| "build:compile": "tsc -p tsconfig.json", | ||
| "build:copy": "copyfiles -a -u 1 ./src/*.json ./src/**/*.template ./src/**/*.json dist && copyfiles package.json dist", | ||
| "build:copy": "copyfiles -a -u 1 ./src/*.json ./src/**/*.template ./src/**/*.json dist && copyfiles package.json README.md dist", | ||
| "test": "npm run build && jasmine dist/**/*_spec.js" | ||
@@ -11,0 +11,0 @@ }, |
@@ -44,3 +44,3 @@ "use strict"; | ||
| name: '@ppwcode/angular-schematics', | ||
| version: '0.2.0', | ||
| version: '0.2.1', | ||
| }, | ||
@@ -47,0 +47,0 @@ { |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
45003
2.13%29
3.57%1
-50%34
Infinity%