invert npmignore to include what we want (#4605)

* invert npmignore to include what we want
* remove line for no-longer-existent src/**/*.spec.js files from npmignore
* cleanup npmignore comments
* remove platform dirs from npmignore, they were removed from the repo
* remove one more platform reference from npmignore
* publish example/ and app.js, at least for now

Co-authored-by: John Hill <john.c.hill@nasa.gov>
Co-authored-by: Shefali Joshi <simplyrender@gmail.com>
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
This commit is contained in:
Joe Pea 2022-03-23 15:37:36 -07:00 committed by GitHub
parent dad0768d57
commit 0705d321da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,44 +1,27 @@
*.scssc # Ignore everything first (will not ignore special files like LICENSE.md,
*.zip # README.md, and package.json)...
*.gzip /**/*
*.tgz
*.DS_Store
*.sass-cache # ...but include these folders...
*COMPILE.css !/dist/**/*
!/src/**/*
# Intellij project configuration files # We might be able to remove this if it is not imported by any project directly.
*.idea # https://github.com/nasa/openmct/issues/4992
*.iml !/example/**/*
# External dependencies # We will remove this in https://github.com/nasa/openmct/issues/4922
!/app.js
# Build output # ...except for these files in the above folders.
target /src/**/*Spec.js
/src/**/test/
# TODO move test utils into test/ folders
/src/utils/testing.js
# Mac OS X Finder # Also include these special top-level files.
.DS_Store !copyright-notice.js
!copyright-notice.html
# Closed source libraries !index.html
closed-lib !openmct.js
!SECURITY.md
# Node, Bower dependencies
node_modules
bower_components
Procfile
# Protractor logs
protractor/logs
# npm-debug log
npm-debug.log
# Infra and tests
.circleci
.github
e2e
codecov.yml
lighthouserc.yml
*.Spec.js
karma.conf.js