create-blocklet 0.3.7 → 0.3.8

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.
@@ -0,0 +1,23 @@
1
+ # For more information about the properties used in
2
+ # this file, please see the EditorConfig documentation:
3
+ # http://editorconfig.org/
4
+ #
5
+ # Sensible EditorConfig defaults
6
+ # https://gist.github.com/matijs/662bf45dd4ec37b3a068
7
+ root = true
8
+
9
+ [*]
10
+ charset = utf-8
11
+ end_of_line = lf
12
+ indent_size = 2
13
+ indent_style = space
14
+ insert_final_newline = true
15
+ trim_trailing_whitespace = true
16
+
17
+ # Make sure package.json always uses 2 spaces to indent
18
+ [{package.json}]
19
+ indent_size = 2
20
+ indent_style = space
21
+
22
+ [{makefile, Makefile}]
23
+ indent_style = tab
File without changes
package/index.js CHANGED
@@ -97,6 +97,8 @@ const renameFiles = {
97
97
  '_eslintrc.js': '.eslintrc.js',
98
98
  _eslintignore: '.eslintignore',
99
99
  _npmrc: '.npmrc',
100
+ _editorconfig: '.editorconfig',
101
+ _prettierrc: '.prettierrc',
100
102
  };
101
103
 
102
104
  async function init() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-blocklet",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "exports": "./index.js",
5
5
  "type": "module",
6
6
  "repository": "git@github.com:blocklet/create-blocklet.git",