Skip to content

Commit ae3b8a8

Browse files
committed
build: updated deps and docs
1 parent 469f87d commit ae3b8a8

File tree

9 files changed

+1655
-1119
lines changed

9 files changed

+1655
-1119
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ createApp(App).use(Particles);
2929
```html
3030
<template>
3131
<div id="app">
32-
<Particles
32+
<vue-particles
3333
id="tsparticles"
3434
:particlesInit="particlesInit"
3535
:particlesLoaded="particlesLoaded"
3636
url="http://foo.bar/particles.json"
3737
/>
3838

39-
<Particles
39+
<vue-particles
4040
id="tsparticles"
4141
:particlesInit="particlesInit"
4242
:particlesLoaded="particlesLoaded"
@@ -123,10 +123,12 @@ createApp(App).use(Particles);
123123
```
124124

125125
```javascript
126-
import { loadFull } from "tsparticles";
126+
//import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
127+
import { loadSlim } from "tsparticles-slim"; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
127128

128129
const particlesInit = async engine => {
129-
await loadFull(engine);
130+
//await loadFull(engine);
131+
await loadSlim(engine);
130132
};
131133

132134
const particlesLoaded = async container => {

apps/nuxt3/package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,28 @@
1717
"*.**": "prettier --check --ignore-unknown"
1818
},
1919
"dependencies": {
20-
"@babel/core": "^7.22.1",
21-
"@babel/eslint-parser": "^7.21.8",
22-
"@commitlint/cli": "^17.6.5",
23-
"@commitlint/config-conventional": "^17.6.5",
20+
"@babel/core": "^7.22.9",
21+
"@babel/eslint-parser": "^7.22.9",
22+
"@commitlint/cli": "^17.6.6",
23+
"@commitlint/config-conventional": "^17.6.6",
2424
"@nuxtjs/eslint-config": "^12.0.0",
2525
"@nuxtjs/eslint-module": "^4.1.0",
2626
"@vue/reactivity": "^3.3.4",
2727
"@vue/runtime-core": "^3.3.4",
2828
"@vue/runtime-dom": "^3.3.4",
2929
"@vue/shared": "^3.3.4",
30-
"consola": "^3.1.0",
31-
"eslint": "^8.42.0",
30+
"consola": "^3.2.3",
31+
"eslint": "^8.45.0",
3232
"eslint-config-prettier": "^8.8.0",
3333
"eslint-plugin-nuxt": "^4.0.0",
34-
"eslint-plugin-vue": "^9.14.1",
35-
"lint-staged": "^13.2.2",
36-
"nuxt": "^3.5.2",
37-
"prettier": "^2.8.8",
38-
"tsparticles": "^2.10.1",
39-
"typescript": "^5.1.3",
34+
"eslint-plugin-vue": "^9.15.1",
35+
"lint-staged": "^13.2.3",
36+
"nuxt": "^3.6.2",
37+
"prettier": "^3.0.0",
38+
"tsparticles": "^2.11.0",
39+
"typescript": "^5.1.6",
4040
"vue": "^3.3.4",
4141
"vue3-particles": "workspace:^",
42-
"webpack": "^5.85.0"
42+
"webpack": "^5.88.1"
4343
}
4444
}

apps/vue3/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,29 @@
1212
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore"
1313
},
1414
"dependencies": {
15-
"tsparticles": "^2.10.1",
16-
"tsparticles-demo-configs": "^2.10.1",
17-
"tsparticles-engine": "^2.10.1",
15+
"tsparticles": "^2.11.0",
16+
"tsparticles-demo-configs": "^2.11.0",
17+
"tsparticles-engine": "^2.11.0",
1818
"vue": "^3.3.4",
19-
"vue-router": "^4.2.2",
19+
"vue-router": "^4.2.4",
2020
"vue3-particles": "workspace:^"
2121
},
2222
"devDependencies": {
23-
"@rushstack/eslint-patch": "^1.3.0",
24-
"@tsconfig/node18": "^2.0.1",
25-
"@types/node": "^20.2.5",
23+
"@rushstack/eslint-patch": "^1.3.2",
24+
"@tsconfig/node18": "^18.2.0",
25+
"@types/node": "^20.4.2",
2626
"@vitejs/plugin-vue": "^4.2.3",
2727
"@vitejs/plugin-vue-jsx": "^3.0.1",
2828
"@vue/eslint-config-prettier": "^7.1.0",
2929
"@vue/eslint-config-typescript": "^11.0.3",
3030
"@vue/tsconfig": "^0.4.0",
31-
"eslint": "^8.42.0",
32-
"eslint-plugin-vue": "^9.14.1",
33-
"minimatch": "^9.0.1",
31+
"eslint": "^8.45.0",
32+
"eslint-plugin-vue": "^9.15.1",
33+
"minimatch": "^9.0.3",
3434
"npm-run-all": "^4.1.5",
35-
"prettier": "^2.8.8",
36-
"typescript": "^5.1.3",
37-
"vite": "^4.3.9",
38-
"vue-tsc": "^1.6.5"
35+
"prettier": "^3.0.0",
36+
"typescript": "^5.1.6",
37+
"vite": "^4.4.4",
38+
"vue-tsc": "^1.8.5"
3939
}
4040
}

components/vue3-alt/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,12 @@ createApp(App).use(Particles);
124124
```
125125

