ts-node-client 3.3.0 → 3.3.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.
@@ -1,20 +1,25 @@
1
1
  # This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2
2
  # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
3
 
4
- name: Publish Package to npmjs
4
+ name: Publish package to npmjs.org
5
5
 
6
- on: [push, pull_request]
6
+ on:
7
+ push:
8
+ branches:
9
+ - 'main'
10
+ pull_request:
11
+ branches:
12
+ - 'main'
7
13
 
8
14
  jobs:
9
15
  publish:
10
16
 
11
- if: github.ref == 'refs/heads/main'
12
17
  runs-on: ubuntu-latest
13
18
 
14
19
  strategy:
15
20
  matrix:
16
21
  include:
17
- - node-version: 16.x
22
+ - node-version: 20.x
18
23
 
19
24
  steps:
20
25
  - uses: actions/checkout@v3
@@ -23,8 +28,6 @@ jobs:
23
28
  with:
24
29
  node-version: ${{ matrix.node-version }}
25
30
  registry-url: 'https://registry.npmjs.org'
26
- - name: Install yarn
27
- run: npm install --global yarn
28
31
  - name: Install dependencies
29
32
  run: yarn
30
33
  - run: yarn publish
@@ -0,0 +1,29 @@
1
+ name: Scan and upload to trustsource.io
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - '*.*.*'
7
+
8
+ jobs:
9
+ scan:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ include:
16
+ - node-version: 20.x
17
+
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ registry-url: 'https://registry.npmjs.org'
25
+ - name: Install dependencies
26
+ run: yarn
27
+ - name: Scan dependencies
28
+ run: yarn node ./bin/ts-node-client.js --branch main --tag $GITHUB_REF_NAME --project Scanner --url https://app.trustsource.io/ --apiKey ${{ secrets.TS_TOKEN }}
29
+
package/CHANGELOG.md CHANGED
@@ -8,6 +8,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
9
 
10
10
 
11
+ ## 3.3.2 - 2024-03-29
12
+
13
+ ### Changed
14
+ * update GithubActions to node 20.x
15
+
16
+
17
+ ## 3.3.1 - 2024-03-29
18
+
19
+ ### Changed
20
+ * automate dependency scans
21
+
22
+
11
23
  ## 3.3.0 - 2024-03-27
12
24
 
13
25
  ### Changed
package/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "ts-node-client",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "ts-node-client",
9
- "version": "3.3.0",
9
+ "version": "3.3.1",
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "@yarnpkg/lockfile": "1.1.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ts-node-client",
3
3
  "description": "npm / node module to transfer dependency information to TrustSource server.",
4
- "version": "3.3.0",
4
+ "version": "3.3.2",
5
5
  "homepage": "https://app.trustsource.io/",
6
6
  "author": {
7
7
  "name": "Oleksandr Dmukhovskyi",