@peakfinder/headless 1.0.6 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -3,8 +3,7 @@
|
|
|
3
3
|
*REMARK*: Do not use this library yet. Its just an upload of a first skeleton.
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
PeakFinder headless functions for getting 'true' sun and moon times by using a digital elevation model for the calculations.
|
|
6
|
+
In some weeks this library will provice some PeakFinder headless functions for getting 'true' sun and moon times by using a digital elevation model for the calculations.
|
|
8
7
|
|
|
9
8
|
## Install
|
|
10
9
|
```bash
|
package/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
'use strict'
|
|
2
2
|
|
|
3
|
-
const path = require('path')
|
|
4
|
-
const load = require('node-gyp-build')
|
|
3
|
+
// const path = require('path')
|
|
4
|
+
// const load = require('node-gyp-build')
|
|
5
5
|
|
|
6
|
-
module.exports = load(path.join(__dirname))
|
|
6
|
+
// module.exports = load(path.join(__dirname))
|
|
7
|
+
|
|
8
|
+
module.exports = require('node-gyp-build')(__dirname)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@peakfinder/headless",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.7",
|
|
4
4
|
"description": "PeakFinder headless functions for getting 'true' sun and moon times by using a digital elevation model for the calculations.",
|
|
5
5
|
"author": "Fabio Soldati <info@peakfinder.com> (https://www.peakfinder.com/about/)",
|
|
6
6
|
"os": ["linux", "darwin", "win32"],
|
|
@@ -14,11 +14,9 @@
|
|
|
14
14
|
"main": "index.js",
|
|
15
15
|
"files": [
|
|
16
16
|
"index.js",
|
|
17
|
-
"binding.gyp",
|
|
18
17
|
"prebuilds/**/*",
|
|
19
18
|
"LICENSSE.txt"
|
|
20
19
|
],
|
|
21
|
-
"gypfile": true,
|
|
22
20
|
"dependencies": {
|
|
23
21
|
"node-addon-api": "^7.0.0",
|
|
24
22
|
"node-gyp-build": "^4.8.0"
|
|
Binary file
|
|
Binary file
|
package/binding.gyp
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"targets": [
|
|
3
|
-
{
|
|
4
|
-
"target_name": "pf-headless-native",
|
|
5
|
-
"sources": [ "src/addon.cpp" ],
|
|
6
|
-
"include_dirs": [
|
|
7
|
-
"<!@(node -p \"require('node-addon-api').include\")"
|
|
8
|
-
],
|
|
9
|
-
"dependencies": [
|
|
10
|
-
"<!(node -p \"require('node-addon-api').gyp\")"
|
|
11
|
-
],
|
|
12
|
-
"cflags_cc": [ "-O3" ],
|
|
13
|
-
"defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ],
|
|
14
|
-
"conditions": [
|
|
15
|
-
["OS=='mac'", {
|
|
16
|
-
"xcode_settings": {
|
|
17
|
-
"OTHER_CPLUSPLUSFLAGS": [ "-std=c++20" ]
|
|
18
|
-
}
|
|
19
|
-
}],
|
|
20
|
-
["OS=='win'", {
|
|
21
|
-
"msvs_settings": {
|
|
22
|
-
"VCCLCompilerTool": {
|
|
23
|
-
"ExceptionHandling": 0
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}]
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
}
|