-
-
Notifications
You must be signed in to change notification settings - Fork 3
3.1.0 #41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
3.1.0 #41
Changes from all commits
ad3afee
7e0e42f
5b5448d
77a589c
711a54b
524d62b
68f1e8e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,157 +1,156 @@ | ||
| { | ||
| "name": "@tsparticles/solid", | ||
| "version": "3.0.0", | ||
| "description": "Official tsParticles Solid 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 React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js.", | ||
| "license": "MIT", | ||
| "author": "Matteo Bruni <matteo.bruni@me.com>", | ||
| "homepage": "https://particles.js.org", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "module": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| "name": "@tsparticles/solid", | ||
| "version": "3.0.0", | ||
| "description": "Official tsParticles Solid 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 React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Inferno, Riot.js.", | ||
| "license": "MIT", | ||
| "author": "Matteo Bruni <matteo.bruni@me.com>", | ||
| "homepage": "https://particles.js.org", | ||
| "type": "module", | ||
| "main": "./dist/index.js", | ||
| "module": "./dist/index.js", | ||
| "types": "./dist/index.d.ts", | ||
| "publishConfig": { | ||
| "access": "public" | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "bugs": { | ||
| "url": "https://github.com/tsparticles/solid/issues" | ||
| }, | ||
| "repository": { | ||
| "url": "https://github.com/tsparticles/solid", | ||
| "directory": "components/solid", | ||
| "type": "git" | ||
| }, | ||
| "funding": [ | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/matteobruni" | ||
| }, | ||
| "files": [ | ||
| "dist" | ||
| ], | ||
| "bugs": { | ||
| "url": "https://github.com/tsparticles/solid/issues" | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/tsparticles" | ||
| }, | ||
| "repository": { | ||
| "url": "https://github.com/tsparticles/solid", | ||
| "directory": "components/solid", | ||
| "type": "git" | ||
| { | ||
| "type": "buymeacoffee", | ||
| "url": "https://www.buymeacoffee.com/matteobruni" | ||
| } | ||
| ], | ||
| "keywords": [ | ||
| "front-end", | ||
| "frontend", | ||
| "tsparticles", | ||
| "particles.js", | ||
| "particlesjs", | ||
| "particles", | ||
| "particle", | ||
| "canvas", | ||
| "jsparticles", | ||
| "xparticles", | ||
| "particles-js", | ||
| "particles-bg", | ||
| "particles-bg-vue", | ||
| "particles-ts", | ||
| "particles.ts", | ||
| "react-particles-js", | ||
| "react-particles.js", | ||
| "react-particles", | ||
| "react", | ||
| "reactjs", | ||
| "vue-particles", | ||
| "ngx-particles", | ||
| "angular-particles", | ||
| "particleground", | ||
| "solid", | ||
| "vue", | ||
| "vuejs", | ||
| "preact", | ||
| "preactjs", | ||
| "jquery", | ||
| "angularjs", | ||
| "angular", | ||
| "typescript", | ||
| "javascript", | ||
| "animation", | ||
| "web", | ||
| "html5", | ||
| "web-design", | ||
| "webdesign", | ||
| "css", | ||
| "html", | ||
| "css3", | ||
| "animated", | ||
| "background", | ||
| "confetti", | ||
| "canvas", | ||
| "fireworks", | ||
| "fireworks-js", | ||
| "confetti-js", | ||
| "confettijs", | ||
| "fireworksjs", | ||
| "canvas-confetti" | ||
| ], | ||
| "exports": { | ||
| "solid": { | ||
| "development": "./dist/dev.jsx", | ||
| "import": "./dist/index.jsx" | ||
| }, | ||
| "funding": [ | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/matteobruni" | ||
| }, | ||
| { | ||
| "type": "github", | ||
| "url": "https://github.com/sponsors/tsparticles" | ||
| }, | ||
| { | ||
| "type": "buymeacoffee", | ||
| "url": "https://www.buymeacoffee.com/matteobruni" | ||
| } | ||
| ], | ||
| "keywords": [ | ||
| "front-end", | ||
| "frontend", | ||
| "tsparticles", | ||
| "particles.js", | ||
| "particlesjs", | ||
| "particles", | ||
| "particle", | ||
| "canvas", | ||
| "jsparticles", | ||
| "xparticles", | ||
| "particles-js", | ||
| "particles-bg", | ||
| "particles-bg-vue", | ||
| "particles-ts", | ||
| "particles.ts", | ||
| "react-particles-js", | ||
| "react-particles.js", | ||
| "react-particles", | ||
| "react", | ||
| "reactjs", | ||
| "vue-particles", | ||
| "ngx-particles", | ||
| "angular-particles", | ||
| "particleground", | ||
| "solid", | ||
| "vue", | ||
| "vuejs", | ||
| "preact", | ||
| "preactjs", | ||
| "jquery", | ||
| "angularjs", | ||
| "angular", | ||
| "typescript", | ||
| "javascript", | ||
| "animation", | ||
| "web", | ||
| "html5", | ||
| "web-design", | ||
| "webdesign", | ||
| "css", | ||
| "html", | ||
| "css3", | ||
| "animated", | ||
| "background", | ||
| "confetti", | ||
| "canvas", | ||
| "fireworks", | ||
| "fireworks-js", | ||
| "confetti-js", | ||
| "confettijs", | ||
| "fireworksjs", | ||
| "canvas-confetti" | ||
| ], | ||
| "exports": { | ||
| "solid": { | ||
| "development": "./dist/dev.jsx", | ||
| "import": "./dist/index.jsx" | ||
| }, | ||
| "development": { | ||
| "import": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/dev.js" | ||
| } | ||
| }, | ||
| "import": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/index.js" | ||
| } | ||
| "development": { | ||
| "import": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/dev.js" | ||
| } | ||
| }, | ||
| "prettier": "@tsparticles/prettier-config", | ||
| "scripts": { | ||
| "check": "tsc", | ||
| "build": "pnpm run prettify && pnpm run lint && tsup", | ||
| "build:ci": "pnpm run prettify:ci && pnpm run lint:ci && tsup", | ||
| "test": "concurrently pnpm:test:*", | ||
| "test:client": "vitest", | ||
| "test:ssr": "pnpm run test:client --mode ssr", | ||
| "lint": "concurrently \"pnpm:lint:code --fix\" pnpm:lint:types", | ||
| "lint:ci": "concurrently pnpm:lint:code pnpm:lint:types", | ||
| "lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{js,ts,tsx,jsx}", | ||
| "lint:types": "tsc --noEmit", | ||
| "update-deps": "pnpm up -Li", | ||
| "prettify": "prettier --write \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", | ||
| "prettify:ci": "prettier --check \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", | ||
| "prepack": "pnpm build", | ||
| "prepare": "pnpm build", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "peerDependencies": { | ||
| "@tsparticles/engine": ">=1.0.0", | ||
| "solid-js": ">=1.0.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@tsparticles/engine": "^3.5.0", | ||
| "@tsparticles/prettier-config": "^2.1.6", | ||
| "@types/node": "^20.12.12", | ||
| "@typescript-eslint/eslint-plugin": "^7.9.0", | ||
| "@typescript-eslint/parser": "^7.9.0", | ||
| "concurrently": "^8.2.2", | ||
| "esbuild": "^0.21.3", | ||
| "esbuild-plugin-solid": "^0.6.0", | ||
| "eslint": "^8.56.0", | ||
| "eslint-plugin-eslint-comments": "^3.2.0", | ||
| "eslint-plugin-no-only-tests": "^3.1.0", | ||
| "jsdom": "^24.0.0", | ||
| "prettier": "3.0.0", | ||
| "solid-js": "^1.8.17", | ||
| "tsup": "^8.0.2", | ||
| "tsup-preset-solid": "^2.2.0", | ||
| "typescript": "^5.4.5", | ||
| "vite": "^5.2.11", | ||
| "vite-plugin-solid": "^2.10.2", | ||
| "vitest": "^1.6.0" | ||
| }, | ||
| "browser": {}, | ||
| "typesVersions": {} | ||
| "import": { | ||
| "types": "./dist/index.d.ts", | ||
| "default": "./dist/index.js" | ||
| } | ||
| }, | ||
| "prettier": "@tsparticles/prettier-config", | ||
| "scripts": { | ||
| "check": "tsc", | ||
| "build": "pnpm run prettify && pnpm run lint && tsup", | ||
| "build:ci": "pnpm run prettify:ci && pnpm run lint:ci && tsup", | ||
| "test": "concurrently pnpm:test:*", | ||
| "test:client": "vitest", | ||
| "test:ssr": "pnpm run test:client --mode ssr", | ||
| "lint": "concurrently \"pnpm:lint:code --fix\" pnpm:lint:types", | ||
| "lint:ci": "concurrently pnpm:lint:code pnpm:lint:types", | ||
| "lint:code": "eslint --ignore-path .gitignore --max-warnings 0 src/**/*.{ts,tsx}", | ||
| "lint:types": "tsc --noEmit", | ||
| "update-deps": "pnpm up -Li", | ||
| "prettify": "prettier --write \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", | ||
| "prettify:ci": "prettier --check \"src/**/*.{js,ts,json,css,tsx,jsx}\" \"README.md\"", | ||
| "prepack": "pnpm build", | ||
| "prepublishOnly": "pnpm build" | ||
| }, | ||
| "peerDependencies": { | ||
| "@tsparticles/engine": ">=3", | ||
| "solid-js": ">=1.0.0" | ||
|
Comment on lines
+128
to
+130
|
||
| }, | ||
| "devDependencies": { | ||
| "@tsparticles/engine": "^3.6.0-beta.0", | ||
| "@tsparticles/prettier-config": "^2.1.6", | ||
| "@types/node": "^22.7.5", | ||
| "@typescript-eslint/eslint-plugin": "^7.18.0", | ||
| "@typescript-eslint/parser": "^7.18.0", | ||
| "concurrently": "^9.0.1", | ||
| "esbuild": "^0.24.0", | ||
| "esbuild-plugin-solid": "^0.6.0", | ||
| "eslint": "^8.57.0", | ||
| "eslint-plugin-eslint-comments": "^3.2.0", | ||
| "eslint-plugin-no-only-tests": "^3.3.0", | ||
| "jsdom": "^25.0.1", | ||
| "prettier": "3.3.3", | ||
| "solid-js": "^1.9.1", | ||
| "tsup": "^8.3.0", | ||
| "tsup-preset-solid": "^2.2.0", | ||
| "typescript": "^5.6.2", | ||
| "vite": "^5.4.8", | ||
| "vite-plugin-solid": "^2.10.2", | ||
| "vitest": "^1.6.0" | ||
| }, | ||
|
Comment on lines
+128
to
+153
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Codebase verification Action Required: Update CHANGELOG.md with @tsparticles/engine peer dependency change. The current 🔗 Analysis chainApproved: Dependencies updated and comprehensive scripts retained. The updates to peer and dev dependencies are good for keeping the package current and secure. The scripts cover a wide range of development tasks, which is excellent for maintainability. However, please note the following:
To ensure this change is properly documented, please run the following command:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Check if the CHANGELOG.md file mentions the update to @tsparticles/engine peer dependency
grep -i "@tsparticles/engine.*>= *3" CHANGELOG.md || echo "Warning: CHANGELOG.md may need to be updated to mention the new @tsparticles/engine peer dependency requirement."
Length of output: 286 |
||
| "browser": {}, | ||
| "typesVersions": {} | ||
| } | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -7,7 +7,6 @@ export interface IParticlesProps { | |||||||||||||
| height?: string; | ||||||||||||||
| options?: ISourceOptions; | ||||||||||||||
|
||||||||||||||
| options?: ISourceOptions; | |
| options?: ISourceOptions; | |
| /** | |
| * @deprecated Use `options` instead. | |
| */ | |
| params?: ISourceOptions; |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -12,7 +12,7 @@ const Particles = (props: IParticlesProps): JSX.Element => { | |||||
| const [container] = createResource( | ||||||
| () => ({ | ||||||
| id: config.id, | ||||||
| options: config.params ?? config.options ?? {}, | ||||||
| options: config.options ?? {}, | ||||||
|
||||||
| options: config.options ?? {}, | |
| options: config.params ?? config.options ?? {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR title indicates a 3.1.0 release, but this package is still marked as version 3.0.0. If this PR is meant to cut 3.1.0, update the package version (and any related monorepo versioning) to match.