-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from thkruz/develop
Version 4.0.0
- Loading branch information
Showing
306 changed files
with
11,107 additions
and
1,983,358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"output": "CHANGELOG.md", | ||
"template": "changelog.hbs", | ||
"package": true, | ||
"hideCredit": true, | ||
"tagPrefix": "v", | ||
"commitLimit": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
/dist | ||
/lib | ||
/src/sgp4/asc | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,78 +3,75 @@ name: CI | |
on: [pull_request] | ||
|
||
jobs: | ||
build: | ||
compliance: | ||
name: NPM Audit Report | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Load cached modules | ||
uses: actions/cache@v2 | ||
# Checkout Code | ||
- name: Checkout Code | ||
uses: actions/checkout@v4 | ||
# Audit Package.json | ||
- name: NPM Audit Action | ||
uses: oke-py/npm-audit-action@main | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
lint: | ||
needs: compliance | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
- name: Load Node.js latest | ||
uses: actions/setup-node@v2-beta | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '17.x' | ||
node-version: '20.x' | ||
|
||
- name: Install all dependencies | ||
run: npm install | ||
- run: npm ci --ignore-scripts | ||
|
||
- name: Compile TypeScript and build UMD files | ||
run: npm run build | ||
|
||
lint: | ||
name: lint | ||
needs: build | ||
- run: npm run lint | ||
build: | ||
needs: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js latest | ||
uses: actions/setup-node@v2-beta | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '17.x' | ||
node-version: '20.x' | ||
|
||
- name: Get cached modules | ||
uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
**/lib | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Run ESLint | ||
run: npm run lint | ||
- run: npm ci --ignore-scripts | ||
|
||
test-coverage: | ||
name: test-coverage | ||
- run: npm run build | ||
test: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
|
||
- name: Use Node.js latest | ||
uses: actions/setup-node@v2-beta | ||
- uses: actions/[email protected] | ||
with: | ||
node-version: '17.x' | ||
node-version: '20.x' | ||
|
||
- name: Get cached modules | ||
uses: actions/cache@v2 | ||
- uses: actions/cache@v3 | ||
env: | ||
cache-name: cache-node-modules | ||
with: | ||
path: | | ||
**/node_modules | ||
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }} | ||
|
||
- name: Compile TypeScript and build UMD files | ||
run: npm run build | ||
**/lib | ||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | ||
restore-keys: | | ||
${{ runner.os }}-node- | ||
- name: Build coverage | ||
run: npm run test:coverage | ||
- run: npm ci --ignore-scripts | ||
|
||
- name: Run codecov | ||
run: node ./node_modules/.bin/codecov | ||
- name: Test | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
.idea | ||
.vscode | ||
.vscode/settings.json | ||
coverage | ||
dist | ||
lib | ||
node_modules | ||
*.log | ||
|
||
built | ||
|
||
test/performance | ||
test/satellite/transform* | ||
test/sgp4/sgp4prop | ||
|
||
# Future assembly work | ||
asc | ||
.asc | ||
|
||
**/**.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,22 @@ | ||
# Directories | ||
.github | ||
.vscode | ||
coverage | ||
examples | ||
node_modules | ||
scripts | ||
src/* | ||
test | ||
.babelrc | ||
|
||
# Files | ||
.auto-changelog | ||
.eslintignore | ||
.eslintrc | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
babel.config.cjs | ||
changelog.hbs | ||
jest.config.ts | ||
package-lock.json | ||
tsconfig.json | ||
tsconfig.* | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.