[internals] Refactor @vercel-internals/types enums into constants (#9789)

- Creates new internals package, `@vercel-internals/constants`
- Refactors the `enum`s from `@vercel-internals/types` into `as const` objects, and moves them to `@vercel-intenrals/constants`
- Updates all relevant code within `packages/cli`, including `@vercel-internals/types` imports to be `import type`
This commit is contained in:
Ethan Arrowood
2023-04-14 12:08:12 -06:00
committed by GitHub
parent 2aeddde7d5
commit ed119d6a33
77 changed files with 193 additions and 251 deletions

View File

@@ -5,7 +5,7 @@ import { useTeams } from '../../mocks/team';
import { defaultProject, useProject } from '../../mocks/project';
import { client } from '../../mocks/client';
import git from '../../../src/commands/git';
import { Project } from '@vercel-internals/types';
import type { Project } from '@vercel-internals/types';
describe('git', () => {
describe('connect', () => {