diff --git a/.editorconfig b/.editorconfig index 961083e..23c17a1 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + root = true [*] diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index e180bf4..f20190c 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + name: Publish Package to npmjs on: release: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d496ad5..51a7d20 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + name: Tests on: diff --git a/.hooks/pre-commit b/.hooks/pre-commit index 587c838..c8623f6 100755 --- a/.hooks/pre-commit +++ b/.hooks/pre-commit @@ -1,5 +1,9 @@ #!/bin/sh +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + set -eu set -o pipefail diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6b68ea4..b992c1e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,8 @@ + # Contributor Covenant Code of Conduct ## Our Pledge diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c0a1ae6..819803a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,3 +1,8 @@ + # Contributing Guidelines ## Code of Conduct diff --git a/README.md b/README.md index 3089521..8f9138e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ + # @kindspells/astro-sri-scp [![NPM Version](https://img.shields.io/npm/v/%40kindspells%2Fastro-sri-csp)](https://www.npmjs.com/package/@kindspells/astro-sri-csp) diff --git a/SECURITY.md b/SECURITY.md index a425ecf..49f1958 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -1,3 +1,8 @@ + # Security Policy ## Supported Versions diff --git a/main.d.ts b/main.d.ts index 830e0ce..b6b6ba5 100644 --- a/main.d.ts +++ b/main.d.ts @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + export type SriCspOptions = { /** * Specifies the path for the auto-generated module that will contain the SRI diff --git a/main.mjs b/main.mjs index 95280af..0455fb8 100644 --- a/main.mjs +++ b/main.mjs @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + import { fileURLToPath } from 'node:url' import { generateSRIHashes } from './core.mjs' diff --git a/tests/core.test.mts b/tests/core.test.mts index 4e76a72..5985859 100644 --- a/tests/core.test.mts +++ b/tests/core.test.mts @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + import { resolve } from 'node:path' import { describe, expect, it } from 'vitest' diff --git a/vitest.config.mts b/vitest.config.mts index d433f7f..8e51f31 100644 --- a/vitest.config.mts +++ b/vitest.config.mts @@ -1,4 +1,9 @@ -// eslint-disable-next-line import/no-unresolved +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + import { defineConfig } from 'vitest/config' export default defineConfig({