From e965176a550a8bbe69aa982b98a705d84dc49edf Mon Sep 17 00:00:00 2001 From: David Herman Date: Sun, 14 Apr 2024 13:07:43 -0700 Subject: [PATCH] remove .npmignore since it's only for libraries, which already use `"files"` --- pkgs/create-neon/data/templates/.npmignore.hbs | 3 --- pkgs/create-neon/src/bin/create-neon.ts | 1 - 2 files changed, 4 deletions(-) delete mode 100644 pkgs/create-neon/data/templates/.npmignore.hbs diff --git a/pkgs/create-neon/data/templates/.npmignore.hbs b/pkgs/create-neon/data/templates/.npmignore.hbs deleted file mode 100644 index 351128a14..000000000 --- a/pkgs/create-neon/data/templates/.npmignore.hbs +++ /dev/null @@ -1,3 +0,0 @@ -{{#if packageSpec.library}} -platforms -{{/if}} diff --git a/pkgs/create-neon/src/bin/create-neon.ts b/pkgs/create-neon/src/bin/create-neon.ts index edc1a5d21..bac6db5cd 100644 --- a/pkgs/create-neon/src/bin/create-neon.ts +++ b/pkgs/create-neon/src/bin/create-neon.ts @@ -17,7 +17,6 @@ import { const TEMPLATES: Record = { ".gitignore.hbs": ".gitignore", - ".npmignore.hbs": ".npmignore", "Cargo.toml.hbs": "Cargo.toml", "README.md.hbs": "README.md", "lib.rs.hbs": path.join("src", "lib.rs"),