generator-jscad 3.0.0 → 3.0.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.
@@ -127,8 +127,8 @@ module.exports = class extends Generator {
127
127
  this.props.projectType == 'single'
128
128
  ? 'main.jscad'
129
129
  : this.props.projectType == 'multi-list'
130
- ? 'main-list.jscad'
131
- : 'main-checkbox.jscad';
130
+ ? 'main-list.jscad'
131
+ : 'main-checkbox.jscad';
132
132
  this.fs.copyTpl(
133
133
  this.templatePath(template),
134
134
  this.destinationPath(this.props.name + '.jscad'),
@@ -143,13 +143,23 @@ module.exports = class extends Generator {
143
143
  }
144
144
 
145
145
  this.fs.copy(
146
- this.templatePath('_vuepress/components/VuepressOpenJscad.vue'),
147
- this.destinationPath('.vuepress/components/VuepressOpenJscad.vue')
146
+ this.templatePath('_vitepress/theme/components/VuepressOpenJscad.vue'),
147
+ this.destinationPath('.vitepress/theme/components/VuepressOpenJscad.vue')
148
148
  );
149
149
 
150
150
  this.fs.copy(
151
- this.templatePath('_vuepress/config.js'),
152
- this.destinationPath('.vuepress/config.js')
151
+ this.templatePath('_vitepress/theme/custom.css'),
152
+ this.destinationPath('.vitepress/theme/custom.css')
153
+ );
154
+
155
+ this.fs.copy(
156
+ this.templatePath('_vitepress/theme/index.js'),
157
+ this.destinationPath('.vitepress/theme/index.js')
158
+ );
159
+
160
+ this.fs.copy(
161
+ this.templatePath('_vitepress/config.mjs'),
162
+ this.destinationPath('.vitepress/config.mjs')
153
163
  );
154
164
 
155
165
  this.fs.copy(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-jscad",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Create a jscad project",
5
5
  "homepage": "https://gitlab.com/johnwebbcole/generator-jscad",
6
6
  "author": {