@tsparticles/shape-rounded-polygon 3.0.0-beta.0 → 3.0.0-beta.2
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 +1 -1
- package/browser/index.js +1 -1
- package/browser/package.json +1 -0
- package/cjs/index.js +2 -2
- package/cjs/package.json +1 -0
- package/esm/index.js +1 -1
- package/esm/package.json +1 -0
- package/package.json +18 -6
- package/report.html +23 -5
- package/tsparticles.shape.rounded-polygon.js +1 -1
- package/tsparticles.shape.rounded-polygon.min.js.LICENSE.txt +1 -1
- package/types/RoundedPolygonDrawer.d.ts +1 -1
- package/umd/index.js +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://www.npmjs.com/package/@tsparticles/shape-rounded-polygon)
|
|
7
7
|
[](https://www.npmjs.com/package/@tsparticles/shape-rounded-polygon) [](https://github.com/sponsors/matteobruni)
|
|
8
8
|
|
|
9
|
-
[tsParticles](https://github.com/
|
|
9
|
+
[tsParticles](https://github.com/tsparticles/tsparticles) additional rounded polygon shape.
|
|
10
10
|
|
|
11
11
|
## How to use it
|
|
12
12
|
|
package/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer";
|
|
1
|
+
import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer.js";
|
|
2
2
|
export async function loadRoundedPolygonShape(engine, refresh = true) {
|
|
3
3
|
await engine.addShape("rounded-polygon", new RoundedPolygonDrawer(), refresh);
|
|
4
4
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
package/cjs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.loadRoundedPolygonShape = void 0;
|
|
4
|
-
const
|
|
4
|
+
const RoundedPolygonDrawer_js_1 = require("./RoundedPolygonDrawer.js");
|
|
5
5
|
async function loadRoundedPolygonShape(engine, refresh = true) {
|
|
6
|
-
await engine.addShape("rounded-polygon", new
|
|
6
|
+
await engine.addShape("rounded-polygon", new RoundedPolygonDrawer_js_1.RoundedPolygonDrawer(), refresh);
|
|
7
7
|
}
|
|
8
8
|
exports.loadRoundedPolygonShape = loadRoundedPolygonShape;
|
package/cjs/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "commonjs" }
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer";
|
|
1
|
+
import { RoundedPolygonDrawer } from "./RoundedPolygonDrawer.js";
|
|
2
2
|
export async function loadRoundedPolygonShape(engine, refresh = true) {
|
|
3
3
|
await engine.addShape("rounded-polygon", new RoundedPolygonDrawer(), refresh);
|
|
4
4
|
}
|
package/esm/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsparticles/shape-rounded-polygon",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.2",
|
|
4
4
|
"description": "tsParticles rounded polygon shape",
|
|
5
5
|
"homepage": "https://particles.js.org",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/
|
|
8
|
+
"url": "git+https://github.com/tsparticles/tsparticles.git",
|
|
9
9
|
"directory": "shapes/rounded-polygon"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -38,16 +38,28 @@
|
|
|
38
38
|
"author": "Matteo Bruni <matteo.bruni@me.com>",
|
|
39
39
|
"license": "MIT",
|
|
40
40
|
"bugs": {
|
|
41
|
-
"url": "https://github.com/
|
|
41
|
+
"url": "https://github.com/tsparticles/tsparticles/issues"
|
|
42
42
|
},
|
|
43
|
-
"
|
|
43
|
+
"sideEffects": false,
|
|
44
44
|
"jsdelivr": "tsparticles.shape.rounded-polygon.min.js",
|
|
45
45
|
"unpkg": "tsparticles.shape.rounded-polygon.min.js",
|
|
46
|
+
"browser": "browser/index.js",
|
|
47
|
+
"main": "cjs/index.js",
|
|
46
48
|
"module": "esm/index.js",
|
|
47
49
|
"types": "types/index.d.ts",
|
|
48
|
-
"
|
|
50
|
+
"exports": {
|
|
51
|
+
".": {
|
|
52
|
+
"types": "./types/index.d.ts",
|
|
53
|
+
"browser": "./browser/index.js",
|
|
54
|
+
"import": "./esm/index.js",
|
|
55
|
+
"require": "./cjs/index.js",
|
|
56
|
+
"umd": "./umd/index.js",
|
|
57
|
+
"default": "./cjs/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./package.json": "./package.json"
|
|
60
|
+
},
|
|
49
61
|
"dependencies": {
|
|
50
|
-
"@tsparticles/engine": "^3.0.0-beta.
|
|
62
|
+
"@tsparticles/engine": "^3.0.0-beta.2"
|
|
51
63
|
},
|
|
52
64
|
"publishConfig": {
|
|
53
65
|
"access": "public"
|