@mokr/templates
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -1,2 +0,2 @@ | ||
import { createDirectory, enqueueInstallDependency, installPlugin, TemplateType, writeFile, writePackage, } from "@mokr/core"; | ||
import { enqueueInstallDependency, installPlugin, TemplateType, writeFile, writePackage, } from "@mokr/core"; | ||
import { basename, join } from "node:path"; | ||
@@ -18,3 +18,2 @@ async function apply({ directory }) { | ||
}); | ||
await createDirectory({ directory: join(directory, "src") }); | ||
await writeFile({ | ||
@@ -21,0 +20,0 @@ path: join(directory, "src/cli.ts"), |
@@ -6,4 +6,5 @@ import { installPlugin, TemplateType } from "@mokr/core"; | ||
await installPlugin({ directory, name: "lint-staged" }); | ||
// await installPlugin({ directory, name: "devcontainer" }); | ||
// await installPlugin({ directory, name: "github-actions" }); | ||
await installPlugin({ directory, name: "github-actions" }); | ||
await installPlugin({ directory, name: "semantic-release" }); | ||
await installPlugin({ directory, name: "devcontainer" }); | ||
} | ||
@@ -10,0 +11,0 @@ export const common = { |
@@ -1,2 +0,2 @@ | ||
import { createDirectory, enqueueInstallDependency, installPlugin, TemplateType, writeFile, writePackage, } from "@mokr/core"; | ||
import { enqueueInstallDependency, installPlugin, TemplateType, writeFile, writePackage, } from "@mokr/core"; | ||
import { basename, join } from "node:path"; | ||
@@ -18,3 +18,2 @@ async function apply({ directory }) { | ||
}); | ||
await createDirectory({ directory: join(directory, "src") }); | ||
await writeFile({ | ||
@@ -21,0 +20,0 @@ path: join(directory, "src/app.ts"), |
@@ -1,2 +0,2 @@ | ||
import { createDirectory, installPlugin, TemplateType, writeFile, } from "@mokr/core"; | ||
import { installPlugin, TemplateType, writeFile, } from "@mokr/core"; | ||
import { join } from "path"; | ||
@@ -6,3 +6,2 @@ async function apply({ directory }) { | ||
await installPlugin({ directory, name: "jest" }); | ||
await createDirectory({ directory: join(directory, "src") }); | ||
await writeFile({ | ||
@@ -20,3 +19,2 @@ path: join(directory, "src/sum.ts"), | ||
}); | ||
await createDirectory({ directory: join(directory, "tests") }); | ||
await writeFile({ | ||
@@ -23,0 +21,0 @@ path: join(directory, "tests/sum.test.ts"), |
{ | ||
"name": "@mokr/templates", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Moker templates", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/hongaar/moker", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8403
197