@powerlines/deepkit 0.6.69 → 0.6.71

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 (37) hide show
  1. package/dist/{chunk-NRUT3MWS.cjs → chunk-24CKWFNY.cjs} +1 -1
  2. package/dist/{chunk-UEJZ4U25.js → chunk-BW5M6IZV.js} +1 -1
  3. package/dist/esbuild-plugin.d.cts +1 -1
  4. package/dist/esbuild-plugin.d.ts +1 -1
  5. package/dist/index.cjs +2 -2
  6. package/dist/index.d.cts +1 -2
  7. package/dist/index.d.ts +1 -2
  8. package/dist/index.js +1 -1
  9. package/dist/reflect-type.cjs +2 -2
  10. package/dist/reflect-type.d.cts +3 -3
  11. package/dist/reflect-type.d.ts +3 -3
  12. package/dist/reflect-type.js +1 -1
  13. package/dist/resolve-reflections.d.cts +1 -1
  14. package/dist/resolve-reflections.d.ts +1 -1
  15. package/dist/rolldown-plugin.d.cts +1 -1
  16. package/dist/rolldown-plugin.d.ts +1 -1
  17. package/dist/transformer.d.cts +1 -1
  18. package/dist/transformer.d.ts +1 -1
  19. package/dist/transpile.d.cts +1 -1
  20. package/dist/transpile.d.ts +1 -1
  21. package/dist/vendor/{chunk-ETH4X5RN.cjs → chunk-JLWUYPQK.cjs} +176 -176
  22. package/dist/vendor/{chunk-2CFEGCCD.cjs → chunk-NSH4LCNJ.cjs} +3 -3
  23. package/dist/vendor/{chunk-SJUHN4OG.cjs → chunk-THEJ6F23.cjs} +2 -2
  24. package/dist/vendor/core.cjs +130 -130
  25. package/dist/vendor/type-compiler/{chunk-C2ZEGRUE.js → chunk-67BGOGL6.js} +2 -2
  26. package/dist/vendor/type-compiler/{chunk-CTH77GWT.js → chunk-6GN2ENP5.js} +1 -1
  27. package/dist/vendor/type-compiler/{chunk-JEFHIMHM.cjs → chunk-7WUXF2D7.cjs} +505 -505
  28. package/dist/vendor/type-compiler/{chunk-G33GCWR5.cjs → chunk-N6OYJXF4.cjs} +2 -2
  29. package/dist/vendor/type-compiler/compiler.cjs +12 -12
  30. package/dist/vendor/type-compiler/compiler.js +2 -2
  31. package/dist/vendor/type-compiler/config.cjs +9 -9
  32. package/dist/vendor/type-compiler/config.js +2 -2
  33. package/dist/vendor/type-compiler/index.cjs +24 -24
  34. package/dist/vendor/type-compiler/index.js +4 -4
  35. package/dist/vendor/type-spec.cjs +5 -5
  36. package/dist/vendor/type.cjs +776 -776
  37. package/package.json +7 -5
@@ -3,8 +3,8 @@
3
3
  var chunkDZ5A2U2B_cjs = require('./chunk-DZ5A2U2B.cjs');
4
4
  var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
5
5
  var type = require('@powerlines/deepkit/vendor/type');
6
+ var resolve = require('@powerlines/plugin-esbuild/helpers/resolve');
6
7
  var defu = require('defu');
7
- var resolve = require('powerlines/lib/utilities/resolve');
8
8
 
9
9
  function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
10
10
 
@@ -1,8 +1,8 @@
1
1
  import { esbuildPlugin } from './chunk-64Y4Q5UZ.js';
2
2
  import { __name } from './chunk-SHUYVCID.js';
3
3
  import { reflect } from '@powerlines/deepkit/vendor/type';
4
+ import { resolve } from '@powerlines/plugin-esbuild/helpers/resolve';
4
5
  import defu from 'defu';
5
- import { resolve } from 'powerlines/lib/utilities/resolve';
6
6
 
