Home / Function/ makeProject() — astro Function Reference

makeProject() — astro Function Reference

Architecture documentation for the makeProject() function in _util.js from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  f1feebfd_7bf6_a301_7fce_29c4c8bbc773["makeProject()"]
  4265c711_d908_961d_b7f8_d10af2c1c59b["_util.js"]
  f1feebfd_7bf6_a301_7fce_29c4c8bbc773 -->|defined in| 4265c711_d908_961d_b7f8_d10af2c1c59b
  477d6843_2f4c_fd67_a0e0_ce6fba11eb02["setup()"]
  477d6843_2f4c_fd67_a0e0_ce6fba11eb02 -->|calls| f1feebfd_7bf6_a301_7fce_29c4c8bbc773
  style f1feebfd_7bf6_a301_7fce_29c4c8bbc773 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

benchmark/bench/_util.js lines 23–32

export async function makeProject(name) {
	console.log('Making project:', name);
	const projectDir = new URL(`../projects/${name}/`, import.meta.url);

	const makeProjectMod = await import(`../make-project/${name}.js`);
	await makeProjectMod.run(projectDir);

	console.log('Finished making project:', name);
	return projectDir;
}

Subdomains

Called By

Frequently Asked Questions

What does makeProject() do?
makeProject() is a function in the astro codebase, defined in benchmark/bench/_util.js.
Where is makeProject() defined?
makeProject() is defined in benchmark/bench/_util.js at line 23.
What calls makeProject()?
makeProject() is called by 1 function(s): setup.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free