Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@ppwcode/angular-schematics

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ppwcode/angular-schematics - npm Package Compare versions

Comparing version
0.2.0
to
0.2.1
+33
README.md
# 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 @@ {