Compare commits
5 commits
v2023.02.0
...
main
Author | SHA1 | Date | |
---|---|---|---|
ae9ef7bf08 | |||
e323c1a6ea | |||
7b6885d9c6 | |||
|
627a39df98 | ||
|
8075025bb2 |
4 changed files with 21 additions and 9 deletions
12
.github/workflows/npm-publish.yml
vendored
12
.github/workflows/npm-publish.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
||||||
types: [created]
|
types: [created]
|
||||||
jobs:
|
jobs:
|
||||||
Publish-NPM:
|
Publish-NPM:
|
||||||
runs-on: ubuntu-latest
|
runs-on: node1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -14,6 +14,10 @@ jobs:
|
||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
scope: '@thundernetworkrad'
|
scope: '@thundernetworkrad'
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm i
|
||||||
|
- name: Build
|
||||||
|
run: npm run build
|
||||||
- name: Publish package on NPM 📦
|
- name: Publish package on NPM 📦
|
||||||
run: npm publish --access public
|
run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
|
@ -22,7 +26,7 @@ jobs:
|
||||||
REGISTRY2: 'registry=https://registry.npmjs.org/'
|
REGISTRY2: 'registry=https://registry.npmjs.org/'
|
||||||
|
|
||||||
Publish-GitHub-NPM:
|
Publish-GitHub-NPM:
|
||||||
runs-on: ubuntu-latest
|
runs-on: node1
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -32,6 +36,10 @@ jobs:
|
||||||
node-version: '16.x'
|
node-version: '16.x'
|
||||||
registry-url: 'https://npm.pkg.github.com'
|
registry-url: 'https://npm.pkg.github.com'
|
||||||
scope: '@thundernetworkrad'
|
scope: '@thundernetworkrad'
|
||||||
|
- name: Install Dependencies
|
||||||
|
run: npm i
|
||||||
|
- name: Build
|
||||||
|
run: npm run build
|
||||||
- name: Publish package on NPM 📦
|
- name: Publish package on NPM 📦
|
||||||
run: npm publish --access public
|
run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
|
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -102,3 +102,7 @@ dist
|
||||||
|
|
||||||
# TernJS port file
|
# TernJS port file
|
||||||
.tern-port
|
.tern-port
|
||||||
|
|
||||||
|
|
||||||
|
build
|
||||||
|
package-lock.json
|
10
package.json
10
package.json
|
@ -1,11 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "@thundernetworkrad/logs",
|
"name": "@thundernetworkrad/logs",
|
||||||
"version": "2023.02.03",
|
"version": "2023.02.05-1",
|
||||||
"description": "Logging module for JavaScript / TypeScript",
|
"description": "Logging module for JavaScript / TypeScript",
|
||||||
"main": "build/index.js",
|
"main": "build/index.js",
|
||||||
"types": "build/index.d.ts",
|
"types": "build/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"install": "tsc"
|
"build": "tsc"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -18,9 +18,9 @@
|
||||||
},
|
},
|
||||||
"homepage": "https://github.com/ThunderNetworkRaD/node-logs#readme",
|
"homepage": "https://github.com/ThunderNetworkRaD/node-logs#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@thundernetworkrad/readline-sync": "^2023.1.26-2",
|
"@thundernetworkrad/time": "^2023.2.5-2",
|
||||||
|
"@types/node": "^18.11.18",
|
||||||
"tslib": "^2.5.0",
|
"tslib": "^2.5.0",
|
||||||
"typescript": "^4.9.4",
|
"typescript": "^4.9.4"
|
||||||
"@types/node": "^18.11.18"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
/* Modules */
|
/* Modules */
|
||||||
"module": "CommonJS", /* Specify what module code is generated. */
|
"module": "CommonJS", /* Specify what module code is generated. */
|
||||||
"rootDir": "./", /* Specify the root folder within your source files. */
|
"rootDir": "src", /* Specify the root folder within your source files. */
|
||||||
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
"moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
|
||||||
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
||||||
|
|
Loading…
Reference in a new issue