@adamhl8/configs 0.1.0 → 0.2.0

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/README.md CHANGED
@@ -26,7 +26,7 @@ bun add -D @adamhl8/configs
26
26
  ### prettier
27
27
 
28
28
  ```js
29
- import { prettierConfig } from "@adamhl8/configs/prettier"
29
+ import prettierConfig from "@adamhl8/configs/prettier"
30
30
 
31
31
  export default {
32
32
  ...prettierConfig,
@@ -1,5 +1,6 @@
1
1
  /** @type {import("prettier").Config} */
2
- const prettierConfig = {
2
+ // biome-ignore lint/style/noDefaultExport: prettier config
3
+ export default {
3
4
  printWidth: 120,
4
5
  semi: false,
5
6
  plugins: [
@@ -26,5 +27,3 @@ const prettierConfig = {
26
27
  },
27
28
  ],
28
29
  }
29
-
30
- export { prettierConfig }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adamhl8/configs",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,7 +25,7 @@
25
25
  "configs/"
26
26
  ],
27
27
  "scripts": {
28
- "prepublish": "bun lint",
28
+ "prepublishOnly": "bun lint",
29
29
  "lint": "biome check --write"
30
30
  },
31
31
  "dependencies": {