Skip to content

Commit 2d6c02c

Browse files
Copilothuangyiirene
andcommitted
Add MIT license headers to all source files
Co-authored-by: huangyiirene <7665279+huangyiirene@users.noreply.github.com>
1 parent e691280 commit 2d6c02c

File tree

23 files changed

+184
-0
lines changed

23 files changed

+184
-0
lines changed

packages/cli/bin/cli.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
#!/usr/bin/env node
2+
/**
3+
* ObjectDocs
4+
* Copyright (c) 2026-present ObjectStack Inc.
5+
*
6+
* This source code is licensed under the MIT license found in the
7+
* LICENSE file in the root directory of this source tree.
8+
*/
9+
210
import { cac } from 'cac';
311
import 'dotenv/config';
412
import { registerTranslateCommand } from '../src/commands/translate.mjs';

packages/cli/src/commands/build.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { spawn } from 'child_process';
210
import path from 'path';
311
import fs from 'fs';

packages/cli/src/commands/dev.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { spawn } from 'child_process';
210
import path from 'path';
311
import fs from 'fs';

packages/cli/src/commands/start.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { spawn } from 'node:child_process';
210
import path from 'node:path';
311
import fs from 'node:fs';

packages/cli/src/commands/translate.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import fs from 'node:fs';
210
import path from 'node:path';
311
import OpenAI from 'openai';

packages/cli/src/utils/translate.mjs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import fs from 'node:fs';
210
import path from 'node:path';
311
import OpenAI from 'openai';

packages/site/app/[lang]/docs/[[...slug]]/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { source } from '@/lib/source';
210
import type { Metadata } from 'next';
311
import { DocsPage, DocsBody } from 'fumadocs-ui/page';

packages/site/app/[lang]/docs/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { source } from '@/lib/source';
210
import { DocsLayout } from 'fumadocs-ui/layouts/docs';
311
import type { ReactNode } from 'react';

packages/site/app/[lang]/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import 'fumadocs-ui/style.css';
210
import { RootProvider } from 'fumadocs-ui/provider/next';
311
import { defineI18nUI } from 'fumadocs-ui/i18n';

packages/site/app/[lang]/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* ObjectDocs
3+
* Copyright (c) 2026-present ObjectStack Inc.
4+
*
5+
* This source code is licensed under the MIT license found in the
6+
* LICENSE file in the root directory of this source tree.
7+
*/
8+
19
import { redirect, notFound } from 'next/navigation';
210

311

0 commit comments

Comments
 (0)