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