Skip to content

Commit

Permalink
reuse: switch from .reuse/dep5 to REUSE.toml (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbsp authored Sep 4, 2024
1 parent a4ec06c commit a34d4ee
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 37 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rtc-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
- 'examples/**'
- 'package.json'
- 'pnpm-lock.yaml'
- '.reuse/dep5'
- 'REUSE.toml'
- '.github/workflows'
branches:
- main
Expand All @@ -38,8 +38,8 @@ jobs:
node-version: 20
cache: 'pnpm'

- name: REUSE-3.0 compliance check
uses: fsfe/reuse-action@v3
- name: REUSE-4.0 compliance check
uses: fsfe/reuse-action@v4

- name: Install dependencies
run: pnpm install
Expand Down
34 changes: 0 additions & 34 deletions .reuse/dep5

This file was deleted.

44 changes: 44 additions & 0 deletions REUSE.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# SPDX-FileCopyrightText: 2024 LiveKit, Inc.
#
# SPDX-License-Identifier: Apache-2.0

version = 1
SPDX-PackageName = "node-sdks"
SPDX-PackageSupplier = "LiveKit, Inc. <https://livekit.io>"
SPDX-PackageDownloadLocation = "https://github.com/livekit/node-sdks"

# trivial files
[[annotations]]
path = [".gitignore", ".gitmodules", "flake.lock", ".github/**", "packages/livekit-rtc/.gitignore", ".changeset/**", "**/CHANGELOG.md", "NOTICE"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

# pnpm files
[[annotations]]
path = ["pnpm-workspace.yaml", "pnpm-lock.yaml"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

# project configuration files
[[annotations]]
path = ["packages/livekit-rtc/.npmignore", ".prettierrc", ".prettierignore", ".eslintrc", "**.json"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

# Rust NAPI files
[[annotations]]
path = ["packages/livekit-rtc/Cargo.toml", "packages/livekit-rtc/Cargo.lock", "packages/livekit-rtc/.cargo/**"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

# FFI protocol files
[[annotations]]
path = ["packages/livekit-rtc/src/proto/**", "packages/livekit-rtc/npm/**", "packages/livekit-rtc/src/napi/native.cjs", "packages/livekit-rtc/src/napi/native.d.ts"]
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

# examples
[[annotations]]
path = "examples/**"
SPDX-FileCopyrightText = "2024 LiveKit, Inc."
SPDX-License-Identifier = "Apache-2.0"

0 comments on commit a34d4ee

Please sign in to comment.