-
Notifications
You must be signed in to change notification settings - Fork 2
/
ProjectNodejs.ts
25 lines (21 loc) · 1.34 KB
/
ProjectNodejs.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import { ClassUnion, Mixin } from "../../class/Mixin.js"
import { EnvironmentType } from "../common/Environment.js"
import { Runtime } from "../runtime/Runtime.js"
import { RuntimeNodejs } from "../runtime/RuntimeNodejs.js"
import { TestDescriptorNodejs } from "../test/TestDescriptorNodejs.js"
import { Project } from "./Project.js"
import { ProjectDescriptorNodejs } from "./ProjectDescriptor.js"
import { ProjectTerminal } from "./ProjectTerminal.js"
//━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
/**
* Siesta project for [Node.js](https://nodejs.org/) code.
*/
export class ProjectNodejs extends Mixin(
[ Project, ProjectDescriptorNodejs, ProjectTerminal ],
(base : ClassUnion<typeof Project, typeof ProjectDescriptorNodejs, typeof ProjectTerminal>) =>
class ProjectNodejs extends base {
type : EnvironmentType = 'nodejs'
testDescriptorClass : typeof TestDescriptorNodejs = TestDescriptorNodejs
runtimeClass : typeof Runtime = RuntimeNodejs
}
) {}