Skip to content

chore: add files field to package.json#24

Merged
thescientist13 merged 1 commit into
masterfrom
chore/add-files-to-package-json
Jan 1, 2026
Merged

chore: add files field to package.json#24
thescientist13 merged 1 commit into
masterfrom
chore/add-files-to-package-json

Conversation

@thescientist13
Copy link
Copy Markdown
Member

Realized in our demo repo that we were shipping the entire contents of the repo to NPM
Screenshot 2025-12-31 at 8 41 51 PM

This change now only ships the src/ directory

➜  eleventy-plugin-wcc git:(master) ✗ npm pack
npm notice
npm notice 📦  @projectevergreen/eleventy-plugin-wcc@0.3.0
npm notice Tarball Contents
npm notice 2.7kB README.md
npm notice 954B package.json
npm notice 1.2kB src/index.js
npm notice 1.5kB src/utils.js
npm notice Tarball Details
npm notice name: @projectevergreen/eleventy-plugin-wcc
npm notice version: 0.3.0
npm notice filename: projectevergreen-eleventy-plugin-wcc-0.3.0.tgz
npm notice package size: 2.7 kB
npm notice unpacked size: 6.3 kB
npm notice shasum: 57169991c6decaec1af30e37a37ea5ea16b71fb7
npm notice integrity: sha512-kPVrq0okymM5f[...]j3ZsNoISHwicQ==
npm notice total files: 4
npm notice
projectevergreen-eleventy-plugin-wcc-0.3.0.tgz
➜  eleventy-plugin-wcc git:(master) ✗ tar -xvcf projectevergreen-eleventy-plugin-wcc-0.3.0.tgz
➜  eleventy-plugin-wcc git:(master) ✗ ls -la package
total 16
drwxr-xr-x   5 owenbuckley  staff   160 Dec 31 20:47 .
drwxr-xr-x  24 owenbuckley  staff   768 Dec 31 20:47 ..
-rw-r--r--   1 owenbuckley  staff   954 Oct 26  1985 package.json
-rw-r--r--   1 owenbuckley  staff  2659 Oct 26  1985 README.md
drwxr-xr-x   4 owenbuckley  staff   128 Dec 31 20:47 src
➜  eleventy-plugin-wcc git:(master) ✗ ls -la src 
total 16
drwxr-xr-x   4 owenbuckley  staff   128 Dec 31 20:32 .
drwxr-xr-x  24 owenbuckley  staff   768 Dec 31 20:47 ..
-rw-r--r--   1 owenbuckley  staff  1219 Dec 29 21:16 index.js
-rw-r--r--   1 owenbuckley  staff  1515 Dec 31 20:32 utils.js

@thescientist13 thescientist13 changed the title chore: add files to package.json chore: add files field to package.json Jan 1, 2026
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 1, 2026

Deploy Preview for legendary-starlight-75451b ready!

Name Link
🔨 Latest commit ccc5797
🔍 Latest deploy log https://app.netlify.com/projects/legendary-starlight-75451b/deploys/6955d2feab0bb90008d4f712
😎 Deploy Preview https://deploy-preview-24--legendary-starlight-75451b.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@thescientist13 thescientist13 merged commit ac52545 into master Jan 1, 2026
8 checks passed
@thescientist13 thescientist13 deleted the chore/add-files-to-package-json branch January 1, 2026 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant