Commit Graph

403 Commits

Author SHA1 Message Date
per1234
4964e6facb Place project-specific settings first in codespell configuration
The `ignore-words-list` and `skip` settings of the codespell configuration file may required project-specific adjustments
to fix false positives or avoid positives from externally maintained files. The other settings are universal. It will be
convenient to have the settings the user might need to adjust at the place of highest visibility in the configuration
file.
2021-08-15 20:58:59 -07:00
per1234
a673c41bcf Alphabetize tasks
I originally set out to establish some logical order to the tasks on some indecipherable criteria. In the end, it
resulted in a jumble.

Alphabetical order is completely objective and it results in a fairly logical order in the end due to the the use of
prefixes on the task names according to their domain. The exception is that the convenience "umbrella" tasks have been
left at the top (in their own alphabetical order) so that they will have the maximum visibility as the most useful tasks.
Even that is not completely inconsistent, since these don't have a namespace prefix, and so might be imagined to have a
null global namespace prefix that would be sorted first.
2021-08-13 14:59:35 -07:00
per1234
92e72a8de0 Add all relevant tasks to the check umbrella task
This is a convenience task intended to run all available checks for problems.
2021-08-13 14:55:04 -07:00
per1234
3e4cf59266 Add convenience "umbrella" task for automated corrections
The `fix` task provides a standardized interface for the developer to run all available automated correction processes.
Even though some such processes will likely be irrelevant at any given time, it can be more convenient, and often more
efficient, for a casual contributor to just run the "umbrella" task rather than inspecting the available tasks and
running each of the relevant ones individually.
2021-08-13 14:49:50 -07:00
per1234
6a641ae9ff Restrict codespell tool dependency to compatible version range
The caret version constraint strikes a nice balance of allowing for benefiting from improvements to the dependency, but
stopping at a potentially breaking change indicated by a major version bump. A manual review should be done at that time
before updating the constraint to the next major version series.

The previous approach only set a minimum version constraint, with no restriction on breaking releases.
2021-08-13 14:43:00 -07:00
per1234
c33b49ccaf Add source URL comments to standardized assets
This will make it easier for the maintainers to sync fixes and improvements in either direction between the upstream
"template" assets and their installation in this repository.
2021-08-13 14:36:00 -07:00
per1234
6ae2bca6a9 Make link check task Windows compatible
`npx --call` uses the native shell. The use of Bash code in the link check command passed to npx made it incompatible with Windows, even when the task was run from Bash.

