@iruka-edu/create-iruka-game 1.0.1 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/index.cjs +8 -0
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -94,6 +94,14 @@ async function init() {
94
94
  //npm.pkg.github.com/:_authToken=${token}
95
95
  `;
96
96
  import_fs_extra.default.writeFileSync(import_node_path.default.join(root, ".npmrc"), npmrcContent.trim());
97
+ const gitignoreContent = `
98
+ node_modules
99
+ .npmrc
100
+ .env
101
+ dist
102
+ .DS_Store
103
+ `.trim();
104
+ import_fs_extra.default.writeFileSync(import_node_path.default.join(root, ".gitignore"), gitignoreContent);
97
105
  console.log(import_picocolors.default.blue("\u{1F4E6} \u0110ang c\xE0i \u0111\u1EB7t th\u01B0 vi\u1EC7n..."));
98
106
  try {
99
107
  const userAgent = process.env.npm_config_user_agent || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iruka-edu/create-iruka-game",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Create Iruka mini game (React + Phaser template)",
5
5
  "license": "MIT",
6
6
  "type": "module",