@atlaskit/ads-mcp 0.20.4 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/a11y-fixes/package.json +14 -0
- package/a11y-guidelines/package.json +14 -0
- package/dist/cjs/entry-points/a11y-fixes.js +12 -0
- package/dist/cjs/entry-points/a11y-guidelines.js +12 -0
- package/dist/cjs/entry-points/i18n-conversion-guide.js +12 -0
- package/dist/cjs/entry-points/migration-registry.js +12 -0
- package/dist/cjs/helpers/analytics.js +1 -0
- package/dist/cjs/tools/get-all-components/components.codegen.js +3 -3
- package/dist/cjs/tools/get-atlaskit-components/atlaskit-components.codegen.js +633 -629
- package/dist/es2019/entry-points/a11y-fixes.js +1 -0
- package/dist/es2019/entry-points/a11y-guidelines.js +1 -0
- package/dist/es2019/entry-points/i18n-conversion-guide.js +1 -0
- package/dist/es2019/entry-points/migration-registry.js +1 -0
- package/dist/es2019/helpers/analytics.js +1 -0
- package/dist/es2019/tools/get-all-components/components.codegen.js +3 -3
- package/dist/es2019/tools/get-atlaskit-components/atlaskit-components.codegen.js +633 -629
- package/dist/esm/entry-points/a11y-fixes.js +1 -0
- package/dist/esm/entry-points/a11y-guidelines.js +1 -0
- package/dist/esm/entry-points/i18n-conversion-guide.js +1 -0
- package/dist/esm/entry-points/migration-registry.js +1 -0
- package/dist/esm/helpers/analytics.js +1 -0
- package/dist/esm/tools/get-all-components/components.codegen.js +3 -3
- package/dist/esm/tools/get-atlaskit-components/atlaskit-components.codegen.js +633 -629
- package/dist/types/entry-points/a11y-fixes.d.ts +1 -0
- package/dist/types/entry-points/a11y-guidelines.d.ts +1 -0
- package/dist/types/entry-points/i18n-conversion-guide.d.ts +1 -0
- package/dist/types/entry-points/migration-registry.d.ts +1 -0
- package/dist/types/tools/get-all-components/components.codegen.d.ts +2 -2
- package/dist/types/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +2 -2
- package/dist/types-ts4.5/entry-points/a11y-fixes.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/a11y-guidelines.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/migration-registry.d.ts +1 -0
- package/dist/types-ts4.5/tools/get-all-components/components.codegen.d.ts +2 -2
- package/dist/types-ts4.5/tools/get-atlaskit-components/atlaskit-components.codegen.d.ts +2 -2
- package/i18n-conversion-guide/package.json +14 -0
- package/migration-registry/package.json +14 -0
- package/package.json +3 -3
- package/dist/cjs/tools/migration-guides/registry.js +0 -38
- package/dist/es2019/tools/migration-guides/registry.js +0 -25
- package/dist/esm/tools/migration-guides/registry.js +0 -27
- package/dist/types/tools/migration-guides/registry.d.ts +0 -18
- package/dist/types-ts4.5/tools/migration-guides/registry.d.ts +0 -18
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { accessibilityFixes } from '../tools/suggest-a11y-fixes/fixes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { accessibilityGuidelines } from '../tools/get-a11y-guidelines/guidelines';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i18nConversionGuide } from '../tools/i18n-conversion/guide';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { migrationRegistry } from '../tools/migration-guides/migration-registry';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
7
|
-
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:
|
|
6
|
+
* @codegen <<SignedSource::3ab8a33f5d9a961edc6704383dde23c4>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from './types';
|
|
10
10
|
export declare const components: ComponentMcpPayload[];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
7
|
-
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:
|
|
6
|
+
* @codegen <<SignedSource::bd5b86ae65b6b9e48b637d6a463db4f9>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from '../get-all-components/types';
|
|
10
10
|
export declare const atlaskitComponents: ComponentMcpPayload[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { accessibilityFixes } from '../tools/suggest-a11y-fixes/fixes';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { accessibilityGuidelines } from '../tools/get-a11y-guidelines/guidelines';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { i18nConversionGuide } from '../tools/i18n-conversion/guide';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { migrationRegistry } from '../tools/migration-guides/migration-registry';
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
7
|
-
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:
|
|
6
|
+
* @codegen <<SignedSource::3ab8a33f5d9a961edc6704383dde23c4>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:ads-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from './types';
|
|
10
10
|
export declare const components: ComponentMcpPayload[];
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Structured content components from design-system *.docs.tsx files
|
|
5
5
|
*
|
|
6
|
-
* @codegen <<SignedSource::
|
|
7
|
-
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:
|
|
6
|
+
* @codegen <<SignedSource::bd5b86ae65b6b9e48b637d6a463db4f9>>
|
|
7
|
+
* @codegenCommand yarn workspace @af/ads-ai-tooling codegen:atlaskit-components
|
|
8
8
|
*/
|
|
9
9
|
import type { ComponentMcpPayload } from '../get-all-components/types';
|
|
10
10
|
export declare const atlaskitComponents: ComponentMcpPayload[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/ads-mcp/i18n-conversion-guide",
|
|
3
|
+
"main": "../dist/cjs/entry-points/i18n-conversion-guide.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/i18n-conversion-guide.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/i18n-conversion-guide.js",
|
|
6
|
+
"types": "../dist/types/entry-points/i18n-conversion-guide.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.5 <5.9": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.5/entry-points/i18n-conversion-guide.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/ads-mcp/migration-registry",
|
|
3
|
+
"main": "../dist/cjs/entry-points/migration-registry.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/migration-registry.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/migration-registry.js",
|
|
6
|
+
"types": "../dist/types/entry-points/migration-registry.d.ts",
|
|
7
|
+
"typesVersions": {
|
|
8
|
+
">=4.5 <5.9": {
|
|
9
|
+
"*": [
|
|
10
|
+
"../dist/types-ts4.5/entry-points/migration-registry.d.ts"
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/ads-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"description": "The official Atlassian Design System MCP server to develop apps and user interfaces matching the Atlassian style.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"atlaskit:src": "src/index.tsx",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/icon": "^35.
|
|
33
|
-
"@atlaskit/icon-lab": "^6.
|
|
32
|
+
"@atlaskit/icon": "^35.2.0",
|
|
33
|
+
"@atlaskit/icon-lab": "^6.11.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
35
35
|
"@atlaskit/tokens": "^13.0.0",
|
|
36
36
|
"@axe-core/playwright": "^4.11.1",
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getAvailableMigrationsDescription = exports.getAvailableMigrationIds = void 0;
|
|
7
|
-
Object.defineProperty(exports, "migrationRegistry", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _migrationRegistry.migrationRegistry;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
var _migrationRegistry = require("./migration-registry");
|
|
14
|
-
/**
|
|
15
|
-
* Migration registry - central place to register all available migrations
|
|
16
|
-
*
|
|
17
|
-
* To add a new migration:
|
|
18
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
19
|
-
* 2. Import and add to the registry below
|
|
20
|
-
* 3. The tool will automatically include it in the available options
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Get all available migration IDs for use in the tool schema
|
|
25
|
-
*/
|
|
26
|
-
var getAvailableMigrationIds = exports.getAvailableMigrationIds = function getAvailableMigrationIds() {
|
|
27
|
-
return Object.keys(_migrationRegistry.migrationRegistry);
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Get a formatted list of available migrations with descriptions
|
|
32
|
-
* Useful for tool descriptions and help text
|
|
33
|
-
*/
|
|
34
|
-
var getAvailableMigrationsDescription = exports.getAvailableMigrationsDescription = function getAvailableMigrationsDescription() {
|
|
35
|
-
return Object.values(_migrationRegistry.migrationRegistry).map(function (m) {
|
|
36
|
-
return "- \"".concat(m.id, "\": ").concat(m.description);
|
|
37
|
-
});
|
|
38
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { migrationRegistry } from './migration-registry';
|
|
11
|
-
/**
|
|
12
|
-
* Get all available migration IDs for use in the tool schema
|
|
13
|
-
*/
|
|
14
|
-
export const getAvailableMigrationIds = () => {
|
|
15
|
-
return Object.keys(migrationRegistry);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Get a formatted list of available migrations with descriptions
|
|
20
|
-
* Useful for tool descriptions and help text
|
|
21
|
-
*/
|
|
22
|
-
export const getAvailableMigrationsDescription = () => {
|
|
23
|
-
return Object.values(migrationRegistry).map(m => `- "${m.id}": ${m.description}`);
|
|
24
|
-
};
|
|
25
|
-
export { migrationRegistry } from './migration-registry';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { migrationRegistry } from './migration-registry';
|
|
11
|
-
/**
|
|
12
|
-
* Get all available migration IDs for use in the tool schema
|
|
13
|
-
*/
|
|
14
|
-
export var getAvailableMigrationIds = function getAvailableMigrationIds() {
|
|
15
|
-
return Object.keys(migrationRegistry);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Get a formatted list of available migrations with descriptions
|
|
20
|
-
* Useful for tool descriptions and help text
|
|
21
|
-
*/
|
|
22
|
-
export var getAvailableMigrationsDescription = function getAvailableMigrationsDescription() {
|
|
23
|
-
return Object.values(migrationRegistry).map(function (m) {
|
|
24
|
-
return "- \"".concat(m.id, "\": ").concat(m.description);
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
export { migrationRegistry } from './migration-registry';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Get all available migration IDs for use in the tool schema
|
|
11
|
-
*/
|
|
12
|
-
export declare const getAvailableMigrationIds: () => string[];
|
|
13
|
-
/**
|
|
14
|
-
* Get a formatted list of available migrations with descriptions
|
|
15
|
-
* Useful for tool descriptions and help text
|
|
16
|
-
*/
|
|
17
|
-
export declare const getAvailableMigrationsDescription: () => string[];
|
|
18
|
-
export { migrationRegistry } from './migration-registry';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration registry - central place to register all available migrations
|
|
3
|
-
*
|
|
4
|
-
* To add a new migration:
|
|
5
|
-
* 1. Create a new file in ./migrations/ with your MigrationGuide(s)
|
|
6
|
-
* 2. Import and add to the registry below
|
|
7
|
-
* 3. The tool will automatically include it in the available options
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Get all available migration IDs for use in the tool schema
|
|
11
|
-
*/
|
|
12
|
-
export declare const getAvailableMigrationIds: () => string[];
|
|
13
|
-
/**
|
|
14
|
-
* Get a formatted list of available migrations with descriptions
|
|
15
|
-
* Useful for tool descriptions and help text
|
|
16
|
-
*/
|
|
17
|
-
export declare const getAvailableMigrationsDescription: () => string[];
|
|
18
|
-
export { migrationRegistry } from './migration-registry';
|