Compare commits

..

No commits in common. "main" and "v2023.02.03" have entirely different histories.

4 changed files with 5 additions and 16 deletions

View file

@ -4,7 +4,7 @@ on:
types: [created] types: [created]
jobs: jobs:
Publish-NPM: Publish-NPM:
runs-on: node1 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -14,10 +14,6 @@ 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:
@ -26,7 +22,7 @@ jobs:
REGISTRY2: 'registry=https://registry.npmjs.org/' REGISTRY2: 'registry=https://registry.npmjs.org/'
Publish-GitHub-NPM: Publish-GitHub-NPM:
runs-on: node1 runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -36,10 +32,6 @@ 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:

3
.gitignore vendored
View file

@ -102,6 +102,3 @@ dist
# TernJS port file # TernJS port file
.tern-port .tern-port
package-lock.json
build

View file

@ -1,11 +1,11 @@
{ {
"name": "@thundernetworkrad/time", "name": "@thundernetworkrad/time",
"version": "2023.02.05-1", "version": "2023.02.03",
"description": "Time Modules for NPM", "description": "Time Modules for NPM",
"main": "build/index.js", "main": "build/index.js",
"types": "build/index.d.ts", "types": "build/index.d.ts",
"scripts": { "scripts": {
"build": "tsc" "install": "tsc"
}, },
"repository": "https://github.com/ThunderNetworkRaD/node-time", "repository": "https://github.com/ThunderNetworkRaD/node-time",
"author": "ThunderNetworkRaD | Killer Boss Original", "author": "ThunderNetworkRaD | Killer Boss Original",

View file

@ -26,7 +26,7 @@
/* Modules */ /* Modules */
"module": "CommonJS", /* Specify what module code is generated. */ "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. */ "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. */