Skip to content

Commit

Permalink
fix: add LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
chenos committed Dec 29, 2023
1 parent c739cff commit 6816ade
Show file tree
Hide file tree
Showing 22 changed files with 9,933 additions and 11 deletions.
22 changes: 12 additions & 10 deletions packages/core/server/src/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@ import { actions as authActions, AuthManager, AuthManagerOptions } from '@nocoba
import { Cache, CacheManager, CacheManagerOptions } from '@nocobase/cache';
import Database, { CollectionOptions, IDatabaseOptions } from '@nocobase/database';
import {
AppLogger,
AppLoggerOptions,
createLogger,
createAppLogger,
AppLogger,
LoggerOptions,
createLogger,
getLoggerFilePath,
LoggerOptions,
} from '@nocobase/logger';
import { Resourcer, ResourceOptions } from '@nocobase/resourcer';
import { ResourceOptions, Resourcer } from '@nocobase/resourcer';
import { applyMixins, AsyncEmitter, measureExecutionTime, Toposort, ToposortOptions } from '@nocobase/utils';
import chalk from 'chalk';
import { Command, CommandOptions, ParseOptions } from 'commander';
import { randomUUID } from 'crypto';
import { IncomingMessage, Server, ServerResponse } from 'http';
import { i18n, InitOptions } from 'i18next';
import Koa, { DefaultContext as KoaDefaultContext, DefaultState as KoaDefaultState } from 'koa';
import compose from 'koa-compose';
import lodash from 'lodash';
import { RecordableHistogram } from 'node:perf_hooks';
import packageJson from '../package.json';
import { createACL } from './acl';
import { AppCommand } from './app-command';
import { AppSupervisor } from './app-supervisor';
Expand All @@ -30,19 +34,14 @@ import {
createAppProxy,
createI18n,
createResourcer,
enablePerfHooks,
getCommandFullName,
registerMiddlewares,
enablePerfHooks,
} from './helper';
import { ApplicationVersion } from './helpers/application-version';
import { Locale } from './locale';
import { Plugin } from './plugin';
import { InstallOptions, PluginManager } from './plugin-manager';
import { randomUUID } from 'crypto';
import packageJson from '../package.json';
import chalk from 'chalk';
import { RecordableHistogram, performance } from 'node:perf_hooks';
import path from 'path';

export type PluginType = string | typeof Plugin;
export type PluginConfiguration = PluginType | [PluginType, any];
Expand Down Expand Up @@ -391,6 +390,9 @@ export class Application<StateT = DefaultState, ContextT = DefaultContext> exten
this.log.debug(`finish reload`, { method: 'reload' });
}

/**
* @deprecated Use the `pm.get()` instead.
*/
getPlugin<P extends Plugin>(name: string | typeof Plugin) {
return this.pm.get(name) as P;
}
Expand Down
661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-action-bulk-edit/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-action-bulk-update/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-action-duplicate/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-action-print/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-api-keys/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-auth/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-cas/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-charts/LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/plugins/@nocobase/plugin-charts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description.zh-CN": "开箱即用、丰富的报表。",
"version": "0.18.0-alpha.3",
"main": "./dist/server/index.js",
"license": "AGPL-3.0",
"devDependencies": {
"@ant-design/icons": "5.x",
"@formily/antd-v5": "1.x",
Expand Down
661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-custom-request/LICENSE

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"displayName.zh-CN": "自定义请求",
"description": "Custom request action",
"description.zh-CN": "自定义请求操作",
"license": "AGPL-3.0",
"devDependencies": {
"@formily/react": "2.x",
"@formily/shared": "2.x",
Expand Down
661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-disable-pm-add/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-gantt/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-kanban/LICENSE

Large diffs are not rendered by default.

661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-localization-management/LICENSE

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@nocobase/plugin-localization-management",
"version": "0.18.0-alpha.3",
"main": "dist/server/index.js",
"license": "AGPL-3.0",
"devDependencies": {
"deepmerge": "^4.3.1"
},
Expand Down
661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-mobile-client/LICENSE

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@nocobase/plugin-mobile-client",
"version": "0.18.0-alpha.3",
"main": "./dist/server/index.js",
"license": "AGPL-3.0",
"displayName": "Mobile client",
"displayName.zh-CN": "移动端",
"description": "Provides the ability to configure mobile pages",
Expand Down
661 changes: 661 additions & 0 deletions packages/plugins/@nocobase/plugin-sms-auth/LICENSE

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/plugins/@nocobase/plugin-sms-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"description.zh-CN": "SMS authentication for NocoBase",
"version": "0.18.0-alpha.3",
"main": "./dist/server/index.js",
"license": "AGPL-3.0",
"devDependencies": {
"@formily/react": "2.x",
"antd": "5.x",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Plugin } from '@nocobase/server';
import WorkflowPlugin from '@nocobase/plugin-workflow';
import { Plugin } from '@nocobase/server';

import AggregateInstruction from './AggregateInstruction';

Expand Down

0 comments on commit 6816ade

Please sign in to comment.