Skip to content

Commit

Permalink
Merge pull request #60 from tsparticles/dev
Browse files Browse the repository at this point in the history
tsParticles Svelte 3.1.1
  • Loading branch information
matteobruni committed May 26, 2024
2 parents ed04954 + ea10ac1 commit 07d9af8
Show file tree
Hide file tree
Showing 14 changed files with 5,369 additions and 4,163 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
branches:
- main
- legacy
- dev
pull_request:
branches:
- main
- legacy
- dev

#env:
#NX_CLOUD_DISTRIBUTED_EXECUTION: true
Expand All @@ -28,12 +30,12 @@ jobs:
# uses: nrwl/nx-set-shas@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
version: 9
run_install: false
- name: Get pnpm version
id: pnpm-version
Expand Down Expand Up @@ -70,12 +72,12 @@ jobs:
# uses: nrwl/nx-set-shas@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '20'
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 8
version: 9
run_install: false
- name: Get pnpm version
id: pnpm-version
Expand Down Expand Up @@ -113,12 +115,12 @@ jobs:
# - uses: actions/checkout@v3
# - uses: actions/setup-node@v3
# with:
# node-version: '16'
# node-version: '20'
# - uses: pnpm/[email protected]
# name: Install pnpm
# id: pnpm-install
# with:
# version: 8
# version: 9
# run_install: false
# - name: Get pnpm version
# id: pnpm-version
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.1](https://github.com/tsparticles/svelte/compare/v3.1.0...v3.1.1) (2024-05-26)

**Note:** Version bump only for package @tsparticles/svelte-workspace





# [3.1.0](https://github.com/tsparticles/svelte/compare/v3.0.0...v3.1.0) (2024-05-26)


### Bug Fixes

* **deps:** update commitlint monorepo to v18 ([eb61347](https://github.com/tsparticles/svelte/commit/eb613471961d96cd580ef4f89cf1464083842426))
* **deps:** update dependency lerna to v8 ([9274166](https://github.com/tsparticles/svelte/commit/92741664fecc4de46babb7bfd70341dd19fbec54))





# [3.0.0](https://github.com/tsparticles/svelte/compare/v2.12.0...v3.0.0) (2023-12-24)


Expand Down
16 changes: 16 additions & 0 deletions apps/svelte-kit/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.1](https://github.com/tsparticles/svelte/compare/v3.1.0...v3.1.1) (2024-05-26)

**Note:** Version bump only for package svelte-kit-demo





# [3.1.0](https://github.com/tsparticles/svelte/compare/v3.0.0...v3.1.0) (2024-05-26)

**Note:** Version bump only for package svelte-kit-demo





# [3.0.0](https://github.com/tsparticles/svelte/compare/v2.12.0...v3.0.0) (2023-12-24)


Expand Down
36 changes: 18 additions & 18 deletions apps/svelte-kit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-kit-demo",
"version": "3.0.0",
"version": "3.1.1",
"private": true,
"scripts": {
"dev": "vite dev",
Expand All @@ -12,27 +12,27 @@
"format": "prettier --plugin=\"prettier-plugin-svelte\" --write ."
},
"devDependencies": {
"@fontsource/fira-mono": "^5.0.8",
"@sveltejs/adapter-auto": "^3.0.1",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tsparticles/engine": "^3.0.2",
"@fontsource/fira-mono": "^5.0.13",
"@sveltejs/adapter-auto": "^3.2.1",
"@sveltejs/kit": "^2.5.10",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@tsparticles/engine": "^3.4.0",
"@tsparticles/svelte": "workspace:^",
"@types/cookie": "^0.6.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.3",
"eslint-plugin-svelte": "^2.39.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "^4.2.17",
"svelte-check": "^3.7.1",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.6.2",
"tsparticles": "^3.0.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"tsparticles": "^3.4.0",
"typescript": "^5.4.5",
"vite": "^5.2.11"
},
"type": "module"
}
16 changes: 16 additions & 0 deletions apps/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.1](https://github.com/tsparticles/svelte/compare/v3.1.0...v3.1.1) (2024-05-26)

**Note:** Version bump only for package svelte-demo





# [3.1.0](https://github.com/tsparticles/svelte/compare/v3.0.0...v3.1.0) (2024-05-26)

**Note:** Version bump only for package svelte-demo





# [3.0.0](https://github.com/tsparticles/svelte/compare/v2.12.0...v3.0.0) (2023-12-24)


Expand Down
26 changes: 13 additions & 13 deletions apps/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-demo",
"version": "3.0.0",
"version": "3.1.1",
"private": true,
"scripts": {
"build": "rollup -c",
Expand All @@ -10,27 +10,27 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^11.1.5",
"@tsconfig/svelte": "^5.0.2",
"rollup": "^4.9.1",
"@rollup/plugin-typescript": "^11.1.6",
"@tsconfig/svelte": "^5.0.4",
"rollup": "^4.18.0",
"rollup-plugin-css-only": "^4.5.2",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-svelte": "^7.1.6",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte-preprocess": "^5.1.3",
"rollup-plugin-svelte": "^7.2.0",
"svelte": "^4.2.17",
"svelte-check": "^3.7.1",
"svelte-preprocess": "^5.1.4",
"tslib": "^2.6.2",
"typescript": "~5.3.3"
"typescript": "~5.4.5"
},
"dependencies": {
"@tsparticles/configs": "^3.0.2",
"@tsparticles/engine": "^3.0.2",
"@tsparticles/configs": "^3.4.0",
"@tsparticles/engine": "^3.4.0",
"@tsparticles/svelte": "workspace:^",
"sirv-cli": "^2.0.2",
"tsparticles": "^3.0.2"
"tsparticles": "^3.4.0"
}
}
2 changes: 1 addition & 1 deletion apps/svelte/src/App.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import configs from "@tsparticles/configs";
import type { Engine } from "@tsparticles/engine";
import type { Container, Engine } from "@tsparticles/engine";
import Particles, { particlesInit } from "@tsparticles/svelte";
import { loadFull } from "tsparticles";
import type { EventHandler } from "svelte/elements";
Expand Down
12 changes: 12 additions & 0 deletions components/svelte/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.1](https://github.com/tsparticles/svelte/compare/v3.1.0...v3.1.1) (2024-05-26)

**Note:** Version bump only for package @tsparticles/svelte





# [3.1.0](https://github.com/tsparticles/svelte/compare/v3.0.0...v3.1.0) (2024-05-26)

**Note:** Version bump only for package @tsparticles/svelte

# [3.0.0](https://github.com/tsparticles/svelte/compare/v2.12.0...v3.0.0) (2023-12-24)

### Features
Expand Down
38 changes: 19 additions & 19 deletions components/svelte/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tsparticles/svelte",
"version": "3.0.0",
"version": "3.1.1",
"description": "Official tsParticles Svelte Component - Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for Web Components, React, Vue.js (2.x and 3.x), Angular, jQuery, Preact, Riot.js, Solid.js, Inferno.",
"repository": {
"type": "git",
Expand Down Expand Up @@ -89,30 +89,30 @@
"access": "public"
},
"peerDependencies": {
"svelte": "^4.0.0"
"svelte": "^4.2.17"
},
"dependencies": {
"@tsparticles/engine": "^3.0.2"
"@tsparticles/engine": "^3.4.0"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^3.0.1",
"@sveltejs/kit": "^2.0.6",
"@sveltejs/package": "^2.2.4",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@types/eslint": "^8.56.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"@sveltejs/adapter-auto": "^3.2.1",
"@sveltejs/kit": "^2.5.10",
"@sveltejs/package": "^2.3.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@types/eslint": "^8.56.10",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"@typescript-eslint/parser": "^7.10.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"publint": "^0.2.7",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"eslint-plugin-svelte": "^2.39.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"publint": "^0.2.8",
"svelte": "^4.2.17",
"svelte-check": "^3.7.1",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^5.0.10"
"typescript": "^5.4.5",
"vite": "^5.2.11"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
5 changes: 3 additions & 2 deletions components/svelte/src/lib/Particles.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
export let id = 'tsparticles';
const dispatch = createEventDispatcher<{
particlesLoaded: { container: Container }
}>(), particlesLoadedEvent = 'particlesLoaded';
particlesLoaded: { container: Container };
}>(),
particlesLoadedEvent = 'particlesLoaded';
let oldId = id;
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"apps/*",
"components/*"
],
"version": "3.0.0",
"version": "3.1.1",
"npmClient": "pnpm",
"conventionalCommits": true,
"command": {
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
},
"license": "MIT",
"dependencies": {
"@commitlint/cli": "^18.0.0",
"@commitlint/config-conventional": "^18.0.0",
"husky": "^8.0.3",
"lerna": "^8.0.0"
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"husky": "^9.0.11",
"lerna": "^8.1.3"
},
"workspaces": [
"apps/*",
Expand Down
Loading

0 comments on commit 07d9af8

Please sign in to comment.