7
7
  async function reflectType(context, type, overrides = {}) {
8
8
  return reflect(await resolve(context, type, defu(overrides, {
@@ -1,5 +1,5 @@
1
1
  import { OnLoadOptions, Plugin } from 'esbuild';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import { Mode, Level } from '@deepkit/type-compiler/config';
4
4
 
5
5
  interface ReflectionConfig {
@@ -1,5 +1,5 @@
1
1
  import { OnLoadOptions, Plugin } from 'esbuild';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import { Mode, Level } from '@deepkit/type-compiler/config';
4
4
 
5
5
  interface ReflectionConfig {
package/dist/index.cjs CHANGED
@@ -3,7 +3,7 @@
3
3
  require('./chunk-ORA4UQMU.cjs');
4
4
  var chunk6XE3MLML_cjs = require('./chunk-6XE3MLML.cjs');
5
5
  var chunk7FXYDYVQ_cjs = require('./chunk-7FXYDYVQ.cjs');
6
- var chunkNRUT3MWS_cjs = require('./chunk-NRUT3MWS.cjs');
6
+ var chunk24CKWFNY_cjs = require('./chunk-24CKWFNY.cjs');
7
7
  var chunkDZ5A2U2B_cjs = require('./chunk-DZ5A2U2B.cjs');
8
8
  var chunk7QZGCBH7_cjs = require('./chunk-7QZGCBH7.cjs');
9
9
  var chunk27RKMKSF_cjs = require('./chunk-27RKMKSF.cjs');
@@ -223,7 +223,7 @@ Object.defineProperty(exports, "convertToCapnpUnion", {
223
223
  });
224
224
  Object.defineProperty(exports, "reflectType", {
225
225
  enumerable: true,
226
- get: function () { return chunkNRUT3MWS_cjs.reflectType; }
226
+ get: function () { return chunk24CKWFNY_cjs.reflectType; }
227
227
  });
228
228
  Object.defineProperty(exports, "esbuildPlugin", {
229
229
  enumerable: true,
package/dist/index.d.cts CHANGED
@@ -11,10 +11,9 @@ import '@powerlines/deepkit/vendor/type';
11
11
  import '@stryke/capnp';
12
12
  import './reflection-BHSdc6oZ.cjs';
13
13
  import 'esbuild';
14
- import 'powerlines/types/context';
14
+ import 'powerlines';
15
15
  import '@deepkit/type-compiler/config';
16
16
  import '@stryke/types/configuration';
17
- import 'powerlines/types/build';
18
17
  import 'rolldown';
19
18
  import 'typescript';
20
19
  import '@powerlines/deepkit/vendor/type-compiler';
package/dist/index.d.ts CHANGED
@@ -11,10 +11,9 @@ import '@powerlines/deepkit/vendor/type';
11
11
  import '@stryke/capnp';
12
12
  import './reflection-BHSdc6oZ.js';
13
13
  import 'esbuild';
14
- import 'powerlines/types/context';
14
+ import 'powerlines';
15
15
  import '@deepkit/type-compiler/config';
16
16
  import '@stryke/types/configuration';
17
- import 'powerlines/types/build';
18
17
  import 'rolldown';
19
18
  import 'typescript';
20
19
  import '@powerlines/deepkit/vendor/type-compiler';
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import './chunk-OULCUN6I.js';
2
2
  export { getEnumReflectionType, getUnionTypes, isStringUnion, kindToName, stringifyDefaultValue, stringifyStringValue, stringifyValue } from './chunk-QIBJ3SJN.js';
3
3
  export { convertFromCapnp, convertFromCapnpArray, convertFromCapnpBase, convertFromCapnpClassType, convertFromCapnpDefault, convertFromCapnpEnum, convertFromCapnpFunction, convertFromCapnpIndexAccessOrigin, convertFromCapnpInfer, convertFromCapnpIntersection, convertFromCapnpLiteral, convertFromCapnpMethodSignature, convertFromCapnpObjectLiteral, convertFromCapnpOther, convertFromCapnpParameter, convertFromCapnpProperty, convertFromCapnpPropertySignature, convertFromCapnpSimple, convertFromCapnpTagsReflection, convertFromCapnpTuple, convertFromCapnpTupleMember, convertFromCapnpUnion, convertToCapnp, convertToCapnpArray, convertToCapnpBase, convertToCapnpClassType, convertToCapnpDefault, convertToCapnpEnum, convertToCapnpFunction, convertToCapnpIndexAccessOrigin, convertToCapnpInfer, convertToCapnpIntersection, convertToCapnpLiteral, convertToCapnpMethod, convertToCapnpMethodSignature, convertToCapnpObjectLiteral, convertToCapnpOther, convertToCapnpParameter, convertToCapnpProperty, convertToCapnpPropertySignature, convertToCapnpSimple, convertToCapnpTagsReflection, convertToCapnpTuple, convertToCapnpTupleMember, convertToCapnpUnion } from './chunk-TDYIUJGY.js';
4
- export { reflectType } from './chunk-UEJZ4U25.js';
4
+ export { reflectType } from './chunk-BW5M6IZV.js';
5
5
  export { esbuildPlugin } from './chunk-64Y4Q5UZ.js';
6
6
  export { getReflectionsPath } from './chunk-ALM6UMVU.js';
7
7
  export { rolldownPlugin } from './chunk-JQUKKAFM.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkNRUT3MWS_cjs = require('./chunk-NRUT3MWS.cjs');
3
+ var chunk24CKWFNY_cjs = require('./chunk-24CKWFNY.cjs');
4
4
  require('./chunk-DZ5A2U2B.cjs');
5
5
  require('./chunk-HPVJ6OV3.cjs');
6
6
  require('./chunk-BLLXF42T.cjs');
@@ -10,5 +10,5 @@ require('./chunk-USNT2KNT.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "reflectType", {
12
12
  enumerable: true,
13
- get: function () { return chunkNRUT3MWS_cjs.reflectType; }
13
+ get: function () { return chunk24CKWFNY_cjs.reflectType; }
14
14
  });
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@powerlines/deepkit/vendor/type';
2
2
  import { TypeDefinition } from '@stryke/types/configuration';
3
- import { ESBuildResolvedBuildConfig } from 'powerlines/types/build';
4
- import { PluginContext } from 'powerlines/types/context';
3
+ import { BuildOptions } from 'esbuild';
4
+ import { PluginContext } from 'powerlines';
5
5
 
6
6
  /**
7
7
  * Compiles a type definition to a module.
@@ -11,6 +11,6 @@ import { PluginContext } from 'powerlines/types/context';
11
11
  * @param overrides - Optional overrides for the ESBuild configuration.
12
12
  * @returns A promise that resolves to the compiled module.
13
13
  */
14
- declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<ESBuildResolvedBuildConfig>): Promise<Type>;
14
+ declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<BuildOptions>): Promise<Type>;
15
15
 
16
16
  export { reflectType };
@@ -1,7 +1,7 @@
1
1
  import { Type } from '@powerlines/deepkit/vendor/type';
2
2
  import { TypeDefinition } from '@stryke/types/configuration';
3
- import { ESBuildResolvedBuildConfig } from 'powerlines/types/build';
4
- import { PluginContext } from 'powerlines/types/context';
3
+ import { BuildOptions } from 'esbuild';
4
+ import { PluginContext } from 'powerlines';
5
5
 
6
6
  /**
7
7
  * Compiles a type definition to a module.
@@ -11,6 +11,6 @@ import { PluginContext } from 'powerlines/types/context';
11
11
  * @param overrides - Optional overrides for the ESBuild configuration.
12
12
  * @returns A promise that resolves to the compiled module.
13
13
  */
14
- declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<ESBuildResolvedBuildConfig>): Promise<Type>;
14
+ declare function reflectType<TContext extends PluginContext = PluginContext>(context: TContext, type: TypeDefinition, overrides?: Partial<BuildOptions>): Promise<Type>;
15
15
 
16
16
  export { reflectType };
@@ -1,4 +1,4 @@
1
- export { reflectType } from './chunk-UEJZ4U25.js';
1
+ export { reflectType } from './chunk-BW5M6IZV.js';
2
2
  import './chunk-64Y4Q5UZ.js';
3
3
  import './chunk-NPV2346T.js';
4
4
  import './chunk-23YNDVRG.js';
@@ -1,4 +1,4 @@
1
- import { Context } from 'powerlines/types/context';
1
+ import { Context } from 'powerlines';
2
2
 
3
3
  /**
4
4
  * Returns the path to the reflections artifact directory.
@@ -1,4 +1,4 @@
1
- import { Context } from 'powerlines/types/context';
1
+ import { Context } from 'powerlines';
2
2
 
3
3
  /**
4
4
  * Returns the path to the reflections artifact directory.
@@ -1,4 +1,4 @@
1
- import { Context } from 'powerlines/types/context';
1
+ import { Context } from 'powerlines';
2
2
  import { HookFilter, Plugin } from 'rolldown';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Context } from 'powerlines/types/context';
1
+ import { Context } from 'powerlines';
2
2
  import { HookFilter, Plugin } from 'rolldown';
3
3
 
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReflectionConfig } from '@deepkit/type-compiler/config';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import ts from 'typescript';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReflectionConfig } from '@deepkit/type-compiler/config';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import ts from 'typescript';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReflectionConfig } from '@powerlines/deepkit/vendor/type-compiler';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import ts from 'typescript';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ReflectionConfig } from '@powerlines/deepkit/vendor/type-compiler';
2
- import { Context } from 'powerlines/types/context';
2
+ import { Context } from 'powerlines';
3
3
  import ts from 'typescript';
4
4
 
5
5
  /**