Skip to content

Commit

Permalink
* Dependency "ta-json" GitHub semver dependency becomes "ta-json-x" N…
Browse files Browse the repository at this point in the history
…PM package (fixes #10 )

* Removed TypeScript linter warning message (checks for no unused variables)
* NPM updates related to the Node TypeScript typings
  • Loading branch information
danielweck committed Oct 2, 2018
1 parent e5f2310 commit 52e3568
Show file tree
Hide file tree
Showing 8 changed files with 411 additions and 365 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
Git diff:
* https://github.com/readium/r2-testapp-js/compare/v1.0.0-alpha.5...develop

# 1.0.0-alpha.6

Changes:
* Dependency "ta-json" GitHub semver dependency becomes "ta-json-x" NPM package (fixes https://github.com/readium/r2-testapp-js/issues/10 )
* Removed TypeScript linter warning message (checks for no unused variables)
* NPM updates related to the Node TypeScript typings

Git revision info:
* https://unpkg.com/r2-testapp-js@1.0.0-alpha.6/dist/gitrev.json
* https://github.com/edrlab/r2-testapp-js-dist/blob/v1.0.0-alpha.6/dist/gitrev.json

Git commit history:
* https://github.com/readium/r2-testapp-js/commits/v1.0.0-alpha.6

Git diff:
* https://github.com/readium/r2-testapp-js/compare/v1.0.0-alpha.5...v1.0.0-alpha.6

# 1.0.0-alpha.5

Changes:
Expand Down
702 changes: 366 additions & 336 deletions package-lock.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions package-scripts-bundle.cson
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,14 @@
((ls ./node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/ta-json/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/ta-json/node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/ta-json-x/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/ta-json-x/node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/r2-navigator-js/node_modules/ta-json/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/r2-navigator-js/node_modules/ta-json/node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/r2-navigator-js/node_modules/ta-json-x/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/r2-navigator-js/node_modules/ta-json-x/node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/r2-streamer-js/node_modules/ta-json/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/r2-streamer-js/node_modules/ta-json/node_modules/reflect-metadata/) || echo "OK") &&
((ls ./node_modules/r2-streamer-js/node_modules/ta-json-x/node_modules/reflect-metadata/ &&
cpy ./Reflect.ts ./node_modules/r2-streamer-js/node_modules/ta-json-x/node_modules/reflect-metadata/) || echo "OK") &&
rimraf Reflect.ts &&
Expand Down
38 changes: 19 additions & 19 deletions package.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/electron/main/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ import * as filehound from "filehound";
import * as portfinder from "portfinder";
import * as request from "request";
import * as requestPromise from "request-promise-native";
import { JSON as TAJSON } from "ta-json";
import { JSON as TAJSON } from "ta-json-x";

import { R2_EVENT_DEVTOOLS } from "../common/events";
import { IStore } from "../common/store";
Expand Down
2 changes: 1 addition & 1 deletion src/electron/renderer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
} from "@r2-shared-js/init-globals";
import { encodeURIComponent_RFC3986 } from "@utils/http/UrlUtils";
import { ipcRenderer, webFrame } from "electron";
import { JSON as TAJSON } from "ta-json";
import { JSON as TAJSON } from "ta-json-x";

import {
IEventPayload_R2_EVENT_LCP_LSD_RENEW,
Expand Down
2 changes: 1 addition & 1 deletion tsconfigs/tsconfig-common.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"alwaysShowRuleFailuresAsWarnings": false,
"ignoreDefinitionFiles": true,
"configFile": "./tslint.json",
"disableNoUnusedVariableRule": true
"disableNoUnusedVariableRule": false
}
],
"rootDir": "../",
Expand Down
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"no-floating-promises": true,
"promise-function-async": true,
"await-promise": true,
"no-unused-variable": true,
"no-unused-expression": true,
"variable-name": [
true,
Expand Down

0 comments on commit 52e3568

Please sign in to comment.