From 6ee5db95c2ad4fee74ad02368afa1d2cc693407e Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Tue, 23 Aug 2022 14:14:20 -0700 Subject: [PATCH] Use package.json files array instead of .npmignore (#50408) --- .npmignore | 41 ----------------------------------------- package.json | 11 +++++++++++ 2 files changed, 11 insertions(+), 41 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 5a9f256a7dc74..0000000000000 --- a/.npmignore +++ /dev/null @@ -1,41 +0,0 @@ -built -doc -Gulpfile.js -internal -jenkins.sh -lib/README.md -lib/enu -netci.groovy -scripts -src -tests -Jakefile.js -.devcontainer -.eslintrc -.eslintignore -.editorconfig -.failed-tests -.git -.git/ -.gitattributes -.github/ -.gitmodules -.settings/ -.travis.yml -.circleci -.vscode/ -.parallelperf.json -.mailmap -test.config -package-lock.json -yarn.lock -CONTRIBUTING.md -TEST-results.xml -.dockerignore -Dockerfile -.DS_Store -.eslintrc.json -.yarnrc -tmp -.eslintplugin.js -.eslintcache diff --git a/package.json b/package.json index 30513a47bc9fc..1eb4d76c958be 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,17 @@ "engines": { "node": ">=4.2.0" }, + "files": [ + "./bin", + "./lib", + "!./lib/enu", + "./loc", + "./AUTHORS.md", + "./LICENSE.txt", + "./README.md", + "./SECURITY.md", + "./ThirdPartyNoticeText.txt" + ], "devDependencies": { "@octokit/rest": "latest", "@types/async": "latest",