@w5s/prettier-config 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=# W5s Prettier configuration _(${name})_) -->
1
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=# W5s Prettier configuration _(${name})_) -->
2
2
  # W5s Prettier configuration _(@w5s/prettier-config)_
3
3
  <!-- AUTO-GENERATED-CONTENT:END -->
4
4
 
5
5
  [![NPM Version][package-version-svg]][package-url]
6
6
  [![License][license-image]][license-url]
7
7
 
8
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=> ${description}&unknownTxt= ) -->
8
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=> ${description}&unknownTxt= ) -->
9
9
  > Prettier shared configuration
10
10
  <!-- AUTO-GENERATED-CONTENT:END -->
11
11
 
12
12
  ## Installation
13
13
 
14
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=```console\nnpm install --save-dev ${name}\n```) -->
14
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```console\nnpm install --save-dev ${name}\n```) -->
15
15
  ```console
16
16
  npm install --save-dev @w5s/prettier-config
17
17
  ```
@@ -21,7 +21,7 @@ npm install --save-dev @w5s/prettier-config
21
21
 
22
22
  In the `.prettierrc.json` for your project
23
23
 
24
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=```json\n"${name}"\n```) -->
24
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```json\n"${name}"\n```) -->
25
25
  ```json
26
26
  "@w5s/prettier-config"
27
27
  ```
@@ -29,7 +29,7 @@ In the `.prettierrc.json` for your project
29
29
 
30
30
  Or in the `.prettierrc.js`, to be able to override rules
31
31
 
32
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=```js\nmodule.exports = {\n ...require('${name}'),\n // Override rules\n};\n```) -->
32
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```js\nmodule.exports = {\n ...require('${name}'),\n // Override rules\n};\n```) -->
33
33
  ```js
34
34
  module.exports = {
35
35
  ...require('@w5s/prettier-config'),
@@ -39,24 +39,24 @@ module.exports = {
39
39
  <!-- AUTO-GENERATED-CONTENT:END -->
40
40
 
41
41
  ## Requirements
42
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=Prettier: ${peerDependencies.prettier}&unknownTxt= ) -->
42
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=Prettier: ${peerDependencies.prettier}&unknownTxt= ) -->
43
43
  Prettier: 2.x
44
44
  <!-- AUTO-GENERATED-CONTENT:END -->
45
45
 
46
46
  ## License
47
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=[${license}][license-url] © ${author}) -->
47
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[${license}][license-url] © ${author}) -->
48
48
  [MIT][license-url] © Julien Polo <julien.polo@gmail.com>
49
49
  <!-- AUTO-GENERATED-CONTENT:END -->
50
50
 
51
51
  <!-- VARIABLES -->
52
52
 
53
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square) -->
53
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[package-version-svg]: https://img.shields.io/npm/v/${name}.svg?style=flat-square) -->
54
54
  [package-version-svg]: https://img.shields.io/npm/v/@w5s/prettier-config.svg?style=flat-square
55
55
  <!-- AUTO-GENERATED-CONTENT:END -->
56
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=[package-url]: https://www.npmjs.com/package/${name}) -->
56
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[package-url]: https://www.npmjs.com/package/${name}) -->
57
57
  [package-url]: https://www.npmjs.com/package/@w5s/prettier-config
58
58
  <!-- AUTO-GENERATED-CONTENT:END -->
59
- <!-- AUTO-GENERATED-CONTENT:START (PKGJSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square) -->
59
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=[license-image]: https://img.shields.io/badge/license-${license}-green.svg?style=flat-square) -->
60
60
  [license-image]: https://img.shields.io/badge/license-MIT-green.svg?style=flat-square
61
61
  <!-- AUTO-GENERATED-CONTENT:END -->
62
62
  [license-url]: ../../LICENSE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w5s/prettier-config",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Prettier shared configuration",
5
5
  "keywords": [
6
6
  "typescript",
@@ -38,18 +38,20 @@
38
38
  "build": "concurrently \"npm:build:*\" \":\"",
39
39
  "build:tsc": "tsc",
40
40
  "clean": "concurrently \"npm:clean:*\" \":\"",
41
+ "clean:src": "rm -rf lib/*",
41
42
  "docs": "md-magic --path '**/*.md' --ignore='node_modules'",
42
43
  "format": "concurrently \"npm:format:*\" \":\"",
43
44
  "format:src": "eslint . --fix --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
44
45
  "lint": "concurrently \"npm:lint:*\" \":\"",
45
46
  "lint:src": "eslint . --ext=mjs,cjs,js,jsx,ts,tsx,json,jsonc,json5,yml,yaml",
46
47
  "prepare": "concurrently \"npm:prepare:*\" \":\"",
48
+ "prepublishOnly": "npm run build",
47
49
  "spellcheck": "cspell --no-progress '**'",
48
50
  "test": "concurrently \"npm:test:*\" ",
49
51
  "test:src": "exit 0"
50
52
  },
51
53
  "devDependencies": {
52
- "prettier": "2.8.1"
54
+ "prettier": "2.8.2"
53
55
  },
54
56
  "peerDependencies": {
55
57
  "prettier": "2.x"
@@ -65,5 +67,5 @@
65
67
  "publishConfig": {
66
68
  "access": "public"
67
69
  },
68
- "gitHead": "452324f365d1201adbbe7d6f4a140139adde5874"
70
+ "gitHead": "61004fd9075a909dac066b6b3c012817bb082414"
69
71
  }