create-moost 0.3.0 → 0.3.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/dist/index.cjs CHANGED
@@ -225,7 +225,6 @@ function scaffold(data) {
225
225
  const excludeCommon = [];
226
226
  if (!data.eslint) {
227
227
  excludeCommon.push('.eslintrc.json');
228
- excludeCommon.push('build.js');
229
228
  }
230
229
  if (!data.prettier) {
231
230
  excludeCommon.push('.prettierignore');
@@ -234,6 +233,9 @@ function scaffold(data) {
234
233
  if (data.bundler !== 'rollup') {
235
234
  excludeCommon.push('rollup.config.js');
236
235
  }
236
+ if (data.bundler !== 'esbuild') {
237
+ excludeCommon.push('build.js');
238
+ }
237
239
  yield rw.rewriteDir({
238
240
  baseDir: templatePath,
239
241
  output: projectDir,
package/dist/index.mjs CHANGED
@@ -223,7 +223,6 @@ function scaffold(data) {
223
223
  const excludeCommon = [];
224
224
  if (!data.eslint) {
225
225
  excludeCommon.push('.eslintrc.json');
226
- excludeCommon.push('build.js');
227
226
  }
228
227
  if (!data.prettier) {
229
228
  excludeCommon.push('.prettierignore');
@@ -232,6 +231,9 @@ function scaffold(data) {
232
231
  if (data.bundler !== 'rollup') {
233
232
  excludeCommon.push('rollup.config.js');
234
233
  }
234
+ if (data.bundler !== 'esbuild') {
235
+ excludeCommon.push('build.js');
236
+ }
235
237
  yield rw.rewriteDir({
236
238
  baseDir: templatePath,
237
239
  output: projectDir,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-moost",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "create-moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -41,10 +41,10 @@
41
41
  },
42
42
  "homepage": "https://github.com/moostjs/moostjs/tree/main/packages/create-moost#readme",
43
43
  "dependencies": {
44
- "@moostjs/event-cli": "0.3.0",
44
+ "@moostjs/event-cli": "0.3.1",
45
45
  "@wooksjs/event-cli": "^0.4.1",
46
46
  "@prostojs/rewrite": "^0.0.4",
47
- "moost": "0.3.0",
47
+ "moost": "0.3.1",
48
48
  "prompts": "^2.4.2"
49
49
  }
50
50
  }