Skip to content

Commit 161472d

Browse files
committed
rename .gitignore -> _gitignore and back
1 parent d7f5358 commit 161472d

File tree

6 files changed

+7
-3
lines changed

6 files changed

+7
-3
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2019 Endel Dreyer
1+
Copyright (c) 2019-2025 Endel Dreyer
22

33
MIT License:
44

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ prompt.run().then(language => {
6262
}
6363
console.info(`✂️ Created ${results.length} files.`);
6464

65+
// rename _gitignore to .gitignore (NPM does not let publishing .gitignore files)
66+
fs.renameSync(path.join(outputDir, "_gitignore"), path.join(outputDir, ".gitignore"));
67+
6568
const pkgManager = (isBun)
6669
? 'bun'
6770
: (/yarn/.test(process.env.npm_execpath))

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "create-colyseus-app",
3-
"version": "0.16.4",
3+
"version": "0.16.6",
44
"description": "npm init template for bootstrapping an empty Colyseus project",
55
"main": "lib/index.js",
66
"bin": {
77
"create-colyseus-app": "index.js"
88
},
99
"engines": {
10-
"node": ">= 14.x"
10+
"node": ">= 20.x"
1111
},
1212
"repository": {
1313
"type": "git",
@@ -18,6 +18,7 @@
1818
"multiplayer",
1919
"boilerplate"
2020
],
21+
"files": ["templates", "index.js"],
2122
"author": "Endel Dreyer",
2223
"license": "MIT",
2324
"bugs": {
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)