@openglobus/og
Advanced tools
Comparing version 0.18.0 to 0.18.1
{ | ||
"name": "@openglobus/og", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"description": "[openglobus](https://www.openglobus.org/) is a javascript/typescript library designed to display interactive 3d maps and planets with map tiles, imagery and vector data, markers, and 3D objects. It uses the WebGL technology, open source, and completely free.", | ||
@@ -8,3 +8,3 @@ "directories": { | ||
}, | ||
"main": "./src/index.ts", | ||
"main": "./lib/js/index.js", | ||
"style": "./css/og.css", | ||
@@ -15,2 +15,4 @@ "scripts": { | ||
"build": "rollup -c --bundleConfigAsCjs", | ||
"clean": "rm -rf ./lib ./docs", | ||
"prepublishOnly": "npm run build; npm run gen_js", | ||
"dev": "rollup -c -w --bundleConfigAsCjs --environment NODE_ENV:development", | ||
@@ -20,2 +22,3 @@ "test": "jest --env=jsdom --runInBand --ci --coverage=false", | ||
"lint": "eslint -c ./.eslintrc.js src/", | ||
"gen_js": "tsc --build tsconfig.json --declaration", | ||
"font": "node ./fonts/index.js" | ||
@@ -34,35 +37,25 @@ }, | ||
"homepage": "https://www.openglobus.org", | ||
"exports": { | ||
".": "./src/index.js", | ||
"./layer": "./src/layer/index.js", | ||
"./bv": "./src/index.js", | ||
"./terrain": "./src/terrain/index.js", | ||
"./entity": "./src/entity/index.js", | ||
"./control": "./src/control/index.js", | ||
"./webgl": "./src/webgl/index.js", | ||
"./scene": "./src/scene/index.js", | ||
"./css/og.css": "./css/og.css" | ||
}, | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.21.5", | ||
"@babel/preset-env": "^7.22.20", | ||
"@rollup/plugin-json": "^6.0.0", | ||
"@rollup/plugin-terser": "^0.4.1", | ||
"@types/jest": "^29.5.3", | ||
"@typescript-eslint/eslint-plugin": "^6.2.1", | ||
"@typescript-eslint/parser": "^6.2.1", | ||
"clean-jsdoc-theme": "^4.2.7", | ||
"eslint": "^8.39.0", | ||
"jest": "^29.5.0", | ||
"jest-canvas-mock": "^2.5.0", | ||
"jest-environment-jsdom": "^29.5.0", | ||
"@rollup/plugin-terser": "^0.4.3", | ||
"@rollup/plugin-typescript": "^11.1.3", | ||
"@types/jest": "^29.5.5", | ||
"@typescript-eslint/eslint-plugin": "^6.7.2", | ||
"@typescript-eslint/parser": "^6.7.2", | ||
"clean-jsdoc-theme": "^4.2.10", | ||
"eslint": "^8.49.0", | ||
"jest": "^29.7.0", | ||
"jest-canvas-mock": "^2.5.2", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"jsdoc": "^4.0.2", | ||
"lint-staged": "^13.2.2", | ||
"lint-staged": "^14.0.1", | ||
"local-web-server": "^5.3.0", | ||
"postcss": "^8.4.23", | ||
"prettier": "^2.8.8", | ||
"rollup": "^3.21.3", | ||
"postcss": "^8.4.29", | ||
"prettier": "^3.0.3", | ||
"rollup": "^3.29.2", | ||
"rollup-plugin-copy": "^3.5.0", | ||
"rollup-plugin-postcss": "^4.0.2", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.1.6" | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -75,4 +68,3 @@ "lint-staged": { | ||
"files": [ | ||
"src/**/*", | ||
"dist/**/*", | ||
"lib/**/*", | ||
"css/**/*" | ||
@@ -86,6 +78,3 @@ ], | ||
"og" | ||
], | ||
"dependencies": { | ||
"@rollup/plugin-typescript": "^11.1.2" | ||
} | ||
] | ||
} |
@@ -31,4 +31,4 @@ [![NPM PACKAGE](https://img.shields.io/npm/v/@openglobus/og.svg?logo=npm&logoColor=fff&label=NPM+package&color=limegreen)](https://www.npmjs.com/@openglobus/og) | ||
<link rel="stylesheet" href="../dist/@openglogus/og.css"> | ||
<script src="../dist/@openglogus/og.umd.js"></script> | ||
<link rel="stylesheet" href="../lib/@openglogus/og.css"> | ||
<script src="../lib/@openglogus/og.umd.js"></script> | ||
<div id="globus"></div> | ||
@@ -48,3 +48,3 @@ <script> | ||
layers: [osm], | ||
autoActivated: true, | ||
autoActivate: true, | ||
fontsSrc: "../res/fonts", // Fonts folder | ||
@@ -62,7 +62,7 @@ resourcesSrc: "../res", // Night and water mask terxtures folder | ||
<link rel="stylesheet" href="../dist/@openglobus/og.css"> | ||
<link rel="stylesheet" href="../lib/@openglobus/og.css"> | ||
<div id="globus"></div> | ||
<script type="module"> | ||
import {XYZ, Globe, GlobusTerrain} from '../dist/@openglobus/og.esm.js'; | ||
import {XYZ, Globe, GlobusTerrain} from '../lib/@openglobus/og.esm.js'; | ||
@@ -80,3 +80,3 @@ const osm = new XYZ("OpenStreetMap", { | ||
layers: [osm], | ||
autoActivated: true, | ||
autoActivate: true, | ||
fontsSrc: "../res/fonts", // Fonts folder | ||
@@ -123,3 +123,3 @@ resourcesSrc: "../res", // Night and water mask terxtures folder | ||
Then, it will generate 5 files at `dist/@openglobus/`: | ||
Then, it will generate 5 files at `lib/@openglobus/`: | ||
@@ -135,3 +135,3 @@ - og.umd.js | ||
First, it starts by watching sources and building into dist folder esm module: | ||
First, it starts by watching sources and building into ./lib folder esm module: | ||
@@ -138,0 +138,0 @@ ```sh |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
441
132003
15132311
22
16
- Removed@rollup/plugin-typescript@^11.1.2
- Removed@rollup/plugin-typescript@11.1.6(transitive)
- Removed@rollup/pluginutils@5.1.3(transitive)
- Removed@types/estree@1.0.6(transitive)
- Removedestree-walker@2.0.2(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-core-module@2.15.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedpicomatch@4.0.2(transitive)
- Removedresolve@1.22.8(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedtypescript@5.6.3(transitive)