Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions apps/lockfile-explorer-web/src/packlets/lfx-shared/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

export * from './IAppContext';
export * from './IJsonLfxGraph';
export * from './IJsonLfxWorkspace';
export * from './LfxGraph';
export type { IAppContext } from './IAppContext';
export {
LfxGraphEntryKind,
LfxDependencyKind,
type IJsonPeerDependencyMeta,
type IJsonLfxDependency,
type IJsonLfxEntry,
type IJsonLfxGraph
} from './IJsonLfxGraph';
export type { IJsonLfxWorkspaceRushConfig, IJsonLfxWorkspace } from './IJsonLfxWorkspace';
export {
LfxGraph,
LfxGraphDependency,
LfxGraphEntry,
type ILfxGraphDependencyOptions,
type ILfxGraphEntryOptions
} from './LfxGraph';
export * as lfxGraphSerializer from './lfxGraphSerializer';
6 changes: 3 additions & 3 deletions apps/rush-mcp-server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @packageDocumentation
*/

export * from './pluginFramework/IRushMcpPlugin';
export * from './pluginFramework/IRushMcpTool';
export { type IRushMcpPlugin, type RushMcpPluginFactory } from './pluginFramework/IRushMcpPlugin';
export type { IRushMcpTool } from './pluginFramework/IRushMcpTool';
export { type IRegisterToolOptions, RushMcpPluginSession } from './pluginFramework/RushMcpPluginSession';
export * from './pluginFramework/zodTypes';
export { CallToolResultSchema, type CallToolResult, type zodModule } from './pluginFramework/zodTypes';
12 changes: 6 additions & 6 deletions apps/rush-mcp-server/src/tools/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

export * from './base.tool';
export * from './migrate-project.tool';
export * from './project-details.tool';
export * from './rush-command-validator.tool';
export * from './workspace-details';
export * from './conflict-resolver.tool';
export { BaseTool, type IBaseToolOptions, type CallToolResult } from './base.tool';
export { RushMigrateProjectTool } from './migrate-project.tool';
export { RushProjectDetailsTool } from './project-details.tool';
export { RushCommandValidatorTool } from './rush-command-validator.tool';
export { RushWorkspaceDetailsTool } from './workspace-details';
export { RushConflictResolverTool } from './conflict-resolver.tool';
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

// eslint-disable-next-line no-restricted-syntax
export * from './ToggleSwitch';
2 changes: 2 additions & 0 deletions build-tests/api-documenter-test/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
* @packageDocumentation
*/

// eslint-disable-next-line no-restricted-syntax
export * from './DocClass1';
// eslint-disable-next-line no-restricted-syntax
export * from './DocEnums';
import type { IDocInterface1, IDocInterface3, SystemEvent } from './DocClass1';

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/mcp-server"
}
],
"packageName": "@rushstack/mcp-server",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/stream-collator"
}
],
"packageName": "@rushstack/stream-collator",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/tree-pattern"
}
],
"packageName": "@rushstack/tree-pattern",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/webpack-embedded-dependencies-plugin"
}
],
"packageName": "@rushstack/webpack-embedded-dependencies-plugin",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/webpack4-module-minifier-plugin"
}
],
"packageName": "@rushstack/webpack4-module-minifier-plugin",
"email": "[email protected]"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/webpack5-module-minifier-plugin"
}
],
"packageName": "@rushstack/webpack5-module-minifier-plugin",
"email": "[email protected]"
}
12 changes: 6 additions & 6 deletions libraries/rush-themed-ui/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
* @packageDocumentation
*/

export * from './components/Button';
export * from './components/ScrollArea';
export * from './components/Tabs';
export * from './components/Checkbox';
export * from './components/Input';
export * from './components/Text';
export { Button, type IButtonProps } from './components/Button';
export { ScrollArea, type IScrollAreaProps } from './components/ScrollArea';
export { Tabs, type ITabsItem, type ITabsProps } from './components/Tabs';
export { Checkbox, type ICheckboxProps } from './components/Checkbox';
export { Input, type IInputProps } from './components/Input';
export { Text, type TextType, type ITextProps } from './components/Text';
6 changes: 3 additions & 3 deletions libraries/stream-collator/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
* @packageDocumentation
*/

