diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index b2fe7d5..db92239 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + github: [KindSpells, castarco] open_collective: kindspells-labs diff --git a/.moon/workspace.yml b/.moon/workspace.yml index 73089ce..01a2519 100644 --- a/.moon/workspace.yml +++ b/.moon/workspace.yml @@ -5,9 +5,6 @@ # https://moonrepo.dev/docs/config/workspace $schema: 'https://moonrepo.dev/schemas/workspace.json' -# versionConstraint: '>=1.0.0' -# extends: './shared/workspace.yml' - projects: globs: - '@kindspells/astro-shield/e2e/fixtures/*' diff --git a/docs/LICENSE b/docs/LICENSE new file mode 100644 index 0000000..7994f36 --- /dev/null +++ b/docs/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 KindSpells Labs S.L. + +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 the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/docs/README.md b/docs/README.md index 3d3619f..0f73f54 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,8 @@ + # Astro-Shield Documentation Website Just a documentation website. diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index d038fb5..e635f29 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + import { defineConfig, passthroughImageService } from 'astro/config' import starlight from '@astrojs/starlight' import aws from 'astro-sst' diff --git a/docs/src/content/config.ts b/docs/src/content/config.ts index 45f60b0..f449a93 100644 --- a/docs/src/content/config.ts +++ b/docs/src/content/config.ts @@ -1,3 +1,9 @@ +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + import { defineCollection } from 'astro:content'; import { docsSchema } from '@astrojs/starlight/schema'; diff --git a/docs/src/content/docs/getting-started.mdx b/docs/src/content/docs/getting-started.mdx index 18866ae..3477f1d 100644 --- a/docs/src/content/docs/getting-started.mdx +++ b/docs/src/content/docs/getting-started.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: Getting Started description: Get started protecting your Astro sites with Astro-Shield. --- diff --git a/docs/src/content/docs/guides/security-headers/content-security-policy.mdx b/docs/src/content/docs/guides/security-headers/content-security-policy.mdx index 5a626ba..31f254e 100644 --- a/docs/src/content/docs/guides/security-headers/content-security-policy.mdx +++ b/docs/src/content/docs/guides/security-headers/content-security-policy.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: Content-Security-Policy (CSP) description: How to configure the Content-Security-Policy headers of your website with Astro-Shield --- diff --git a/docs/src/content/docs/guides/subresource-integrity/middleware.mdx b/docs/src/content/docs/guides/subresource-integrity/middleware.mdx index 52f868a..efb688d 100644 --- a/docs/src/content/docs/guides/subresource-integrity/middleware.mdx +++ b/docs/src/content/docs/guides/subresource-integrity/middleware.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: SRI for SSR Content description: How to enable Subresource Integrity (SRI) for your Server-Side-Rendered (SSR) content in Astro. sidebar: diff --git a/docs/src/content/docs/guides/subresource-integrity/static-sites.mdx b/docs/src/content/docs/guides/subresource-integrity/static-sites.mdx index 94d0feb..157e551 100644 --- a/docs/src/content/docs/guides/subresource-integrity/static-sites.mdx +++ b/docs/src/content/docs/guides/subresource-integrity/static-sites.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: SRI for Statically Generated Sites description: How to enable Subresource Integrity (SRI) for your static sites sidebar: diff --git a/docs/src/content/docs/index.mdx b/docs/src/content/docs/index.mdx index 5754192..076775c 100644 --- a/docs/src/content/docs/index.mdx +++ b/docs/src/content/docs/index.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: Welcome to Astro-Shield description: Protect your Astro sites with Astro-Shield. template: splash diff --git a/docs/src/content/docs/other/known-limitations.mdx b/docs/src/content/docs/other/known-limitations.mdx index e45e57f..94c06fc 100644 --- a/docs/src/content/docs/other/known-limitations.mdx +++ b/docs/src/content/docs/other/known-limitations.mdx @@ -1,4 +1,8 @@ --- +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + title: Known Limitations description: Known limitations of the Astro-Shield integration. --- diff --git a/docs/sst.config.ts b/docs/sst.config.ts index 3e07208..e5b22b1 100644 --- a/docs/sst.config.ts +++ b/docs/sst.config.ts @@ -1,5 +1,11 @@ /// +/* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ + export default $config({ app(input) { return { diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 12984ea..870fc9e 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -1,3 +1,8 @@ { + /* + * SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. + * + * SPDX-License-Identifier: MIT + */ "extends": "astro/tsconfigs/strictest" } diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 13f75db..16c2942 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2024 KindSpells Labs S.L. +# +# SPDX-License-Identifier: MIT + packages: - 'docs' - '@kindspells/*'