Skip to content

Commit

Permalink
Merge pull request #17 from tiktok/octogonz/npmignore
Browse files Browse the repository at this point in the history
Include CHANGELOG.md in published releases
  • Loading branch information
chengcyber authored Jul 29, 2024
2 parents fd3e8ab + 4846e43 commit fec0959
Show file tree
Hide file tree
Showing 13 changed files with 136 additions and 65 deletions.
19 changes: 10 additions & 9 deletions common/_templates/rush-plugin-for-command/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-archive-project-plugin"
}
],
"packageName": "rush-archive-project-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-audit-cache-plugin"
}
],
"packageName": "rush-audit-cache-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-git-lfs-plugin"
}
],
"packageName": "rush-git-lfs-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-init-project-plugin"
}
],
"packageName": "rush-init-project-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-lint-staged-plugin"
}
],
"packageName": "rush-lint-staged-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "Include CHANGELOG.md in published releases",
"type": "patch",
"packageName": "rush-upgrade-self-plugin"
}
],
"packageName": "rush-upgrade-self-plugin",
"email": "4673363+octogonz@users.noreply.github.com"
}
21 changes: 10 additions & 11 deletions rush-plugins/rush-archive-project-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,28 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
/lib/**/test/
/lib-*/**/test/
*.test.js
/lib/__mocks__/
/src/__mocks__/

# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
19 changes: 10 additions & 9 deletions rush-plugins/rush-audit-cache-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
19 changes: 10 additions & 9 deletions rush-plugins/rush-git-lfs-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
19 changes: 10 additions & 9 deletions rush-plugins/rush-init-project-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
19 changes: 10 additions & 9 deletions rush-plugins/rush-lint-staged-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json
19 changes: 10 additions & 9 deletions rush-plugins/rush-upgrade-self-plugin/.npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,12 @@
!/lib/**
!/lib-*/**
!/dist/**

!CHANGELOG.md
!CHANGELOG.json
!heft-plugin.json
!rush-plugin-manifest.json
!ThirdPartyNotice.txt
!/src/**

# Ignore certain patterns that should not get published.
/dist/*.stats.*
Expand All @@ -20,15 +24,12 @@
# NOTE: These don't need to be specified, because NPM includes them automatically.
#
# package.json
# README (and its variants)
# CHANGELOG (and its variants)
# LICENSE / LICENCE
# README.md
# LICENSE

#--------------------------------------------
# DO NOT MODIFY THE TEMPLATE ABOVE THIS LINE
#--------------------------------------------
# ---------------------------------------------------------------------------
# DO NOT MODIFY ABOVE THIS LINE! Add any project-specific overrides below.
# ---------------------------------------------------------------------------

# (Add your project-specific overrides here)
!/includes/**
!rush-plugin-manifest.json
!command-line.json

0 comments on commit fec0959

Please sign in to comment.