@blockquote/create-wc 1.6.3 → 1.6.4

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": "@blockquote/create-wc",
3
- "version": "1.6.3",
3
+ "version": "1.6.4",
4
4
  "description": "Web component with Lit scaffolding - Extending Open Web Component",
5
5
  "keywords": [
6
6
  "LitElement",
@@ -46,13 +46,13 @@
46
46
  },
47
47
  "scripts": {
48
48
  "format": "npm run format:eslint && npm run format:prettier && npm run format:stylelint",
49
- "format:eslint": "eslint \"**/*.{js,ts,html}\" --fix --ignore-path .gitignore",
50
- "format:prettier": "prettier \"**/*.{js,ts,json,html,md}\" --write --ignore-path .gitignore",
51
- "format:stylelint": "stylelint \"**/*.{scss,css}\" --fix --allow-empty-input --ignore-path .gitignore",
49
+ "format:eslint": "eslint \"**/*.{js,ts,html}\" --fix --ignore-path .eslintignore",
50
+ "format:prettier": "prettier \"**/*.{js,ts,json,html,md}\" --write --ignore-path .eslintignore",
51
+ "format:stylelint": "stylelint \"**/*.{scss,css}\" --fix --allow-empty-input --ignore-path .eslintignore",
52
52
  "lint": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint",
53
- "lint:eslint": "eslint \"**/*.{js,ts,html}\" --ignore-path .gitignore",
54
- "lint:prettier": "prettier \"**/*.{js,ts,json,html,md}\" --check --ignore-path .gitignore",
55
- "lint:stylelint": "stylelint \"**/*.{scss,css}\" --allow-empty-input --ignore-path .gitignore"
53
+ "lint:eslint": "eslint \"**/*.{js,ts,html}\" --ignore-path .eslintignore",
54
+ "lint:prettier": "prettier \"**/*.{js,ts,json,html,md}\" --check --ignore-path .eslintignore",
55
+ "lint:stylelint": "stylelint \"**/*.{scss,css}\" --allow-empty-input --ignore-path .eslintignore"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@open-wc/eslint-config": "^7.0.0",
@@ -22,8 +22,8 @@ export const CommonRepoMixin = (subclass) =>
22
22
  this.destinationPath('package.json'),
23
23
  );
24
24
 
25
- // write & rename el scss template
26
- this.copyTemplate(
25
+ // write & rename el scss template
26
+ this.copyTemplate(
27
27
  `${__dirname}/templates/styles/MyEl.scss`,
28
28
  this.destinationPath(`src/styles/${className}.scss`),
29
29
  );
@@ -31,6 +31,9 @@ export const CommonRepoMixin = (subclass) =>
31
31
  // write and rename .gitignore
32
32
  this.copyTemplate(`${__dirname}/templates/gitignore`, this.destinationPath(`.gitignore`));
33
33
 
34
+ // write and rename .gitignore
35
+ this.copyTemplate(`${__dirname}/templates/eslintignore`, this.destinationPath(`.eslintignore`));
36
+
34
37
  // copy all other files
35
38
  await this.copyTemplates(`${__dirname}/templates/static/**/*`);
36
39
  }
@@ -0,0 +1,44 @@
1
+ ## editors
2
+ /.idea
3
+ /.vscode
4
+
5
+ ## system files
6
+ .DS_Store
7
+
8
+ ## npm
9
+ /node_modules/
10
+ /npm-debug.log
11
+ *-debug.log
12
+
13
+ ## testing
14
+ /coverage/
15
+ **/coverage/
16
+ /reports/
17
+ __snapshots__
18
+
19
+ ## temp folders
20
+ /.tmp/
21
+
22
+ ## build
23
+ *.config.js
24
+ /_site/
25
+ /dist/
26
+ /dev/
27
+ /build/
28
+ /out-tsc/
29
+ storybook-static
30
+
31
+ /packages/*/node_modules
32
+ /packages/*/package-lock.json
33
+ /packages/*/_site
34
+ /packages/*/dist
35
+ /packages/*/dev
36
+ /packages/*/build
37
+ /packages/*/Jenkinsfile
38
+ ## end gitignore
39
+
40
+ ## specific eslintignore
41
+ package-lock.json
42
+ *.min.js
43
+ *-styles.js
44
+ CHANGELOG.md
@@ -26,16 +26,12 @@ __snapshots__
26
26
  /dev/
27
27
  /build/
28
28
  /out-tsc/
29
- *.min.js
30
- *-styles.js
31
- **/*/CHANGELOG.md
32
29
  storybook-static
33
30
 
34
31
  /packages/*/node_modules
35
32
  /packages/*/package-lock.json
36
- /packages/*/build
37
- /packages/*/dev
33
+ /packages/*/_site
38
34
  /packages/*/dist
39
- /packages/*/.gitignore
40
- /packages/*/.editorconfig
35
+ /packages/*/dev
36
+ /packages/*/build
41
37
  /packages/*/Jenkinsfile