Skip to content

Commit ad8c6fc

Browse files
authored
feat: add CODE_OF_CONDUCT.md (#146)
1 parent f802204 commit ad8c6fc

File tree

9 files changed

+44
-0
lines changed

9 files changed

+44
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
!/.github/
2020
!/.gitignore
2121
!/.npmrc
22+
!/CODE_OF_CONDUCT.md
2223
!/SECURITY.md
2324
!/bin/
2425
!/lib/

CODE_OF_CONDUCT.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
2+
3+
All interactions in this repo are covered by the [npm Code of
4+
Conduct](https://docs.npmjs.com/policies/conduct)
5+
6+
The npm cli team may, at its own discretion, moderate, remove, or edit
7+
any interactions such as pull requests, issues, and comments.

lib/content/CODE_OF_CONDUCT.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
All interactions in this repo are covered by the [npm Code of
2+
Conduct](https://docs.npmjs.com/policies/conduct)
3+
4+
The npm cli team may, at its own discretion, moderate, remove, or edit
5+
any interactions such as pull requests, issues, and comments.

lib/content/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const rootModule = {
3131
'.gitignore': 'gitignore',
3232
'.npmrc': 'npmrc',
3333
'SECURITY.md': 'SECURITY.md',
34+
'CODE_OF_CONDUCT.md': 'CODE_OF_CONDUCT.md',
3435
'package.json': 'pkg.json',
3536
},
3637
rm: [

tap-snapshots/test/apply/full-content.js.test.cjs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ jobs:
433433
!/.github/
434434
!/.gitignore
435435
!/.npmrc
436+
!/CODE_OF_CONDUCT.md
436437
!/SECURITY.md
437438
!/bin/
438439
!/lib/
@@ -444,6 +445,16 @@ jobs:
444445
445446
package-lock=false
446447
448+
CODE_OF_CONDUCT.md
449+
========================================
450+
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
451+
452+
All interactions in this repo are covered by the [npm Code of
453+
Conduct](https://docs.npmjs.com/policies/conduct)
454+
455+
The npm cli team may, at its own discretion, moderate, remove, or edit
456+
any interactions such as pull requests, issues, and comments.
457+
447458
SECURITY.md
448459
========================================
449460
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
@@ -1225,6 +1236,7 @@ jobs:
12251236
!/.github/
12261237
!/.gitignore
12271238
!/.npmrc
1239+
!/CODE_OF_CONDUCT.md
12281240
!/SECURITY.md
12291241
!/bin/
12301242
!/lib/
@@ -1237,6 +1249,16 @@ jobs:
12371249
12381250
package-lock=false
12391251
1252+
CODE_OF_CONDUCT.md
1253+
========================================
1254+
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->
1255+
1256+
All interactions in this repo are covered by the [npm Code of
1257+
Conduct](https://docs.npmjs.com/policies/conduct)
1258+
1259+
The npm cli team may, at its own discretion, moderate, remove, or edit
1260+
any interactions such as pull requests, issues, and comments.
1261+
12401262
SECURITY.md
12411263
========================================
12421264
<!-- This file is automatically added by @npmcli/template-oss. Do not edit. -->

tap-snapshots/test/apply/index.js.test.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ exports[`test/apply/index.js TAP turn off repo > expect resolving Promise 1`] =
2828
.eslintrc.js
2929
.gitignore
3030
.npmrc
31+
CODE_OF_CONDUCT.md
3132
SECURITY.md
3233
package.json
3334
`

tap-snapshots/test/apply/lockfile.js.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ exports[`test/apply/lockfile.js TAP lockfile > expect resolving Promise 1`] = `
2929
!/.github/
3030
!/.gitignore
3131
!/.npmrc
32+
!/CODE_OF_CONDUCT.md
3233
!/SECURITY.md
3334
!/bin/
3435
!/lib/
@@ -66,6 +67,7 @@ exports[`test/apply/lockfile.js TAP no lockfile by default > expect resolving Pr
6667
!/.github/
6768
!/.gitignore
6869
!/.npmrc
70+
!/CODE_OF_CONDUCT.md
6971
!/SECURITY.md
7072
!/bin/
7173
!/lib/

tap-snapshots/test/check/gitignore.js.test.cjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ To correct it: move files to not match one of the following patterns:
3333
!/.github/
3434
!/.gitignore
3535
!/.npmrc
36+
!/CODE_OF_CONDUCT.md
3637
!/SECURITY.md
3738
!/bin/
3839
!/lib/
@@ -68,6 +69,7 @@ To correct it: move files to not match one of the following patterns:
6869
!/.github/
6970
!/.gitignore
7071
!/.npmrc
72+
!/CODE_OF_CONDUCT.md
7173
!/SECURITY.md
7274
!/bin/
7375
!/lib/
@@ -154,6 +156,7 @@ To correct it: move files to not match one of the following patterns:
154156
!/.github/
155157
!/.gitignore
156158
!/.npmrc
159+
!/CODE_OF_CONDUCT.md
157160
!/SECURITY.md
158161
!/bin/
159162
!/lib/

tap-snapshots/test/check/index.js.test.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ The following module files need to be added:
3434
.gitignore
3535
.npmrc
3636
SECURITY.md
37+
CODE_OF_CONDUCT.md
3738
3839
To correct it: npx template-oss-apply --force
3940
@@ -112,6 +113,7 @@ The following module files need to be added:
112113
.gitignore
113114
.npmrc
114115
SECURITY.md
116+
CODE_OF_CONDUCT.md
115117
116118
To correct it: npx template-oss-apply --force
117119

0 commit comments

Comments
 (0)