Skip to content

Commit

Permalink
build: updated to latest v2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
matteobruni committed Feb 22, 2023
1 parent 9d5a5cf commit 5570655
Show file tree
Hide file tree
Showing 55 changed files with 729 additions and 3,467 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![banner](https://particles.js.org/images/banner3.png)](https://particles.js.org)

# @tsparticles/vue2
# vue2-particles

[![npm](https://img.shields.io/npm/v/@tsparticles/vue2)](https://www.npmjs.com/package/@tsparticles/vue2) [![npm](https://img.shields.io/npm/dm/@tsparticles/vue2)](https://www.npmjs.com/package/@tsparticles/vue2) [![GitHub Sponsors](https://img.shields.io/github/sponsors/matteobruni)](https://github.com/sponsors/matteobruni)
[![npm](https://img.shields.io/npm/v/vue2-particles)](https://www.npmjs.com/package/vue2-particles) [![npm](https://img.shields.io/npm/dm/vue2-particles)](https://www.npmjs.com/package/vue2-particles) [![GitHub Sponsors](https://img.shields.io/github/sponsors/matteobruni)](https://github.com/sponsors/matteobruni)

Official [tsParticles](https://github.com/matteobruni/tsparticles) VueJS component

Expand All @@ -13,13 +13,13 @@ Official [tsParticles](https://github.com/matteobruni/tsparticles) VueJS compone
## Installation

```shell script
yarn add @tsparticles/vue2
yarn add vue2-particles
```

## Usage

```javascript
import Particles from "@tsparticles/vue2";
import Particles from "vue2-particles";

Vue.use(Particles);
```
Expand Down Expand Up @@ -141,7 +141,7 @@ If TypeScript returns error while importing/using Particles plugin try adding th
code:

```typescript
declare module "@tsparticles/vue2";
declare module "vue2-particles";
```

## Demos
Expand Down
14 changes: 7 additions & 7 deletions apps/nuxt2/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@tsparticles/nuxt2-demo",
"version": "1.0.0",
"name": "nuxt2-particles-demo",
"version": "2.9.3",
"private": true,
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate",
"dev": "env NODE_OPTIONS=--openssl-legacy-provider nuxt",
"build": "env NODE_OPTIONS=--openssl-legacy-provider nuxt build",
"start": "env NODE_OPTIONS=--openssl-legacy-provider nuxt start",
"generate": "env NODE_OPTIONS=--openssl-legacy-provider nuxt generate",
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:prettier",
Expand All @@ -17,7 +17,7 @@
"*.**": "prettier --check --ignore-unknown"
},
"dependencies": {
"@tsparticles/vue2": "^2.7.1",
"vue2-particles": "^2.9.3",
"core-js": "^3.27.0",
"nuxt": "^2.15.8",
"tsparticles": "^2.7.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/nuxt2/plugins/vue2-particles.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Vue from 'vue'
import Particles from '@tsparticles/vue2'
import Particles from 'vue2-particles'

Vue.use(Particles)
20 changes: 20 additions & 0 deletions apps/vue2/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.

## [2.9.3](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.9.3) (2023-02-12)

**Note:** Version bump only for package vue2-particles-demo

## [2.9.2](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.9.2) (2023-02-12)

**Note:** Version bump only for package vue2-particles-demo

## [2.9.1](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.9.1) (2023-02-11)

**Note:** Version bump only for package vue2-particles-demo

# [2.9.0](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.9.0) (2023-02-10)

**Note:** Version bump only for package vue2-particles-demo

# [2.8.0](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.8.0) (2023-01-18)

**Note:** Version bump only for package vue2-particles-demo

## [2.7.1](https://github.com/matteobruni/tsparticles/compare/[email protected]@2.7.1) (2022-12-25)

**Note:** Version bump only for package vue2-particles-demo
Expand Down
30 changes: 15 additions & 15 deletions apps/vue2/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@tsparticles/vue2-demo",
"name": "vue2-particles-demo",
"private": true,
"version": "2.7.1",
"version": "2.9.3",
"description": "VueJS Demo",
"author": "Matteo Bruni <[email protected]>",
"homepage": "https://particles.js.org",
Expand All @@ -21,13 +21,13 @@
"url": "https://github.com/matteobruni/tsparticles/issues"
},
"dependencies": {
"@tsparticles/vue2": "^2.7.1",
"tsparticles": "^2.7.1",
"tsparticles-demo-configs": "^2.7.1",
"tsparticles-engine": "^2.7.1",
"tsparticles": "^2.9.3",
"tsparticles-demo-configs": "^2.9.3",
"tsparticles-engine": "^2.9.3",
"vue": "^2.7.14",
"vue-class-component": "^7.2.6",
"vue-property-decorator": "^9.1.2"
"vue-property-decorator": "^9.1.2",
"vue2-particles": "^2.9.3"
},
"devDependencies": {
"@babel/core": "^7.20.7",
Expand All @@ -36,24 +36,24 @@
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^5.47.0",
"@typescript-eslint/parser": "^5.47.0",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@vue/cli-plugin-babel": "^5.0.8",
"@vue/cli-plugin-typescript": "^5.0.8",
"@vue/cli-service": "^5.0.8",
"babel-loader": "^9.1.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"babel-loader": "^8",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"postcss": "^8.4.20",
"prettier": "^2.8.1",
"rollup": "^2.79.1",
"prettier": "^2.8.3",
"rollup": "^2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript": "^1.0.1",
"rollup-plugin-typescript2": "^0.34.1",
"rollup-plugin-vue": "^5.1.9",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vue-template-compiler": "^2.7.14",
"webpack": "^5.75.0"
"webpack": "^4"
}
}
2 changes: 1 addition & 1 deletion apps/vue2/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import type { Engine } from "tsparticles-engine";
import { loadFull } from "tsparticles";
import { basic } from "tsparticles-demo-configs";
import Particles from "@tsparticles/vue2";
import Particles from "vue2-particles";
Vue.use(Particles);
Expand Down
2 changes: 1 addition & 1 deletion apps/vue2/src/shims-vue.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ declare module '*.vue' {
export default Vue
}

declare module "@tsparticles/vue2";
declare module "vue2-particles";
211 changes: 0 additions & 211 deletions components-legacy/vue2-alt/traduction/README.de.md

This file was deleted.

Loading

0 comments on commit 5570655

Please sign in to comment.