@@ -10,8 +10,6 @@ import { add, type AddonMap, type OptionMap } from './core/engine.ts';
1010import { addPnpmBuildDependencies } from './core/package-manager.ts' ;
1111import { create } from './create/index.ts' ;
1212
13- /** @deprecated Internal helper - will be removed from public API in a future version. */
14- export { addPnpmBuildDependencies } from './core/package-manager.ts' ;
1513export type ProjectVariant = 'kit-js' | 'kit-ts' | 'vite-js' | 'vite-ts' ;
1614export const variants : ProjectVariant [ ] = [ 'kit-js' , 'kit-ts' , 'vite-js' , 'vite-ts' ] ;
1715
@@ -30,8 +28,8 @@ type SetupOptions = {
3028 /** @default false */
3129 clean ?: boolean ;
3230} ;
33- /** @deprecated Internal helper used by `createSetupTest` - will be removed from public API in a future version. */
34- export function setup ( { cwd, clean = false , variants } : SetupOptions ) : { templatesDir : string } {
31+
32+ function setup ( { cwd, clean = false , variants } : SetupOptions ) : { templatesDir : string } {
3533 const workingDir = path . resolve ( cwd ) ;
3634 if ( clean && fs . existsSync ( workingDir ) ) {
3735 fs . rmSync ( workingDir , { force : true , recursive : true } ) ;
@@ -61,8 +59,8 @@ export function setup({ cwd, clean = false, variants }: SetupOptions): { templat
6159}
6260
6361type CreateOptions = { cwd : string ; testName : string ; templatesDir : string } ;
64- /** @deprecated Internal helper used by `createSetupTest` - will be removed from public API in a future version. */
65- export function createProject ( { cwd, testName, templatesDir } : CreateOptions ) : CreateProject {
62+
63+ function createProject ( { cwd, testName, templatesDir } : CreateOptions ) : CreateProject {
6664 // create the reference dir
6765 const testDir = path . resolve ( cwd , testName ) ;
6866 fs . mkdirSync ( testDir , { recursive : true } ) ;
@@ -78,8 +76,8 @@ export function createProject({ cwd, testName, templatesDir }: CreateOptions): C
7876}
7977
8078type PreviewOptions = { cwd : string ; command ?: string } ;
81- /** @deprecated Internal helper used by `prepareServer` - will be removed from public API in a future version. */
82- export async function startPreview ( {
79+
80+ async function startPreview ( {
8381 cwd,
8482 command = 'npm run preview'
8583} : PreviewOptions ) : Promise < { url : string ; close : ( ) => Promise < void > } > {
0 commit comments