@inglorious/create-game 1.1.1 → 1.2.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/README.md +3 -8
- package/package.json +1 -1
- package/templates/ijs/gitignore +3 -0
- package/templates/ijs/vercel.json +9 -0
- package/templates/its/gitignore +3 -0
- package/templates/its/vercel.json +9 -0
- package/templates/js/gitignore +3 -0
- package/templates/js/vercel.json +9 -0
- package/templates/minimal/vercel.json +9 -0
- package/templates/ts/gitignore +3 -0
- package/templates/ts/vercel.json +9 -0
package/README.md
CHANGED
|
@@ -8,16 +8,9 @@ This package allows you to generate a new project from a set of pre-configured t
|
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
-
To create a new game, run
|
|
11
|
+
To create a new game, run this command in your terminal. You will be prompted to choose a project name and select a template.
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
# with npm
|
|
15
|
-
npm create @inglorious/game@latest
|
|
16
|
-
|
|
17
|
-
# with yarn
|
|
18
|
-
yarn create @inglorious/game
|
|
19
|
-
|
|
20
|
-
# with pnpm
|
|
21
14
|
pnpm create @inglorious/game
|
|
22
15
|
```
|
|
23
16
|
|
|
@@ -39,6 +32,8 @@ The following templates are available to get you started:
|
|
|
39
32
|
|
|
40
33
|
The tool will create a new directory with your chosen project name and copy the template files into it. It will also automatically update the `package.json` with your project's name.
|
|
41
34
|
|
|
35
|
+
Every template includes a `vercel.json` that deploys only the `main` branch on Vercel; change `main` there if your production branch has another name.
|
|
36
|
+
|
|
42
37
|
After the project is created, you can navigate into the directory and install the dependencies.
|
|
43
38
|
|
|
44
39
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inglorious/create-game",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "A scaffolding tool to quickly create a new game with the Inglorious Engine.",
|
|
5
5
|
"author": "Matteo Antony Mistretta <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
|
|
6
6
|
"license": "MIT",
|
package/templates/ijs/gitignore
CHANGED
package/templates/its/gitignore
CHANGED
package/templates/js/gitignore
CHANGED
package/templates/ts/gitignore
CHANGED