create-coralite 0.26.0 → 0.28.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-coralite",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "description": "Coralite scaffolding script",
5
5
  "bin": {
6
6
  "create-coralite": "bin/index.js",
@@ -4,7 +4,7 @@ export default defineConfig({
4
4
  public: 'public',
5
5
  output: 'dist',
6
6
  pages: 'src/pages',
7
- templates: 'src/templates',
7
+ components: 'src/components',
8
8
  styles: {
9
9
  type: 'css',
10
10
  input: 'src/css'
@@ -7,7 +7,7 @@
7
7
  "build": "coralite-scripts build"
8
8
  },
9
9
  "devDependencies": {
10
- "coralite-scripts": "^0.26.0",
10
+ "coralite-scripts": "^0.28.0",
11
11
  "cross-env": "^10.1.0"
12
12
  }
13
13
  }
@@ -38,7 +38,7 @@
38
38
  const button = helpers.refs('count-button')
39
39
  const step = values.step ? parseInt(values.step) : 1
40
40
  let count = 0
41
-
41
+
42
42
  button.addEventListener('click', () => {
43
43
  // increment the counter by the specified step value
44
44
  count += step
@@ -4,7 +4,7 @@ export default defineConfig({
4
4
  public: 'public',
5
5
  output: 'dist',
6
6
  pages: 'src/pages',
7
- templates: 'src/templates',
7
+ components: 'src/components',
8
8
  styles: {
9
9
  type: 'scss',
10
10
  input: 'src/scss'
@@ -7,7 +7,7 @@
7
7
  "build": "coralite-scripts build"
8
8
  },
9
9
  "devDependencies": {
10
- "coralite-scripts": "^0.26.0",
10
+ "coralite-scripts": "^0.28.0",
11
11
  "cross-env": "^10.1.0"
12
12
  }
13
13
  }
@@ -38,7 +38,7 @@
38
38
  const button = helpers.refs('count-button')
39
39
  const step = values.step ? parseInt(values.step) : 1
40
40
  let count = 0
41
-
41
+
42
42
  button.addEventListener('click', () => {
43
43
  // increment the counter by the specified step value
44
44
  count += step