Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mokr/templates

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mokr/templates - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

3

dist/bandersnatch.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc