@origingame/create-game 0.1.0 → 0.1.1
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/archetypes/idle/gitignore +8 -0
- package/archetypes/idle/package.json +1 -1
- package/archetypes/idle/project.ogt +1 -1
- package/archetypes/match3/gitignore +8 -0
- package/archetypes/match3/package.json +1 -1
- package/archetypes/match3/project.ogt +1 -1
- package/archetypes/rhythm/gitignore +8 -0
- package/archetypes/rhythm/package.json +1 -1
- package/archetypes/rhythm/project.ogt +1 -1
- package/archetypes/roguelike/gitignore +8 -0
- package/archetypes/roguelike/package.json +1 -1
- package/archetypes/roguelike/project.ogt +1 -1
- package/archetypes/runner/gitignore +8 -0
- package/archetypes/runner/package.json +1 -1
- package/archetypes/runner/project.ogt +1 -1
- package/archetypes/third-person/gitignore +8 -0
- package/archetypes/third-person/package.json +1 -1
- package/archetypes/third-person/project.ogt +1 -1
- package/archetypes/topdown/gitignore +8 -0
- package/archetypes/topdown/package.json +1 -1
- package/archetypes/topdown/project.ogt +1 -1
- package/archetypes/tower-defense/gitignore +8 -0
- package/archetypes/tower-defense/package.json +1 -1
- package/archetypes/tower-defense/project.ogt +1 -1
- package/bin/create.ts +9 -2
- package/package.json +1 -1
- package/template/gitignore +8 -0
- package/template/package.json +1 -1
- package/template/project.ogt +1 -1
package/bin/create.ts
CHANGED
|
@@ -28,9 +28,16 @@ export const SKIPPED = new Set(["cooked", "dist", "node_modules", "og-out", ".og
|
|
|
28
28
|
* Template files stored under another name and renamed in the scaffold: the
|
|
29
29
|
* template's Git attributes route media through LFS in a game's repository,
|
|
30
30
|
* but as `.gitattributes` they would do the same in the engine repository,
|
|
31
|
-
* which stores the template's media as plain blobs
|
|
31
|
+
* which stores the template's media as plain blobs; and `.gitignore`, which
|
|
32
|
+
* npm drops from every tarball, so the published package carries it as
|
|
33
|
+
* `gitignore` (scripts/pack-template.ts renames it at pack; the engine
|
|
34
|
+
* repository keeps the dotted name, and a copy taken from there scaffolds
|
|
35
|
+
* the same).
|
|
32
36
|
*/
|
|
33
|
-
export const RENAMED: ReadonlyMap<string, string> = new Map([
|
|
37
|
+
export const RENAMED: ReadonlyMap<string, string> = new Map([
|
|
38
|
+
["gitattributes", ".gitattributes"],
|
|
39
|
+
["gitignore", ".gitignore"],
|
|
40
|
+
]);
|
|
34
41
|
|
|
35
42
|
export interface CreateOptions {
|
|
36
43
|
readonly dir: string;
|
package/package.json
CHANGED
package/template/package.json
CHANGED
package/template/project.ogt
CHANGED