@adamhl8/configs 0.7.0 → 0.7.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/prettier.js CHANGED
@@ -1,29 +1,29 @@
1
1
  const config = {
2
- printWidth: 120,
3
- semi: false,
4
- plugins: [
5
- // "@prettier/plugin-xml", currently broken
6
- "prettier-plugin-sh",
7
- "prettier-plugin-toml",
8
- "prettier-plugin-astro",
9
- "prettier-plugin-tailwindcss",
10
- ],
11
- tailwindStylesheet: "./src/global.css",
12
- overrides: [
13
- {
14
- // https://github.com/prettier/prettier/issues/15956
15
- files: "*.jsonc",
16
- options: {
17
- trailingComma: "none",
18
- },
19
- },
20
- {
21
- files: "*.astro",
22
- options: {
23
- parser: "astro",
24
- },
25
- },
26
- ],
27
- }
28
- export default config
29
- //# sourceMappingURL=prettier.js.map
2
+ printWidth: 120,
3
+ semi: false,
4
+ plugins: [
5
+ // "@prettier/plugin-xml", currently broken
6
+ "prettier-plugin-sh",
7
+ "prettier-plugin-toml",
8
+ "prettier-plugin-astro",
9
+ "prettier-plugin-tailwindcss",
10
+ ],
11
+ tailwindStylesheet: "./src/global.css",
12
+ overrides: [
13
+ {
14
+ // https://github.com/prettier/prettier/issues/15956
15
+ files: "*.jsonc",
16
+ options: {
17
+ trailingComma: "none",
18
+ },
19
+ },
20
+ {
21
+ files: "*.astro",
22
+ options: {
23
+ parser: "astro",
24
+ },
25
+ },
26
+ ],
27
+ };
28
+ export default config;
29
+ //# sourceMappingURL=prettier.js.map
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
+ "exclude": ["${configDir}/dist/"],
3
4
  "compilerOptions": {
4
5
  "target": "ESNext",
5
6
  "jsx": "react-jsx",
@@ -1,3 +1,3 @@
1
- import type { Config } from "prettier"
2
- declare const config: Config
3
- export default config
1
+ import type { Config } from "prettier";
2
+ declare const config: Config;
3
+ export default config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -28,8 +28,10 @@
28
28
  "dist/"
29
29
  ],
30
30
  "scripts": {
31
- "prepublishOnly": "bun lint",
32
- "lint": "tsc && biome check --write && cp ./configs/*.{json,jsonc} ./dist/"
31
+ "bundle": "rm -rf ./dist && bun lint && tsc && tsc-alias && cp ./configs/*.{json,jsonc} ./dist/",
32
+ "lint": "tsc --noEmit && biome check --write",
33
+ "prepare": "find .githooks -type f -exec ln -srf {} .git/hooks/ \\;",
34
+ "prepublishOnly": "bun bundle"
33
35
  },
34
36
  "dependencies": {
35
37
  "@prettier/plugin-xml": "^3.4.1",
@@ -42,6 +44,7 @@
42
44
  "@biomejs/biome": "^2.0.6",
43
45
  "@types/bun": "^1.2.17",
44
46
  "prettier": "^3.6.2",
47
+ "tsc-alias": "^1.8.16",
45
48
  "typescript": "^5.8.3"
46
49
  },
47
50
  "publishConfig": {