@w5s/tsdown-config 1.0.0-alpha.3 → 1.0.0-alpha.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.
Files changed (2) hide show
  1. package/README.md +8 -7
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -35,24 +35,25 @@ In the `.prettierrc.json` for your project
35
35
 
36
36
  <!-- AUTO-GENERATED-CONTENT:END -->
37
37
 
38
- Or in the `.prettierrc.js`, to be able to override rules
38
+ Or in the `tsdown.config.ts`, to be able to override rules
39
39
 
40
- <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```js\nmodule.exports = {\n ...require('${name}'),\n // Override rules\n};\n```) -->
40
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=```js\nimport { defineConfig } from '${name}';\nexport default defineConfig({\n // Override rules\n});\n```) -->
41
41
 
42
42
  ```js
43
- module.exports = {
44
- ...require('@w5s/tsdown-config'),
43
+ import { defineConfig } from '@w5s/tsdown-config';
44
+
45
+ export default defineConfig({
45
46
  // Override rules
46
- };
47
+ });
47
48
  ```
48
49
 
49
50
  <!-- AUTO-GENERATED-CONTENT:END -->
50
51
 
51
52
  ## Requirements
52
53
 
53
- <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=Prettier: ${peerDependencies.prettier}&unknownTxt= ) -->
54
+ <!-- AUTO-GENERATED-CONTENT:START (PKG_JSON:template=TsDown: ${peerDependencies.tsdown}&unknownTxt= ) -->
54
55
 
55
- Prettier: 2.x
56
+ TsDown: 0.x
56
57
 
57
58
  <!-- AUTO-GENERATED-CONTENT:END -->
58
59
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@w5s/tsdown-config",
3
- "version": "1.0.0-alpha.3",
4
- "description": "tsdown shared configuration",
3
+ "version": "1.0.0-alpha.4",
4
+ "description": "Shared tsdown configuration",
5
5
  "keywords": [
6
6
  "typescript",
7
7
  "config",
@@ -65,5 +65,5 @@
65
65
  "access": "public"
66
66
  },
67
67
  "sideEffect": false,
68
- "gitHead": "3b43d7c3bbc5964bd4d2cede6459710fbd264104"
68
+ "gitHead": "4e72e6d3c7b204e0f08c3f44817d48ad0d44ea33"
69
69
  }