Skip to content

Commit b4a1473

Browse files
committed
test
1 parent a72efc8 commit b4a1473

315 files changed

Lines changed: 87256 additions & 284617 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.editorconfig

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# http://editorconfig.org
2-
root = true
3-
4-
[*]
5-
indent_style = space
6-
indent_size = 4
7-
end_of_line = lf
8-
charset = utf-8
9-
trim_trailing_whitespace = true
10-
insert_final_newline = true
11-
12-
[*.md]
13-
trim_trailing_whitespace = false
1+
# http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 4
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = true
11+
12+
[*.md]
13+
trim_trailing_whitespace = false

.eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
"no-lonely-if": "error",
8383
"no-mixed-spaces-and-tabs": "error",
8484
"no-plusplus": "off",
85+
"no-prototype-builtins": "off",
8586
"no-trailing-spaces": [ "error", { "skipBlankLines": true, "ignoreComments": true } ],
8687
"no-underscore-dangle": "off",
8788
"no-whitespace-before-property": "error",

.github/CONTRIBUTING.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,20 @@ Before contributing, please read the [code of conduct](https://github.com/photon
2222

2323
We have a very active [Phaser Support Forum][4]. If you need general support, or are struggling to understand how to do something or need your code checked over, then we would urge you to post it to our forum. There are a lot of friendly devs in there who can help, as well as the core Phaser team, so it's a great place to get support. You're welcome to report bugs directly on GitHub, but for general support we'd always recommend using the forum first.
2424

25+
## Contribute with online one-click setup
26+
27+
You can use Gitpod (a free online VS Code-like IDE) for contributing. With a single click, it will launch a workspace and automatically:
28+
29+
- clone the `phaser` repo.
30+
- install the dependencies.
31+
- run `npm run build`.
32+
- run `npm run watch`.
33+
- clone `phaser-3-examples` and afterwards install dependencies and run `npm start` in there.
34+
35+
So that anyone interested in contributing can start straight away.
36+
37+
[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/photonstorm/phaser)
38+
2539
## Making Changes
2640

2741
I'm assuming you already have a recent version of [Node](https://nodejs.org) installed locally and can run `npm`. This guide is tested and works on both Windows 10 and OS X.

.gitpod.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
tasks:
2+
- init: >
3+
npm install &&
4+
npm run build
5+
command: npm run watch
6+
- init: >
7+
cd ../ &&
8+
git clone https://github.com/photonstorm/phaser3-examples.git &&
9+
cd phaser3-examples &&
10+
npm install && npm start
11+
ports:
12+
- port: 8080
13+
onOpen: open-preview

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git:
66
language: node_js
77

88
node_js:
9-
- '9'
9+
- '10'
1010

1111
env:
1212
- TERM=dumb

CHANGELOG.md

Lines changed: 333 additions & 3 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 78 additions & 304 deletions
Large diffs are not rendered by default.

config/webpack.dist.config.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22

33
const webpack = require('webpack');
44
const UglifyJSPlugin = require('uglifyjs-webpack-plugin');
5-
const CleanWebpackPlugin = require('clean-webpack-plugin');
6-
7-
const basePath = __dirname;
8-
const targetFolder = 'dist';
5+
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
96

107
module.exports = {
118
mode: 'production',
@@ -57,8 +54,6 @@ module.exports = {
5754
"typeof FEATURE_SOUND": JSON.stringify(true)
5855
}),
5956

60-
new CleanWebpackPlugin([targetFolder], {
61-
root: basePath + '/../'
62-
})
57+
new CleanWebpackPlugin()
6358
]
6459
};

0 commit comments

Comments
 (0)