2022-03-23 22:37:36 +00:00
|
|
|
# Ignore everything first (will not ignore special files like LICENSE.md,
|
|
|
|
# README.md, and package.json)...
|
|
|
|
/**/*
|
|
|
|
|
|
|
|
# ...but include these folders...
|
|
|
|
!/dist/**/*
|
|
|
|
!/src/**/*
|
|
|
|
|
|
|
|
# We might be able to remove this if it is not imported by any project directly.
|
|
|
|
# https://github.com/nasa/openmct/issues/4992
|
|
|
|
!/example/**/*
|
|
|
|
|
|
|
|
# We will remove this in https://github.com/nasa/openmct/issues/4922
|
|
|
|
!/app.js
|
|
|
|
|
|
|
|
# ...except for these files in the above folders.
|
|
|
|
/src/**/*Spec.js
|
|
|
|
/src/**/test/
|
|
|
|
# TODO move test utils into test/ folders
|
|
|
|
/src/utils/testing.js
|
|
|
|
|
|
|
|
# Also include these special top-level files.
|
|
|
|
!copyright-notice.js
|
|
|
|
!copyright-notice.html
|
|
|
|
!index.html
|
|
|
|
!openmct.js
|
|
|
|
!SECURITY.md
|