@npmcli/template-oss 2.6.0 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/content/ci.yml
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# This file is automatically added by @npmcli/template-oss. Do not edit.
|
|
2
|
+
|
|
3
|
+
name: "CodeQL"
|
|
4
|
+
|
|
5
|
+
on:
|
|
6
|
+
push:
|
|
7
|
+
branches: [ main ]
|
|
8
|
+
pull_request:
|
|
9
|
+
# The branches below must be a subset of the branches above
|
|
10
|
+
branches: [ main ]
|
|
11
|
+
schedule:
|
|
12
|
+
# "At 03:00 on Monday" https://crontab.guru/#0_3_*_*_1
|
|
13
|
+
- cron: "0 3 * * 1"
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
analyze:
|
|
17
|
+
name: Analyze
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
permissions:
|
|
20
|
+
actions: read
|
|
21
|
+
contents: read
|
|
22
|
+
security-events: write
|
|
23
|
+
|
|
24
|
+
strategy:
|
|
25
|
+
fail-fast: false
|
|
26
|
+
matrix:
|
|
27
|
+
language: [ 'javascript' ]
|
|
28
|
+
|
|
29
|
+
steps:
|
|
30
|
+
- name: Checkout repository
|
|
31
|
+
uses: actions/checkout@v2
|
|
32
|
+
|
|
33
|
+
- name: Initialize CodeQL
|
|
34
|
+
uses: github/codeql-action/init@v1
|
|
35
|
+
with:
|
|
36
|
+
languages: ${{ matrix.language }}
|
|
37
|
+
- name: Perform CodeQL Analysis
|
|
38
|
+
uses: github/codeql-action/analyze@v1
|
|
@@ -6,6 +6,6 @@ module.exports = {
|
|
|
6
6
|
rules: {
|
|
7
7
|
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'chore', 'deps']],
|
|
8
8
|
'header-max-length': [2, 'always', 80],
|
|
9
|
-
'subject-case': [
|
|
9
|
+
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
|
|
10
10
|
},
|
|
11
11
|
}
|
|
@@ -8,9 +8,9 @@ updates:
|
|
|
8
8
|
interval: daily
|
|
9
9
|
allow:
|
|
10
10
|
- dependency-type: direct
|
|
11
|
-
versioning-strategy: increase
|
|
11
|
+
versioning-strategy: increase
|
|
12
12
|
commit-message:
|
|
13
13
|
prefix: deps
|
|
14
14
|
prefix-development: chore
|
|
15
15
|
labels:
|
|
16
|
-
- "
|
|
16
|
+
- "Dependencies"
|
|
@@ -21,5 +21,5 @@ jobs:
|
|
|
21
21
|
[{"type":"feat","section":"Features","hidden":false},
|
|
22
22
|
{"type":"fix","section":"Bug Fixes","hidden":false},
|
|
23
23
|
{"type":"docs","section":"Documentation","hidden":false},
|
|
24
|
-
{"type":"deps","section":"
|
|
24
|
+
{"type":"deps","section":"Dependencies","hidden":false},
|
|
25
25
|
{"type":"chore","hidden":true}]
|
|
@@ -21,6 +21,7 @@ const repoFiles = {
|
|
|
21
21
|
'.github/CODEOWNERS': './CODEOWNERS',
|
|
22
22
|
'.github/dependabot.yml': './dependabot.yml',
|
|
23
23
|
'.github/workflows/audit.yml': './audit.yml',
|
|
24
|
+
'.github/workflows/codeql-analysis.yml': './codeql-analysis.yml',
|
|
24
25
|
'.github/workflows/pull-request.yml': './pull-request.yml',
|
|
25
26
|
'.github/workflows/release-please.yml': './release-please.yml',
|
|
26
27
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npmcli/template-oss",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "templated files used in npm CLI team oss projects",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"author": "GitHub Inc.",
|
|
32
32
|
"license": "ISC",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@npmcli/fs": "^1.
|
|
34
|
+
"@npmcli/fs": "^1.1.0",
|
|
35
35
|
"@npmcli/map-workspaces": "^2.0.0",
|
|
36
36
|
"@npmcli/package-json": "^1.0.1",
|
|
37
37
|
"json-parse-even-better-errors": "^2.3.1",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@npmcli/eslint-config": "*",
|
|
46
46
|
"@npmcli/promise-spawn": "^2.0.0",
|
|
47
47
|
"@npmcli/template-oss": "file:./",
|
|
48
|
-
"eslint": "^8.
|
|
48
|
+
"eslint": "^8.8.0",
|
|
49
49
|
"eslint-plugin-node": "^11.1.0",
|
|
50
50
|
"tap": "*"
|
|
51
51
|
},
|