@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
18 lines (16 loc) • 481 B
text/typescript
import { changeImportEntryPoint, type JSCodeshift, type Collection } from '@atlaskit/codemod-utils';
export const updateImportEntryPointsForConfluenceSchema: ((
j: JSCodeshift,
root: Collection<Node>,
) => void)[] = [
changeImportEntryPoint(
'@atlaskit/adf-schema',
'confluenceSchema',
'@atlaskit/adf-schema/schema-confluence',
),
changeImportEntryPoint(
'@atlaskit/adf-schema',
'confluenceSchemaWithMediaSingle',
'@atlaskit/adf-schema/schema-confluence',
),
];