From 0618c0c10f909d557ac2876e68cf1a8cafc04fc6 Mon Sep 17 00:00:00 2001 From: gallayl Date: Tue, 16 May 2017 14:02:59 +0200 Subject: [PATCH 1/2] chore(sn.config.js): Added commented out default values --- sn.config.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/sn.config.js b/sn.config.js index c500b5e..b6d9860 100644 --- a/sn.config.js +++ b/sn.config.js @@ -2,10 +2,25 @@ module.exports = { /** * The Url for your repository, e.g.: 'localhost' */ - "RepositoryUrl": "localhost", + //"RepositoryUrl": "localhost", /** - * The username to be used for authentication + * The OData Token used by your content repository */ - "UserName": "admin" + //"ODataToken": "OData.SVC", + + /** + * The template for JWT Token Generation in the localstorage / cookies. ${siteName} and ${tokenName} will be relpaced with the corresponding values. + */ + //"JwtTokenKeyTemplate":"sn-${siteName}-${tokenName}", + + /** + * Option how the JWT oken will be persisted. The valid options are "session" and "expiration" + */ + //"JwtTokenPersist": "expiration" + + /** + * The username to be used for authentication during type fetching + */ + //"UserName": "admin", } \ No newline at end of file From a312865ea1b20d70c1f7df0f3b4bd645a66471a7 Mon Sep 17 00:00:00 2001 From: gallayl Date: Tue, 16 May 2017 14:06:55 +0200 Subject: [PATCH 2/2] fix(package.json): Fixed Path dependency (moved from devDependencies to Dependencies), bumped versio --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index c4f3d9f..df0ab2d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sn-client-cli", - "version": "1.0.0-RC.1", - "description": "Command line tooling for Sense/NET ECM client", + "version": "1.0.0-RC.2", + "description": "Command line tooling for sense NET ECM client", "main": "dist/index.js", "bin": { "sn-client": "./bin/sn-client.cmd" @@ -27,7 +27,7 @@ "typedoc": "gulp typedoc", "tslint": "tslint --project tsconfig.json ./src/**/*.ts && tslint --project tsconfig.test.json ./test/**/*.ts", "commit": "git-cz", - "publish:development": "npm publish --tag development" + "publish:development": "npm run build && npm t && npm publish --tag development" }, "repository": { "type": "git", @@ -52,7 +52,6 @@ "commitizen": "^2.9.6", "mocha": "^3.4.1", "mocha-typescript": "^1.1.2", - "prompt": "^1.0.0", "tslint": "^5.2.0", "typedoc": "^0.7.0", "typescript": "^2.3.2" @@ -73,6 +72,7 @@ "gulp-run": "^1.7.1", "gulp-typedoc": "^2.0.2", "path": "^0.12.7", + "prompt": "^1.0.0", "sn-client-js": "2.0.0-RC.2" }, "czConfig": {