@vpmedia/phaser 1.42.0 → 1.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGES.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## 1.43.0
7
+
8
+ - Updated dependencies
9
+
6
10
  ## 1.42.0
7
11
 
8
12
  - Added error notification for invalid texture frames
package/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # @vpmedia/phaser
2
2
 
3
- [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.42.0)](https://badge.fury.io/js/@vpmedia%2Fphaser)
4
- [![Node.js CI](https://github.com/vpmedia/phaser/actions/workflows/node.js.yml/badge.svg)](https://github.com/vpmedia/phaser/actions/workflows/node.js.yml)
3
+ [![npm version](https://badge.fury.io/js/@vpmedia%2Fphaser.svg?v=1.43.0)](https://badge.fury.io/js/@vpmedia%2Fphaser)
4
+ [![Node.js CI](https://github.com/vpmedia/phaser/actions/workflows/ci.yml/badge.svg)](https://github.com/vpmedia/phaser/actions/workflows/ci.yml)
5
5
 
6
6
  @vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2.
7
7
 
package/lefthook.yml ADDED
@@ -0,0 +1,22 @@
1
+ # Copyright (c) Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)
2
+ # author: Andras Csizmadia <andras@vpmedia.hu>
3
+ # see: https://github.com/evilmartians/lefthook/blob/master/docs/configuration.md
4
+
5
+ pre-commit:
6
+ parallel: false
7
+ commands:
8
+ lint_yaml:
9
+ glob: "*.{yml,yaml}"
10
+ run: |
11
+ set -e
12
+ yq 'true' {staged_files} > /dev/null
13
+ lint_json:
14
+ glob: "*.{json}"
15
+ run: |
16
+ set -e
17
+ jq empty {staged_files}
18
+ lint_js:
19
+ glob: "*.{js,ts,jsx,tsx}"
20
+ run: |
21
+ set -e
22
+ ./node_modules/.bin/eslint {staged_files}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vpmedia/phaser",
3
- "version": "1.42.0",
3
+ "version": "1.43.0",
4
4
  "description": "@vpmedia/phaser is the modern ECMAScript port of the popular Phaser game engine v2.6.2",
5
5
  "author": "Andras Csizmadia <andras@vpmedia.hu> (www.vpmedia.hu)",
6
6
  "license": "MIT",
@@ -24,27 +24,24 @@
24
24
  "type": "module",
25
25
  "devDependencies": {
26
26
  "@jest/globals": "^29.7.0",
27
- "@types/jest": "^29.5.6",
28
- "eslint": "^8.52.0",
29
- "eslint-config-prettier": "^9.0.0",
30
- "eslint-plugin-import": "^2.29.0",
31
- "eslint-plugin-jest": "^27.4.3",
32
- "eslint-plugin-jsdoc": "^46.8.2",
33
- "eslint-plugin-prettier": "^5.0.1",
34
- "husky": "^8.0.3",
27
+ "@types/jest": "^29.5.12",
28
+ "eslint": "^8.56.0",
29
+ "eslint-plugin-import": "^2.29.1",
30
+ "eslint-plugin-jest": "^27.6.3",
31
+ "eslint-plugin-jsdoc": "^48.0.4",
35
32
  "jest": "^29.7.0",
36
33
  "jest-environment-jsdom": "^29.7.0",
37
- "lint-staged": "^15.0.2",
38
- "prettier": "^3.0.3",
39
- "typescript": "^5.2.2"
34
+ "lefthook": "^1.6.1",
35
+ "prettier": "^3.2.4",
36
+ "typescript": "^5.3.3"
40
37
  },
41
38
  "scripts": {
42
39
  "test": "NODE_OPTIONS=--experimental-vm-modules jest --passWithNoTests",
43
40
  "lint": "eslint --fix \"**/*.{js,jsx}\"",
44
41
  "typecheck": "tsc",
45
- "format": "prettier --write \"**/*.{css,js,jsx,json,md}\"",
46
- "prepare": "husky install",
47
- "lint-staged": "lint-staged"
42
+ "format": "prettier --write \"**/*.{css,js,jsx}\"",
43
+ "lefthook:install": "lefthook install",
44
+ "lefthook:uninstall": "lefthook uninstall"
48
45
  },
49
46
  "browserslist": [
50
47
  "> 1%",