Skip to content

Commit

Permalink
Fix broken paths ins sourcemap
Browse files Browse the repository at this point in the history
  • Loading branch information
neroniaky committed Sep 2, 2016
1 parent 823a05a commit bad7038
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 9 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
src
node_modules

# Testing
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## v0.1.5
**Bugfixes:**
- Fix broken sourcemap paths in npm package

## v0.1.4
**Features:**
- Added packaged library to npm package for systemjs support (fixes [#6](https://github.com/neroniaky/angular2-token/issues/6))
Expand Down
3 changes: 2 additions & 1 deletion angular2-token.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './lib';
export * from './src/angular2-token.model';
export * from './src/angular2-token.service';
6 changes: 5 additions & 1 deletion angular2-token.js
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
exports.Angular2TokenService = require('./lib/angular2-token.service').Angular2TokenService;
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
__export(require('./lib/angular2-token.service'));
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular2-token",
"version": "0.1.4",
"version": "0.1.5",
"description": "Angular2 service for token based authentication",
"main": "./angular2-token.js",
"typings": "./angular2-token.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/angular2-token.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {
UserType,
AuthData,
Angular2TokenOptions
} from './';
} from './angular2-token.model';

@Injectable()
export class Angular2TokenService {
Expand Down
2 changes: 1 addition & 1 deletion src/angular2-token.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { MockBackend } from '@angular/http/testing';
import { inject, TestBed } from '@angular/core/testing';
import { ActivatedRoute, RouterOutletMap, RouterState } from '@angular/router';

import { Angular2TokenService } from './';
import { Angular2TokenService } from './angular2-token.service';

describe('Angular2TokenService', () => {

Expand Down
2 changes: 0 additions & 2 deletions src/index.ts

This file was deleted.

3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"suppressImplicitAnyIndexErrors": true
},
"files": [
"src/angular2-token.service.ts"
"src/angular2-token.service.ts",
"src/angular2-token.model.ts"
],
"exclude": [
"node_modules"
Expand Down

0 comments on commit bad7038

Please sign in to comment.