@powerlines/plugin-deepkit 0.10.56 → 0.10.58
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 +8 -2
- package/dist/chunk-X42XA8SV.mjs +1 -0
- package/dist/index-CEgs-Dz2.d.cts +1 -0
- package/dist/index-D9zIjQH9.d.mts +1 -0
- package/dist/index.cjs +4 -7
- package/dist/index.d.cts +7 -26
- package/dist/index.d.cts.map +1 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/index.mjs +5 -0
- package/dist/index.mjs.map +1 -0
- package/dist/plugin-DcYxrTB3.d.cts +1694 -0
- package/dist/plugin-DcYxrTB3.d.cts.map +1 -0
- package/dist/plugin-DzeYlbKJ.mjs +1 -0
- package/dist/plugin-t6B9Z0hn.d.mts +1692 -0
- package/dist/plugin-t6B9Z0hn.d.mts.map +1 -0
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +3 -23
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/plugin.cjs +1 -1
- package/dist/types/plugin.d.cts +2 -23
- package/dist/types/plugin.d.mts +2 -0
- package/dist/types/plugin.mjs +1 -0
- package/dist/types-BKeuN6sy.mjs +1 -0
- package/dist/types-DHkg7xmX.cjs +0 -0
- package/package.json +41 -23
- package/dist/index-C5YfQCYQ.d.cts +0 -1602
- package/dist/index-C5YfQCYQ.d.ts +0 -1602
- package/dist/index.d.ts +0 -34
- package/dist/index.js +0 -7
- package/dist/types/index.d.ts +0 -23
- package/dist/types/index.js +0 -1
- package/dist/types/plugin.d.ts +0 -23
- /package/dist/{types/plugin.js → plugin-DHXHjv16.cjs} +0 -0
package/dist/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { D as DeepkitPluginContext, a as DeepkitPluginOptions, P as Plugin } from './index-C5YfQCYQ.js';
|
|
2
|
-
export { c as DeepkitPluginResolvedConfig, b as DeepkitPluginUserConfig, f as __ΩDeepkitPluginContext, _ as __ΩDeepkitPluginOptions, e as __ΩDeepkitPluginResolvedConfig, d as __ΩDeepkitPluginUserConfig } from './index-C5YfQCYQ.js';
|
|
3
|
-
import '@deepkit/type-compiler/config';
|
|
4
|
-
import '@storm-software/build-tools/types';
|
|
5
|
-
import '@storm-software/config-tools/types';
|
|
6
|
-
import '@storm-software/config/types';
|
|
7
|
-
import '@stryke/types/base';
|
|
8
|
-
import '@stryke/types/configuration';
|
|
9
|
-
import '@stryke/types/file';
|
|
10
|
-
import 'vite';
|
|
11
|
-
import '@stryke/env/get-env-paths';
|
|
12
|
-
import '@stryke/http/fetch';
|
|
13
|
-
import '@stryke/types/package-json';
|
|
14
|
-
import 'jiti';
|
|
15
|
-
import 'magic-string';
|
|
16
|
-
import 'oxc-parser';
|
|
17
|
-
import 'semver';
|
|
18
|
-
import 'ts-morph';
|
|
19
|
-
import 'undici';
|
|
20
|
-
import 'unplugin';
|
|
21
|
-
import '@stryke/fs/resolve';
|
|
22
|
-
import '@stryke/types/tsconfig';
|
|
23
|
-
import 'typescript';
|
|
24
|
-
import '@stryke/types/array';
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Deepkit plugin for Powerlines.
|
|
28
|
-
*
|
|
29
|
-
* @param options - The Deepkit plugin user configuration options.
|
|
30
|
-
* @returns A Powerlines plugin that integrates Deepkit transformations.
|
|
31
|
-
*/
|
|
32
|
-
declare const plugin: <TContext extends DeepkitPluginContext = DeepkitPluginContext>(options?: DeepkitPluginOptions) => Plugin<TContext>;
|
|
33
|
-
|
|
34
|
-
export { DeepkitPluginContext, DeepkitPluginOptions, plugin as default, plugin };
|
package/dist/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import {createTransformer,createDeclarationTransformer}from'@powerlines/deepkit/transformer';import f from'@powerlines/plugin-tsc';import {StormJSON}from'@stryke/json/storm-json';export*from'./types';/*****************************************
|
|
2
|
-
*
|
|
3
|
-
* ⚡ Built by Storm Software
|
|
4
|
-
*
|
|
5
|
-
*****************************************/
|
|
6
|
-
|
|
7
|
-
var n=Object.defineProperty;var o=(t,i)=>n(t,"name",{value:i,configurable:true});const g=o((t={})=>({name:"deepkit",dependsOn:[f(t)],config(){return {transform:{deepkit:t??{}}}},configResolved:{order:"post",async handler(){const i=this.config.transform.deepkit.reflection||this.tsconfig.tsconfigJson.compilerOptions?.reflection||this.tsconfig.tsconfigJson.reflection||"default",e=this.config.transform.deepkit.reflectionLevel||this.tsconfig.tsconfigJson.compilerOptions?.reflectionLevel||this.tsconfig.tsconfigJson.reflectionLevel||"minimal";(!this.tsconfig.tsconfigJson.reflection||!this.tsconfig.tsconfigJson.reflectionLevel)&&(this.tsconfig.tsconfigJson.reflection??=i,this.tsconfig.tsconfigJson.reflectionLevel??=e,await this.fs.write(this.tsconfig.tsconfigFilePath,StormJSON.stringify(this.tsconfig.tsconfigJson))),this.config.transform.tsc??={},this.config.transform.tsc.compilerOptions={...this.config.transform.tsc.compilerOptions??{},exclude:this.config.transform.deepkit.exclude??[],reflection:i,reflectionLevel:e},this.config.transform.tsc.transformers??={before:[],after:[]},this.config.transform.tsc.transformers.before.push(createTransformer(this,this.config.transform.deepkit)),this.config.transform.tsc.transformers.after.push(createDeclarationTransformer(this,this.config.transform.deepkit));}}}),"plugin");var L=g;export{L as default,g as plugin};
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export { D as DeepkitPluginContext, a as DeepkitPluginOptions, c as DeepkitPluginResolvedConfig, b as DeepkitPluginUserConfig, f as __ΩDeepkitPluginContext, _ as __ΩDeepkitPluginOptions, e as __ΩDeepkitPluginResolvedConfig, d as __ΩDeepkitPluginUserConfig } from '../index-C5YfQCYQ.js';
|
|
2
|
-
import '@deepkit/type-compiler/config';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
package/dist/types/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export*from'./plugin';
|
package/dist/types/plugin.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import '@deepkit/type-compiler/config';
|
|
2
|
-
export { D as DeepkitPluginContext, a as DeepkitPluginOptions, c as DeepkitPluginResolvedConfig, b as DeepkitPluginUserConfig, f as __ΩDeepkitPluginContext, _ as __ΩDeepkitPluginOptions, e as __ΩDeepkitPluginResolvedConfig, d as __ΩDeepkitPluginUserConfig } from '../index-C5YfQCYQ.js';
|
|
3
|
-
import '@storm-software/build-tools/types';
|
|
4
|
-
import '@storm-software/config-tools/types';
|
|
5
|
-
import '@storm-software/config/types';
|
|
6
|
-
import '@stryke/types/base';
|
|
7
|
-
import '@stryke/types/configuration';
|
|
8
|
-
import '@stryke/types/file';
|
|
9
|
-
import 'vite';
|
|
10
|
-
import '@stryke/env/get-env-paths';
|
|
11
|
-
import '@stryke/http/fetch';
|
|
12
|
-
import '@stryke/types/package-json';
|
|
13
|
-
import 'jiti';
|
|
14
|
-
import 'magic-string';
|
|
15
|
-
import 'oxc-parser';
|
|
16
|
-
import 'semver';
|
|
17
|
-
import 'ts-morph';
|
|
18
|
-
import 'undici';
|
|
19
|
-
import 'unplugin';
|
|
20
|
-
import '@stryke/fs/resolve';
|
|
21
|
-
import '@stryke/types/tsconfig';
|
|
22
|
-
import 'typescript';
|
|
23
|
-
import '@stryke/types/array';
|
|
File without changes
|