After quite some struggles, I decided that it's simply too difficult to use npx for this application on Windows. The
workaround is to abandon the use of npx for this task on Windows and instead require Windows users to have
markdown-link-check installed and in PATH, providing a helpful error message in the event it is not.
2021-08-13 14:31:51 -07:00
per1234
837cc5e8b2 Add support to the link check task for generated documentation
Generated documentation content may contain links, and it is just as important to check these. This project does not
contain any generated documentation at the moment, so the generation task is left empty, but this is a sync with the
"template" task which is intended to be applicable to any project.
2021-08-13 14:27:17 -07:00
per1234
a7dc1227bd Add task for fixing Markdown linting violations
The markdownlint tool used to check for problems or style inconsistencies in the repository's Markdown content provides
an automatic correction capability for certain rules.
2021-08-13 14:25:02 -07:00
per1234
6a24055e5c Add dedicated Python dependency installation task
A dedicated task has been added for installing the project's Python dependencies via Poetry, and this should be used
throughout the taskfile in place of redundant direct commands.
2021-08-13 14:24:12 -07:00
per1234
d422e81247 Use standardized Prettier formatting task name
This is the naming convention established in the standardized template workflow.
2021-08-13 14:20:45 -07:00
per1234
12f0e50cbd Enhance "Check License" workflow's error output
The use of the `error` workflow command will cause the important error message output to be surfaced prominently in the
workflow run summary and log. The workflow run logs can be somewhat labyrinthine to those who don't work with them
regularly, so finding the previous output to determine what caused the failure might have been challenging.
2021-08-13 14:15:17 -07:00
per1234
8a1c8c74c6 Use conservative env var brace wrapping in "Check License" workflow
Even if it works as intended, it is not clear what the effect is of the escaped quote at the end of the environment
variables in the shell commands used to check the license detection results. Wrapping the variable names in braces
ensures they are as expected and also makes the working of the code clear.
2021-08-13 14:14:27 -07:00
per1234
ca79fc3beb Always check both license filename and type in "Check License" workflow
This might provide some additional useful context to the reader in the event of a failure.
2021-08-13 14:12:36 -07:00
per1234
5be572fc15 Use workflow variables for tool versions
Placement of this information at the top of the file, where it is easy to find and edit, facilitates updates to the
workflows as the tool versions used for project development are bumped periodically.
2021-08-13 05:49:48 -07:00
per1234
0a4f7829e1 Use standardized step names in workflows
These are the naming conventions established in the standardized template workflows.
2021-08-13 05:48:50 -07:00
per1234
5a8e7237b1 Compress workflow paths filters
The paths filter is used to make GitHub Actions workflows more efficient and contributor friendly by preventing pointless
workflow runs from happening when only irrelevant files were modified. However, careful consideration must be given to
which files are relevant. In some cases, this can lead to a very lengthy list of path patterns. These can be compressed
down through the use of advanced patterns.
2021-08-13 05:43:20 -07:00
per1234
7d03df8663 Make workflow paths filters handle either YAML extension
There are two file extensions in common use for YAML files: `.yaml` and `.yml`. Although this project uses `.yml`
exclusively for YAML files, these are standardized workflows which might be applied to projects that have established the
use of the other extension. It will be most flexible if it supports both.
2021-08-13 05:42:07 -07:00
per1234
7b00323e04 Sync codespell skip files configuration from template
This is a standardized "template" configuration file intended to be applicable to any project, so even if not necessarily
relevant to every project, common files that should never be checked are all collected on the list.
2021-08-13 05:36:47 -07:00
per1234
35bd5e7aaf Merge pull request #155 from arduino/dependabot/npm_and_yarn/types/node-16.6.1
build(deps-dev): bump @types/node from 16.6.0 to 16.6.1
2021-08-13 04:30:44 -07:00
dependabot[bot]
88aa1e60f9 build(deps-dev): bump @types/node from 16.6.0 to 16.6.1
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.6.0 to 16.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 11:26:52 +00:00
per1234
656107d73d Merge pull request #154 from arduino/dependabot/npm_and_yarn/types/jest-27.0.1
build(deps-dev): bump @types/jest from 27.0.0 to 27.0.1
2021-08-13 04:25:29 -07:00
dependabot[bot]
744f2cd2cd build(deps-dev): bump @types/jest from 27.0.0 to 27.0.1
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 27.0.0 to 27.0.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-13 11:14:15 +00:00
per1234
3fcb49ac47 Merge pull request #153 from arduino/dependabot/npm_and_yarn/typed-rest-client-1.8.5
build(deps): bump typed-rest-client from 1.8.4 to 1.8.5
2021-08-12 07:10:59 -07:00
per1234
0f99fa0dcc build(deps): bump typed-rest-client from 1.8.4 to 1.8.5
Bumps [typed-rest-client](https://github.com/Microsoft/typed-rest-client) from 1.8.4 to 1.8.5.
- [Release notes](https://github.com/Microsoft/typed-rest-client/releases)
- [Commits](https://github.com/Microsoft/typed-rest-client/commits)

---
updated-dependencies:
- dependency-name: typed-rest-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 06:55:55 -07:00
per1234
4b156d546a Merge pull request #152 from arduino/dependabot/npm_and_yarn/types/node-16.6.0
build(deps-dev): bump @types/node from 16.4.13 to 16.6.0
2021-08-12 06:18:17 -07:00
dependabot[bot]
822b8b1a18 build(deps-dev): bump @types/node from 16.4.13 to 16.6.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.13 to 16.6.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-12 11:12:26 +00:00
per1234
01e5c607b0 Merge pull request #151 from arduino/dependabot/npm_and_yarn/path-parse-1.0.7
build(deps): bump path-parse from 1.0.6 to 1.0.7
2021-08-11 08:12:19 -07:00
dependabot[bot]
872b3f9001 build(deps): bump path-parse from 1.0.6 to 1.0.7
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 11:32:09 +00:00
per1234
880e264a91 Merge pull request #150 from arduino/dependabot/npm_and_yarn/types/jest-27.0.0
build(deps-dev): bump @types/jest from 26.0.24 to 27.0.0
2021-08-11 04:23:59 -07:00
dependabot[bot]
940dce92b4 build(deps-dev): bump @types/jest from 26.0.24 to 27.0.0
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.24 to 27.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

---
updated-dependencies:
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-11 11:14:37 +00:00
per1234
84945180c5 Merge pull request #149 from arduino/dependabot/npm_and_yarn/typescript-eslint/parser-4.29.1
build(deps-dev): bump @typescript-eslint/parser from 4.29.0 to 4.29.1
2021-08-10 04:31:43 -07:00
dependabot[bot]
8af2fb150d build(deps-dev): bump @typescript-eslint/parser from 4.29.0 to 4.29.1
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.29.0 to 4.29.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 11:20:53 +00:00
per1234
4970aa2074 Merge pull request #148 from arduino/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.29.1
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.29.0 to 4.29.1
2021-08-10 04:18:40 -07:00
dependabot[bot]
cccf75c2f0 build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.29.0 to 4.29.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-10 11:14:59 +00:00
per1234
2a3145c003 Merge pull request #147 from arduino/dependabot/npm_and_yarn/eslint-plugin-import-2.24.0
build(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.24.0
2021-08-09 04:31:09 -07:00
dependabot[bot]
4139530c62 build(deps-dev): bump eslint-plugin-import from 2.23.4 to 2.24.0
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 11:14:53 +00:00
per1234
2916befc92 Merge pull request #146 from arduino/dependabot/npm_and_yarn/types/node-16.4.13
build(deps-dev): bump @types/node from 16.4.12 to 16.4.13
2021-08-06 04:22:07 -07:00
dependabot[bot]
f749e275d0 build(deps-dev): bump @types/node from 16.4.12 to 16.4.13
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.12 to 16.4.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-06 11:13:55 +00:00
per1234
2d40af4f0e Merge pull request #145 from arduino/dependabot/npm_and_yarn/types/node-16.4.12
build(deps-dev): bump @types/node from 16.4.11 to 16.4.12
2021-08-05 04:33:07 -07:00
dependabot[bot]
01561eef75 build(deps-dev): bump @types/node from 16.4.11 to 16.4.12
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.11 to 16.4.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-05 11:13:23 +00:00
per1234
69fd308769 Merge pull request #144 from arduino/dependabot/npm_and_yarn/types/node-16.4.11
build(deps-dev): bump @types/node from 16.4.10 to 16.4.11
2021-08-04 04:28:05 -07:00
dependabot[bot]
f14f4ca90c build(deps-dev): bump @types/node from 16.4.10 to 16.4.11
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 16.4.10 to 16.4.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-04 11:14:23 +00:00
per1234
6d04e7ba76 Merge pull request #143 from arduino/dependabot/npm_and_yarn/typescript-eslint/eslint-plugin-4.29.0
build(deps-dev): bump @typescript-eslint/eslint-plugin from 4.28.5 to 4.29.0
2021-08-03 04:39:21 -07:00
dependabot[bot]
cb10350d1d build(deps-dev): bump @typescript-eslint/eslint-plugin
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 4.28.5 to 4.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-03 11:35:37 +00:00
per1234
ce01471e27 Merge pull request #142 from arduino/dependabot/npm_and_yarn/typescript-eslint/parser-4.29.0
build(deps-dev): bump @typescript-eslint/parser from 4.28.5 to 4.29.0
2021-08-03 04:34:24 -07:00
dependabot[bot]
280c6e62dd build(deps-dev): bump @typescript-eslint/parser from 4.28.5 to 4.29.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 4.28.5 to 4.29.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.29.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-03 11:17:43 +00:00
per1234
6c3daba4f8 Merge pull request #140 from arduino/dependabot/npm_and_yarn/types/node-16.4.10
build(deps-dev): bump @types/node from 16.4.7 to 16.4.10
2021-08-02 04:53:10 -07:00
per1234
61caa66d78 Merge pull request #141 from arduino/dependabot/npm_and_yarn/eslint-7.32.0
build(deps-dev): bump eslint from 7.31.0 to 7.32.0
2021-08-02 04:52:28 -07:00
dependabot[bot]
9f7dda24eb build(deps-dev): bump eslint from 7.31.0 to 7.32.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 11:25:56 +00:00