@inglorious/create-app 0.5.0 → 0.5.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inglorious/create-app",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
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.1"
41
+ "@inglorious/eslint-config": "1.1.2"
42
42
  },
43
43
  "scripts": {
44
44
  "format": "prettier --write .",
@@ -6,9 +6,9 @@ export const message = {
6
6
  },
7
7
 
8
8
  render(entity, api) {
9
- const message = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
9
+ const who = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
10
10
  return html`<span @click=${() => api.notify(`#${entity.id}:click`)}
11
- >Hello ${message}</span
11
+ >Hello ${who}</span
12
12
  >`
13
13
  },
14
14
  }
@@ -4,11 +4,9 @@ export const message = {
4
4
  },
5
5
 
6
6
  render(entity, api) {
7
- const message = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
7
+ const who = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
8
8
  return (
9
- <span onClick={() => api.notify(`#${entity.id}:click`)}>
10
- Hello {message}
11
- </span>
9
+ <span onClick={() => api.notify(`#${entity.id}:click`)}>Hello {who}</span>
12
10
  )
13
11
  },
14
12
  }
@@ -6,9 +6,9 @@ export const message = {
6
6
  },
7
7
 
8
8
  render(entity, api) {
9
- const message = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
9
+ const who = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
10
10
  return html`<span @click=${() => api.notify(`#${entity.id}:click`)}
11
- >Hello ${message}</span
11
+ >Hello ${who}</span
12
12
  >`
13
13
  },
14
14
  }
@@ -8,9 +8,9 @@ export const message: MessageType = {
8
8
  },
9
9
 
10
10
  render(entity, api) {
11
- const message = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
11
+ const who = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
12
12
  return html`<span @click=${() => api.notify(`#${entity.id}:click`)}
13
- >Hello ${message}</span
13
+ >Hello ${who}</span
14
14
  >`
15
15
  },
16
16
  }
@@ -6,11 +6,9 @@ export const message: MessageType = {
6
6
  },
7
7
 
8
8
  render(entity, api) {
9
- const message = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
9
+ const who = entity.isUpperCase ? entity.who.toUpperCase() : entity.who
10
10
  return (
11
- <span onClick={() => api.notify(`#${entity.id}:click`)}>
12
- Hello {message}
13
- </span>
11
+ <span onClick={() => api.notify(`#${entity.id}:click`)}>Hello {who}</span>
14
12
  )
15
13
  },
16
14
  }