@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
23 lines (21 loc) • 580 B
text/typescript
import { changeImportEntryPoint, type JSCodeshift, type Collection } from '@atlaskit/codemod-utils';
export const updateImportEntryPointsForDefaultSchema: ((
j: JSCodeshift,
root: Collection<Node>,
) => void)[] = [
changeImportEntryPoint(
'@atlaskit/adf-schema',
'defaultSchema',
'@atlaskit/adf-schema/schema-default',
),
changeImportEntryPoint(
'@atlaskit/adf-schema',
'getSchemaBasedOnStage',
'@atlaskit/adf-schema/schema-default',
),
changeImportEntryPoint(
'@atlaskit/adf-schema',
'defaultSchemaConfig',
'@atlaskit/adf-schema/schema-default',
),
];