defuss-astro 1.6.0 → 1.7.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.
Files changed (2) hide show
  1. package/README.md +1 -35
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -60,40 +60,6 @@ export default defineConfig({
60
60
 
61
61
  **Note on Advanced Usage:** `defuss({ ... })` can be called with arguments to `include` and `exclude` files from the underlaying `babel` transpilation. Using the `babel` property, a specific `babel` configuration can be provided. Please find the `DefussPluginOptions` [here]().
62
62
 
63
- <h3 align="center">
64
-
65
- 🚀 How does `defuss-astro` work?
66
-
67
- </h3>
68
-
69
- Inside this package, you'll find the following relevant folders and files:
70
-
71
- ```text
72
- /
73
- ├── scripts/finalize-build.ts
74
- ├── src/index.ts
75
- ├── src/types.ts
76
- ├── src/render.ts
77
- ├── src/client.ts
78
- ├── src/server.ts
79
- ├── tsconfig.json
80
- ├── LICENSE
81
- ├── package.json
82
- ```
83
-
84
- The `src/index.ts` file is the "entry point" for our Astro Integration. Its default exported function is called in any `astro.config.(mjs|ts)` of any integrating Astro project *(see above)*.
85
-
86
- ## 🧞 Commands
87
-
88
- All commands are run from the root of the project, from a terminal:
89
-
90
- | Command | Action |
91
- | :------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
92
- | `npm build` | Build a new version of the integration. |
93
- | `npm publish` | Publish a new version of the `defuss-astro` integration package. |
94
-
95
- ---
96
-
97
63
  <img src="https://raw.githubusercontent.com/kyr0/defuss/refs/heads/main/assets/defuss_comic.png" />
98
64
 
99
- <caption><i><b>Come visit us on defuss island!</b></i></caption>
65
+ <caption><i><b>Come visit us on defuss island!</b></i></caption>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "defuss-astro",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -22,7 +22,8 @@
22
22
  "clean": "rm -rf ./dist && rm -rf ./node_modules/.bun",
23
23
  "prebuild": "bun run clean",
24
24
  "build": "pkgroll",
25
- "postbuild": "tsx ./scripts/finalize-build.ts"
25
+ "postbuild": "tsx ./scripts/finalize-build.ts",
26
+ "prepublishOnly": "bun run build"
26
27
  },
27
28
  "author": "Aron Homberg <info@aron-homberg.de>",
28
29
  "sideEffects": false,
@@ -65,9 +66,9 @@
65
66
  "dist"
66
67
  ],
67
68
  "devDependencies": {
68
- "pkgroll": "^2.5.1",
69
- "tsx": "^4.19.2",
70
- "typescript": "^5.6.3"
69
+ "pkgroll": "^2.27.0",
70
+ "tsx": "^4.21.0",
71
+ "typescript": "^6.0.3"
71
72
  },
72
73
  "engines": {
73
74
  "node": "^18.17.1 || ^20.3.0 || >=21.0.0"
@@ -80,8 +81,8 @@
80
81
  "svgo": "^4.0.0"
81
82
  },
82
83
  "peerDependencies": {
83
- "defuss": "^3.0.0",
84
- "astro": "^5.0.0",
85
- "vite": "^6.0.0"
84
+ "defuss": "*",
85
+ "astro": "*",
86
+ "vite": "*"
86
87
  }
87
88
  }