Skip to content

Commit

Permalink
docs: add spdx license annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Correa Casablanca <andreu@kindspells.dev>
  • Loading branch information
castarco committed Feb 16, 2024
1 parent a1e26c1 commit 4ab5a3d
Show file tree
Hide file tree
Showing 12 changed files with 60 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

root = true

[*]
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

name: Publish Package to npmjs
on:
release:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

name: Tests

on:
Expand Down
4 changes: 4 additions & 0 deletions .hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#!/bin/sh

# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
#
# SPDX-License-Identifier: MIT

set -eu
set -o pipefail

Expand Down
5 changes: 5 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: Coraline Ada Ehmke
SPDX-License-Identifier: CC-BY-4.0
-->
# Contributor Covenant Code of Conduct

## Our Pledge
Expand Down
5 changes: 5 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
SPDX-License-Identifier: CC-BY-4.0
-->
# Contributing Guidelines

## Code of Conduct
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
SPDX-License-Identifier: CC-BY-4.0
-->
# @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)
Expand Down
5 changes: 5 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
SPDX-FileCopyrightText: 2024 KindSpells Labs S.L.
SPDX-License-Identifier: CC-BY-4.0
-->
# Security Policy

## Supported Versions
Expand Down
6 changes: 6 additions & 0 deletions main.d.ts
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions main.mjs
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
6 changes: 6 additions & 0 deletions tests/core.test.mts
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
7 changes: 6 additions & 1 deletion vitest.config.mts
Original file line number Diff line number Diff line change
@@ -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({
Expand Down

0 comments on commit 4ab5a3d

Please sign in to comment.