@inglorious/create-app 0.1.0 → 0.1.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.
package/bin/index.js CHANGED
@@ -34,6 +34,11 @@ async function main() {
34
34
  name: "template",
35
35
  message: "Select a template",
36
36
  choices: [
37
+ {
38
+ title: "Minimal",
39
+ description: "A single HTML file for a zero-build setup",
40
+ value: "minimal",
41
+ },
37
42
  {
38
43
  title: "JavaScript",
39
44
  description: "A vanilla JavaScript setup with Vite",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/create-app",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "A scaffolding tool to quickly create a new app with Inglorious Web.",
5
5
  "author": "IceOnFire <antony.mistretta@gmail.com> (https://ingloriouscoderz.it)",
6
6
  "license": "MIT",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "prettier": "^3.6.2",
41
- "@inglorious/eslint-config": "1.1.0"
41
+ "@inglorious/eslint-config": "1.1.1"
42
42
  },
43
43
  "scripts": {
44
44
  "format": "prettier --write '**/*.{js,ts}'",
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@inglorious/eslint-config": "workspace:*",
20
+ "eslint": "^9.39.1",
20
21
  "prettier": "^3.6.2",
21
22
  "vite": "^7.1.6"
22
23
  },
@@ -2,7 +2,7 @@ import { html } from "@inglorious/web"
2
2
 
3
3
  export const message = {
4
4
  click(entity) {
5
- entity.isUpperCase = true
5
+ entity.isUpperCase = !entity.isUpperCase
6
6
  },
7
7
 
8
8
  render(entity, api) {
@@ -2,7 +2,7 @@ import { html } from "@inglorious/web"
2
2
 
3
3
  export const message = {
4
4
  click(entity) {
5
- entity.isUpperCase = true
5
+ entity.isUpperCase = !entity.isUpperCase
6
6
  },
7
7
 
8
8
  render(entity, api) {
@@ -17,6 +17,7 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@inglorious/eslint-config": "workspace:*",
20
+ "eslint": "^9.39.1",
20
21
  "prettier": "^3.6.2",
21
22
  "typescript": "^5.9.2",
22
23
  "vite": "^7.1.6"
@@ -3,33 +3,5 @@
3
3
  }
4
4
 
5
5
  body {
6
- font-family: "Press Start 2P", system-ui;
7
- width: 100vw;
8
- height: 100vh;
9
6
  margin: 0;
10
- display: flex;
11
- flex-direction: column;
12
- justify-content: center;
13
- align-items: center;
14
- background-color: #000;
15
- color: #fff;
16
- }
17
-
18
- canvas {
19
- max-width: 1280px;
20
- max-height: 720px;
21
- width: 100vw;
22
- height: auto;
23
- cursor: none;
24
- }
25
-
26
- @media (orientation: landscape) and (pointer: coarse) {
27
- canvas {
28
- width: auto;
29
- height: 100vh;
30
- }
31
- }
32
-
33
- img {
34
- display: none;
35
7
  }
@@ -4,7 +4,7 @@ import type { MessageEntity } from "../../types"
4
4
 
5
5
  export const message = {
6
6
  click(entity: MessageEntity) {
7
- entity.isUpperCase = true
7
+ entity.isUpperCase = !entity.isUpperCase
8
8
  },
9
9
 
10
10
  render(entity: MessageEntity, api: Api) {