Skip to content

Commit

Permalink
feat(ngx-tailwind): rename lib
Browse files Browse the repository at this point in the history
  • Loading branch information
marcjulian committed Oct 23, 2020
1 parent 60b945b commit 70adecf
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
# Ignores TypeScript files, but keeps definitions.
!*.d.ts

# source
angular-workspace
.prettierrc

# misc
.DS_Store
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# [0.5.0](https://github.com/notiz-dev/ngx-tailwind/compare/v0.2.0...v0.5.0) (2020-10-23)


### Features

* **ng-add:** save lib as devDeps ([120f553](https://github.com/notiz-dev/ngx-tailwind/commit/120f5538d38466d61990505fec0e80b26a17e62c))
* **schematics:** add additional version options ([ef07ab9](https://github.com/notiz-dev/ngx-tailwind/commit/ef07ab90c9319847064a7e0942f11bfa6965f764))
* **stylesheet:** select css stylesheet format ([f8c026a](https://github.com/notiz-dev/ngx-tailwind/commit/f8c026a3cdfec7a3a56fd26a97abfc45f937983d))
* **tailwind:** add tailwind-init task ([3aebe1a](https://github.com/notiz-dev/ngx-tailwind/commit/3aebe1a58987230bcc046dcdbb4ea05f80a2795f))
* **webpack:** update postcss options ([d7b7389](https://github.com/notiz-dev/ngx-tailwind/commit/d7b7389be3ff87d75015d87f699c47f0f05f2e57))



10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Add Tailwind CSS to your Angular project

[![npm version](https://badge.fury.io/js/%40garygrossgarten%2Fngx-tailwind.svg)](https://www.npmjs.com/package/@garygrossgarten/ngx-tailwind)
[![npm version](https://badge.fury.io/js/ngx-tailwind.svg)](https://www.npmjs.com/package/ngx-tailwind)

Simple [Angular](https://angular.io/) schematic initializing [Tailwind CSS](https://tailwindcss.com/) in your project and adds a custom webpack config to your build process.

Expand All @@ -9,11 +9,11 @@ Simple [Angular](https://angular.io/) schematic initializing [Tailwind CSS](http
Run

```bash
ng add @garygrossgarten/ngx-tailwind
ng add ngx-tailwind

# or

ng add @garygrossgarten/ngx-tailwind --project <MY_PROJECT>
ng add ngx-tailwind --project <MY_PROJECT>
```

Example output
Expand All @@ -35,7 +35,7 @@ UPDATE angular.json (3828 bytes)
You can pass additional flags to customize the schematic. For example, if you want to install a different version for **Tailwind** use `--tailwindVersion` flag:

```bash
ng add @garygrossgarten/ngx-tailwind --tailwindVersion 1.9.5
ng add ngx-tailwind --tailwindVersion 1.9.5
```

All available flags:
Expand All @@ -54,7 +54,7 @@ All available flags:
Advanced usage

```bash
ng add @garygrossgarten/ngx-tailwind --cssFormat scss --tailwindVersion 1.9.5 --ngxBuildPlusVersion 10.1.1 --postcssImportVersion 12.0.1 --postcssLoaderVersion 4.0.4 --postcssScssVersion 3.0.2
ng add ngx-tailwind --cssFormat scss --tailwindVersion 1.9.5 --ngxBuildPlusVersion 10.1.1 --postcssImportVersion 12.0.1 --postcssLoaderVersion 4.0.4 --postcssScssVersion 3.0.2
```

## Developing
Expand Down
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"name": "@garygrossgarten/ngx-tailwind",
"version": "0.3.0",
"name": "ngx-tailwind",
"version": "0.5.0",
"description": "Add tailwind to an Angular Workspace",
"scripts": {
"build": "tsc -p tsconfig.json",
"build:watch": "tsc -p tsconfig.json --watch",
"test": "npm run build && jasmine src/**/*_spec.js",
"start:dev": "npm run build && cd angular-workspace && schematics ..:ng-add",
"start": "npm run build && cd angular-workspace && schematics ..:ng-add --debug false --tailwindVersion 1.9.5 --ngxBuildPlusVersion 10.1.1 --postcssImportVersion 12.0.1 --postcssLoaderVersion 4.0.4 --postcssScssVersion 3.0.2"
"start": "npm run build && cd angular-workspace && schematics ..:ng-add --debug false --tailwindVersion 1.9.5",
"changelog": "conventional-changelog -p angular -i ./CHANGELOG.md -s",
"rocket": "npm run build && npm publish"
},
"keywords": [
"schematics"
Expand Down

0 comments on commit 70adecf

Please sign in to comment.