grunt-cideploy
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -27,11 +27,2 @@ /* | ||
}, | ||
jshint: { | ||
all: [ | ||
"Gruntfile.js", | ||
"tasks/*.js" | ||
], | ||
options: { | ||
jshintrc: ".jshintrc" | ||
} | ||
}, | ||
// Before generating any new files, remove any previously-created files. | ||
@@ -42,3 +33,3 @@ clean: { | ||
eslint: { | ||
target: "**/*.js" | ||
target: ["tasks/**/*.js"] | ||
} | ||
@@ -45,0 +36,0 @@ }); |
{ | ||
"name": "grunt-cideploy", | ||
"description": "Reynaers Deployment Task", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"homepage": "", | ||
@@ -16,8 +16,3 @@ "author": { | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "/blob/master/LICENSE-MIT" | ||
} | ||
], | ||
"license": "MIT", | ||
"engines": { | ||
@@ -30,7 +25,8 @@ "node": ">= 0.8.0" | ||
"devDependencies": { | ||
"eslint": "^5.16.0", | ||
"grunt": "^1.0.4", | ||
"grunt-available-tasks": "git://github.com/RobinHerbots/grunt-available-tasks.git", | ||
"grunt-bump": "^0.8.0", | ||
"grunt-contrib-jshint": "^2.1.0", | ||
"load-grunt-tasks": "^4.0.0", | ||
"grunt-available-tasks": "git://github.com/RobinHerbots/grunt-available-tasks.git" | ||
"grunt-eslint": "^21.1.0", | ||
"load-grunt-tasks": "^5.1.0" | ||
}, | ||
@@ -40,10 +36,9 @@ "dependencies": { | ||
"grunt-contrib-clean": "^2.0.0", | ||
"grunt-git": "^1.0.13", | ||
"grunt-msbuild": "^1.0.1", | ||
"grunt-git": "^1.0.14", | ||
"grunt-msbuild": "^1.1.1", | ||
"grunt-nuget": "git://github.com/RobinHerbots/grunt-nuget.git", | ||
"grunt-prompt": "^1.3.3", | ||
"grunt-sharepoint-list": "^1.0.4", | ||
"grunt-webapppool": "^0.0.2", | ||
"grunt-eslint": "^21.0.0", | ||
"lodash": "^4.17.11" | ||
"grunt-webapppool": "^0.0.3", | ||
"lodash": "^4.17.15" | ||
}, | ||
@@ -50,0 +45,0 @@ "keywords": [ |
@@ -30,2 +30,5 @@ # grunt-cideploy | ||
after: function (grunt, options) { }, | ||
obtainProfile: function (tag) { | ||
return tag.indexOf("Production") !== -1 ? "Production" : "Staging"; | ||
}, | ||
origin: "", | ||
@@ -119,3 +122,12 @@ notifyInSharePoint: false, | ||
``` | ||
#### obtainProfile | ||
Default: | ||
``` | ||
function (tag) { | ||
return tag.indexOf("Production") !== -1 ? "Production" : "Staging"; | ||
}, | ||
``` | ||
This callback is used to determine the publishprofile to use depending the incoming tag description. | ||
#### origin | ||
@@ -122,0 +134,0 @@ Default: "" |
@@ -52,2 +52,5 @@ /* | ||
}, | ||
obtainProfile: function (tag) { | ||
return tag.indexOf("Production") !== -1 ? "Production" : "Staging"; | ||
}, | ||
origin: "", | ||
@@ -82,3 +85,3 @@ notifyInSharePoint: false, | ||
grunt.option("profile", tag.indexOf("Production") !== -1 ? "Production" : "Staging"); | ||
grunt.option("profile", options.obtainProfile(tag)); | ||
grunt.option("totag", tag); | ||
@@ -85,0 +88,0 @@ |
16573
9
175
6
314
+ Addedgrunt-webapppool@0.0.3(transitive)
- Removedgrunt-eslint@^21.0.0
- Removed@babel/code-frame@7.24.7(transitive)
- Removed@babel/helper-validator-identifier@7.24.7(transitive)
- Removed@babel/highlight@7.24.7(transitive)
- Removedacorn@6.4.2(transitive)
- Removedacorn-jsx@5.3.2(transitive)
- Removedansi-escapes@3.2.0(transitive)
- Removedansi-regex@3.0.14.1.1(transitive)
- Removedansi-styles@3.2.1(transitive)
- Removedastral-regex@1.0.0(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedchalk@2.4.2(transitive)
- Removedchardet@0.7.0(transitive)
- Removedcli-cursor@2.1.0(transitive)
- Removedcli-width@2.2.1(transitive)
- Removedcolor-convert@1.9.3(transitive)
- Removedcolor-name@1.1.3(transitive)
- Removedcross-spawn@6.0.5(transitive)
- Removeddebug@4.3.5(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddoctrine@3.0.0(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedeslint@5.16.0(transitive)
- Removedeslint-scope@4.0.3(transitive)
- Removedeslint-utils@1.4.3(transitive)
- Removedeslint-visitor-keys@1.3.0(transitive)
- Removedespree@5.0.1(transitive)
- Removedesquery@1.5.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@4.3.05.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedexternal-editor@3.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfigures@2.0.0(transitive)
- Removedfile-entry-cache@5.0.1(transitive)
- Removedflat-cache@2.0.1(transitive)
- Removedflatted@2.0.2(transitive)
- Removedflopmang@0.0.1(transitive)
- Removedfunctional-red-black-tree@1.0.1(transitive)
- Removedglobals@11.12.0(transitive)
- Removedgrunt-eslint@21.1.0(transitive)
- Removedgrunt-webapppool@0.0.2(transitive)
- Removedhas-flag@3.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedignore@4.0.6(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedinquirer@6.5.2(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedjs-tokens@4.0.0(transitive)
- Removedjson-stable-stringify-without-jsonify@1.0.1(transitive)
- Removedlevn@0.3.0(transitive)
- Removedmimic-fn@1.2.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.1.2(transitive)
- Removedmute-stream@0.0.7(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removednice-try@1.0.5(transitive)
- Removedonetime@2.0.1(transitive)
- Removedoptionator@0.8.3(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedpath-is-inside@1.0.2(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpicocolors@1.0.1(transitive)
- Removedprelude-ls@1.1.2(transitive)
- Removedprogress@2.0.3(transitive)
- Removedregexpp@2.0.1(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedrestore-cursor@2.0.0(transitive)
- Removedrimraf@2.6.3(transitive)
- Removedrun-async@2.4.1(transitive)
- Removedrxjs@6.6.7(transitive)
- Removedsemver@5.7.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedslice-ansi@2.1.0(transitive)
- Removedstring-width@2.1.13.1.0(transitive)
- Removedstrip-ansi@4.0.05.2.0(transitive)
- Removedstrip-json-comments@2.0.1(transitive)
- Removedsupports-color@5.5.0(transitive)
- Removedtable@5.4.6(transitive)
- Removedtext-table@0.2.0(transitive)
- Removedtmp@0.0.33(transitive)
- Removedtslib@1.14.1(transitive)
- Removedtype-check@0.3.2(transitive)
- Removedunderscore.string@2.4.0(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedwrite@1.0.3(transitive)
Updatedgrunt-git@^1.0.14
Updatedgrunt-msbuild@^1.1.1
Updatedgrunt-webapppool@^0.0.3
Updatedlodash@^4.17.15