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

@patternplate/create-default

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternplate/create-default - npm Package Compare versions

Comparing version 2.0.0-44 to 2.0.0-45

27

index.js

@@ -30,4 +30,9 @@ module.exports = createDefault;

* Documentation at \`docs\`
This is the minimal template required for
a \`patternplate\` project.
* No \`patternplate.config.js\`, defaults apply
* Documentation at \`docs\` and \`README.md\`
* Pattern sources at \`lib\`
* Demos are plain HTML, CSS, JavaScript

@@ -40,17 +45,10 @@ ## Getting started

\`\`\
`;
}
const DOCS = data => {
return `---
displayName: Documentation
options:
order: -1
---
## Hello world pattern
> a patternplate project
This template contains a "Hello World" pattern.
# ${data.name}
`
};
Access it by navigating to [pattern/hello-world](./pattern/hello-world).
`;
}

@@ -90,5 +88,2 @@ const PATTERN_JSON = data => {

fs.mkdirpSync("/docs");
fs.writeFileSync("/docs/docs.md", DOCS(data));
fs.mkdirpSync("/lib/hello-world");

@@ -95,0 +90,0 @@ fs.writeFileSync("/lib/hello-world/package.json", PATTERN_JSON(data));

{
"name": "@patternplate/create-default",
"version": "2.0.0-44",
"version": "2.0.0-45",
"description": "Create a default patternplate project via patternplate create",

@@ -5,0 +5,0 @@ "xo": false,

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