Compare commits
3 commits
v2023.02.0
...
main
Author | SHA1 | Date | |
---|---|---|---|
fb21212d89 | |||
1ec67f09d0 | |||
083e90a346 |
4 changed files with 16 additions and 5 deletions
12
.github/workflows/npm-publish.yml
vendored
12
.github/workflows/npm-publish.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
|||
types: [created]
|
||||
jobs:
|
||||
Publish-NPM:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: node1
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -14,6 +14,10 @@ jobs:
|
|||
node-version: '16.x'
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
scope: '@thundernetworkrad'
|
||||
- name: Install Dependencies
|
||||
run: npm i
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Publish package on NPM 📦
|
||||
run: npm publish --access public
|
||||
env:
|
||||
|
@ -22,7 +26,7 @@ jobs:
|
|||
REGISTRY2: 'registry=https://registry.npmjs.org/'
|
||||
|
||||
Publish-GitHub-NPM:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: node1
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
@ -32,6 +36,10 @@ jobs:
|
|||
node-version: '16.x'
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
scope: '@thundernetworkrad'
|
||||
- name: Install Dependencies
|
||||
run: npm i
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Publish package on NPM 📦
|
||||
run: npm publish --access public
|
||||
env:
|
||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -102,3 +102,6 @@ dist
|
|||
|
||||
# TernJS port file
|
||||
.tern-port
|
||||
|
||||
package-lock.json
|
||||
build
|
|
@ -1,11 +1,11 @@
|
|||
{
|
||||
"name": "@thundernetworkrad/time",
|
||||
"version": "2023.02.03",
|
||||
"version": "2023.02.05-1",
|
||||
"description": "Time Modules for NPM",
|
||||
"main": "build/index.js",
|
||||
"types": "build/index.d.ts",
|
||||
"scripts": {
|
||||
"install": "tsc"
|
||||
"build": "tsc"
|
||||
},
|
||||
"repository": "https://github.com/ThunderNetworkRaD/node-time",
|
||||
"author": "ThunderNetworkRaD | Killer Boss Original",
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
|
||||
/* Modules */
|
||||
"module": "CommonJS", /* Specify what module code is generated. */
|
||||
"rootDir": "./src/", /* 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. */
|
||||
// "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. */
|
||||
|
|
Loading…
Reference in a new issue