export * from './CollatedTerminal';
export * from './CollatedWriter';
export * from './StreamCollator';
export { CollatedTerminal } from './CollatedTerminal';
export { CollatedWriter } from './CollatedWriter';
export { StreamCollator, type IStreamCollatorOptions } from './StreamCollator';
2 changes: 1 addition & 1 deletion libraries/tree-pattern/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
* @packageDocumentation
*/

export * from './TreePattern';
export { type TreeNode, type ITreePatternCaptureSet, TreePattern } from './TreePattern';
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,16 @@ module.exports = {
}
],

'import/no-duplicates': 'warn'
'import/no-duplicates': 'warn',

'no-restricted-syntax': [
'error',
{
// Forbid only bare `export * from '...'`
selector: 'ExportAllDeclaration[exported=null]',
message: "Use explicit named exports instead of `export * from '...'`."
}
]
}
},
{
Expand Down
8 changes: 7 additions & 1 deletion webpack/webpack-embedded-dependencies-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
*/

import EmbeddedDependenciesWebpackPlugin from './EmbeddedDependenciesWebpackPlugin';
export * from './EmbeddedDependenciesWebpackPlugin';

export type {
IPackageData,
IEmbeddedDependenciesWebpackPluginOptions,
LicenseFileGeneratorFunction,
LicenseFileName
} from './EmbeddedDependenciesWebpackPlugin';

export default EmbeddedDependenciesWebpackPlugin;
34 changes: 28 additions & 6 deletions webpack/webpack4-module-minifier-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,34 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

export * from './Constants';
export * from './GenerateLicenseFileForAsset';
export * from './ModuleMinifierPlugin.types';
export * from './ModuleMinifierPlugin';
export * from './PortableMinifierIdsPlugin';
export * from './RehydrateAsset';
export {
MODULE_WRAPPER_PREFIX,
MODULE_WRAPPER_SUFFIX,
CHUNK_MODULES_TOKEN,
STAGE_BEFORE,
STAGE_AFTER
} from './Constants';
export { generateLicenseFileForAsset } from './GenerateLicenseFileForAsset';
export type {
IRenderedModulePosition,
IAssetInfo,
IModuleMinifierPluginStats,
IAssetStats,
IModuleInfo,
IExtendedModule,
_IWebpackCompilationData,
_INormalModuleFactoryModuleData,
IAssetMap,
IModuleMap,
IModuleMinifierPluginOptions,
IDehydratedAssets,
IPostProcessFragmentContext,
IModuleMinifierPluginHooks,
_IAcornComment
} from './ModuleMinifierPlugin.types';
export { ModuleMinifierPlugin } from './ModuleMinifierPlugin';
export { PortableMinifierModuleIdsPlugin } from './PortableMinifierIdsPlugin';
export { rehydrateAsset } from './RehydrateAsset';
export type {
ILocalMinifierOptions,
IMinifierConnection,
Expand Down
13 changes: 10 additions & 3 deletions webpack/webpack5-module-minifier-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

export * from './Constants';
export * from './GenerateLicenseFileForAsset';
export {
MODULE_WRAPPER_PREFIX,
MODULE_WRAPPER_SUFFIX,
CHUNK_MODULE_TOKEN,
CHUNK_MODULE_REGEX,
STAGE_BEFORE,
STAGE_AFTER
} from './Constants';
export { generateLicenseFileForAsset } from './GenerateLicenseFileForAsset';
export type {
IAssetInfo,
IAssetMap,
Expand All @@ -18,4 +25,4 @@ export type {
IPostProcessFragmentContext,
IRenderedModulePosition
} from './ModuleMinifierPlugin.types';
export * from './ModuleMinifierPlugin';
export { ModuleMinifierPlugin } from './ModuleMinifierPlugin';
Loading