From 1abdb14bef7778e463ac4bab582d89a626786b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beatriz=20Sopen=CC=83a=20Merino?= Date: Tue, 16 Aug 2022 23:41:22 +0200 Subject: [PATCH] feat(config): add package and configuration of `standard-version` Steps: - Install the `standard-version` package with the next command: `npm i --save-dev standard-version` `npm i -g standard-version` - Use the following command to: create a git tag of the current version, generate/update a `CHANGELOG.md` based on your commits, create a new commit with the changes, update the version in the `package.json`... `standard-version` - Add the npm script `release` with the command `standard-version` - Add the `.versionrc` file for create a custom configuration - Create configuration of the version bumps with Scala SBT, this auto update the version References: - https://www.youtube.com/watch?v=130zzOgSMiM&list=PLJGDHERh23x_4MDp0m4Arswm5VErr3tbl&index=16 - https://github.com/conventional-changelog/standard-version - https://www.npmjs.com/package/standard-version?activeTab=versions - https://github.com/DevInsideYou/install-glow - https://github.com/charmbracelet/glow - https://stackoverflow.com/questions/66856017/how-can-i-custom-config-changelog-md-using-standard-version-npm-package - https://github.com/DevInsideYou/learning-resources/blob/master/Conventional.md#standard-version --- .versionrc | 42 +++ CHANGELOG.md | 52 +++- bin/standard-version-updater.js | 3 + package-lock.json | 477 +++++++++++++++++++++++--------- package.json | 7 +- version.sbt | 1 + 6 files changed, 442 insertions(+), 140 deletions(-) create mode 100644 .versionrc create mode 100644 bin/standard-version-updater.js create mode 100644 version.sbt diff --git a/.versionrc b/.versionrc new file mode 100644 index 00000000..d20ef673 --- /dev/null +++ b/.versionrc @@ -0,0 +1,42 @@ +{ + "bumpFiles": [ + { + "filename": "version.sbt", + "updater": "bin/standard-version-updater.js" + } + ], + "types": [ + { + "type": "feat", + "section": "Features" + }, + { + "type": "fix", + "section": "Bug Fixes" + }, + { + "type": "chore", + "hidden": true + }, + { + "type": "docs", + "hidden": true + }, + { + "type": "style", + "hidden": true + }, + { + "type": "refactor", + "section": "Refactor" + }, + { + "type": "perf", + "section": "Performance" + }, + { + "type": "test", + "hidden": true + } + ] +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index e2cda488..1f335279 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,52 @@ +# Changelog + +All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +### 0.1.1 (2022-08-16) + + +### Features + +* **button:** click on the edit button to execute `editTaskName()` ([138ea37](https://github.com/beatrizsmerino/vue-todolist/commit/138ea37ef980b3444f24893678c7cc58db5f87b3)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **button:** close modal after save the task name ([8f25c39](https://github.com/beatrizsmerino/vue-todolist/commit/8f25c39f75d2f36331498e23dcf9a998d79201d3)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **button:** create html and css for the edit button ([e7f0bab](https://github.com/beatrizsmerino/vue-todolist/commit/e7f0babe35bf2873f29284876418cfcfc8dd0c1d)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **config:** add `husky` package and configuration ([70205bf](https://github.com/beatrizsmerino/vue-todolist/commit/70205bf14bd31837e6b6dbabb3d286bdfdde0344)) +* **config:** add `stylelint` setting for format and fix errors css/scss styles ([f9e5380](https://github.com/beatrizsmerino/vue-todolist/commit/f9e538096299056809b1291c10242469c0f95d60)) +* **config:** add package and configuration of `conventional-changelog-cli` ([69ba05f](https://github.com/beatrizsmerino/vue-todolist/commit/69ba05ff8c5e19dae7154c36aeea2c738f3cb163)) +* **config:** add package and configuration of `lint-staged` ([e1f2d81](https://github.com/beatrizsmerino/vue-todolist/commit/e1f2d81b402d52e97ccaafd15a31f80eb0fd5a0f)) +* **config:** add the configuration for `commitizen` ([3b05343](https://github.com/beatrizsmerino/vue-todolist/commit/3b053433de7d9de54f71ed57747d5b951e4bdbe9)) +* **config:** add the configuration for `cz-emoji` ([af361f1](https://github.com/beatrizsmerino/vue-todolist/commit/af361f1056f991b905958d23136364915e732bc6)) +* **config:** add the conventional configuration for `commitlint` ([f949442](https://github.com/beatrizsmerino/vue-todolist/commit/f949442aebf0bc629ab1310d610106bb735b5c25)) +* **config:** add the file that ignore the prettier configuration ([0c032a4](https://github.com/beatrizsmerino/vue-todolist/commit/0c032a4410c2fbeeb3db150bd75fd276d1896fcf)) +* **config:** change the command `npm test` to `npm run lint` on the `pre-commit` file ([c952034](https://github.com/beatrizsmerino/vue-todolist/commit/c952034c669079fa7ef031ec5b698083add3adf6)) +* **config:** check if the commit message is a conventional commit ([d8bfa38](https://github.com/beatrizsmerino/vue-todolist/commit/d8bfa383db32771056f9c471e730f025a7c6ad34)) +* **config:** created husky configuration file for test ([8499bc4](https://github.com/beatrizsmerino/vue-todolist/commit/8499bc45268ce2d1591bc0c2f4be5c05dd4c2a05)) +* **config:** install dependencies globally and using `package.json` ([68bb998](https://github.com/beatrizsmerino/vue-todolist/commit/68bb998291dfa51536b17ff76b204294b34928cb)) +* **config:** remove `pre-receive` hook and add `commit-msg` hook ([8a0e4dc](https://github.com/beatrizsmerino/vue-todolist/commit/8a0e4dc749b63d4034f4f4cc86113755e03f29bc)) +* **config:** update `prettier` configuration ([39daa57](https://github.com/beatrizsmerino/vue-todolist/commit/39daa570632211d73bb8d4e9d2fb38d7a1ce6f6d)) +* **config:** update the `eslint` configuration ([2d348dc](https://github.com/beatrizsmerino/vue-todolist/commit/2d348dcf88e48709fc46b26105e35aa0b2921163)) +* **form:** create form for update the task name ([1511c79](https://github.com/beatrizsmerino/vue-todolist/commit/1511c794027265e9838e68e0b19f6db4b3827703)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **icon:** add the `faEdit` icon from the `FontAwesome` library ([ec550c8](https://github.com/beatrizsmerino/vue-todolist/commit/ec550c8f81f9039434fad06ca1cdc64913afb100)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **modal:** create modal with the name of the task selected ([2713c00](https://github.com/beatrizsmerino/vue-todolist/commit/2713c0084cec57c071d55c5fc57d70c76b2ade9b)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* **scss:** add the mixin 'media' and the variables 'breakpoints' for use media queries ([43cb831](https://github.com/beatrizsmerino/vue-todolist/commit/43cb831c4c79286cf85f6da9553aa6de6ae7df31)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) +* use an icon instead text for the button that show the Local Storage message ([7356f41](https://github.com/beatrizsmerino/vue-todolist/commit/7356f41b3f3fd2ebc63c31b3cab1df30b7cbf232)), closes [#261](https://github.com/beatrizsmerino/vue-todolist/issues/261) + + +### Bug Fixes + +* **config:** `eslint-loader` package is deprecated ([4025682](https://github.com/beatrizsmerino/vue-todolist/commit/4025682d3b81c807452b9c60664870c42dbd9fa0)) +* **config:** many configuration files for `commitlint`, `commitzen` and `cz-emoji` ([2b490d9](https://github.com/beatrizsmerino/vue-todolist/commit/2b490d983187233165a4dd50936e1517df487b37)) +* **config:** the command `npm run install` does not install the packages globally ([a0ec440](https://github.com/beatrizsmerino/vue-todolist/commit/a0ec440a812cd190f7f7f9a35c6bda985b6f977c)) +* confused status of task done ([6d43f7e](https://github.com/beatrizsmerino/vue-todolist/commit/6d43f7e5893ce12c52da10e1ffb65ed9301c191e)), closes [#262](https://github.com/beatrizsmerino/vue-todolist/issues/262) +* **eslint:** get errors when format `preinstall-global-dependencies.js` file ([b67277f](https://github.com/beatrizsmerino/vue-todolist/commit/b67277f0c5d41d2b92a05b09c4bdb5e46b3869b5)) +* **scss:** lost file content with breakpoints variables ([383012a](https://github.com/beatrizsmerino/vue-todolist/commit/383012aa07ee8362e1336725ab53417c01d329db)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) +* small line-height of Local Storage message ([7b5976e](https://github.com/beatrizsmerino/vue-todolist/commit/7b5976eeeb3c725aa120208764b7640067375aed)), closes [#259](https://github.com/beatrizsmerino/vue-todolist/issues/259) +* **task:** sometimes the modal of the task, which is being edited, does not open ([ae22125](https://github.com/beatrizsmerino/vue-todolist/commit/ae22125c932b7797eef2caba7f1bb9e6fb0b8cdc)), closes [#263](https://github.com/beatrizsmerino/vue-todolist/issues/263) +* update 'font-size' of 'PageTitle' component for mobile version ([edb11f2](https://github.com/beatrizsmerino/vue-todolist/commit/edb11f29b903e5ce29f6ac5f04d25f90de00c301)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) +* update sizes of 'TaskNew' component for mobile version ([05d0e37](https://github.com/beatrizsmerino/vue-todolist/commit/05d0e379b1d2f1e8b5b42f0ae181ec914f30029a)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) +* update sizes of 'UIMessage' component for mobile version ([49bf984](https://github.com/beatrizsmerino/vue-todolist/commit/49bf9848ae164c543f1525d82f0ab9d03a2cb465)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) +* update styles of the 'body' tag html for the mobile version ([492cd40](https://github.com/beatrizsmerino/vue-todolist/commit/492cd405d3961c87e9308422b5e52c41fd3e99b0)), closes [#260](https://github.com/beatrizsmerino/vue-todolist/issues/260) + # [0.1.0](https://github.com/beatrizsmerino/vue-todolist/compare/3.1.0...0.1.0) (2022-08-16) @@ -79,6 +128,3 @@ # 0.0.0 (2019-04-25) - - - diff --git a/bin/standard-version-updater.js b/bin/standard-version-updater.js new file mode 100644 index 00000000..714c3be6 --- /dev/null +++ b/bin/standard-version-updater.js @@ -0,0 +1,3 @@ +module.exports.readVersion = contents => contents.match(/"(?.*)"/u).groups.version; + +module.exports.writeVersion = (_, version) => `ThisBuild / version := "${version}"\n`; diff --git a/package-lock.json b/package-lock.json index e6b3da5e..34d6761c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "vue-todolist", - "version": "0.1.0", + "version": "0.1.1", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -3978,15 +3978,6 @@ "to-regex-range": "^5.0.1" } }, - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -4821,6 +4812,12 @@ "q": "^1.5.1" } }, + "conventional-changelog-config-spec": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", + "integrity": "sha512-IpVePh16EbbB02V+UA+HQnnPIohgXvJRxHcS5+Uwk4AT5LjzCZJm5sp/yqs5C6KZJ1jMsV4paEV13BN1pvDuxQ==", + "dev": true + }, "conventional-changelog-conventionalcommits": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-5.0.0.tgz", @@ -5066,6 +5063,36 @@ "through2": "^4.0.0" } }, + "conventional-recommended-bump": { + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz", + "integrity": "sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw==", + "dev": true, + "requires": { + "concat-stream": "^2.0.0", + "conventional-changelog-preset-loader": "^2.3.4", + "conventional-commits-filter": "^2.0.7", + "conventional-commits-parser": "^3.2.0", + "git-raw-commits": "^2.0.8", + "git-semver-tags": "^4.1.1", + "meow": "^8.0.0", + "q": "^1.5.1" + }, + "dependencies": { + "concat-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", + "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", + "dev": true, + "requires": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^3.0.2", + "typedarray": "^0.0.6" + } + } + } + }, "convert-source-map": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.8.0.tgz", @@ -5160,12 +5187,13 @@ } }, "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", "dev": true, "requires": { - "is-glob": "^4.0.3" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" }, "dependencies": { "is-glob": { @@ -5549,17 +5577,6 @@ "css-what": "^3.2.1", "domutils": "^1.7.0", "nth-check": "^1.0.2" - }, - "dependencies": { - "nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", - "dev": true, - "requires": { - "boolbase": "^1.0.0" - } - } } }, "css-select-base-adapter": { @@ -6150,6 +6167,12 @@ "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", "dev": true }, + "detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true + }, "detect-node": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.1.0.tgz", @@ -6328,6 +6351,52 @@ "integrity": "sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA==", "dev": true }, + "dotgitignore": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/dotgitignore/-/dotgitignore-2.1.0.tgz", + "integrity": "sha512-sCm11ak2oY6DglEPpCB8TixLjWAxd3kJTs6UIcSasNYxXdFPV+YKlye92c8H4kKFqV5qYMIh7d+cYecEg0dIkA==", + "dev": true, + "requires": { + "find-up": "^3.0.0", + "minimatch": "^3.0.4" + }, + "dependencies": { + "find-up": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", + "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", + "dev": true, + "requires": { + "locate-path": "^3.0.0" + } + }, + "locate-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", + "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", + "dev": true, + "requires": { + "p-locate": "^3.0.0", + "path-exists": "^3.0.0" + } + }, + "p-locate": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", + "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", + "dev": true, + "requires": { + "p-limit": "^2.0.0" + } + }, + "path-exists": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", + "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", + "dev": true + } + } + }, "duplexer": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", @@ -6400,6 +6469,12 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==", "dev": true }, + "ejs": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/ejs/-/ejs-2.7.4.tgz", + "integrity": "sha512-7vmuyh5+kuUyJKePhQfRQBhXV5Ce+RnaeeQArKu1EAMpL3WbgMt5WG6uQZpEVvYSSsxMXRKOewtDk9RaTKXRlA==", + "dev": true + }, "electron-to-chromium": { "version": "1.4.221", "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.221.tgz", @@ -6695,12 +6770,12 @@ "dev": true }, "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", "dev": true, "requires": { - "is-glob": "^4.0.3" + "is-glob": "^4.0.1" } }, "globals": { @@ -7365,12 +7440,13 @@ }, "dependencies": { "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", "dev": true, "requires": { - "is-glob": "^4.0.3" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" }, "dependencies": { "is-glob": { @@ -7485,35 +7561,6 @@ "dev": true, "optional": true }, - "filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "requires": { - "minimatch": "^5.0.1" - }, - "dependencies": { - "brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "minimatch": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - } - } - }, "filesize": { "version": "3.6.1", "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", @@ -8090,6 +8137,15 @@ "path-is-absolute": "^1.0.0" } }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, "glob-to-regexp": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", @@ -9518,26 +9574,6 @@ "integrity": "sha512-Yljz7ffyPbrLpLngrMtZ7NduUgVvi6wG9RJ9IUcyCd59YQ911PBJphODUcbOVbqYfxe1wuYf/LJ8PauMRwsM/g==", "dev": true }, - "jake": { - "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", - "dev": true, - "requires": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.1", - "minimatch": "^3.0.4" - }, - "dependencies": { - "async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - } - } - }, "javascript-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/javascript-stringify/-/javascript-stringify-2.1.0.tgz", @@ -10829,6 +10865,12 @@ "lodash": "^4.17.21" } }, + "node-forge": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", + "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", + "dev": true + }, "node-libs-browser": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", @@ -10949,6 +10991,15 @@ "path-key": "^3.0.0" } }, + "nth-check": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", + "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", + "dev": true, + "requires": { + "boolbase": "~1.0.0" + } + }, "num2fraction": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", @@ -11426,6 +11477,12 @@ "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==", "dev": true }, + "path-dirname": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", + "integrity": "sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==", + "dev": true + }, "path-exists": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", @@ -13760,14 +13817,6 @@ "dev": true, "requires": { "node-forge": "^0.10.0" - }, - "dependencies": { - "node-forge": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.3.1.tgz", - "integrity": "sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA==", - "dev": true - } } }, "semver": { @@ -14392,6 +14441,152 @@ "integrity": "sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==", "dev": true }, + "standard-version": { + "version": "9.5.0", + "resolved": "https://registry.npmjs.org/standard-version/-/standard-version-9.5.0.tgz", + "integrity": "sha512-3zWJ/mmZQsOaO+fOlsa0+QK90pwhNd042qEcw6hKFNoLFs7peGyvPffpEBbK/DSGPbyOvli0mUIFv5A4qTjh2Q==", + "dev": true, + "requires": { + "chalk": "^2.4.2", + "conventional-changelog": "3.1.25", + "conventional-changelog-config-spec": "2.1.0", + "conventional-changelog-conventionalcommits": "4.6.3", + "conventional-recommended-bump": "6.1.0", + "detect-indent": "^6.0.0", + "detect-newline": "^3.1.0", + "dotgitignore": "^2.1.0", + "figures": "^3.1.0", + "find-up": "^5.0.0", + "git-semver-tags": "^4.0.0", + "semver": "^7.1.1", + "stringify-package": "^1.0.1", + "yargs": "^16.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dev": true, + "requires": { + "color-convert": "^1.9.0" + } + }, + "chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "requires": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + } + }, + "color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dev": true, + "requires": { + "color-name": "1.1.3" + } + }, + "color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "dev": true + }, + "conventional-changelog-conventionalcommits": { + "version": "4.6.3", + "resolved": "https://registry.npmjs.org/conventional-changelog-conventionalcommits/-/conventional-changelog-conventionalcommits-4.6.3.tgz", + "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", + "dev": true, + "requires": { + "compare-func": "^2.0.0", + "lodash": "^4.17.15", + "q": "^1.5.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "semver": { + "version": "7.3.7", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.7.tgz", + "integrity": "sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + }, + "supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "requires": { + "has-flag": "^3.0.0" + } + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + } + } + }, "static-extend": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", @@ -14572,6 +14767,12 @@ } } }, + "stringify-package": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/stringify-package/-/stringify-package-1.0.1.tgz", + "integrity": "sha512-sa4DUQsYciMP1xhKWGuFM04fB0LG/9DlluZoSVywUMRNvzid6XucHK0/90xGxRoHrAaROrcHK1aPKaijCtSrhg==", + "dev": true + }, "strip-ansi": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", @@ -14772,17 +14973,6 @@ "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" - }, - "dependencies": { - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - } } }, "fill-range": { @@ -14794,6 +14984,15 @@ "to-regex-range": "^5.0.1" } }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, "global-modules": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", @@ -15040,17 +15239,6 @@ "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.4" - }, - "dependencies": { - "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "requires": { - "is-glob": "^4.0.3" - } - } } }, "fill-range": { @@ -15062,6 +15250,15 @@ "to-regex-range": "^5.0.1" } }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, "globby": { "version": "11.1.0", "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", @@ -16363,13 +16560,26 @@ }, "dependencies": { "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", "dev": true, "optional": true, "requires": { - "is-glob": "^4.0.3" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "dev": true, + "optional": true, + "requires": { + "is-extglob": "^2.1.0" + } + } } } } @@ -16389,9 +16599,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "requires": { - "is-glob": "^4.0.3" - }, "dependencies": { "is-glob": { "version": "3.1.0", @@ -16637,15 +16844,6 @@ "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", "dev": true }, - "ejs": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", - "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", - "dev": true, - "requires": { - "jake": "^10.8.5" - } - }, "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", @@ -16802,12 +17000,24 @@ }, "dependencies": { "glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", + "integrity": "sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==", "dev": true, "requires": { - "is-glob": "^4.0.3" + "is-glob": "^3.1.0", + "path-dirname": "^1.0.0" + }, + "dependencies": { + "is-glob": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", + "integrity": "sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==", + "dev": true, + "requires": { + "is-extglob": "^2.1.0" + } + } } } } @@ -16885,9 +17095,6 @@ "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "requires": { - "is-glob": "^4.0.3" - }, "dependencies": { "is-glob": { "version": "3.1.0", diff --git a/package.json b/package.json index 45f88b36..48a94c94 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-todolist", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "install:global": "node ./bin/preinstall-global-dependencies.js", @@ -15,6 +15,7 @@ "lint": "npm run prettier:fix && npm run eslint:fix && npm run stylelint:fix", "test": "echo \"Error: no test specified\" && exit 1", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0", + "release": "standard-version", "deploy": "node gh-pages-deploy.js", "prepare": "husky install" }, @@ -55,6 +56,7 @@ "prettier": "^2.7.1", "sass": "^1.54.4", "sass-loader": "^10", + "standard-version": "^9.5.0", "style-resources-loader": "^1.5.0", "stylelint": "^14.10.0", "stylelint-config-prettier": "^9.0.3", @@ -71,7 +73,8 @@ "@commitlint/config-conventional": "17.0.3", "commitizen": "4.2.4", "conventional-changelog-cli": "^2.2.2", - "cz-conventional-changelog": "3.3.0" + "cz-conventional-changelog": "3.3.0", + "standard-version": "^9.5.0" }, "resolutions": { "ejs": ">=3.1.7", diff --git a/version.sbt b/version.sbt new file mode 100644 index 00000000..4b6a8b5b --- /dev/null +++ b/version.sbt @@ -0,0 +1 @@ +ThisBuild / version := "1.0.0" \ No newline at end of file