@w5s/prettier-config 3.0.3 → 3.0.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": "@w5s/prettier-config",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "Prettier shared configuration",
5
5
  "keywords": [
6
6
  "typescript",
@@ -21,10 +21,6 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "require": {
25
- "types": "./dist/index.d.cts",
26
- "default": "./dist/index.cjs"
27
- },
28
24
  "import": {
29
25
  "types": "./dist/index.d.ts",
30
26
  "default": "./dist/index.js"
@@ -42,7 +38,30 @@
42
38
  "!**/__tests__/**"
43
39
  ],
44
40
  "scripts": {
45
- "postpack": "npx clean-package restore"
41
+ "build": "npx run-p \"build:*\"",
42
+ "build:tsc": "npx tsup",
43
+ "clean": "npx run-p \"clean:*\"",
44
+ "clean:tsc": "rm -rf dist",
45
+ "docs": "node ../../markdown.mjs",
46
+ "format": "npx run-p \"format:*\"",
47
+ "format:src": "eslint . --fix",
48
+ "lint": "npx run-p \"lint:*\"",
49
+ "lint:src": "eslint .",
50
+ "postpack": "npx clean-package restore",
51
+ "prepack": "npx clean-package",
52
+ "prepare": "npx run-p \"prepare:*\"",
53
+ "prepare:empty": ":",
54
+ "prepublishOnly": "npm run clean;npm run build",
55
+ "spellcheck": "cspell --no-progress '**'",
56
+ "test": "npx run-p \"test:*\"",
57
+ "test:src": "vitest run"
58
+ },
59
+ "devDependencies": {
60
+ "@w5s/tsup-config": "2.0.3",
61
+ "prettier": "3.8.1",
62
+ "tsup": "8.5.1",
63
+ "vite": "7.3.1",
64
+ "vitest": "4.0.18"
46
65
  },
47
66
  "peerDependencies": {
48
67
  "prettier": "2.x || 3.x"
@@ -52,6 +71,7 @@
52
71
  "optional": true
53
72
  }
54
73
  },
74
+ "clean-package": "../../clean-package.config.mjs",
55
75
  "engines": {
56
76
  "node": ">=20.0.0"
57
77
  },
@@ -59,5 +79,5 @@
59
79
  "access": "public"
60
80
  },
61
81
  "sideEffect": false,
62
- "gitHead": "648be101c2d4f915b97ed7e318da47a6ac19eb5c"
82
+ "gitHead": "1339ba15448ca7c3aea9f0afa0ece486f4693961"
63
83
  }
package/dist/index.cjs DELETED
@@ -1,20 +0,0 @@
1
- 'use strict';
2
-
3
- // src/index.ts
4
- var prettierConfig = {
5
- singleQuote: true,
6
- trailingComma: "all",
7
- overrides: [
8
- {
9
- files: ["*.css", "*.scss"],
10
- options: {
11
- trailingComma: "none"
12
- }
13
- }
14
- ]
15
- };
16
- var index_default = prettierConfig;
17
-
18
- module.exports = index_default;
19
- //# sourceMappingURL=index.cjs.map
20
- //# sourceMappingURL=index.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;AAEA,IAAM,cAAA,GAAyB;AAAA,EAC7B,WAAA,EAAa,IAAA;AAAA,EACb,aAAA,EAAe,KAAA;AAAA,EACf,SAAA,EAAW;AAAA,IACT;AAAA,MACE,KAAA,EAAO,CAAC,OAAA,EAAS,QAAQ,CAAA;AAAA,MACzB,OAAA,EAAS;AAAA,QACP,aAAA,EAAe;AAAA;AACjB;AACF;AAEJ,CAAA;AAEA,IAAO,aAAA,GAAQ","file":"index.cjs","sourcesContent":["import type { Config } from 'prettier';\n\nconst prettierConfig: Config = {\n singleQuote: true,\n trailingComma: 'all',\n overrides: [\n {\n files: ['*.css', '*.scss'],\n options: {\n trailingComma: 'none',\n },\n },\n ],\n};\n\nexport default prettierConfig;\n"]}
package/dist/index.d.cts DELETED
@@ -1,5 +0,0 @@
1
- import { Config } from 'prettier';
2
-
3
- declare const prettierConfig: Config;
4
-
5
- export { prettierConfig as default };