Skip to content

Commit

Permalink
Merge pull request #2 from 0xStarcat/1.2.1
Browse files Browse the repository at this point in the history
1.2.1
  • Loading branch information
0xStarcat authored Nov 7, 2019
2 parents 58b3d63 + 68ebc46 commit d742a4c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 634 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## **v1.2.1**

##### Added

- Properly minify the code, decreasing bundle size from 537kb to 235kb.


## **v1.2.0**

##### Added
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Moshier's ephemeris is a set of formula written by Stephen Moshier that generate

The Jet Propulsion lab also has an ephemeris, which is only accessible via their website or a telnet connection. There's also the "Swiss Ephemeris", which is available for free until you hit a certain threshold.

Both of these popular ephemerides aren't as distributable as Moshier's. They're both essentially gigantic tables - dozens of MBs large - or otherwise hard to readily access (see: telnet connection). Moshier's, with its tiny size, is built for the modern web and can be implemented directly into something as small as a phone, raspberry pi, or any client side app.
Both of these popular ephemerides aren't as distributable as Moshier's. They're both essentially gigantic tables - dozens of MBs large - or otherwise hard to readily access (see: telnet connection). Moshier's, with its tiny size, is built for the modern web and can be implemented directly into something as small as a phone, raspberry pi, or any client side app. The minified build as of 1.2.1 is 235kb in size.

Moshier's Ephemeris is good from -3000 B.C.E - 3000 C.E. Its results are always within less than a degree of the other leading Ephemerii, making this a highly precise library.

Expand Down
628 changes: 0 additions & 628 deletions build/ephemeris-1.2.0.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions build/ephemeris-1.2.1.bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<div class="row">
<div class="col-12">
<h1 class="text-left">Ephemeris JS Demo</h1>
<h2>1.2.0</h2>
<h2>1.2.1</h2>
</div>
</div>
<div class="row">
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "ephemeris",
"version": "1.2.0",
"version": "1.2.1",
"description": "Pure javascript implementation of ephemeris calculations for sun, planets, comets, asteroids and stars.",
"repository": {
"type": "git",
"url": "https://github.com/0xStarcat/Moshier-Ephemeris-JS"
},
"main": "index.js",
"scripts": {
"start:dev": "webpack --watch --mode=development",
"build": "webpack",
"start:dev": "webpack --watch --mode=production",
"build": "webpack --mode=production",
"test": "jest --watch"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require('path');

module.exports = {
entry: {
"ephemeris-1.2.0": './src/Ephemeris.js',
"ephemeris-1.2.1": './src/Ephemeris.js',
},
output: {
filename: '[name].bundle.js',
Expand Down

0 comments on commit d742a4c

Please sign in to comment.