Skip to content

Commit

Permalink
Merge branch 'milestone-0.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
martinroob committed May 3, 2017
2 parents 8ede4cd + 4e50c8f commit 6e453e7
Show file tree
Hide file tree
Showing 36 changed files with 1,775 additions and 2,660 deletions.
17 changes: 17 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<a name="0.4-0"></a>
# [0.4.0](https://github.com/martinroob/ngx-i18nsupport/compare/v0.3.1...v0.4.0) (2017-05-03)

### Bug Fixes

* **xliffmerge:** xliffmerge creates empty json files ([#18](https://github.com/martinroob/ngx-i18nsupport/issues/18))

### Features

* **xliffmerge:** create an API to access parsing functionality. ([#11](https://github.com/martinroob/ngx-i18nsupport/issues/11)).
The API is in a separate npm package [ngx-i18nsupport-lib](https://github.com/martinroob/ngx-i18nsupport-lib).

* **xliffmerge:** use explicitly set IDs for ngx-translate data generation. ([#15](https://github.com/martinroob/ngx-i18nsupport/issues/15))
For detail have a look at the Wiki page [ngx translate usage](https://github.com/martinroob/ngx-i18nsupport/wiki/ngx-translate-usage).

* **xliffmerge:** Handle new source element introduced with Angular 4. ([#21](https://github.com/martinroob/ngx-i18nsupport/issues/21))

<a name="0.3.1"></a>
# [0.3.1](https://github.com/martinroob/ngx-i18nsupport/compare/v0.3.0...v0.3.1) (2017-04-25)

Expand Down
1 change: 0 additions & 1 deletion ngx-i18nsupport.d.ts

This file was deleted.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "ngx-i18nsupport",
"version": "0.3.1",
"version": "0.4.0",
"description": "Some tooling to be used with the Angular 2 i18n workflow",
"main": "index.js",
"module": "./src",
"es2015": "./src",
"typings": "./ngx-i18nsupport.d.ts",
"bin": {
"xliffmerge": "./dist/xliffmerge/xliffmerge"
},
Expand All @@ -18,7 +17,8 @@
"pretest": "npm run build",
"test": "./node_modules/.bin/jasmine-node dist",
"precover": "npm run build",
"cover": "./node_modules/.bin/istanbul cover --root dist --include-all-sources ./node_modules/jasmine-node/bin/jasmine-node -- dist"
"cover": "./node_modules/.bin/istanbul cover --root dist --include-all-sources ./node_modules/jasmine-node/bin/jasmine-node -- dist",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
Expand All @@ -28,7 +28,8 @@
"i18n",
"tooling",
"angular",
"xliff"
"xliff",
"xmb"
],
"author": "Martin Roob <martinroob65@gmail.com> (www.roobsoft.de)",
"license": "MIT",
Expand All @@ -37,7 +38,6 @@
},
"homepage": "https://github.com/martinroob/ngx-i18nsupport#readme",
"devDependencies": {
"@types/cheerio": "^0.17.31",
"@types/jasmine": "^2.5.43",
"@types/node": "^7.0.5",
"coveralls": "^2.11.16",
Expand All @@ -48,7 +48,7 @@
},
"dependencies": {
"chalk": "^1.1.3",
"cheerio": "^0.22.0",
"commander": "^2.9.0"
"commander": "^2.9.0",
"ngx-i18nsupport-lib": "^0.0.8"
}
}
6 changes: 0 additions & 6 deletions public_api.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion spec/support/jasmine.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"spec_dir": "dist/out-tsc",
"spec_dir": "dist",
"spec_files": [
"**/*[sS]pec.js"
],
Expand Down
124 changes: 0 additions & 124 deletions src/common/command-output.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/common/command-output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import * as chalk from "chalk";
import WritableStream = NodeJS.WritableStream;
import util = require('util');
import * as util from "util";

enum LogLevel {
"ERROR",
Expand Down
96 changes: 0 additions & 96 deletions src/common/file-util.js

This file was deleted.

10 changes: 9 additions & 1 deletion src/common/file-util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import fs = require("fs");
import * as fs from "fs";

/**
* Created by martin on 17.02.2017.
* Some (a few) simple utils for file operations.
Expand Down Expand Up @@ -92,4 +93,11 @@ export class FileUtil {
}
};

/**
* Delete a file.
* @param path
*/
public static deleteFile(path: string) {
fs.unlinkSync(path);
}
}
45 changes: 0 additions & 45 deletions src/common/writer-to-string.js

This file was deleted.

6 changes: 0 additions & 6 deletions src/index.ts

This file was deleted.

Loading

0 comments on commit 6e453e7

Please sign in to comment.