From 27fcc4a30ca5b34440daf4ac9a479e89aca4f266 Mon Sep 17 00:00:00 2001 From: equinusocio Date: Fri, 29 Dec 2017 19:23:03 +0100 Subject: [PATCH] chore: Add standard-version --- .gulp/tasks/bump.ts | Bin 1133 -> 0 bytes .gulp/tasks/changelog.ts | Bin 357 -> 0 bytes package-lock.json | 138 +++++++++++++++++++++++++++++++++++++++ package.json | 17 +++-- 4 files changed, 146 insertions(+), 9 deletions(-) delete mode 100644 .gulp/tasks/bump.ts delete mode 100644 .gulp/tasks/changelog.ts diff --git a/.gulp/tasks/bump.ts b/.gulp/tasks/bump.ts deleted file mode 100644 index e0975d7906e62d304bef58da6fe4378e959b5b32..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1133 zcmV-z1d{szM@dveQdv+`0A(m5XHDbCK&F1^{19T|>%TF3b)Hzr_@bTC0nn)yd8?B} z35kbK!wf9QEx)-ZV2>Wz^%-c8uMl=kP@I8ZumC^QGU*_( zbH%LuXZcNKyeSZ%uW$uj*(oCneyS)ax)?GJ_l)|WY$N^IIyv9nTN3EHX7%j`><{CD z#x3EF-Oub$L7s01c4`&3+^a$#xN6V`9Mu2ds~ng z;&Rpls><>z!zRqdKvBo&6I@a_Yl(238p?y39gs+TQw~F3kKiKi!b0rABgT4Fs}S=o zIfW{?Y*kgD=KWjF+rLmNBAKi^cMU|kui&;3%oXfcAHj$YUv8fF{A0RuCP_l4Q;Q)) zl9NLNP|bIx2@Utj6Ln_%2scv3B|6C#6t#}se2%KbuTXo&p8DHX>m6&>^6JB=Xw0YZ z$|I*8*pb`u0YUZP5LAqR{z~*~)#Cf;Iu%`3w^Nx!b9=Z&{PtowGT%yt0ZCY-KpwGG zqqz>kQ5>kBtciB>6x&$##d7m)GXJBhQ}^MT{8(>yKP z$^F>EcFMu3Hj8AbNd6FlsjHuIENh7o-r_VieGMKcL)f$3HKk3T*=gOQtdrB>>tS)B zbR#Df9R}2Ao?k)~c>7lauFQGxHW<{Ik10ptesu;g(C)b|e5#jc8_;JMV;72G)h@hX z)1u|(cwh-y7M1=?JB3%{9&wuN=3_!Z(CljjE{r(yvj$DxR=_A~q0Tdy`J&TRYqmbRXwZ{cjeM%2{3#MmD)A z&8h}hc}T|CZ3sUsFd75#En=2#Lb|-IUpfTUM8S8XE?Qg>h!?zL`R=r@nDj_O5A5|U zGo_hRO17pm!6cEM47hG39`=Ko_^VlfAL60heG@7IEerUu-JST}sbStn!W%=Gl1;Kh DB5JL3 diff --git a/package-lock.json b/package-lock.json index f91fab4..f052edd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1579,6 +1579,96 @@ "trim-off-newlines": "1.0.1" } }, + "conventional-recommended-bump": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-1.1.0.tgz", + "integrity": "sha512-WK0HnYnXd9e8J1YezUlfle+Pz7HB1RYvIH6gPLAXoroQTzDSfNfGM1tHHmdrJw0/4BMr+zw0U9V1WzFEfQwE3w==", + "dev": true, + "requires": { + "concat-stream": "1.6.0", + "conventional-commits-filter": "1.1.1", + "conventional-commits-parser": "2.1.0", + "git-raw-commits": "1.3.0", + "git-semver-tags": "1.2.3", + "meow": "3.7.0", + "object-assign": "4.1.1" + }, + "dependencies": { + "conventional-commits-filter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-1.1.1.tgz", + "integrity": "sha512-bQyatySNKHhcaeKVr9vFxYWA1W1Tdz6ybVMYDmv4/FhOXY1+fchiW07TzRbIQZhVa4cvBwrEaEUQBbCncFSdJQ==", + "dev": true, + "requires": { + "is-subset": "0.1.1", + "modify-values": "1.0.0" + } + }, + "conventional-commits-parser": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-2.1.0.tgz", + "integrity": "sha512-8MD05yN0Zb6aRsZnFX1ET+8rHWfWJk+my7ANCJZBU2mhz7TSB1fk2vZhkrwVy/PCllcTYAP/1T1NiWQ7Z01mKw==", + "dev": true, + "requires": { + "JSONStream": "1.3.1", + "is-text-path": "1.0.1", + "lodash": "4.17.4", + "meow": "3.7.0", + "split2": "2.1.1", + "through2": "2.0.3", + "trim-off-newlines": "1.0.1" + } + }, + "git-raw-commits": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/git-raw-commits/-/git-raw-commits-1.3.0.tgz", + "integrity": "sha1-C8hZbpDV/+c29/VUa9LRL3OrqsY=", + "dev": true, + "requires": { + "dargs": "4.1.0", + "lodash.template": "4.4.0", + "meow": "3.7.0", + "split2": "2.1.1", + "through2": "2.0.3" + } + }, + "git-semver-tags": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-1.2.3.tgz", + "integrity": "sha1-GItFOIK/nXojr9Mbq6U32rc4jV0=", + "dev": true, + "requires": { + "meow": "3.7.0", + "semver": "5.4.1" + } + }, + "lodash.template": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.4.0.tgz", + "integrity": "sha1-5zoDhcg1VZF0bgILmWecaQ5o+6A=", + "dev": true, + "requires": { + "lodash._reinterpolate": "3.0.0", + "lodash.templatesettings": "4.1.0" + } + }, + "lodash.templatesettings": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz", + "integrity": "sha1-K01OlbpEDZFf8IvImeRVNmZxMxY=", + "dev": true, + "requires": { + "lodash._reinterpolate": "3.0.0" + } + }, + "semver": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", + "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", + "dev": true + } + } + }, "convert-source-map": { "version": "1.5.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.5.0.tgz", @@ -2335,6 +2425,15 @@ "integrity": "sha1-g8YK/Fi5xWmXAH7Rp2izqzA6RP4=", "dev": true }, + "fs-access": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fs-access/-/fs-access-1.0.1.tgz", + "integrity": "sha1-1qh/JiJxzv6+wwxVNAf7mV2od3o=", + "dev": true, + "requires": { + "null-check": "1.0.0" + } + }, "fs-exists-sync": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/fs-exists-sync/-/fs-exists-sync-0.1.0.tgz", @@ -5756,6 +5855,12 @@ "path-key": "2.0.1" } }, + "null-check": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/null-check/-/null-check-1.0.0.tgz", + "integrity": "sha1-l33/1xdgErnsMNKjnbXPcqBDnt0=", + "dev": true + }, "number-is-nan": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", @@ -6952,6 +7057,39 @@ } } }, + "standard-version": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-4.2.0.tgz", + "integrity": "sha1-MBfoxc7SqS23UBeQJVw7qFFXN10=", + "dev": true, + "requires": { + "chalk": "1.1.3", + "conventional-changelog": "1.1.4", + "conventional-recommended-bump": "1.1.0", + "figures": "1.7.0", + "fs-access": "1.0.1", + "semver": "5.4.1", + "yargs": "8.0.2" + }, + "dependencies": { + "figures": { + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/figures/-/figures-1.7.0.tgz", + "integrity": "sha1-y+Hjr/zxzUS4DK3+0o3Hk6lwHS4=", + "dev": true, + "requires": { + "escape-string-regexp": "1.0.5", + "object-assign": "4.1.1" + } + }, + "semver": { + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.4.1.tgz", + "integrity": "sha512-WfG/X9+oATh81XtllIo/I8gOiY9EXRdv1cQdyykeXK17YcUW3EXUAi2To4pcH6nZtJPr7ZOpM5OMyWJZm+8Rsg==", + "dev": true + } + } + }, "stat-mode": { "version": "0.2.2", "resolved": "https://registry.npmjs.org/stat-mode/-/stat-mode-0.2.2.tgz", diff --git a/package.json b/package.json index fe2ed00..4a0d137 100644 --- a/package.json +++ b/package.json @@ -30,14 +30,12 @@ "minimize-json": "json-minify themes/.material-theme-icons.tmp > themes/Material-Theme-Icons.json && npm run remove-icons-tmp", "remove-icons": "rimraf icons && rimraf themes/Material-Theme-Icons.json", "remove-icons-tmp": "rimraf themes/.material-theme-icons.tmp", - "build-icons": "npm run remove-icons && npm run minimize-icons && gulp build:icons && npm run minimize-json", - "build-icons-accents": "gulp build:icons.accents", - "build-icons-variants": "gulp build:icons.variants", - "build-themes": "gulp build:themes", - "release": "npm run bump && npm run changelog", - "postinstall": "node ./node_modules/vscode/bin/install && opencollective postinstall", - "changelog": "gulp changelog", - "bump": "gulp bump" + "build-icons": "npm run remove-icons && npm run minimize-icons && yarn gulp build:icons && npm run minimize-json", + "build-icons-accents": "yarn gulp build:icons.accents", + "build-icons-variants": "yarn gulp build:icons.variants", + "build-themes": "yarn gulp build:themes", + "release": "standard-version", + "postinstall": "node ./node_modules/vscode/bin/install && opencollective postinstall" }, "categories": [ "Themes", @@ -73,7 +71,7 @@ "themes": [ { "label": "Material Theme", - "path": "./themes/Material-Theme-Default.json", + "path": "./themes/Material-Theme-Palenight.json", "uiTheme": "vs-dark" } ], @@ -118,6 +116,7 @@ "mustache": "2.3.0", "rimraf": "2.6.1", "run-sequence": "1.2.2", + "standard-version": "4.2.0", "svgo": "0.7.1", "typescript": "2.4.1", "vscode": "1.1.1",