UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

19 lines (17 loc) • 524 B
import type { JSCodeshift, Collection } from '@atlaskit/codemod-utils'; import { changeImportEntryPoint } from '@atlaskit/codemod-utils/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', ), ];