@beauraines/sprint-tracker 0.6.49 → 0.6.50
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/.github/workflows/publish.yml +9 -6
- package/.github/workflows/test.yaml +7 -3
- package/CHANGELOG.md +7 -0
- package/cmds/addSprint.js +2 -1
- package/package.json +3 -3
- package/src/addSprint.js +2 -1
|
@@ -6,12 +6,16 @@ on:
|
|
|
6
6
|
types: [completed]
|
|
7
7
|
branches: [master,main]
|
|
8
8
|
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
id-token: write
|
|
12
|
+
|
|
9
13
|
jobs:
|
|
10
14
|
publish-new-version:
|
|
11
15
|
runs-on: ubuntu-latest
|
|
12
16
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
|
13
17
|
steps:
|
|
14
|
-
- uses: actions/checkout@
|
|
18
|
+
- uses: actions/checkout@v6
|
|
15
19
|
with:
|
|
16
20
|
fetch-depth: '0'
|
|
17
21
|
- name: git setup
|
|
@@ -19,10 +23,11 @@ jobs:
|
|
|
19
23
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
|
20
24
|
git config --local user.name "github-actions[bot]"
|
|
21
25
|
- name: setup node
|
|
22
|
-
uses: actions/setup-node@
|
|
26
|
+
uses: actions/setup-node@v6
|
|
23
27
|
with:
|
|
24
|
-
node-version:
|
|
28
|
+
node-version: '24'
|
|
25
29
|
registry-url: 'https://registry.npmjs.org'
|
|
30
|
+
cache: 'npm'
|
|
26
31
|
- name: npm install
|
|
27
32
|
run: npm ci
|
|
28
33
|
|
|
@@ -42,12 +47,10 @@ jobs:
|
|
|
42
47
|
- name: Publish to NPM
|
|
43
48
|
if: steps.should_release.outcome == 'success'
|
|
44
49
|
run: npm publish
|
|
45
|
-
env:
|
|
46
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
47
50
|
|
|
48
51
|
- name: Push commits to GitHub
|
|
49
52
|
if: steps.should_release.outcome == 'success'
|
|
50
|
-
uses: ad-m/github-push-action@
|
|
53
|
+
uses: ad-m/github-push-action@v1.0.0
|
|
51
54
|
with:
|
|
52
55
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
53
56
|
branch: ${{ github.ref }}
|
|
@@ -6,6 +6,9 @@ on:
|
|
|
6
6
|
pull_request:
|
|
7
7
|
branches: [ main ]
|
|
8
8
|
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
9
12
|
jobs:
|
|
10
13
|
build:
|
|
11
14
|
|
|
@@ -13,14 +16,15 @@ jobs:
|
|
|
13
16
|
|
|
14
17
|
strategy:
|
|
15
18
|
matrix:
|
|
16
|
-
node-version: ['
|
|
19
|
+
node-version: ['20.x', '22.x']
|
|
17
20
|
|
|
18
21
|
steps:
|
|
19
|
-
- uses: actions/checkout@
|
|
22
|
+
- uses: actions/checkout@v6
|
|
20
23
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
21
|
-
uses: actions/setup-node@
|
|
24
|
+
uses: actions/setup-node@v6
|
|
22
25
|
with:
|
|
23
26
|
node-version: ${{ matrix.node-version }}
|
|
27
|
+
cache: 'npm'
|
|
24
28
|
- run: npm ci
|
|
25
29
|
- run: npm run lint
|
|
26
30
|
- run: npm run build --if-present
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.6.50](https://github.com/beauraines/sprint-tracker/compare/v0.6.49...v0.6.50) (2026-04-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** bump @azure/cosmos from 4.9.1 to 4.9.2 ([#121](https://github.com/beauraines/sprint-tracker/issues/121)) ([c8a900b](https://github.com/beauraines/sprint-tracker/commit/c8a900bae71fb779800a1dc14d3cb241a8db4a5c))
|
|
11
|
+
|
|
5
12
|
### [0.6.49](https://github.com/beauraines/sprint-tracker/compare/v0.6.48...v0.6.49) (2026-02-01)
|
|
6
13
|
|
|
7
14
|
### [0.6.48](https://github.com/beauraines/sprint-tracker/compare/v0.6.47...v0.6.48) (2026-02-01)
|
package/cmds/addSprint.js
CHANGED
|
@@ -104,6 +104,7 @@ const handler = async function () {
|
|
|
104
104
|
delete outcome.outcome_name
|
|
105
105
|
delete outcome.outcome_description
|
|
106
106
|
}
|
|
107
|
+
// eslint-disable-next-line no-useless-assignment
|
|
107
108
|
result = await db.insert(database,'sprint_outcomes',sprintOutcomes,['sprint_id','outcome_id'])
|
|
108
109
|
}
|
|
109
110
|
|
|
@@ -114,4 +115,4 @@ module.exports = {
|
|
|
114
115
|
desc,
|
|
115
116
|
builder,
|
|
116
117
|
handler
|
|
117
|
-
}
|
|
118
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@beauraines/sprint-tracker",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.50",
|
|
4
4
|
"description": "Database and R visualizations to track sprint performance",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"homepage": "https://github.com/beauraines/sprint-tracker#readme",
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@eslint/eslintrc": "^3.1.0",
|
|
35
|
-
"@eslint/js": "^
|
|
36
|
-
"eslint": "^
|
|
35
|
+
"@eslint/js": "^10.0.1",
|
|
36
|
+
"eslint": "^10.0.2",
|
|
37
37
|
"eslint-plugin-jest": "^29.12.0",
|
|
38
38
|
"globals": "^17.0.0",
|
|
39
39
|
"jest": "^30.2.0"
|
package/src/addSprint.js
CHANGED
|
@@ -85,6 +85,7 @@ async function main() {
|
|
|
85
85
|
console.log(sprintOutcomes)
|
|
86
86
|
|
|
87
87
|
// Save outcomes to DB
|
|
88
|
+
// eslint-disable-next-line no-useless-assignment
|
|
88
89
|
result = await db.insert(database,'sprint_outcomes',sprintOutcomes,['sprint_id','outcome_id'])
|
|
89
90
|
}
|
|
90
91
|
|
|
@@ -106,4 +107,4 @@ function promptForInput(items,promptText) {
|
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
return id
|
|
109
|
-
}
|
|
110
|
+
}
|