@daiyam/artifact-lang-js 0.10.1 → 0.10.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daiyam/artifact-lang-js",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "The base configuration for my javascript projects",
5
5
  "author": {
6
6
  "name": "Baptiste Augrain",
@@ -31,5 +31,5 @@
31
31
  "project-template",
32
32
  "scaffold"
33
33
  ],
34
- "gitHead": "5e6fc473f959bb218d6d5c1b37bb99f0182e0e3d"
34
+ "gitHead": "6c3e6970d79755e6a60f51a0653fc66702973eb2"
35
35
  }
@@ -1,10 +1,14 @@
1
1
  name: Check PR
2
+
2
3
  on:
3
4
  pull_request:
4
- branches: [ master ]
5
+ branches:
6
+ - master
5
7
  paths-ignore:
6
- - '**/*.md'
8
+ - "**/*.md"
9
+
7
10
  permissions: {}
11
+
8
12
  jobs:
9
13
  check:
10
14
  runs-on: ubuntu-latest
@@ -14,22 +18,28 @@ jobs:
14
18
  with:
15
19
  fetch-depth: 0
16
20
  persist-credentials: false
21
+
17
22
  - name: Setup Node.js environment
18
23
  uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
19
24
  with:
20
- node-version-file: '.nvmrc'
25
+ node-version-file: .nvmrc
26
+
21
27
  - name: Install dependencies
22
28
  run: |
23
29
  npm ci
30
+
24
31
  - name: Build
25
32
  run: |
26
33
  npm run build
34
+
27
35
  - name: Test
28
36
  run: |
29
37
  npm run test
38
+
30
39
  - name: Lint code
31
40
  run: |
32
41
  npm run lint
42
+
33
43
  - name: Lint commit
34
44
  run: |
35
45
  npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
@@ -1,11 +1,14 @@
1
1
  name: Lock Closed Threads
2
+
2
3
  on:
3
4
  schedule:
4
- - cron: '0 2 * * *'
5
+ - cron: 0 2 * * *
6
+
5
7
  permissions:
6
8
  issues: write
7
9
  pull-requests: write
8
10
  discussions: write
11
+
9
12
  jobs:
10
13
  lock:
11
14
  runs-on: ubuntu-latest
@@ -13,7 +16,7 @@ jobs:
13
16
  - uses: dessant/lock-threads@7266a7ce5c1df01b1c6db85bf8cd86c737dadbe7 # v6.0.0
14
17
  with:
15
18
  github-token: ${{ github.token }}
16
- issue-inactive-days: '90'
17
- pr-inactive-days: '90'
18
- discussion-inactive-days: '90'
19
+ issue-inactive-days: "90"
20
+ pr-inactive-days: "90"
21
+ discussion-inactive-days: "90"
19
22
  log-output: true
@@ -1,9 +1,12 @@
1
1
  name: Stale Issues & PR
2
+
2
3
  on:
3
4
  schedule:
4
5
  - cron: 0 1 * * *
6
+
5
7
  permissions:
6
8
  issues: write
9
+
7
10
  jobs:
8
11
  stale:
9
12
  runs-on: ubuntu-latest
@@ -13,15 +16,11 @@ jobs:
13
16
  days-before-stale: 90
14
17
  days-before-close: 30
15
18
  operations-per-run: 1024
16
- stale-issue-message: >
17
- This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment!
18
- close-issue-message: >
19
- This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.
19
+ stale-issue-message: This issue has been automatically marked as stale. **If this issue is still affecting you, please leave any comment**, and we'll keep it open. If you have any new additional information, please include it with your comment!
20
+ close-issue-message: This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue, please open a new issue.
20
21
  stale-issue-label: S-stale
21
22
  close-issue-label: S-abandoned
22
- stale-pr-message: >
23
- This PR has been automatically marked as stale.
24
- close-pr-message: >
25
- This PR has been closed due to inactivity, and will not be monitored.
23
+ stale-pr-message: This PR has been automatically marked as stale.
24
+ close-pr-message: This PR has been closed due to inactivity, and will not be monitored.
26
25
  stale-pr-label: S-stale
27
26
  close-pr-label: S-abandoned
@@ -1,10 +1,15 @@
1
1
  name: GitHub Actions Security Analysis with zizmor
2
+
2
3
  on:
3
4
  push:
4
- branches: [ master ]
5
+ branches:
6
+ - master
5
7
  pull_request:
6
- branches: [ "**" ]
8
+ branches:
9
+ - "**"
10
+
7
11
  permissions: {}
12
+
8
13
  jobs:
9
14
  zizmor:
10
15
  runs-on: ubuntu-latest
@@ -15,5 +20,6 @@ jobs:
15
20
  uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
16
21
  with:
17
22
  persist-credentials: false
23
+
18
24
  - name: Run zizmor
19
25
  uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "scripts": {
3
- "ci:pinact": "PINACT_MIN_AGE=7 pinact run",
4
- "ci:zizmor": "zizmor .",
5
- "ci:zizmor:fix": "zizmor . --fix=all",
3
+ "ci:lint": "zizmor .",
4
+ "ci:lint:fix": "zizmor . --fix=all",
5
+ "ci:update": "PINACT_MIN_AGE=7 pinact run",
6
6
  "deps:update": "taze",
7
7
  "prepare": "husky; fixpack || true"
8
8
  },