Skip to content

Commit f2a3a5f

Browse files
bloveclaude
andauthored
chore: remove SPDX-License-Identifier headers repo-wide (#977)
* chore: remove SPDX-License-Identifier headers repo-wide The repo is uniformly MIT — root LICENSE, all six libs/*/LICENSE.md, and every one of the 130 package.json manifests. Nothing lints, tests, or otherwise enforces the per-file header, so it was 1,300+ lines of duplicated licensing metadata that new files had to remember to carry. Removes the header from the top of every source file (.ts/.tsx/.mjs/.py/ .css/.sh/.md), and from the three generators that stamped it into generated output (both inject-env.mjs scripts and the aimock scaffold generator) so it does not come back. Also drops it from the code samples in the human-in-the-loop blog post. Left alone: docs/superpowers plans and specs, which mention the header (and the old PolyForm identifier) in prose as a record of past work. Verified: lint/test/build green for chat, langgraph, ag-ui, render, a2ui, telemetry; nx test scripts; website lint + test; verify-release-versions, check-dx-coverage, verify-angular-support, and the node:test smoke specs; all 72 touched Python files compile. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * chore: sweep SPDX headers off the new /hero files #976 landed 23 files under examples/chat/angular while this PR was open; they were written before the header was dropped and carried it in. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
1 parent 93fb40f commit f2a3a5f

1,272 files changed

Lines changed: 5 additions & 1324 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎apps/cockpit/next.config.spec.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import { describe, expect, it } from 'vitest';
32
import { nextConfig as config } from './next.config';
43

‎apps/cockpit/scripts/manual-spec-freshness.spec.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
//
32
// Tripwire for the `*.manual.ts` tier.
43
//

‎apps/website/content/blog/2026-06-04-human-in-the-loop-ag-ui-agents-in-angular.mdx‎

Lines changed: 0 additions & 3 deletions

‎apps/website/next.config.spec.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import { describe, expect, it } from 'vitest';
32
import { nextConfig as config } from './next.config';
43

‎apps/website/scripts/capture-screenshots.spec.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import { pathToFileURL } from 'node:url';
32
import { describe, expect, it } from 'vitest';
43
import {

‎apps/website/scripts/gsc/analysis.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import type { InspectionResult, SearchAnalyticsRow } from './api';
32

43
/** Queries ranking just off page one — the cheapest ranking wins available. */

‎apps/website/scripts/gsc/api.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import { getAccessToken } from './auth';
32

43
const BASE = 'https://www.googleapis.com/webmasters/v3';

‎apps/website/scripts/gsc/auth.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import { createSign } from 'node:crypto';
32

43
const TOKEN_URL = 'https://oauth2.googleapis.com/token';

‎apps/website/scripts/gsc/pull.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import fs from 'node:fs';
32
import path from 'node:path';
43
import {

‎apps/website/scripts/gsc/report.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// SPDX-License-Identifier: MIT
21
import fs from 'node:fs';
32
import path from 'node:path';
43
import type { InspectionFailure, InspectionResult, SearchAnalyticsRow } from './api';

0 commit comments

Comments
 (0)