@powerlines/plugin-deepkit 0.11.560 → 0.11.561
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 +29 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -74,6 +74,35 @@ A package containing the Deepkit plugin for Powerlines, various helper utilities
|
|
|
74
74
|
|
|
75
75
|
<!-- END doctoc -->
|
|
76
76
|
|
|
77
|
+
## Features
|
|
78
|
+
|
|
79
|
+
- Deepkit runtime-type transform wired through `config` and `configResolved` (`post`) hooks
|
|
80
|
+
- Composes the `tsc` plugin, pushing the Deepkit `transformer` to `before` and the declaration transformer to `after`
|
|
81
|
+
- Marks `@power-plant/schema/deepkit` external; resolved config exposes both `deepkit` and `tsc` sections
|
|
82
|
+
|
|
83
|
+
## Usage
|
|
84
|
+
|
|
85
|
+
Install the plugin:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
pnpm add @powerlines/plugin-deepkit
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
Register it in `powerlines.config.ts`:
|
|
92
|
+
|
|
93
|
+
```ts
|
|
94
|
+
import { defineConfig } from "powerlines";
|
|
95
|
+
import { plugin as deepkit } from "@powerlines/plugin-deepkit";
|
|
96
|
+
|
|
97
|
+
export default defineConfig({
|
|
98
|
+
plugins: [
|
|
99
|
+
deepkit()
|
|
100
|
+
]
|
|
101
|
+
});
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
Run the Powerlines build for your project to activate the plugin.
|
|
105
|
+
|
|
77
106
|
## Installing
|
|
78
107
|
|
|
79
108
|
Using [pnpm](http://pnpm.io):
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-deepkit",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.561",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
|
|
6
6
|
"repository": {
|
|
@@ -91,16 +91,16 @@
|
|
|
91
91
|
"keywords": ["deepkit", "powerlines", "powerlines-plugin"],
|
|
92
92
|
"dependencies": {
|
|
93
93
|
"@power-plant/schema": "^0.0.96",
|
|
94
|
-
"@powerlines/plugin-tsc": "^0.3.
|
|
94
|
+
"@powerlines/plugin-tsc": "^0.3.215",
|
|
95
95
|
"@stryke/json": "^0.15.40",
|
|
96
96
|
"@stryke/path": "^0.29.43",
|
|
97
|
-
"powerlines": "^0.47.
|
|
97
|
+
"powerlines": "^0.47.217",
|
|
98
98
|
"typescript": "^6.0.3"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
101
|
+
"@powerlines/plugin-plugin": "^0.12.630",
|
|
102
102
|
"@types/node": "^25.9.9"
|
|
103
103
|
},
|
|
104
104
|
"publishConfig": { "access": "public" },
|
|
105
|
-
"gitHead": "
|
|
105
|
+
"gitHead": "bb4e1f2b32a8bb9d20559ca7c3df3a2f30a0d14e"
|
|
106
106
|
}
|