create-coralite 0.18.6 → 0.19.0

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/README.md CHANGED
@@ -68,6 +68,6 @@ pnpm create coralite
68
68
  - Path: [packages/create-coralite](https://codeberg.org/tjdavid/coralite/src/branch/main/packages/create-coralite) within the larger Coralite repository.
69
69
 
70
70
  ### Official Documentation
71
- - Accessible at: [https://coralite.io/docs/create-coralite](https://coralite.io/docs/create-coralite)
71
+ - Accessible at: [https://coralite.dev/docs/create-coralite](https://coralite.dev/docs/create-coralite)
72
72
 
73
73
  > **Recommended**: Visit documentation for advanced usage, template details, and project structure reference.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-coralite",
3
- "version": "0.18.6",
3
+ "version": "0.19.0",
4
4
  "description": "Coralite scaffolding script",
5
5
  "bin": {
6
6
  "create-coralite": "bin/index.js",
@@ -27,7 +27,7 @@
27
27
  "url": "https://codeberg.org/tjdavid/coralite.git",
28
28
  "directory": "packages/create-coralite"
29
29
  },
30
- "homepage": "https://coralite.io/docs/create-coralite",
30
+ "homepage": "https://coralite.dev/docs/create-coralite",
31
31
  "author": {
32
32
  "name": "Thomas David",
33
33
  "url": "https://thomasjackdavid.com"
@@ -7,6 +7,6 @@
7
7
  "build": "coralite-scripts build"
8
8
  },
9
9
  "devDependencies": {
10
- "coralite-scripts": "^0.18.6"
10
+ "coralite-scripts": "^0.19.0"
11
11
  }
12
- }
12
+ }
@@ -8,7 +8,7 @@
8
8
  import { defineComponent } from 'coralite'
9
9
 
10
10
  export default defineComponent({
11
- script ({ values, refs }) {
11
+ script ({ values }, { refs }) {
12
12
  const button = refs('count-button')
13
13
  const step = values.step ? parseInt(values.step) : 1
14
14
  let count = 0
@@ -7,6 +7,6 @@
7
7
  "build": "coralite-scripts build"
8
8
  },
9
9
  "devDependencies": {
10
- "coralite-scripts": "^0.18.6"
10
+ "coralite-scripts": "^0.19.0"
11
11
  }
12
12
  }
@@ -8,7 +8,7 @@
8
8
  import { defineComponent } from 'coralite'
9
9
 
10
10
  export default defineComponent({
11
- script ({ values, refs }) {
11
+ script ({ values }, { refs }) {
12
12
  const button = refs('count-button')
13
13
  const step = values.step ? parseInt(values.step) : 1
14
14
  let count = 0