diff --git a/.gulp/tasks/bump.ts b/.gulp/tasks/bump.ts deleted file mode 100644 index e0975d7..0000000 Binary files a/.gulp/tasks/bump.ts and /dev/null differ diff --git a/.gulp/tasks/changelog.ts b/.gulp/tasks/changelog.ts deleted file mode 100644 index e3e9533..0000000 Binary files a/.gulp/tasks/changelog.ts and /dev/null differ 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",