nx/packages/workspace/index.ts
Adam L Barrett 889b648886
Emotion upgrade for React and Next plugins (#4088)
* chore(react): update emotion to new versions and new package names on react plugin

* chore(nextjs): update emotion to latest version and the new package names

* feat(misc): have react and next plugin migrations update emotion imports

 * add renamePackageImports and renameNpmPackage rules to workspace utils
 * update migrations to update emotion imports to the new name and version
2020-11-27 13:32:42 -06:00

86 lines
2.6 KiB
TypeScript

export { readTsConfig } from './src/utils/typescript';
export { ProjectType, projectRootDir } from './src/utils/project-type';
export {
serializeJson,
renameSync,
updateJsonFile,
readJsonFile,
copyFile,
createDirectory,
} from './src/utils/fileutils';
export {
ExistingPrettierConfig,
resolveUserExistingPrettierConfig,
} from './src/utils/common';
export { output } from './src/utils/output';
export { commandsObject } from './src/command-line/nx-commands';
export { supportedNxCommands } from './src/command-line/supported-nx-commands';
export { readWorkspaceJson, readNxJson } from './src/core/file-utils';
export { NxJson } from './src/core/shared-interfaces';
export {
ProjectGraphNode,
ProjectGraphDependency,
ProjectGraph,
} from './src/core/project-graph';
export { ProjectGraphCache } from './src/core/nx-deps/nx-deps-cache';
export {
readJsonInTree,
updateJsonInTree,
updateWorkspaceInTree,
insert,
replaceNodeValue,
addDepsToPackageJson,
addMethod,
addIncludeToTsConfig,
addGlobal,
getProjectConfig,
addParameterToConstructor,
createOrUpdate,
findNodes,
updatePackageJsonDependencies,
getProjectGraphFromHost,
readWorkspace,
renameSyncInTree,
renameDirSyncInTree,
updateNxJsonInTree,
addProjectToNxJsonInTree,
readNxJsonInTree,
InsertChange,
ReplaceChange,
RemoveChange,
} from './src/utils/ast-utils';
export {
getNpmScope,
getWorkspacePath,
replaceAppNameWithPath,
editTarget,
parseTarget,
serializeTarget,
} from './src/utils/cli-config-utils';
export {
getWorkspace,
updateWorkspace,
updateBuilderConfig,
} from './src/utils/workspace';
export { addUpdateTask } from './src/utils/update-task';
export { addLintFiles, generateProjectLint, Linter } from './src/utils/lint';
export { addInstallTask } from './src/utils/rules/add-install-task';
export { formatFiles } from './src/utils/rules/format-files';
export { deleteFile } from './src/utils/rules/deleteFile';
export * from './src/utils/rules/ng-add';
export { updateKarmaConf } from './src/utils/rules/update-karma-conf';
export { visitNotIgnoredFiles } from './src/utils/rules/visit-not-ignored-files';
export { setDefaultCollection } from './src/utils/rules/workspace';
export { renamePackageImports } from './src/utils/rules/rename-package-imports';
export { renameNpmPackages } from './src/utils/rules/rename-npm-packages';
import * as strings from './src/utils/strings';
export { checkAndCleanWithSemver } from './src/utils/version-utils';
export { updatePackagesInPackageJson } from './src/utils/update-packages-in-package-json';
export { libraryGenerator } from './src/schematics/library/library';
export const stringUtils = strings;