From dc6d89d9bf06167e8928096a5ca5f95141dbaa9b Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Fri, 17 Feb 2017 13:24:49 +0200 Subject: [PATCH 1/3] Use typedoc theme from GitHub master branch. Until we get the NPM release back in check. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index c21c04cba..1e43665ea 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "http-server": "^0.9.0", "markdown-snippet-injector": "0.1.1", "mocha": "2.2.5", - "nativescript-typedoc-theme": "0.0.7", + "nativescript-typedoc-theme": "git+https://github.com/NativeScript/nativescript-typedoc-theme.git#master", "shelljs": "^0.7.0", "time-grunt": "1.3.0", "tslint": "^4.4.2", From 503e5bf9ffba6e870041078c21791b505ce45b75 Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Fri, 17 Feb 2017 13:25:17 +0200 Subject: [PATCH 2/3] Upgrade to typedoc@0.5.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1e43665ea..fe2147771 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "shelljs": "^0.7.0", "time-grunt": "1.3.0", "tslint": "^4.4.2", - "typedoc": "0.4.5", + "typedoc": "0.5.6", "typescript": "~2.1.5" }, "scripts": { From 232692cacdc88c00c867f8fba89d55bc6c2a657d Mon Sep 17 00:00:00 2001 From: Hristo Deshev Date: Fri, 17 Feb 2017 14:10:55 +0200 Subject: [PATCH 3/3] Increase Node heap size for TypeScript compiler runs. --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index fe2147771..90b06fa63 100644 --- a/package.json +++ b/package.json @@ -32,15 +32,15 @@ }, "scripts": { "setup": "npm run dev-link-tns-platform-declarations && npm run dev-link-tns-core-modules && npm run dev-link-tests && npm run dev-link-apps", - "tsc": "tsc", - "compile-all": "tsc -p tsconfig.json --outDir bin/dist", - "compile-check-base-dts": "tsc -p tsconfig.base-dts.json", - "compile-node-tests": "tsc -p tsconfig.node-tests.json --outDir bin/dist/node-tests", - "compile-check-combined-dts": "tsc -p tsconfig.combined-dts.json", - "tsc-w": "tsc --skipLibCheck -w", - "dev-tsc-tns-platform-declarations": "tsc -p tns-platform-declarations", - "dev-tsc-tests": "tsc -p tests", - "dev-tsc-apps": "tsc -p apps", + "tsc": "node --max_old_space_size=4096 ./node_modules/.bin/tsc", + "compile-all": "npm run tsc -- -p tsconfig.json --outDir bin/dist", + "compile-check-base-dts": "npm run tsc -- -p tsconfig.base-dts.json", + "compile-node-tests": "npm run tsc -- -p tsconfig.node-tests.json --outDir bin/dist/node-tests", + "compile-check-combined-dts": "npm run tsc -- -p tsconfig.combined-dts.json", + "tsc-w": "npm run tsc -- --skipLibCheck -w", + "dev-tsc-tns-platform-declarations": "npm run tsc -- -p tns-platform-declarations", + "dev-tsc-tests": "npm run tsc -- -p tests", + "dev-tsc-apps": "npm run tsc -- -p apps", "dev-tsc-all": "npm run dev-tsc-tns-platform-declarations && npm run tsc && npm run dev-tsc-tests && npm run dev-tsc-apps", "dev-link-tns-platform-declarations": "cd tns-platform-declarations && npm link", "dev-link-tns-core-modules": "cd tns-core-modules && npm link", @@ -56,7 +56,7 @@ "prepublish": "echo \"Development reminder: npm run setup\n\"", "typedoc": "typedoc --tsconfig tsconfig.typedoc.json --out bin/dist/apiref --mode file --includeDeclarations --name NativeScript --theme ./node_modules/nativescript-typedoc-theme", "dev-typedoc": "npm run typedoc && cd bin/dist/apiref && http-server", - "test-tsc-es2016": "tsc -p tsconfig.public.es2016.json", + "test-tsc-es2016": "npm run tsc -- -p tsconfig.public.es2016.json", "tslint": "tslint --config build/tslint.json 'tns-core-modules/**/*.ts' 'tests/**/*.ts' 'apps/**/*.ts' -e '**/node_modules/**' -e '**/platforms/**'" } }