@powerlines/plugin-crypto 0.10.162 → 0.10.164
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/dist/components/index.cjs +1 -3
- package/dist/components/index.d.cts +1 -2
- package/dist/components/index.d.mts +1 -2
- package/dist/components/index.mjs +1 -1
- package/dist/index.cjs +3 -3
- package/dist/plugin-alloy/src/types/plugin.d.cts +1 -1
- package/dist/plugin-alloy/src/types/plugin.d.mts +1 -1
- package/dist/plugin-automd/src/types/plugin.d.mts +1 -1
- package/dist/plugin-babel/src/types/plugin.d.cts +1 -1
- package/dist/plugin-babel/src/types/plugin.d.mts +1 -1
- package/dist/plugin-env/src/types/plugin.d.cts +1 -1
- package/dist/plugin-env/src/types/plugin.d.mts +1 -1
- package/dist/powerlines/src/internal/helpers/hooks.d.mts +1 -1
- package/dist/powerlines/src/types/api.d.cts +3 -3
- package/dist/powerlines/src/types/api.d.mts +3 -3
- package/dist/powerlines/src/types/babel.d.cts +1 -1
- package/dist/powerlines/src/types/babel.d.mts +1 -1
- package/dist/powerlines/src/types/build.d.cts +10 -10
- package/dist/powerlines/src/types/build.d.mts +10 -10
- package/dist/powerlines/src/types/commands.d.cts +1 -1
- package/dist/powerlines/src/types/commands.d.mts +1 -1
- package/dist/powerlines/src/types/config.d.cts +5 -5
- package/dist/powerlines/src/types/config.d.mts +5 -5
- package/dist/powerlines/src/types/context.d.cts +3 -3
- package/dist/powerlines/src/types/context.d.mts +3 -3
- package/dist/powerlines/src/types/fs.d.cts +1 -1
- package/dist/powerlines/src/types/fs.d.mts +1 -1
- package/dist/powerlines/src/types/hooks.d.cts +1 -1
- package/dist/powerlines/src/types/hooks.d.mts +1 -1
- package/dist/powerlines/src/types/plugin.d.cts +4 -4
- package/dist/powerlines/src/types/plugin.d.mts +4 -4
- package/dist/powerlines/src/types/resolved.d.cts +2 -2
- package/dist/powerlines/src/types/resolved.d.mts +2 -2
- package/dist/powerlines/src/types/unplugin.d.cts +2 -2
- package/dist/powerlines/src/types/unplugin.d.mts +3 -3
- package/package.json +6 -6
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import { cryptoModule } from "./crypto.cjs";
|
|
2
|
-
export { cryptoModule };
|
|
1
|
+
import { cryptoModule } from "./crypto.cjs";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
import { cryptoModule } from "./crypto.mjs";
|
|
2
|
-
export { cryptoModule };
|
|
1
|
+
import { cryptoModule } from "./crypto.mjs";
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
2
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
3
|
-
const
|
|
3
|
+
const require_crypto = require('./components/crypto.cjs');
|
|
4
4
|
require('./components/index.cjs');
|
|
5
5
|
let __noble_ciphers_utils_js = require("@noble/ciphers/utils.js");
|
|
6
6
|
let __powerlines_plugin_env = require("@powerlines/plugin-env");
|
|
@@ -35,13 +35,13 @@ function plugin(options = {}) {
|
|
|
35
35
|
},
|
|
36
36
|
async prepare() {
|
|
37
37
|
this.log(__storm_software_config_tools_types.LogLevelLabel.TRACE, `Preparing the Crypto runtime artifacts for the Powerlines project.`);
|
|
38
|
-
await this.emitBuiltin(await Promise.resolve(
|
|
38
|
+
await this.emitBuiltin(await Promise.resolve(require_crypto.cryptoModule(this)), "crypto");
|
|
39
39
|
}
|
|
40
40
|
}];
|
|
41
41
|
}
|
|
42
42
|
var src_default = plugin;
|
|
43
43
|
|
|
44
44
|
//#endregion
|
|
45
|
-
exports.cryptoModule =
|
|
45
|
+
exports.cryptoModule = require_crypto.cryptoModule;
|
|
46
46
|
exports.default = src_default;
|
|
47
47
|
exports.plugin = plugin;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
2
1
|
import { UserConfig } from "../../../powerlines/src/types/config.cjs";
|
|
3
2
|
import { ResolvedConfig } from "../../../powerlines/src/types/resolved.cjs";
|
|
3
|
+
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
4
4
|
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
2
1
|
import { UserConfig } from "../../../powerlines/src/types/config.mjs";
|
|
3
2
|
import { ResolvedConfig } from "../../../powerlines/src/types/resolved.mjs";
|
|
3
|
+
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
4
4
|
import { Children, PrintTreeOptions } from "@alloy-js/core";
|
|
5
5
|
|
|
6
6
|
//#region ../plugin-alloy/src/types/plugin.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../../../powerlines/src/types/context.mjs";
|
|
2
1
|
import "../../../powerlines/src/types/config.mjs";
|
|
3
2
|
import "../../../powerlines/src/types/resolved.mjs";
|
|
3
|
+
import "../../../powerlines/src/types/context.mjs";
|
|
4
4
|
import { TOCOptions } from "./toc.mjs";
|
|
5
5
|
import { Config } from "automd";
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
2
1
|
import { BabelUserConfig, UserConfig } from "../../../powerlines/src/types/config.cjs";
|
|
3
2
|
import { BabelResolvedConfig, ResolvedConfig } from "../../../powerlines/src/types/resolved.cjs";
|
|
3
|
+
import { PluginContext } from "../../../powerlines/src/types/context.cjs";
|
|
4
4
|
|
|
5
5
|
//#region ../plugin-babel/src/types/plugin.d.ts
|
|
6
6
|
type BabelPluginOptions = Partial<BabelUserConfig>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
2
1
|
import { BabelUserConfig, UserConfig } from "../../../powerlines/src/types/config.mjs";
|
|
3
2
|
import { BabelResolvedConfig, ResolvedConfig } from "../../../powerlines/src/types/resolved.mjs";
|
|
3
|
+
import { PluginContext } from "../../../powerlines/src/types/context.mjs";
|
|
4
4
|
|
|
5
5
|
//#region ../plugin-babel/src/types/plugin.d.ts
|
|
6
6
|
type BabelPluginOptions = Partial<BabelUserConfig>;
|
|
@@ -3,8 +3,8 @@ import { AlloyPluginContext, AlloyPluginOptions, AlloyPluginResolvedConfig, Allo
|
|
|
3
3
|
import { AutoMDPluginOptions } from "../../../plugin-automd/src/types/plugin.cjs";
|
|
4
4
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.cjs";
|
|
5
5
|
import { EnvInterface, SecretsInterface } from "./runtime.cjs";
|
|
6
|
-
import { Children } from "@alloy-js/core";
|
|
7
6
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
7
|
+
import { Children } from "@alloy-js/core";
|
|
8
8
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
9
9
|
|
|
10
10
|
//#region ../plugin-env/src/types/plugin.d.ts
|
|
@@ -5,8 +5,8 @@ import { AutoMDPluginOptions } from "../../../plugin-automd/src/types/plugin.mjs
|
|
|
5
5
|
import { BabelPluginContext, BabelPluginOptions, BabelPluginResolvedConfig, BabelPluginUserConfig } from "../../../plugin-babel/src/types/plugin.mjs";
|
|
6
6
|
import "../../../plugin-babel/src/types/index.mjs";
|
|
7
7
|
import { EnvInterface, SecretsInterface } from "./runtime.mjs";
|
|
8
|
-
import { Children } from "@alloy-js/core";
|
|
9
8
|
import { DotenvConfiguration, TypeDefinition, TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
9
|
+
import { Children } from "@alloy-js/core";
|
|
10
10
|
import { DotenvParseOutput } from "@stryke/env/types";
|
|
11
11
|
|
|
12
12
|
//#region ../plugin-env/src/types/plugin.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../../types/hooks.mjs";
|
|
2
|
-
import { SelectHooksOptions } from "../../types/context.mjs";
|
|
3
2
|
import "../../types/resolved.mjs";
|
|
3
|
+
import { SelectHooksOptions } from "../../types/context.mjs";
|
|
4
4
|
import { MaybePromise } from "@stryke/types/base";
|
|
5
5
|
|
|
6
6
|
//#region ../powerlines/src/internal/helpers/hooks.d.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CallHookOptions } from "../internal/helpers/hooks.cjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
3
|
-
import { APIContext, EnvironmentContext, PluginContext } from "./context.cjs";
|
|
4
1
|
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.cjs";
|
|
2
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.cjs";
|
|
5
3
|
import { ResolvedConfig } from "./resolved.cjs";
|
|
4
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.cjs";
|
|
5
|
+
import { CallHookOptions } from "../internal/helpers/hooks.cjs";
|
|
6
6
|
|
|
7
7
|
//#region ../powerlines/src/types/api.d.ts
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { CallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
2
|
-
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
3
|
-
import { APIContext, EnvironmentContext, PluginContext } from "./context.mjs";
|
|
4
1
|
import { BuildInlineConfig, CleanInlineConfig, DeployInlineConfig, DocsInlineConfig, LintInlineConfig, NewInlineConfig, PrepareInlineConfig } from "./config.mjs";
|
|
2
|
+
import { InferHookParameters, InferHookReturnType } from "./hooks.mjs";
|
|
5
3
|
import { ResolvedConfig } from "./resolved.mjs";
|
|
4
|
+
import { APIContext, EnvironmentContext, PluginContext } from "./context.mjs";
|
|
5
|
+
import { CallHookOptions } from "../internal/helpers/hooks.mjs";
|
|
6
6
|
|
|
7
7
|
//#region ../powerlines/src/types/api.d.ts
|
|
8
8
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UserConfig
|
|
1
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
2
|
+
import { UserConfig } from "@farmfe/core";
|
|
3
3
|
import { Configuration } from "@rspack/core";
|
|
4
4
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
5
5
|
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
6
6
|
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
7
7
|
import { RolldownOptions } from "rolldown";
|
|
8
|
-
import {
|
|
9
|
-
import { UserConfig as UserConfig$2 } from "
|
|
8
|
+
import { UserConfig as UserConfig$1 } from "tsdown";
|
|
9
|
+
import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
|
|
10
10
|
import { Configuration as Configuration$1 } from "webpack";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/build.d.ts
|
|
@@ -155,13 +155,13 @@ interface BuildConfig {
|
|
|
155
155
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
156
156
|
type ESBuildBuildConfig = Omit<BuildOptions$1, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
|
|
157
157
|
type ESBuildResolvedBuildConfig = Omit<BuildOptions$1, "inject"> & BuildResolvedConfig;
|
|
158
|
-
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
158
|
+
type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
159
159
|
/**
|
|
160
160
|
* Optimize deps config
|
|
161
161
|
*/
|
|
162
162
|
optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
|
|
163
163
|
};
|
|
164
|
-
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
164
|
+
type ViteResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
|
|
165
165
|
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
166
166
|
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
167
167
|
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
@@ -175,11 +175,11 @@ type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfi
|
|
|
175
175
|
type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
|
|
176
176
|
type TsupBuildConfig = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
177
|
type TsupResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
178
|
-
type TsdownBuildConfig = Partial<Omit<UserConfig$
|
|
179
|
-
type TsdownResolvedBuildConfig = UserConfig$
|
|
178
|
+
type TsdownBuildConfig = Partial<Omit<UserConfig$1, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
179
|
+
type TsdownResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
|
|
180
180
|
type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
181
181
|
type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
|
|
182
|
-
type FarmBuildConfig = Partial<Omit<UserConfig
|
|
183
|
-
type FarmResolvedBuildConfig = UserConfig
|
|
182
|
+
type FarmBuildConfig = Partial<Omit<UserConfig, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
183
|
+
type FarmResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
184
184
|
//#endregion
|
|
185
185
|
export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { UserConfig
|
|
1
|
+
import { OutputOptions, RollupOptions } from "rollup";
|
|
2
|
+
import { UserConfig } from "@farmfe/core";
|
|
3
3
|
import { Configuration } from "@rspack/core";
|
|
4
4
|
import { BuildOptions } from "@storm-software/tsup/types";
|
|
5
5
|
import { UnbuildOptions } from "@storm-software/unbuild/types";
|
|
6
6
|
import { BuildOptions as BuildOptions$1 } from "esbuild";
|
|
7
7
|
import { RolldownOptions } from "rolldown";
|
|
8
|
-
import {
|
|
9
|
-
import { UserConfig as UserConfig$2 } from "
|
|
8
|
+
import { UserConfig as UserConfig$1 } from "tsdown";
|
|
9
|
+
import { DepOptimizationOptions, UserConfig as UserConfig$2 } from "vite";
|
|
10
10
|
import { Configuration as Configuration$1 } from "webpack";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/build.d.ts
|
|
@@ -155,13 +155,13 @@ interface BuildConfig {
|
|
|
155
155
|
type BuildResolvedConfig = Omit<BuildConfig, "override">;
|
|
156
156
|
type ESBuildBuildConfig = Omit<BuildOptions$1, "entryPoints" | "sourceRoot" | "platform" | "outdir" | "env" | "assets" | "external" | "inject" | "tsconfig" | "tsconfigRaw" | "logLevel"> & BuildConfig;
|
|
157
157
|
type ESBuildResolvedBuildConfig = Omit<BuildOptions$1, "inject"> & BuildResolvedConfig;
|
|
158
|
-
type ViteBuildConfig = Omit<UserConfig, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
158
|
+
type ViteBuildConfig = Omit<UserConfig$2, "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw" | "environments" | "output"> & BuildConfig & {
|
|
159
159
|
/**
|
|
160
160
|
* Optimize deps config
|
|
161
161
|
*/
|
|
162
162
|
optimizeDeps?: Omit<DepOptimizationOptions, "extensions">;
|
|
163
163
|
};
|
|
164
|
-
type ViteResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
164
|
+
type ViteResolvedBuildConfig = UserConfig$2 & BuildResolvedConfig;
|
|
165
165
|
type WebpackBuildConfig = Omit<Configuration$1, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
166
166
|
type WebpackResolvedBuildConfig = Configuration$1 & BuildResolvedConfig;
|
|
167
167
|
type RspackBuildConfig = Omit<Configuration, "name" | "entry" | "entryPoints" | "tsconfig" | "tsconfigRaw"> & BuildConfig;
|
|
@@ -175,11 +175,11 @@ type RolldownBuildConfig = Omit<RolldownOptions, "input" | "external" | "tsconfi
|
|
|
175
175
|
type RolldownResolvedBuildConfig = RolldownOptions & BuildResolvedConfig;
|
|
176
176
|
type TsupBuildConfig = Partial<Omit<BuildOptions, "userOptions" | "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "clean" | "env" | "entry" | "entryPoints" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
177
177
|
type TsupResolvedBuildConfig = BuildOptions & BuildResolvedConfig;
|
|
178
|
-
type TsdownBuildConfig = Partial<Omit<UserConfig$
|
|
179
|
-
type TsdownResolvedBuildConfig = UserConfig$
|
|
178
|
+
type TsdownBuildConfig = Partial<Omit<UserConfig$1, "name" | "outDir" | "clean" | "cwd" | "tsconfig" | "publicDir" | "copy" | "alias" | "format" | "platform" | "env" | "define" | "entry" | "external" | "noExternal" | "skipNodeModulesBundle">> & BuildConfig;
|
|
179
|
+
type TsdownResolvedBuildConfig = UserConfig$1 & BuildResolvedConfig;
|
|
180
180
|
type UnbuildBuildConfig = Partial<Omit<UnbuildOptions, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
181
181
|
type UnbuildResolvedBuildConfig = UnbuildOptions & BuildResolvedConfig;
|
|
182
|
-
type FarmBuildConfig = Partial<Omit<UserConfig
|
|
183
|
-
type FarmResolvedBuildConfig = UserConfig
|
|
182
|
+
type FarmBuildConfig = Partial<Omit<UserConfig, "tsconfig" | "tsconfigRaw" | "assets" | "outputPath" | "mode" | "format" | "platform" | "projectRoot" | "env" | "entry" | "entryPoints">> & BuildConfig;
|
|
183
|
+
type FarmResolvedBuildConfig = UserConfig & BuildResolvedConfig;
|
|
184
184
|
//#endregion
|
|
185
185
|
export { BuildConfig, BuildResolvedConfig, BuilderVariant, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, InferUnpluginVariant, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, UnpluginBuilderVariant, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { MaybePromise } from "@stryke/types/base";
|
|
2
1
|
import { ArrayValues } from "@stryke/types/array";
|
|
2
|
+
import { MaybePromise } from "@stryke/types/base";
|
|
3
3
|
|
|
4
4
|
//#region ../powerlines/src/types/commands.d.ts
|
|
5
5
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./context.mjs";
|
|
2
|
-
import { MaybePromise } from "@stryke/types/base";
|
|
3
2
|
import { ArrayValues } from "@stryke/types/array";
|
|
3
|
+
import { MaybePromise } from "@stryke/types/base";
|
|
4
4
|
|
|
5
5
|
//#region ../powerlines/src/types/commands.d.ts
|
|
6
6
|
declare const SUPPORTED_COMMANDS: readonly ["new", "clean", "prepare", "lint", "test", "build", "docs", "deploy", "finalize"];
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { StoragePort, StoragePreset } from "./fs.cjs";
|
|
2
1
|
import { BuildConfig, BuildResolvedConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./build.cjs";
|
|
3
|
-
import {
|
|
2
|
+
import { BabelTransformPluginOptions } from "./babel.cjs";
|
|
3
|
+
import { StoragePort, StoragePreset } from "./fs.cjs";
|
|
4
4
|
import { TSConfig } from "./tsconfig.cjs";
|
|
5
5
|
import { PluginContext } from "./context.cjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Plugin } from "./plugin.cjs";
|
|
7
7
|
import { MaybePromise } from "@stryke/types/base";
|
|
8
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
9
|
-
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
10
8
|
import { PreviewOptions } from "vite";
|
|
11
9
|
import { transformAsync } from "@babel/core";
|
|
12
10
|
import { Format } from "@storm-software/build-tools/types";
|
|
13
11
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
14
12
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
13
|
+
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
14
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
15
15
|
import { DateString } from "compatx";
|
|
16
16
|
|
|
17
17
|
//#region ../powerlines/src/types/config.d.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { StoragePort, StoragePreset } from "./fs.mjs";
|
|
2
1
|
import { BuildConfig, BuildResolvedConfig, ESBuildBuildConfig, ESBuildResolvedBuildConfig, FarmBuildConfig, FarmResolvedBuildConfig, RolldownBuildConfig, RolldownResolvedBuildConfig, RollupBuildConfig, RollupResolvedBuildConfig, RspackBuildConfig, RspackResolvedBuildConfig, TsdownBuildConfig, TsdownResolvedBuildConfig, TsupBuildConfig, TsupResolvedBuildConfig, UnbuildBuildConfig, UnbuildResolvedBuildConfig, ViteBuildConfig, ViteResolvedBuildConfig, WebpackBuildConfig, WebpackResolvedBuildConfig } from "./build.mjs";
|
|
3
|
-
import {
|
|
2
|
+
import { BabelTransformPluginOptions } from "./babel.mjs";
|
|
3
|
+
import { StoragePort, StoragePreset } from "./fs.mjs";
|
|
4
4
|
import { TSConfig } from "./tsconfig.mjs";
|
|
5
5
|
import { PluginContext } from "./context.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { Plugin } from "./plugin.mjs";
|
|
7
7
|
import { LogLevelLabel } from "@storm-software/config-tools/types";
|
|
8
8
|
import { MaybePromise } from "@stryke/types/base";
|
|
9
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
10
|
-
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
11
9
|
import { PreviewOptions } from "vite";
|
|
12
10
|
import { transformAsync } from "@babel/core";
|
|
13
11
|
import { Format } from "@storm-software/build-tools/types";
|
|
14
12
|
import { StormWorkspaceConfig } from "@storm-software/config/types";
|
|
13
|
+
import { TypeDefinitionParameter } from "@stryke/types/configuration";
|
|
14
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
15
15
|
import { DateString } from "compatx";
|
|
16
16
|
|
|
17
17
|
//#region ../powerlines/src/types/config.d.ts
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ResolveOptions, VirtualFile, VirtualFileSystemInterface, WriteOptions } from "./fs.cjs";
|
|
2
|
-
import { Plugin } from "./plugin.cjs";
|
|
3
|
-
import { HooksList, InferHooksListItem } from "./hooks.cjs";
|
|
4
2
|
import { ParsedTypeScriptConfig } from "./tsconfig.cjs";
|
|
5
3
|
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.cjs";
|
|
4
|
+
import { HooksList, InferHooksListItem } from "./hooks.cjs";
|
|
6
5
|
import { EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.cjs";
|
|
6
|
+
import { Plugin } from "./plugin.cjs";
|
|
7
7
|
import { NonUndefined } from "@stryke/types/base";
|
|
8
|
+
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
8
9
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
9
10
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
10
11
|
import { PackageJson } from "@stryke/types/package-json";
|
|
@@ -14,7 +15,6 @@ import { ParseResult, ParserOptions } from "oxc-parser";
|
|
|
14
15
|
import { Range } from "semver";
|
|
15
16
|
import { Project } from "ts-morph";
|
|
16
17
|
import { RequestInfo, Response } from "undici";
|
|
17
|
-
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
18
18
|
|
|
19
19
|
//#region ../powerlines/src/types/context.d.ts
|
|
20
20
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ResolveOptions, VirtualFile, VirtualFileSystemInterface, WriteOptions } from "./fs.mjs";
|
|
2
|
-
import { Plugin } from "./plugin.mjs";
|
|
3
|
-
import { HooksList, InferHooksListItem } from "./hooks.mjs";
|
|
4
2
|
import { ParsedTypeScriptConfig } from "./tsconfig.mjs";
|
|
5
3
|
import { InlineConfig, LogFn, UserConfig, WorkspaceConfig } from "./config.mjs";
|
|
4
|
+
import { HooksList, InferHooksListItem } from "./hooks.mjs";
|
|
6
5
|
import { EnvironmentResolvedConfig, ResolvedConfig, ResolvedEntryTypeDefinition } from "./resolved.mjs";
|
|
6
|
+
import { Plugin } from "./plugin.mjs";
|
|
7
7
|
import { NonUndefined } from "@stryke/types/base";
|
|
8
|
+
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
8
9
|
import { EnvPaths } from "@stryke/env/get-env-paths";
|
|
9
10
|
import { FetchRequestOptions } from "@stryke/http/fetch";
|
|
10
11
|
import { PackageJson } from "@stryke/types/package-json";
|
|
@@ -14,7 +15,6 @@ import { ParseResult, ParserOptions } from "oxc-parser";
|
|
|
14
15
|
import { Range } from "semver";
|
|
15
16
|
import { Project } from "ts-morph";
|
|
16
17
|
import { RequestInfo, Response } from "undici";
|
|
17
|
-
import { ExternalIdResult, UnpluginBuildContext, UnpluginContext, UnpluginMessage } from "unplugin";
|
|
18
18
|
|
|
19
19
|
//#region ../powerlines/src/types/context.d.ts
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnpluginBuilderVariant } from "./build.cjs";
|
|
2
|
-
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.cjs";
|
|
3
2
|
import { PluginContext, WithUnpluginBuildContext } from "./context.cjs";
|
|
3
|
+
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.cjs";
|
|
4
4
|
import { UnpluginOptions } from "unplugin";
|
|
5
5
|
|
|
6
6
|
//#region ../powerlines/src/types/hooks.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { UnpluginBuilderVariant } from "./build.mjs";
|
|
2
|
-
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.mjs";
|
|
3
2
|
import { PluginContext, WithUnpluginBuildContext } from "./context.mjs";
|
|
3
|
+
import { Plugin, PluginHookFields, PluginHookFunctions } from "./plugin.mjs";
|
|
4
4
|
import { UnpluginOptions } from "unplugin";
|
|
5
5
|
|
|
6
6
|
//#region ../powerlines/src/types/hooks.d.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.cjs";
|
|
2
|
-
import { CommandType } from "./commands.cjs";
|
|
3
|
-
import { InferUnpluginOptions } from "./unplugin.cjs";
|
|
4
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
5
2
|
import { EnvironmentConfig, PluginConfig } from "./config.cjs";
|
|
6
3
|
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.cjs";
|
|
4
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.cjs";
|
|
5
|
+
import { CommandType } from "./commands.cjs";
|
|
6
|
+
import { InferUnpluginOptions } from "./unplugin.cjs";
|
|
7
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
7
8
|
import { AnyFunction, MaybePromise } from "@stryke/types/base";
|
|
8
9
|
import { LoadResult } from "rollup";
|
|
9
10
|
import { ExternalIdResult, HookFilter, TransformResult } from "unplugin";
|
|
10
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
13
13
|
interface PluginHookObject<THookFunction extends AnyFunction, TFilter extends keyof HookFilter = never> {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.mjs";
|
|
2
|
-
import { CommandType } from "./commands.mjs";
|
|
3
|
-
import { InferUnpluginOptions } from "./unplugin.mjs";
|
|
4
|
-
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
5
2
|
import { EnvironmentConfig, PluginConfig } from "./config.mjs";
|
|
6
3
|
import { EnvironmentResolvedConfig, ResolvedConfig } from "./resolved.mjs";
|
|
4
|
+
import { BuildPluginContext, PluginContext, UnresolvedContext } from "./context.mjs";
|
|
5
|
+
import { CommandType } from "./commands.mjs";
|
|
6
|
+
import { InferUnpluginOptions } from "./unplugin.mjs";
|
|
7
|
+
import { ArrayValues } from "@stryke/types/array";
|
|
7
8
|
import { AnyFunction, MaybePromise } from "@stryke/types/base";
|
|
8
9
|
import { LoadResult } from "rollup";
|
|
9
10
|
import { ExternalIdResult, HookFilter, TransformResult } from "unplugin";
|
|
10
|
-
import { ArrayValues } from "@stryke/types/array";
|
|
11
11
|
|
|
12
12
|
//#region ../powerlines/src/types/plugin.d.ts
|
|
13
13
|
interface PluginHookObject<THookFunction extends AnyFunction, TFilter extends keyof HookFilter = never> {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.cjs";
|
|
2
2
|
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.cjs";
|
|
3
3
|
import { NonUndefined } from "@stryke/types/base";
|
|
4
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
5
|
-
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
4
|
import { ResolvedPreviewOptions } from "vite";
|
|
5
|
+
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
7
7
|
|
|
8
8
|
//#region ../powerlines/src/types/resolved.d.ts
|
|
9
9
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BuilderVariant } from "./build.mjs";
|
|
2
2
|
import { BabelUserConfig, ESBuildUserConfig, EnvironmentConfig, FarmUserConfig, InlineConfig, OutputConfig, RolldownUserConfig, RollupUserConfig, RspackUserConfig, TsdownUserConfig, TsupUserConfig, UnbuildUserConfig, UserConfig as UserConfig$1, ViteUserConfig, WebpackUserConfig } from "./config.mjs";
|
|
3
3
|
import { NonUndefined } from "@stryke/types/base";
|
|
4
|
-
import { AssetGlob } from "@stryke/types/file";
|
|
5
|
-
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
4
|
import { ResolvedPreviewOptions } from "vite";
|
|
5
|
+
import { TypeDefinition } from "@stryke/types/configuration";
|
|
6
|
+
import { AssetGlob } from "@stryke/types/file";
|
|
7
7
|
|
|
8
8
|
//#region ../powerlines/src/types/resolved.d.ts
|
|
9
9
|
interface ResolvedEntryTypeDefinition extends TypeDefinition {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.cjs";
|
|
2
|
+
import { InferResolvedConfig } from "./resolved.cjs";
|
|
3
|
+
import { Context } from "./context.cjs";
|
|
2
4
|
import { API } from "./api.cjs";
|
|
3
5
|
import { PluginHook } from "./plugin.cjs";
|
|
4
|
-
import { Context } from "./context.cjs";
|
|
5
|
-
import { InferResolvedConfig } from "./resolved.cjs";
|
|
6
6
|
import { MaybePromise } from "@stryke/types/base";
|
|
7
7
|
import { HookFilter, UnpluginOptions } from "unplugin";
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BuilderVariant, InferUnpluginVariant, UnpluginBuilderVariant } from "./build.mjs";
|
|
2
|
-
import { API } from "./api.mjs";
|
|
3
|
-
import { PluginHook } from "./plugin.mjs";
|
|
4
|
-
import { Context } from "./context.mjs";
|
|
5
2
|
import "./config.mjs";
|
|
6
3
|
import { InferResolvedConfig } from "./resolved.mjs";
|
|
4
|
+
import { Context } from "./context.mjs";
|
|
5
|
+
import { API } from "./api.mjs";
|
|
6
|
+
import { PluginHook } from "./plugin.mjs";
|
|
7
7
|
import { MaybePromise } from "@stryke/types/base";
|
|
8
8
|
import { HookFilter, UnpluginOptions } from "unplugin";
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-crypto",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.164",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A Powerlines plugin that provides unique identifier generation capabilities at runtime by adding the `id` builtin module.",
|
|
6
6
|
"repository": {
|
|
@@ -129,16 +129,16 @@
|
|
|
129
129
|
"keywords": ["powerlines", "storm-software", "powerlines-plugin"],
|
|
130
130
|
"dependencies": {
|
|
131
131
|
"@noble/ciphers": "^2.1.1",
|
|
132
|
-
"@powerlines/plugin-env": "^0.15.
|
|
132
|
+
"@powerlines/plugin-env": "^0.15.61",
|
|
133
133
|
"@storm-software/config-tools": "^1.188.80",
|
|
134
|
-
"@stryke/path": "^0.
|
|
134
|
+
"@stryke/path": "^0.25.3",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
|
-
"powerlines": "^0.37.
|
|
136
|
+
"powerlines": "^0.37.46"
|
|
137
137
|
},
|
|
138
138
|
"devDependencies": {
|
|
139
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
139
|
+
"@powerlines/plugin-plugin": "^0.12.124",
|
|
140
140
|
"@types/node": "^24.10.9"
|
|
141
141
|
},
|
|
142
142
|
"publishConfig": { "access": "public" },
|
|
143
|
-
"gitHead": "
|
|
143
|
+
"gitHead": "032b11dbd79e039303ebe2942ed230ea8956ece1"
|
|
144
144
|
}
|