diff --git a/PUBLISHING.md b/PUBLISHING.md index 35d0a31..d8de1bd 100644 --- a/PUBLISHING.md +++ b/PUBLISHING.md @@ -2,6 +2,8 @@ This document mainly exists so I ([Bauke](https://bauke.xyz)) remember how to go about publishing Love since it's a little complicated for certain platforms. +To update the version of a theme, use `yarn versioning`. + ## Published to platforms The following sections assume you have previously published a version, but are starting from a completely fresh repository. diff --git a/love-versions.json b/love-versions.json index 3571d4d..4a8c960 100644 --- a/love-versions.json +++ b/love-versions.json @@ -1,8 +1,8 @@ { - "atom": "0.1.2", - "firefox": "0.1.0", - "kitty": "0.1.0", - "sublime-text": "0.1.0", - "tauon": "0.2.0", - "vscode": "0.1.1" + "atom": "0.1.3", + "firefox": "0.1.1", + "kitty": "0.1.1", + "sublime-text": "0.1.1", + "tauon": "0.2.1", + "vscode": "0.1.2" } diff --git a/package.json b/package.json index 680e4e9..939cd2c 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "watch:atom": "chokidar 'source/atom/*.less' 'source/atom/ui-template/*.less' -c 'yarn build:atom'", "watch:vscode": "chokidar 'source/vscode/themes/love-template.color-theme.json' -c 'yarn build:vscode'", "copy-themes": "cp 'source/kitty/love-kitty.zip' 'public/' && cp 'source/sublime-text/Love.sublime-package' 'public/' && cp 'source/tauon/love-tauon.zip' 'public/'", + "versioning": "ts-node 'source/scripts/version.ts'", "test": "xo && stylelint 'source/pages/scss/**'", "deploy": "rm -rf 'public/' && yarn build && yarn deploy:netlify", "deploy:netlify": "netlify deploy --prod --dir 'public/' -s 255a4cea-e3fe-4e0f-8450-b8c4ce46f7a0" diff --git a/source/atom/package.json b/source/atom/package.json index 68378c3..24d8405 100644 --- a/source/atom/package.json +++ b/source/atom/package.json @@ -1,7 +1,7 @@ { "name": "love", "description": "A color scheme for you to love. ♡", - "version": "0.1.2", + "version": "0.1.3", "author": "Holllo ", "homepage": "https://love.holllo.cc", "repository": "https://git.holllo.cc/Holllo/love", diff --git a/source/scripts/version.ts b/source/scripts/version.ts index 14dc0f8..5d848a0 100644 --- a/source/scripts/version.ts +++ b/source/scripts/version.ts @@ -91,7 +91,7 @@ export async function main(): Promise { JSON.stringify(versions, null, 2) + '\n' ); - if (['atom', 'sublime-text', 'vscode'].includes(selectedTheme)) { + if (['atom', 'vscode'].includes(selectedTheme)) { const packageLocation: string = join( __dirname, `../${selectedTheme}/package.json` diff --git a/source/vscode/LICENSE b/source/vscode/LICENSE new file mode 100644 index 0000000..8817388 --- /dev/null +++ b/source/vscode/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2020 Holllo + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/source/vscode/License b/source/vscode/License deleted file mode 100644 index ba2c8ec..0000000 --- a/source/vscode/License +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2020 Holllo - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/source/vscode/package.json b/source/vscode/package.json index 8f9981f..2c56e3a 100644 --- a/source/vscode/package.json +++ b/source/vscode/package.json @@ -1,7 +1,7 @@ { "name": "love", "description": "A color scheme for you to love. ♡", - "version": "0.1.1", + "version": "0.1.2", "author": "Holllo ", "homepage": "https://love.holllo.cc", "repository": "https://git.holllo.cc/Holllo/love",