Comparing version 0.2.0 to 0.2.1
@@ -1,2 +0,1 @@ | ||
import { promises as fs } from 'node:fs' | ||
@@ -8,3 +7,2 @@ import { sep, join } from 'node:path' | ||
async function copyTemplate(name, to) { | ||
@@ -15,4 +13,4 @@ const s = p.spinner() | ||
const src = join(root, name) | ||
const filter = path => !path.includes(sep + '.') | ||
await fs.cp(src, to, { recursive: true, force: true, filter }) | ||
// const filter = path => !path.includes(sep + '.') | ||
await fs.cp(src, to, { recursive: true, force: true }) | ||
s.stop(`Copied template ${name} to ${to}`) | ||
@@ -19,0 +17,0 @@ } |
{ | ||
"name": "create-nue", | ||
"type": "module", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"homepage": "https://github.com/nuejs/create-nue", | ||
@@ -6,0 +6,0 @@ "description": "Develop websites and single-page applications faster with the power of universal hot-reloading", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
2379346