Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.0.4](https://github.com/tsparticles/utils/compare/v2.0.3...v2.0.4) (2023-12-13)

**Note:** Version bump only for package tsparticles-utils-root





## [2.0.3](https://github.com/tsparticles/utils/compare/v2.0.2...v2.0.3) (2023-12-13)

**Note:** Version bump only for package tsparticles-utils-root





## [2.0.2](https://github.com/tsparticles/utils/compare/v2.0.1...v2.0.2) (2023-12-13)

**Note:** Version bump only for package tsparticles-utils-root





## 2.0.1 (2023-12-12)


### Bug Fixes

* **deps:** update dependency eslint-config-prettier to v9 ([b950d9f](https://github.com/tsparticles/utils/commit/b950d9f2eeca55228d613d6db00ffba0402d0634))
* **deps:** update dependency eslint-plugin-jsdoc to v44 ([b00f1fd](https://github.com/tsparticles/utils/commit/b00f1fd85756fb21c0eb3625f032d27fc1332659))
* **deps:** update dependency eslint-plugin-jsdoc to v45 ([4d0e75c](https://github.com/tsparticles/utils/commit/4d0e75c42cbde77cf5413c1322423b6e04085d09))
* **deps:** update dependency eslint-plugin-jsdoc to v46 ([91247e7](https://github.com/tsparticles/utils/commit/91247e794b3d8275afe12740fdd178a8e69b8b75))


### Features

* added additional externals parameter to webpack plugin ([01c94e8](https://github.com/tsparticles/utils/commit/01c94e8aea203c6c277cc612848a2b22a928a230))
* added effects support ([d1e1743](https://github.com/tsparticles/utils/commit/d1e17431a2b1af081f62f0e52bc7436e3b83e863))
* added eslint-plugin-import for enforcing .js at the end of every import ([be58415](https://github.com/tsparticles/utils/commit/be5841584f4b3a6d6b011031548e8c1929b05c2c))
* added version to webpack output ([496fcbb](https://github.com/tsparticles/utils/commit/496fcbb98c64cdb37c874bfbf8f9c3172806ef58))
6 changes: 4 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "independent",
"version": "2.0.4",
"npmClient": "pnpm",
"conventionalCommits": true,
"packages": ["packages/*"],
"packages": [
"packages/*"
],
"command": {
"version": {
"message": "chore(release): published new version"
Expand Down
45 changes: 45 additions & 0 deletions packages/eslint-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,51 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [2.0.4](https://github.com/tsparticles/utils/compare/v2.0.3...v2.0.4) (2023-12-13)

**Note:** Version bump only for package @tsparticles/eslint-config





## [2.0.3](https://github.com/tsparticles/utils/compare/v2.0.2...v2.0.3) (2023-12-13)

**Note:** Version bump only for package @tsparticles/eslint-config





## [2.0.2](https://github.com/tsparticles/utils/compare/v2.0.1...v2.0.2) (2023-12-13)

**Note:** Version bump only for package @tsparticles/eslint-config





## 2.0.1 (2023-12-12)


### Bug Fixes

* **deps:** update dependency eslint-config-prettier to v9 ([b950d9f](https://github.com/tsparticles/utils/commit/b950d9f2eeca55228d613d6db00ffba0402d0634))
* **deps:** update dependency eslint-plugin-jsdoc to v44 ([b00f1fd](https://github.com/tsparticles/utils/commit/b00f1fd85756fb21c0eb3625f032d27fc1332659))
* **deps:** update dependency eslint-plugin-jsdoc to v45 ([4d0e75c](https://github.com/tsparticles/utils/commit/4d0e75c42cbde77cf5413c1322423b6e04085d09))
* **deps:** update dependency eslint-plugin-jsdoc to v46 ([91247e7](https://github.com/tsparticles/utils/commit/91247e794b3d8275afe12740fdd178a8e69b8b75))


### Features

* added additional externals parameter to webpack plugin ([01c94e8](https://github.com/tsparticles/utils/commit/01c94e8aea203c6c277cc612848a2b22a928a230))
* added effects support ([d1e1743](https://github.com/tsparticles/utils/commit/d1e17431a2b1af081f62f0e52bc7436e3b83e863))
* added eslint-plugin-import for enforcing .js at the end of every import ([be58415](https://github.com/tsparticles/utils/commit/be5841584f4b3a6d6b011031548e8c1929b05c2c))





# [2.0.0](https://github.com/tsparticles/utils/compare/@tsparticles/eslint-config@2.0.0-beta.8...@tsparticles/eslint-config@2.0.0) (2023-11-21)

**Note:** Version bump only for package @tsparticles/eslint-config
Expand Down
131 changes: 102 additions & 29 deletions packages/eslint-config/eslint-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,32 @@ module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
project: "./tsconfig.json"
project: "./tsconfig.json",
},
plugins: ["@typescript-eslint", "jsdoc", "eslint-plugin-tsdoc"],
extends: ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended", "plugin:jsdoc/recommended-typescript", "prettier"],
plugins: [ "@typescript-eslint", "jsdoc", "eslint-plugin-tsdoc" ],
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/stylistic",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked",
"plugin:jsdoc/recommended-typescript",
"prettier"
],
rules: {
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/comma-spacing": ["error"],
"@typescript-eslint/consistent-generic-constructors": ["error", "constructor"],
"@typescript-eslint/consistent-type-exports": ["error"],
"@typescript-eslint/consistent-type-imports": ["error"],
"@typescript-eslint/comma-spacing": [ "error" ],
"@typescript-eslint/consistent-generic-constructors": [ "error", "constructor" ],
"@typescript-eslint/consistent-type-exports": [ "error" ],
"@typescript-eslint/consistent-type-imports": [ "error" ],
"@typescript-eslint/explicit-function-return-type": "error",
"@typescript-eslint/explicit-member-accessibility": ["error", {
"@typescript-eslint/explicit-member-accessibility": [ "error", {
accessibility: "no-public"
}],
} ],
"@typescript-eslint/no-explicit-any": "error", //"@typescript-eslint/no-extra-parens": [ "error" ],
"@typescript-eslint/no-inferrable-types": "error",
"@typescript-eslint/member-ordering": ["error", {
"@typescript-eslint/member-ordering": [ "error", {
default: {
memberTypes: [// Index signature
"signature",
Expand Down Expand Up @@ -46,21 +55,21 @@ module.exports = {
"constructor",

// Getters & Setters
["public-static-get", "public-static-set"], ["protected-static-get", "protected-static-set"], ["private-static-get", "private-static-set"],
[ "public-static-get", "public-static-set" ], [ "protected-static-get", "protected-static-set" ], [ "private-static-get", "private-static-set" ],

["public-decorated-get", "public-decorated-set"], ["protected-decorated-get", "protected-decorated-set"], ["private-decorated-get", "private-decorated-set"],
[ "public-decorated-get", "public-decorated-set" ], [ "protected-decorated-get", "protected-decorated-set" ], [ "private-decorated-get", "private-decorated-set" ],

["public-instance-get", "public-instance-set"], ["protected-instance-get", "protected-instance-set"], ["private-instance-get", "private-instance-set"],
[ "public-instance-get", "public-instance-set" ], [ "protected-instance-get", "protected-instance-set" ], [ "private-instance-get", "private-instance-set" ],

["public-abstract-get", "public-abstract-set"], ["protected-abstract-get", "protected-abstract-set"],
[ "public-abstract-get", "public-abstract-set" ], [ "protected-abstract-get", "protected-abstract-set" ],

["public-get", "public-set"], ["protected-get", "protected-set"], ["private-get", "private-set"],
[ "public-get", "public-set" ], [ "protected-get", "protected-set" ], [ "private-get", "private-set" ],

["static-get", "static-set"], ["instance-get", "instance-set"], ["abstract-get", "abstract-set"],
[ "static-get", "static-set" ], [ "instance-get", "instance-set" ], [ "abstract-get", "abstract-set" ],

["decorated-get", "decorated-set"],
[ "decorated-get", "decorated-set" ],

["get", "set"],
[ "get", "set" ],

// Methods
"public-static-method", "protected-static-method", "private-static-method",
Expand All @@ -77,29 +86,93 @@ module.exports = {

"decorated-method",

"method"], order: "alphabetically"
"method" ], order: "alphabetically"
}
}],
} ],
"@typescript-eslint/no-unnecessary-type-arguments": "error",
"@typescript-eslint/no-unnecessary-type-assertion": "error",
"@typescript-eslint/no-unused-vars": ["error", {
"@typescript-eslint/no-unused-vars": [ "error", {
argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
destructuredArrayIgnorePattern: "^_",
varsIgnorePattern: "^_"
}],
} ],
"@typescript-eslint/no-var-requires": "error",
"@typescript-eslint/prefer-readonly": ["error"],
"comma-spacing": "off", //"no-extra-parens": "off",
"@typescript-eslint/prefer-readonly": [ "error" ],
"no-console": "error",
"sort-imports": ["error", {
"sort-imports": [ "error", {
allowSeparatedGroups: false,
ignoreCase: false,
ignoreDeclarationSort: false,
ignoreMemberSort: false,
memberSyntaxSortOrder: ["none", "all", "multiple", "single"]
}],
"tsdoc/syntax": "warn"

memberSyntaxSortOrder: [ "none", "all", "multiple", "single" ]
} ],
"tsdoc/syntax": "warn",
"no-nested-ternary": "error",
"no-unneeded-ternary": "error",
"no-var": "error",
"prefer-const": "error",
"prefer-object-spread": "error",
"prefer-template": "error",
"quote-props": [ "error", "as-needed" ],
"space-in-parens": [ "error", "never" ],
"spaced-comment": [ "error", "always", {
block: {
balanced: true
}
} ],
"yoda": [ "error", "never", {
exceptRange: true
} ],
"arrow-spacing": "error",
"no-duplicate-imports": "error",
"no-useless-rename": "error",
"no-useless-return": "error",
"no-useless-computed-key": "error",
"no-useless-concat": "error",
"no-useless-escape": "error",
"constructor-super": "error",
"no-this-before-super": "error",
"no-duplicate-case": "error",
"no-empty": "error",
"no-func-assign": "error",
"no-irregular-whitespace": "error",
"no-unexpected-multiline": "error",
"no-unreachable": "error",
"valid-typeof": "error",
"no-unsafe-finally": "error",
"no-case-declarations": "error",
"no-empty-pattern": "error",
"no-extra-boolean-cast": "error",
"no-inner-declarations": "error",
"no-prototype-builtins": "error",
"no-self-assign": "error",
"no-unused-labels": "error",
"no-useless-catch": "error",
"quotes": "off",
"@typescript-eslint/quotes": [ "error", "double", {
allowTemplateLiterals: true,
avoidEscape: true
} ],
"semi": "off",
"@typescript-eslint/semi": [ "error", "always" ],
"space-before-blocks": "off",
"@typescript-eslint/space-before-blocks": "error",
"space-infix-ops": "off",
"@typescript-eslint/space-infix-ops": "error",
"keyword-spacing": "off",
"@typescript-eslint/keyword-spacing": "error",
"no-useless-constructor": "off",
"@typescript-eslint/no-useless-constructor": "error",
"no-extra-semi": "off",
"@typescript-eslint/no-extra-semi": "error",
"no-empty-function": "off",
"@typescript-eslint/no-empty-function": "error",
"no-throw-literal": "off",
"@typescript-eslint/no-throw-literal": "error",
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "error",
"no-magic-numbers": "off",
"@typescript-eslint/no-magic-numbers": [ "error", { ignoreEnums: true, ignoreNumericLiteralTypes: true } ],
}
};
20 changes: 10 additions & 10 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tsparticles/eslint-config",
"version": "2.0.0",
"version": "2.0.4",
"description": "tsParticles default ESLint Configuration",
"main": "eslint-config.js",
"license": "MIT",
Expand All @@ -11,15 +11,15 @@
"access": "public"
},
"dependencies": {
"@tsparticles/prettier-config": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsdoc": "^48.0.0",
"@tsparticles/prettier-config": "^2.0.1",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^48.0.2",
"eslint-plugin-tsdoc": "^0.2.17",
"prettier": "^3.1.0",
"typescript": "^5.3.2"
"prettier": "^3.1.1",
"typescript": "^5.3.3"
}
}
8 changes: 8 additions & 0 deletions packages/prettier-config/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.0.1 (2023-12-12)

**Note:** Version bump only for package @tsparticles/prettier-config





# [2.0.0](https://github.com/tsparticles/utils/compare/@tsparticles/prettier-config@2.0.0-beta.5...@tsparticles/prettier-config@2.0.0) (2023-11-21)

**Note:** Version bump only for package @tsparticles/prettier-config
Expand Down
4 changes: 2 additions & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tsparticles/prettier-config",
"version": "2.0.0",
"version": "2.0.1",
"description": "tsParticles default Prettier Configuration",
"main": "prettier-config.json",
"license": "MIT",
Expand All @@ -12,7 +12,7 @@
"access": "public"
},
"dependencies": {
"prettier": "^3.1.0",
"prettier": "^3.1.1",
"prettier-plugin-multiline-arrays": "^3.0.1"
}
}
11 changes: 11 additions & 0 deletions packages/tsconfig/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 2.0.1 (2023-12-12)


### Features

* added additional externals parameter to webpack plugin ([01c94e8](https://github.com/tsparticles/utils/commit/01c94e8aea203c6c277cc612848a2b22a928a230))





# [2.0.0](https://github.com/tsparticles/utils/compare/@tsparticles/tsconfig@2.0.0-beta.2...@tsparticles/tsconfig@2.0.0) (2023-11-21)

**Note:** Version bump only for package @tsparticles/tsconfig
Expand Down
4 changes: 2 additions & 2 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@tsparticles/tsconfig",
"version": "2.0.0",
"version": "2.0.1",
"description": "tsParticles default TypeScript Compiler Configuration",
"license": "MIT",
"publishConfig": {
"access": "public"
},
"dependencies": {
"typescript": "^5.3.2"
"typescript": "^5.3.3"
}
}
Loading