Skip to content

Commit ffb8551

Browse files
authored
chore: update copyright year to 2026 and add license headers (#5452)
1 parent aee8be5 commit ffb8551

432 files changed

Lines changed: 1806 additions & 69 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.

electron-app/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
@license
3-
Copyright (c) 2015-2025 Lablup Inc. All rights reserved.
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
44
*/
55
const {
66
app,

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
</ul>
6363
<ul>
6464
<li>Powered by open-source software</li>
65-
<li class="copyright">Copyright &copy; 2015-2025 Lablup Inc.</li>
65+
<li class="copyright">Copyright &copy; 2015-2026 Lablup Inc.</li>
6666
</ul>
6767
</div>
6868
<div class="sk-folding-cube">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"build:react-only": "pnpm run --prefix ./react build:only",
2222
"server:p": "serve build/rollup",
2323
"server:d": "eval \"$(node scripts/dev-config.js env)\" && node scripts/dev-config.js update && PORT=$BAI_WEBUI_DEV_REACT_PORT PROXY=http://localhost:$BAI_WEBUI_DEV_WEBDEV_PORT pnpm --prefix ./react run start",
24-
"build:d": "eval \"$(node scripts/dev-config.js env)\" && node scripts/dev-config.js update && concurrently -c \"auto\" --names \"react-relay,react\" \"cd react && pnpm run relay:watch\" \"PORT=$BAI_WEBUI_DEV_REACT_PORT pnpm --prefix ./react run start\"",
24+
"build:d": "eval \"$(node scripts/dev-config.js env)\" && node scripts/dev-config.js update && concurrently -c \"auto\" --names \"react-relay,react\" \"cd react && pnpm run relay:watch\" \"BAI_WEBUI_DEV_PROXY= PORT=$BAI_WEBUI_DEV_REACT_PORT pnpm --prefix ./react run start\"",
2525
"electron:d": "electron build/electron-app --dev",
2626
"electron:d:hmr": "LIVE_DEBUG=1 electron build/electron-app --dev",
2727
"relay": "relay-compiler",

react/craco.config.cjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,24 @@ module.exports = {
1919
enable: false, // Disable ESLint webpack plugin for ESLint 9 compatibility. Use CLI lint instead.
2020
},
2121
devServer: (devServerConfig, { env, paths }) => {
22+
// Serve static files from the root project directory so that
23+
// /resources/*, /config.toml, /manifest/*, /dist/* are available
24+
// without a separate webdev server.
25+
const projectRoot = path.resolve(__dirname, '..');
26+
const existingStatic = devServerConfig.static
27+
? Array.isArray(devServerConfig.static)
28+
? devServerConfig.static
29+
: [devServerConfig.static]
30+
: [];
31+
devServerConfig.static = [
32+
...existingStatic,
33+
{
34+
directory: projectRoot,
35+
publicPath: '/',
36+
watch: true,
37+
},
38+
];
39+
2240
devServerConfig.watchFiles = {
2341
paths: [
2442
'../index.html',

react/src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import { routes } from './routes';
26
import { NuqsAdapter } from 'nuqs/adapters/react-router/v6';
37
import {

react/src/RelayEnvironment.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import { manipulateGraphQLQueryWithClientDirectives } from './helper/graphql-transformer';
26
import { GraphQLFormattedError } from 'graphql';
37
import { createClient } from 'graphql-sse';

react/src/components/AboutBackendAIModal.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import { useSuspendedBackendaiClient } from '../hooks';
26
import { useCustomThemeConfig } from '../hooks/useCustomThemeConfig';
37
import { useThemeMode } from '../hooks/useThemeMode';
@@ -86,7 +90,7 @@ const AboutBackendAIModal = ({
8690
open-source software
8791
</BAILink>
8892
<br />
89-
Copyright &copy; 2015-2025 Lablup Inc.
93+
Copyright &copy; 2015-2026 Lablup Inc.
9094
<br />
9195
<BAILink
9296
target="_blank"

react/src/components/AccessKeySelect.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import { AccessKeySelectQuery } from '../__generated__/AccessKeySelectQuery.graphql';
26
import { BAISelect, BAISelectProps } from 'backend.ai-ui';
37
import _ from 'lodash';

react/src/components/ActionItemContent.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import WebUILink from './WebUILink';
26
import { Button, Divider, Typography, theme } from 'antd';
37
import { BAIFlex } from 'backend.ai-ui';

react/src/components/ActiveAgents.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
@license
3+
Copyright (c) 2015-2026 Lablup Inc. All rights reserved.
4+
*/
15
import AgentList from './AgentList';
26
import { theme } from 'antd';
37
import { BAIBoardItemTitle, BAIFetchKeyButton, BAIFlex } from 'backend.ai-ui';

0 commit comments

Comments
 (0)