Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Development #21

Merged
merged 33 commits into from
Apr 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
549f5fc
refactor: :label: improve typing and documentation of radec observations
thkruz Jan 17, 2024
166db14
1.0.6
thkruz Jan 17, 2024
94dc010
build: :construction_worker: add auto build when updating version number
thkruz Jan 17, 2024
c4c86ef
fix: :label: fix typo in package.json
thkruz Jan 17, 2024
e9e4e35
1.0.7
thkruz Jan 17, 2024
b0719df
refactor: :fire: remove uneeded type
thkruz Jan 17, 2024
42e4c4a
test: :adhesive_bandage: fix type in test
thkruz Jan 17, 2024
21c2b7b
fix: :sparkles: add missing lla function
thkruz Jan 17, 2024
bd39ed4
refactor: :fire: move derivative function to ootk
thkruz Jan 17, 2024
d4015d0
test: :white_check_mark: update snapshots
thkruz Jan 17, 2024
b11f4fa
1.0.8
thkruz Jan 17, 2024
028a801
refactor: :adhesive_bandage: fix import statements
thkruz Jan 17, 2024
d360ce8
1.0.9
thkruz Jan 17, 2024
cba039d
fix: :bug: fix missing name property on GroundObjects
thkruz Jan 19, 2024
bbbdbad
1.0.10
thkruz Jan 19, 2024
2b3ba86
fix: :bug: fix output type being expected as input type
thkruz Jan 20, 2024
ab40e2b
1.0.11
thkruz Jan 20, 2024
ff410bd
feat: :sparkles: add toJ2000 method to sensor class
thkruz Jan 21, 2024
644e9ef
feat: :sparkles: add editTle method to satellite class
thkruz Jan 21, 2024
4a51899
1.1.0
thkruz Jan 21, 2024
c16fe23
refactor: :label: add correct type output to FormatTle
thkruz Jan 24, 2024
79817b2
refactor: :recycle: move latRad and lonRad to GroundObject class
thkruz Jan 24, 2024
ae8fa2a
1.1.1
thkruz Jan 24, 2024
eae7a33
refactor: :recycle: add default id
thkruz Feb 19, 2024
0453c0a
refactor: :recycle: allow null rcs and vmag
thkruz Feb 19, 2024
3563ae2
1.1.2
thkruz Feb 19, 2024
12cce99
feat: :sparkles: add node support
thkruz Mar 24, 2024
8aa5af9
1.2.0
thkruz Mar 24, 2024
7da8317
fix: :bug: fix incorrect international designator formatting
thkruz Mar 30, 2024
01caccb
1.2.1
thkruz Mar 30, 2024
971a5a0
fix: :bug: fix bug where missing intlDes data returns NaN
thkruz Apr 4, 2024
d766351
1.2.2
thkruz Apr 4, 2024
0efa851
fix: :rotating_light: fix minor linter error
thkruz Apr 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
],
"extensions": {
"recommendations": [
"prettier.prettier-vscode",
"dbaeumer.vscode-eslint",
"steoates.autoimport",
"vivaxy.vscode-conventional-commits",
Expand Down
80 changes: 79 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,85 @@
This is an automatic changelog that automatically records all changes made to the project. Generated from Git commit
messages, it details updates like bug fixes and new features, providing a clear history of the project's development.

#### [1.0.5](https://github.com/thkruz/ootk-core/compare/v1.0.4...1.0.5)
#### [1.2.2](https://github.com/thkruz/ootk-core/compare/v1.2.1...1.2.2)

- fix: :bug: fix bug where missing intlDes data returns NaN [`971a5a0`](https://github.com/thkruz/ootk-core/commit/971a5a0b70e7535ab970198e5d7d47b11877ac32)

#### [v1.2.1](https://github.com/thkruz/ootk-core/compare/v1.2.0...v1.2.1)

> 30 March 2024

- fix: :bug: fix incorrect international designator formatting [`7da8317`](https://github.com/thkruz/ootk-core/commit/7da831761eace14701d32ae98a79462d5ac4a104)

#### [v1.2.0](https://github.com/thkruz/ootk-core/compare/v1.1.2...v1.2.0)

> 24 March 2024

- feat: :sparkles: add node support [`12cce99`](https://github.com/thkruz/ootk-core/commit/12cce99ec3dbf8237d04dd4797d3c04786cf4770)

#### [v1.1.2](https://github.com/thkruz/ootk-core/compare/v1.1.1...v1.1.2)

> 19 February 2024

- refactor: :recycle: add default id [`eae7a33`](https://github.com/thkruz/ootk-core/commit/eae7a33f65b3d67f4b3025af1943b34ef964372d)
- refactor: :recycle: allow null rcs and vmag [`0453c0a`](https://github.com/thkruz/ootk-core/commit/0453c0a3b05cc6b1a012301fd909f8a31925e7ec)

#### [v1.1.1](https://github.com/thkruz/ootk-core/compare/v1.1.0...v1.1.1)

> 24 January 2024

- refactor: :recycle: move latRad and lonRad to GroundObject class [`79817b2`](https://github.com/thkruz/ootk-core/commit/79817b27b9e0307cd424e1264c9104c1d8b92a1d)
- refactor: :label: add correct type output to FormatTle [`c16fe23`](https://github.com/thkruz/ootk-core/commit/c16fe23a4af79a9ad0aa063b6e0298bea5c1c116)

#### [v1.1.0](https://github.com/thkruz/ootk-core/compare/v1.0.11...v1.1.0)

> 21 January 2024

- feat: :sparkles: add editTle method to satellite class [`644e9ef`](https://github.com/thkruz/ootk-core/commit/644e9ef5d8aaff6302e7eea4cf1f320e0c049c2d)
- feat: :sparkles: add toJ2000 method to sensor class [`ff410bd`](https://github.com/thkruz/ootk-core/commit/ff410bd41cab7e78f5af99bcde6f363db52e0f1f)

#### [v1.0.11](https://github.com/thkruz/ootk-core/compare/v1.0.10...v1.0.11)

> 20 January 2024

- fix: :bug: fix output type being expected as input type [`2b3ba86`](https://github.com/thkruz/ootk-core/commit/2b3ba86b9afb4ddaeae023e464db748838ebe46f)

#### [v1.0.10](https://github.com/thkruz/ootk-core/compare/v1.0.9...v1.0.10)

> 19 January 2024

- fix: :bug: fix missing name property on GroundObjects [`cba039d`](https://github.com/thkruz/ootk-core/commit/cba039d41a7377f6073d23cd97a2cc155f3d08f0)

#### [v1.0.9](https://github.com/thkruz/ootk-core/compare/v1.0.8...v1.0.9)

> 17 January 2024

- refactor: :adhesive_bandage: fix import statements [`028a801`](https://github.com/thkruz/ootk-core/commit/028a80113a27465c215d368180adf12ccf9f7b4d)

#### [v1.0.8](https://github.com/thkruz/ootk-core/compare/v1.0.7...v1.0.8)

> 17 January 2024

- refactor: :fire: move derivative function to ootk [`bd39ed4`](https://github.com/thkruz/ootk-core/commit/bd39ed4133d7c63b9a5e8804659e356f8e67b8e1)
- test: :adhesive_bandage: fix type in test [`42e4c4a`](https://github.com/thkruz/ootk-core/commit/42e4c4aef0096b983bc907fdd91b981917f30d6c)
- fix: :sparkles: add missing lla function [`21c2b7b`](https://github.com/thkruz/ootk-core/commit/21c2b7b9ffb295dd99220de10a45d02dc4a22c64)
- refactor: :fire: remove uneeded type [`b0719df`](https://github.com/thkruz/ootk-core/commit/b0719df9ef712534312d251823f731a2a362cc33)
- test: :white_check_mark: update snapshots [`d4015d0`](https://github.com/thkruz/ootk-core/commit/d4015d0e3f2766f3f2fafc2700d77d74dcb541b2)

#### [v1.0.7](https://github.com/thkruz/ootk-core/compare/v1.0.6...v1.0.7)

> 17 January 2024

- build: :construction_worker: add auto build when updating version number [`94dc010`](https://github.com/thkruz/ootk-core/commit/94dc0102bcbfaa276d25993f68810d8ce43fa856)
- fix: :label: fix typo in package.json [`c4c86ef`](https://github.com/thkruz/ootk-core/commit/c4c86efcba345c6d15ca47ff8367dfbd7c8063e5)

#### [v1.0.6](https://github.com/thkruz/ootk-core/compare/v1.0.5...v1.0.6)

> 17 January 2024

- refactor: :label: improve typing and documentation of radec observations [`549f5fc`](https://github.com/thkruz/ootk-core/commit/549f5fce610f343ee34a69e4283dead4941dff23)

#### [v1.0.5](https://github.com/thkruz/ootk-core/compare/v1.0.4...v1.0.5)

#### [v1.0.4](https://github.com/thkruz/ootk-core/compare/v1.0.3...v1.0.4)

Expand Down
7 changes: 6 additions & 1 deletion babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ module.exports = {
},
},
],
'@babel/preset-typescript',
[
'@babel/preset-typescript', {
'rewriteImportExtensions': true,
},
],
],
compact: 'auto',

};
11 changes: 11 additions & 0 deletions examples/node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import {Satellite} from '../dist/main.js';

const tle1 = '1 56006U 23042W 24012.45049317 .00000296 00000-0 36967-4 0 9992';
const tle2 = '2 56006 43.0043 13.3620 0001137 267.5965 92.4747 15.02542972 44491';
const satellite = new Satellite({
tle1,
tle2,
});

// eslint-disable-next-line no-console
console.log(satellite);
12 changes: 11 additions & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
const jestConfig = {
testEnvironment: 'node',
extensionsToTreatAsEsm: ['.ts'],
moduleNameMapper: {
'^(\\.{1,2}/.*)\\.js$': '$1',
},
transform: {
'\\.(js|ts|jsx|tsx)$': 'babel-jest',
'^.+\\.jsx?$': 'babel-jest',
'^.+\\.tsx?$': [
'ts-jest',
{
useESM: true,
},
],
},
testMatch: ['**/test/**/?(*.)+(spec|test).?(m)[jt]s?(x)'],
moduleFileExtensions: ['js', 'mjs', 'ts'],
Expand Down
Loading
Loading