Skip to content

Commit

Permalink
feat: added version to engine
Browse files Browse the repository at this point in the history
build: updated deps
  • Loading branch information
matteobruni committed Feb 7, 2023
1 parent a36216d commit 9406873
Show file tree
Hide file tree
Showing 89 changed files with 531 additions and 525 deletions.
4 changes: 2 additions & 2 deletions bundles/confetti/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -107,7 +107,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0",
Expand Down
4 changes: 2 additions & 2 deletions bundles/fireworks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -107,7 +107,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0",
Expand Down
4 changes: 2 additions & 2 deletions bundles/full/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -107,7 +107,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0",
Expand Down
4 changes: 2 additions & 2 deletions bundles/pjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -107,7 +107,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions bundles/slim/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -107,7 +107,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0",
Expand Down
4 changes: 2 additions & 2 deletions editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -68,7 +68,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"object-gui": "^2.0.2",
Expand Down
4 changes: 2 additions & 2 deletions engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand Down Expand Up @@ -146,7 +146,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"publishConfig": {
"directory": "dist",
Expand Down
6 changes: 6 additions & 0 deletions engine/src/engine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import { Plugins } from "./Core/Utils/Plugins";
import type { RecursivePartial } from "./Types/RecursivePartial";
import type { SingleOrMultiple } from "./Types/SingleOrMultiple";

declare const __VERSION__: string;

/**
* Engine class for creating the singleton on window.
* It's a singleton proxy to the Loader class for initializing [[Container]] instances,
Expand Down Expand Up @@ -67,6 +69,10 @@ export class Engine {
this.plugins = new Plugins(this);
}

get version(): string {
return __VERSION__;
}

/**
* Adds a listener to the specified event
* @param type The event to listen to
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/attract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/bounce/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/bubble/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/connect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/grab/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/pause/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/push/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/remove/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/repulse/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/slow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/external/trail/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -81,7 +81,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/light/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -119,7 +119,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/particles/attract/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
4 changes: 2 additions & 2 deletions interactions/particles/collisions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"prettier": "@tsparticles/prettier-config",
"devDependencies": {
"@babel/core": "^7.20.7",
"@tsparticles/build": "^1.8.0",
"@tsparticles/build": "^1.8.1",
"@tsparticles/eslint-config": "^1.6.0",
"@tsparticles/prettier-config": "^1.6.0",
"@tsparticles/tsconfig": "^1.7.0",
Expand All @@ -109,7 +109,7 @@
"webpack": "^5.75.0",
"webpack-bundle-analyzer": "^4.7.0",
"webpack-cli": "^5.0.1",
"webpack-tsparticles-plugin": "^1.8.0"
"webpack-tsparticles-plugin": "^1.8.1"
},
"dependencies": {
"tsparticles-engine": "^2.8.0"
Expand Down
Loading

0 comments on commit 9406873

Please sign in to comment.