@tsparticles/path-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.path.polygon.js +1 -1
- package/tsparticles.path.polygon.min.js.LICENSE.txt +1 -1
- package/types/PolygonPathGenerator.d.ts +2 -2
- package/umd/index.js +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
[](https://www.npmjs.com/package/@tsparticles/path-polygon)
|
|
7
7
|
[](https://www.npmjs.com/package/@tsparticles/path-polygon) [](https://github.com/sponsors/matteobruni)
|
|
8
8
|
|
|
9
|
-
[tsParticles](https://github.com/
|
|
9
|
+
[tsParticles](https://github.com/tsparticles/tsparticles) path plugin for polygon movement.
|
|
10
10
|
|
|
11
11
|
## How to use it
|
|
12
12
|
|
package/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PolygonPathGenerator } from "./PolygonPathGenerator";
|
|
1
|
+
import { PolygonPathGenerator } from "./PolygonPathGenerator.js";
|
|
2
2
|
export const polygonPathName = "polygonPathGenerator";
|
|
3
3
|
export async function loadPolygonPath(engine, refresh = true) {
|
|
4
4
|
await engine.addPathGenerator(polygonPathName, new PolygonPathGenerator(), refresh);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "module" }
|
package/cjs/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.loadPolygonPath = exports.polygonPathName = void 0;
|
|
4
|
-
const
|
|
4
|
+
const PolygonPathGenerator_js_1 = require("./PolygonPathGenerator.js");
|
|
5
5
|
exports.polygonPathName = "polygonPathGenerator";
|
|
6
6
|
async function loadPolygonPath(engine, refresh = true) {
|
|
7
|
-
await engine.addPathGenerator(exports.polygonPathName, new
|
|
7
|
+
await engine.addPathGenerator(exports.polygonPathName, new PolygonPathGenerator_js_1.PolygonPathGenerator(), refresh);
|
|
8
8
|
}
|
|
9
9
|
exports.loadPolygonPath = loadPolygonPath;
|
package/cjs/package.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "commonjs" }
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PolygonPathGenerator } from "./PolygonPathGenerator";
|
|
1
|
+
import { PolygonPathGenerator } from "./PolygonPathGenerator.js";
|
|
2
2
|
export const polygonPathName = "polygonPathGenerator";
|
|
3
3
|
export async function loadPolygonPath(engine, refresh = true) {
|
|
4
4
|
await engine.addPathGenerator(polygonPathName, new PolygonPathGenerator(), refresh);
|
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/path-polygon",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.2",
|
|
4
4
|
"description": "tsParticles polygon path",
|
|
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": "paths/polygon"
|
|
10
10
|
},
|
|
11
11
|
"keywords": [
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"author": "Matteo Bruni <matteo.bruni@me.com>",
|
|
70
70
|
"license": "MIT",
|
|
71
71
|
"bugs": {
|
|
72
|
-
"url": "https://github.com/
|
|
72
|
+
"url": "https://github.com/tsparticles/tsparticles/issues"
|
|
73
73
|
},
|
|
74
74
|
"funding": [
|
|
75
75
|
{
|
|
@@ -85,13 +85,25 @@
|
|
|
85
85
|
"url": "https://www.buymeacoffee.com/matteobruni"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
-
"
|
|
88
|
+
"sideEffects": false,
|
|
89
89
|
"jsdelivr": "tsparticles.path.polygon.min.js",
|
|
90
90
|
"unpkg": "tsparticles.path.polygon.min.js",
|
|
91
|
+
"browser": "browser/index.js",
|
|
92
|
+
"main": "cjs/index.js",
|
|
91
93
|
"module": "esm/index.js",
|
|
92
94
|
"types": "types/index.d.ts",
|
|
93
|
-
"
|
|
95
|
+
"exports": {
|
|
96
|
+
".": {
|
|
97
|
+
"types": "./types/index.d.ts",
|
|
98
|
+
"browser": "./browser/index.js",
|
|
99
|
+
"import": "./esm/index.js",
|
|
100
|
+
"require": "./cjs/index.js",
|
|
101
|
+
"umd": "./umd/index.js",
|
|
102
|
+
"default": "./cjs/index.js"
|
|
103
|
+
},
|
|
104
|
+
"./package.json": "./package.json"
|
|
105
|
+
},
|
|
94
106
|
"dependencies": {
|
|
95
|
-
"@tsparticles/engine": "^3.0.0-beta.
|
|
107
|
+
"@tsparticles/engine": "^3.0.0-beta.2"
|
|
96
108
|
}
|
|
97
109
|
}
|