Skip to content

Commit

Permalink
Bumped up the version and finished name changing
Browse files Browse the repository at this point in the history
  • Loading branch information
sconix committed Mar 27, 2017
1 parent 2e848d6 commit cb587cd
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 17 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.5.2 Bug fix release

- Fixed umd bundle to use the new name

2.5.0 Last 2.x release

- Preparing for moving to Angular 4.x
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Angular 2 Font Picker
# Angular Font Picker

<a href="https://badge.fury.io/js/angular2-font-picker"><img src="https://badge.fury.io/js/angular2-font-picker.svg" align="right" alt="npm version" height="18"></a>
<a href="https://badge.fury.io/js/ngx-font-picker"><img src="https://badge.fury.io/js/ngx-font-picker.svg" align="right" alt="npm version" height="18"></a>

This is a simple font picker based on the cool angular2-color-picker by Alberplz.

Expand All @@ -19,13 +19,13 @@ See a live example application <a href="https://zefoy.github.io/ngx-font-picker/

### Installing and usage

npm install angular2-font-picker --save-dev
npm install ngx-font-picker --save-dev

##### Load the module for your app (with global configuration):

```javascript
import { FontPickerModule } from 'angular2-font-picker';
import { FontPickerConfigInterface } from 'angular2-font-picker';
import { FontPickerModule } from 'ngx-font-picker';
import { FontPickerConfigInterface } from 'ngx-font-picker';

const FONT_PICKER_CONFIG: FontPickerConfigInterface = {
// Change this to your Google API key
Expand Down
6 changes: 3 additions & 3 deletions config/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ module.exports = {
hints: false
},
entry: {
'angular2-font-picker.umd': './src/index.ts',
'angular2-font-picker.umd.min': './src/index.ts'
'ngx-font-picker.umd': './src/index.ts',
'ngx-font-picker.umd.min': './src/index.ts'
},
output: {
path: './bundles',
filename: '[name].js',
library: 'angular2-font-picker',
library: 'ngx-font-picker',
libraryTarget: 'umd',
umdNamedDefine: true
},
Expand Down
6 changes: 3 additions & 3 deletions example/config/systemjs-build.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'rxjs': 'npm:rxjs',
'ts': 'npm:plugin-typescript/lib/plugin.js',
'typescript': 'npm:typescript/lib/typescript.js',
'angular2-font-picker': 'node_modules/angular2-font-picker'
'ngx-font-picker': 'node_modules/ngx-font-picker'
},
packages: {
'app': {
Expand All @@ -42,8 +42,8 @@
'rxjs': {
defaultExtension: 'js'
},
'angular2-font-picker': {
main: 'bundles/angular2-font-picker.umd.js',
'ngx-font-picker': {
main: 'bundles/ngx-font-picker.umd.js',
defaultExtension: 'js'
}
}
Expand Down
6 changes: 3 additions & 3 deletions example/config/systemjs-server.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
'rxjs': 'npm:rxjs',
'ts': 'npm:plugin-typescript/lib/plugin.js',
'typescript': 'npm:typescript/lib/typescript.js',
'angular2-font-picker': 'node_modules/angular2-font-picker'
'ngx-font-picker': 'node_modules/ngx-font-picker'
},
packages: {
'app': {
Expand All @@ -42,8 +42,8 @@
'rxjs': {
defaultExtension: 'js'
},
'angular2-font-picker': {
main: 'bundles/angular2-font-picker.umd.js',
'ngx-font-picker': {
main: 'bundles/ngx-font-picker.umd.js',
defaultExtension: 'js'
}
}
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ngx-font-picker-example",
"description": "Example app for the ngx-font-picker",
"license": "MIT",
"version": "2.5.0",
"version": "2.5.2",
"tslint": {
"extends": "./tslint.json"
},
Expand Down
2 changes: 1 addition & 1 deletion example/src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="box-container" fxLayout="column">
<div class="app-title">Simple example app for the angular2-font-picker</div>
<div class="app-title">Simple example app for the ngx-font-picker</div>

<div class="info-container">
You can select a font by clicking the first button and toggle the config options from the two other buttons.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Google fonts font picker widget for Angular",
"bugs": "https://github.com/zefoy/ngx-font-picker/issues",
"license": "MIT",
"version": "2.5.0",
"version": "2.5.2",
"main": "bundles/ngx-font-picker.umd.js",
"module": "./dist/index.js",
"typings": "./dist/index.d.ts",
Expand Down

0 comments on commit cb587cd

Please sign in to comment.