diff --git a/LICENSE b/LICENSE index 3e64040..9343e1d 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,4 @@ -Copyright 2025 Ryan Johnson +Copyright 2025-2026 Ryan Johnson 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 diff --git a/README.md b/README.md index 7212533..91936c6 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ Refer to the `examples/` folder for usage scenarios. ## License -Copyright © 2025 Ryan Johnson +Copyright © 2025-2026 Ryan Johnson Licensed under the [MIT License][license]. diff --git a/__mocks__/@actions/cache.ts b/__mocks__/@actions/cache.ts index 57a0a54..645d476 100644 --- a/__mocks__/@actions/cache.ts +++ b/__mocks__/@actions/cache.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Mock for @actions/cache */ diff --git a/__mocks__/@actions/core.ts b/__mocks__/@actions/core.ts index bd36076..dc74e8c 100644 --- a/__mocks__/@actions/core.ts +++ b/__mocks__/@actions/core.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Mock for @actions/core */ diff --git a/__mocks__/@actions/exec.ts b/__mocks__/@actions/exec.ts index 2961adb..d49c19c 100644 --- a/__mocks__/@actions/exec.ts +++ b/__mocks__/@actions/exec.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Mock for @actions/exec */ diff --git a/__mocks__/@actions/tool-cache.ts b/__mocks__/@actions/tool-cache.ts index 95741d3..d671131 100644 --- a/__mocks__/@actions/tool-cache.ts +++ b/__mocks__/@actions/tool-cache.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Mock for @actions/tool-cache */ diff --git a/__tests__/cache.test.ts b/__tests__/cache.test.ts index c5fd3bf..a3c1e3d 100644 --- a/__tests__/cache.test.ts +++ b/__tests__/cache.test.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import * as core from '@actions/core'; diff --git a/__tests__/installer.test.ts b/__tests__/installer.test.ts index a534cfa..01de61c 100644 --- a/__tests__/installer.test.ts +++ b/__tests__/installer.test.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import * as toolCache from '@actions/tool-cache'; diff --git a/__tests__/test-utils.ts b/__tests__/test-utils.ts index af7fef0..bece063 100644 --- a/__tests__/test-utils.ts +++ b/__tests__/test-utils.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import { EventEmitter } from 'events'; diff --git a/__tests__/utils-basic.test.ts b/__tests__/utils-basic.test.ts index 9644b24..31c2c3f 100644 --- a/__tests__/utils-basic.test.ts +++ b/__tests__/utils-basic.test.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import * as os from 'os'; diff --git a/__tests__/utils-file.test.ts b/__tests__/utils-file.test.ts index af5527a..8598973 100644 --- a/__tests__/utils-file.test.ts +++ b/__tests__/utils-file.test.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import * as fs from 'fs'; diff --git a/__tests__/utils-network.test.ts b/__tests__/utils-network.test.ts index a3fddc7..b4a454d 100644 --- a/__tests__/utils-network.test.ts +++ b/__tests__/utils-network.test.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ import * as https from 'https'; diff --git a/action.yml b/action.yml index 366e0a6..1bb2e22 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Ryan Johnson +# Copyright (c) 2025-2026 Ryan Johnson # SPDX-License-Identifier: MIT name: Setup Task (go-task/task) diff --git a/dist/cache.js b/dist/cache.js index 78599bd..a9469b5 100644 --- a/dist/cache.js +++ b/dist/cache.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Cache management for GitHub Action. */ diff --git a/dist/constants.js b/dist/constants.js index e58393e..1c09a59 100644 --- a/dist/constants.js +++ b/dist/constants.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Constants for the GitHub Action. */ diff --git a/dist/index.js b/dist/index.js index 4c6064c..e2d681b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -49628,7 +49628,7 @@ function _unique(values) { * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Constants for the GitHub Action. */ @@ -49658,7 +49658,7 @@ const RELEASES_URL = 'https://github.com/go-task/task/releases/download'; * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Utility functions for the GitHub Action. */ @@ -49803,7 +49803,7 @@ function logAndFail(message) { * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Installer for the Task CLI tool. */ @@ -96435,7 +96435,7 @@ function saveCacheV2(paths_1, key_1, options_1) { * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Cache management for GitHub Action. */ @@ -96528,7 +96528,7 @@ async function dist_cache_saveCache(taskPath, version) { * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Entry point for the GitHub Action. */ @@ -96807,7 +96807,7 @@ function processEnvVars(inputValue) { * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Entry point for the GitHub Action. */ diff --git a/dist/installer.js b/dist/installer.js index 7343c7c..65836db 100644 --- a/dist/installer.js +++ b/dist/installer.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Installer for the Task CLI tool. */ diff --git a/dist/main.js b/dist/main.js index 97e419f..eea6f8f 100644 --- a/dist/main.js +++ b/dist/main.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Entry point for the GitHub Action. */ diff --git a/dist/types.js b/dist/types.js index 4c754fc..224c469 100644 --- a/dist/types.js +++ b/dist/types.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Options for the Task installation. */ diff --git a/dist/utils.js b/dist/utils.js index 3755e69..3e6dee1 100644 --- a/dist/utils.js +++ b/dist/utils.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Utility functions for the GitHub Action. */ diff --git a/eslint.config.js b/eslint.config.js index 25b3897..1b83efa 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ const js = require('@eslint/js'); diff --git a/jest.config.js b/jest.config.js index 5f7afde..9b6960c 100644 --- a/jest.config.js +++ b/jest.config.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Jest configuration optimized for memory usage and performance. */ diff --git a/jest.setup.js b/jest.setup.js index b980227..e9ba1a8 100644 --- a/jest.setup.js +++ b/jest.setup.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Setup file for Jest tests. */ diff --git a/scripts/generate-notice.js b/scripts/generate-notice.js index e34fc81..d509868 100644 --- a/scripts/generate-notice.js +++ b/scripts/generate-notice.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson */ /* eslint-env node */ @@ -53,7 +53,7 @@ function generateTableHeader() { // Generate the table rows. function generateTableRows(licensesData) { const uniquePackages = new Map(); - + Object.entries(licensesData).forEach(([packageName, details]) => { let normalizedName; if (packageName.startsWith('@')) { diff --git a/src/cache.ts b/src/cache.ts index 46f8e40..e5587c0 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Cache management for GitHub Action. */ diff --git a/src/constants.ts b/src/constants.ts index 7d2ab5b..6f49556 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Constants for the GitHub Action. */ diff --git a/src/index.ts b/src/index.ts index 9489dc6..5e68638 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Entry point for the GitHub Action. */ diff --git a/src/installer.ts b/src/installer.ts index e8c8a8d..59586bc 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Installer for the Task CLI tool. */ diff --git a/src/main.ts b/src/main.ts index 293e558..8744216 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Entry point for the GitHub Action. */ diff --git a/src/types.ts b/src/types.ts index b3a267c..c75c152 100644 --- a/src/types.ts +++ b/src/types.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Options for the Task installation. */ diff --git a/src/utils.ts b/src/utils.ts index 2b932ce..b4496fe 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Utility functions for the GitHub Action. */ diff --git a/taskfile.yml b/taskfile.yml index 430bd1d..b1992c7 100644 --- a/taskfile.yml +++ b/taskfile.yml @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Ryan Johnson +# Copyright (c) 2025-2026 Ryan Johnson # SPDX-License-Identifier: MIT # Taskfile for running development tasks, tests, linting, and build operations. @@ -135,7 +135,7 @@ tasks: - echo "==> Checking for unused dependencies..." - npx depcheck || true - echo "==> Run 'task update:dependencies' to update packages" - + update:dependencies: desc: Update all dependencies to their latest versions. cmds: @@ -149,7 +149,7 @@ tasks: - echo "==> Running tests to verify updates..." - npm test || { echo "Tests failed after update, consider reverting with 'task update:dependencies:revert'"; exit 1; } - echo "==> Dependencies updated successfully!" - + update:dependencies:revert: desc: Revert to backup package files if update fails. cmds: diff --git a/update-package-json.js b/update-package-json.js index 8119f2d..e2ecc81 100644 --- a/update-package-json.js +++ b/update-package-json.js @@ -2,7 +2,7 @@ * @license * SPDX-License-Identifier: MIT * - * Copyright (c) 2025 Ryan Johnson + * Copyright (c) 2025-2026 Ryan Johnson * * Script to update package.json for GitHub Action. */