126126
```javascript
127-
import { loadFull } from "tsparticles";
127+
//import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
128+
import { loadSlim } from "tsparticles-slim"; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
128129

129130
const particlesInit = async engine => {
130-
await loadFull(engine);
131+
//await loadFull(engine);
132+
await loadSlim(engine);
131133
};
132134

133135
const particlesLoaded = async container => {

components/vue3-alt/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,26 @@
9494
],
9595
"prettier": "@tsparticles/prettier-config",
9696
"dependencies": {
97-
"tsparticles-engine": "^2.10.1",
97+
"tsparticles-engine": "^2.11.0",
9898
"vue": "^3.3.4"
9999
},
100100
"devDependencies": {
101-
"@rushstack/eslint-patch": "^1.3.0",
102-
"@tsconfig/node18": "^2.0.1",
103-
"@tsparticles/prettier-config": "^1.10.0",
104-
"@types/node": "^20.2.5",
101+
"@rushstack/eslint-patch": "^1.3.2",
102+
"@tsconfig/node18": "^18.2.0",
103+
"@tsparticles/prettier-config": "^1.11.0",
104+
"@types/node": "^20.4.2",
105105
"@vitejs/plugin-vue": "^4.2.3",
106106
"@vitejs/plugin-vue-jsx": "^3.0.1",
107107
"@vue/eslint-config-prettier": "^7.1.0",
108108
"@vue/eslint-config-typescript": "^11.0.3",
109109
"@vue/tsconfig": "^0.4.0",
110-
"eslint": "^8.42.0",
111-
"eslint-plugin-vue": "^9.14.1",
112-
"prettier": "^2.8.8",
113-
"typescript": "^5.1.3",
114-
"vite": "^4.3.9",
115-
"vite-plugin-dts": "^3.0.0",
116-
"vue-tsc": "^1.6.5"
110+
"eslint": "^8.45.0",
111+
"eslint-plugin-vue": "^9.15.1",
112+
"prettier": "^3.0.0",
113+
"typescript": "^5.1.6",
114+
"vite": "^4.4.4",
115+
"vite-plugin-dts": "^3.3.0",
116+
"vue-tsc": "^1.8.5"
117117
},
118118
"main": "dist/particles.vue3.umd.js",
119119
"module": "dist/particles.vue3.es.js",

components/vue3/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,12 @@ createApp(App).use(Particles);
123123
```
124124

125125
```javascript
126-
import { loadFull } from "tsparticles";
126+
//import { loadFull } from "tsparticles"; // if you are going to use `loadFull`, install the "tsparticles" package too.
127+
import { loadSlim } from "tsparticles-slim"; // if you are going to use `loadSlim`, install the "tsparticles-slim" package too.
127128

128129
const particlesInit = async engine => {
129-
await loadFull(engine);
130+
//await loadFull(engine);
131+
await loadSlim(engine);
130132
};
131133

132134
const particlesLoaded = async container => {

components/vue3/package.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -94,26 +94,26 @@
9494
],
9595
"prettier": "@tsparticles/prettier-config",
9696
"dependencies": {
97-
"tsparticles-engine": "^2.10.1",
97+
"tsparticles-engine": "^2.11.0",
9898
"vue": "^3.3.4"
9999
},
100100
"devDependencies": {
101-
"@rushstack/eslint-patch": "^1.3.0",
102-
"@tsconfig/node18": "^2.0.1",
103-
"@tsparticles/prettier-config": "^1.10.0",
104-
"@types/node": "^20.2.5",
101+
"@rushstack/eslint-patch": "^1.3.2",
102+
"@tsconfig/node18": "^18.2.0",
103+
"@tsparticles/prettier-config": "^1.11.0",
104+
"@types/node": "^20.4.2",
105105
"@vitejs/plugin-vue": "^4.2.3",
106106
"@vitejs/plugin-vue-jsx": "^3.0.1",
107107
"@vue/eslint-config-prettier": "^7.1.0",
108108
"@vue/eslint-config-typescript": "^11.0.3",
109109
"@vue/tsconfig": "^0.4.0",
110-
"eslint": "^8.42.0",
111-
"eslint-plugin-vue": "^9.14.1",
112-
"prettier": "^2.8.8",
113-
"typescript": "^5.1.3",
114-
"vite": "^4.3.9",
115-
"vite-plugin-dts": "^3.0.0",
116-
"vue-tsc": "^1.6.5"
110+
"eslint": "^8.45.0",
111+
"eslint-plugin-vue": "^9.15.1",
112+
"prettier": "^3.0.0",
113+
"typescript": "^5.1.6",
114+
"vite": "^4.4.4",
115+
"vite-plugin-dts": "^3.3.0",
116+
"vue-tsc": "^1.8.5"
117117
},
118118
"main": "dist/vue3-particles.umd.js",
119119
"module": "dist/vue3-particles.es.js",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
},
88
"license": "MIT",
99
"dependencies": {
10-
"@commitlint/cli": "^17.6.5",
11-
"@commitlint/config-conventional": "^17.6.5",
10+
"@commitlint/cli": "^17.6.6",
11+
"@commitlint/config-conventional": "^17.6.6",
1212
"husky": "^8.0.3",
13-
"lerna": "^7.0.2"
13+
"lerna": "^7.1.3"
1414
},
1515
"workspaces": [
1616
"apps/*",

0 commit comments

Comments
 (0)