ts-node-client 3.2.0 → 3.2.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/.editorconfig CHANGED
@@ -1,10 +1,10 @@
1
- root = true
2
-
3
- [*]
4
- end_of_line = lf
5
- insert_final_newline = true
6
-
7
- [*.{js,json,yml}]
8
- charset = utf-8
9
- indent_style = space
10
- indent_size = 2
1
+ root = true
2
+
3
+ [*]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [*.{js,json,yml}]
8
+ charset = utf-8
9
+ indent_style = space
10
+ indent_size = 2
package/.eslintrc.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "extends": [
3
- "airbnb-base",
4
- "plugin:sonarjs/recommended"
5
- ],
6
- "plugins": [
7
- "sonarjs"
8
- ],
9
- "env": {
10
- "node": true
11
- },
12
- "rules": {
13
- "no-console": [ "off" ],
14
- "indent": [ "error", 4 ],
15
- "max-len": [ "error", { "code": 140 }],
16
- "no-multiple-empty-lines": [ "error", { "max": 2 }],
17
- "no-var": [ "warn" ],
18
- "prefer-rest-params": ["warn"],
19
- "vars-on-top": ["warn"],
20
- "no-param-reassign": [ "off" ],
21
- "no-use-before-define": [ "off" ],
22
- "newline-per-chained-call": [ "off" ],
23
- "comma-dangle": [ "error", "never" ],
24
- "linebreak-style": ["off"],
25
- "quotes": [ "error", "single" ],
26
- "sonarjs/cognitive-complexity": ["error", 40]
27
- }
28
- }
29
-
1
+ {
2
+ "extends": [
3
+ "airbnb-base",
4
+ "plugin:sonarjs/recommended"
5
+ ],
6
+ "plugins": [
7
+ "sonarjs"
8
+ ],
9
+ "env": {
10
+ "node": true
11
+ },
12
+ "rules": {
13
+ "no-console": [ "off" ],
14
+ "indent": [ "error", 4 ],
15
+ "max-len": [ "error", { "code": 140 }],
16
+ "no-multiple-empty-lines": [ "error", { "max": 2 }],
17
+ "no-var": [ "warn" ],
18
+ "prefer-rest-params": ["warn"],
19
+ "vars-on-top": ["warn"],
20
+ "no-param-reassign": [ "off" ],
21
+ "no-use-before-define": [ "off" ],
22
+ "newline-per-chained-call": [ "off" ],
23
+ "comma-dangle": [ "error", "never" ],
24
+ "linebreak-style": ["off"],
25
+ "quotes": [ "error", "single" ],
26
+ "sonarjs/cognitive-complexity": ["error", 40]
27
+ }
28
+ }
29
+
package/.gitattributes CHANGED
@@ -1,4 +1,4 @@
1
- /.yarn/** linguist-vendored
2
- /.yarn/releases/* binary
3
- /.yarn/plugins/**/* binary
4
- /.pnp.* binary linguist-generated
1
+ /.yarn/** linguist-vendored
2
+ /.yarn/releases/* binary
3
+ /.yarn/plugins/**/* binary
4
+ /.pnp.* binary linguist-generated
@@ -1,71 +1,71 @@
1
- # For most projects, this workflow file will not need changing; you simply need
2
- # to commit it to your repository.
3
- #
4
- # You may wish to alter this file to override the set of languages analyzed,
5
- # or to provide custom queries or build logic.
6
- #
7
- # ******** NOTE ********
8
- # We have attempted to detect the languages in your repository. Please check
9
- # the `language` matrix defined below to confirm you have the correct set of
10
- # supported CodeQL languages.
11
- #
12
- name: "CodeQL"
13
-
14
- on:
15
- push:
16
- branches: [ master ]
17
- pull_request:
18
- # The branches below must be a subset of the branches above
19
- branches: [ master ]
20
- schedule:
21
- - cron: '39 23 * * 1-5'
22
-
23
- jobs:
24
- analyze:
25
- name: Analyze
26
- runs-on: ubuntu-latest
27
- permissions:
28
- actions: read
29
- contents: read
30
- security-events: write
31
-
32
- strategy:
33
- fail-fast: false
34
- matrix:
35
- language: [ 'javascript' ]
36
- # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
- # Learn more:
38
- # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
-
40
- steps:
41
- - name: Checkout repository
42
- uses: actions/checkout@v2
43
-
44
- # Initializes the CodeQL tools for scanning.
45
- - name: Initialize CodeQL
46
- uses: github/codeql-action/init@v1
47
- with:
48
- languages: ${{ matrix.language }}
49
- # If you wish to specify custom queries, you can do so here or in a config file.
50
- # By default, queries listed here will override any specified in a config file.
51
- # Prefix the list here with "+" to use these queries and those in the config file.
52
- # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
-
54
- # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
- # If this step fails, then you should remove it and run the build manually (see below)
56
- - name: Autobuild
57
- uses: github/codeql-action/autobuild@v1
58
-
59
- # ℹ️ Command-line programs to run using the OS shell.
60
- # 📚 https://git.io/JvXDl
61
-
62
- # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
- # and modify them (or add more) to build your code if your project
64
- # uses a compiled language
65
-
66
- #- run: |
67
- # make bootstrap
68
- # make release
69
-
70
- - name: Perform CodeQL Analysis
71
- uses: github/codeql-action/analyze@v1
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ master ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ master ]
20
+ schedule:
21
+ - cron: '39 23 * * 1-5'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'javascript' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37
+ # Learn more:
38
+ # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39
+
40
+ steps:
41
+ - name: Checkout repository
42
+ uses: actions/checkout@v2
43
+
44
+ # Initializes the CodeQL tools for scanning.
45
+ - name: Initialize CodeQL
46
+ uses: github/codeql-action/init@v1
47
+ with:
48
+ languages: ${{ matrix.language }}
49
+ # If you wish to specify custom queries, you can do so here or in a config file.
50
+ # By default, queries listed here will override any specified in a config file.
51
+ # Prefix the list here with "+" to use these queries and those in the config file.
52
+ # queries: ./path/to/local/query, your-org/your-repo/queries@main
53
+
54
+ # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55
+ # If this step fails, then you should remove it and run the build manually (see below)
56
+ - name: Autobuild
57
+ uses: github/codeql-action/autobuild@v1
58
+
59
+ # ℹ️ Command-line programs to run using the OS shell.
60
+ # 📚 https://git.io/JvXDl
61
+
62
+ # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63
+ # and modify them (or add more) to build your code if your project
64
+ # uses a compiled language
65
+
66
+ #- run: |
67
+ # make bootstrap
68
+ # make release
69
+
70
+ - name: Perform CodeQL Analysis
71
+ uses: github/codeql-action/analyze@v1
@@ -0,0 +1,32 @@
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
+ # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3
+
4
+ name: Publish Package to npmjs
5
+
6
+ on: [push, pull_request]
7
+
8
+ jobs:
9
+ publish:
10
+
11
+ if: github.ref == 'refs/heads/main'
12
+ runs-on: ubuntu-latest
13
+
14
+ strategy:
15
+ matrix:
16
+ include:
17
+ - node-version: 16.x
18
+
19
+ steps:
20
+ - uses: actions/checkout@v3
21
+ - name: Use Node.js ${{ matrix.node-version }}
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: ${{ matrix.node-version }}
25
+ registry-url: 'https://registry.npmjs.org'
26
+ - name: Install yarn
27
+ run: npm install --global yarn
28
+ - name: Install dependencies
29
+ run: yarn
30
+ - run: yarn publish
31
+ env:
32
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.travis.yml CHANGED
@@ -1,12 +1,12 @@
1
- language: node_js
2
- node_js:
3
- - "8"
4
- - "10"
5
- - "12"
6
- - "14"
7
- - "node"
8
-
9
- before_install: npm install -g mocha
10
- script: mocha
11
-
12
-
1
+ language: node_js
2
+ node_js:
3
+ - "8"
4
+ - "10"
5
+ - "12"
6
+ - "14"
7
+ - "node"
8
+
9
+ before_install: npm install -g mocha
10
+ script: mocha
11
+
12
+
package/CHANGELOG.md CHANGED
@@ -1,46 +1,58 @@
1
- # ts-node-client
2
-
3
- ## Changelog
4
-
5
- All notable changes to this project will be documented in this file.
6
-
7
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
-
10
-
11
- ## 3.2.0 - 2023-08-01
12
-
13
- ### Added
14
- * support package-lock.json v.3
15
-
16
- ### Changed
17
- * bump dependencies
18
-
19
-
20
- ## 3.1.0 - 2023-04-20
21
-
22
- ### Added
23
- * support for yarn v2+ lock files
24
-
25
- ### Changed
26
- * project migrated to yarn 3.5
27
-
28
-
29
- ## 3.0.1 - 2023-02-08
30
-
31
- ### Changed
32
- * docs updated
33
-
34
-
35
- ## 3.0.0 - 2023-02-08
36
-
37
- ### Changed
38
- * `npm.ls` cli -> `package-lock.json` or `package.json` or `yarn.lock` parse
39
- * npm removed
40
- * updated dependencies
41
-
42
-
43
- ## 2.1.3 - 2022-12-26
44
-
45
- ### Changed
46
- * Migrate versions of dependencies
1
+ # ts-node-client
2
+
3
+ ## Changelog
4
+
5
+ All notable changes to this project will be documented in this file.
6
+
7
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
9
+
10
+
11
+ ## 3.2.2 - 2023-09-06
12
+
13
+ ### Added
14
+ * Automatically publish releases from main branch
15
+
16
+
17
+ ## 3.2.1 - 2023-08-14
18
+
19
+ ### Fixed
20
+ * --includeDevDependencies false now properly disables devDependencies
21
+
22
+
23
+ ## 3.2.0 - 2023-08-01
24
+
25
+ ### Added
26
+ * support package-lock.json v.3
27
+
28
+ ### Changed
29
+ * bump dependencies
30
+
31
+
32
+ ## 3.1.0 - 2023-04-20
33
+
34
+ ### Added
35
+ * support for yarn v2+ lock files
36
+
37
+ ### Changed
38
+ * project migrated to yarn 3.5
39
+
40
+
41
+ ## 3.0.1 - 2023-02-08
42
+
43
+ ### Changed
44
+ * docs updated
45
+
46
+
47
+ ## 3.0.0 - 2023-02-08
48
+
49
+ ### Changed
50
+ * `npm.ls` cli -> `package-lock.json` or `package.json` or `yarn.lock` parse
51
+ * npm removed
52
+ * updated dependencies
53
+
54
+
55
+ ## 2.1.3 - 2022-12-26
56
+
57
+ ### Changed
58
+ * Migrate versions of dependencies