@wocker/core 1.0.26-beta.0 → 1.0.26-beta.1

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.
@@ -1,10 +1,11 @@
1
- import { EnvConfig } from "../types";
1
+ import { EnvConfig, PackageManagerType } from "../types";
2
2
  import { PluginRef } from "../types/PluginRef";
3
3
  import { PresetRef } from "../types/PresetRef";
4
4
  import { ProjectRef, ProjectOldRef } from "../types/ProjectRef";
5
5
  import { PresetSource } from "./Preset";
6
6
  export type AppConfigProperties = {
7
7
  debug?: boolean;
8
+ pm?: PackageManagerType;
8
9
  keystore?: string;
9
10
  logLevel?: "off" | "info" | "warn" | "error";
10
11
  plugins?: PluginRef[];
@@ -15,6 +16,7 @@ export type AppConfigProperties = {
15
16
  };
16
17
  export declare class AppConfig {
17
18
  debug?: boolean;
19
+ pm?: PackageManagerType;
18
20
  keystore?: string;
19
21
  logLevel: "off" | "info" | "warn" | "error";
20
22
  plugins: PluginRef[];
@@ -166,6 +166,7 @@ class AppConfig {
166
166
  toObject() {
167
167
  return {
168
168
  debug: this.debug,
169
+ pm: this.pm,
169
170
  logLevel: this.logLevel,
170
171
  keystore: this.keystore,
171
172
  plugins: this.plugins.length > 0 ? this.plugins : undefined,
@@ -0,0 +1 @@
1
+ export type PackageManagerType = "npm" | "yarn" | "pnpm";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -3,6 +3,7 @@ export * from "./EnvConfig";
3
3
  export * from "./FileSystemDriver";
4
4
  export * from "./InjectionToken";
5
5
  export * from "./ModuleMetadata";
6
+ export * from "./PackageManagerType";
6
7
  export * from "./PickProperties";
7
8
  export * from "./PluginMetadata";
8
9
  export * from "./Type";
@@ -19,6 +19,7 @@ __exportStar(require("./EnvConfig"), exports);
19
19
  __exportStar(require("./FileSystemDriver"), exports);
20
20
  __exportStar(require("./InjectionToken"), exports);
21
21
  __exportStar(require("./ModuleMetadata"), exports);
22
+ __exportStar(require("./PackageManagerType"), exports);
22
23
  __exportStar(require("./PickProperties"), exports);
23
24
  __exportStar(require("./PluginMetadata"), exports);
24
25
  __exportStar(require("./Type"), exports);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wocker/core",
3
3
  "type": "commonjs",
4
- "version": "1.0.26-beta.0",
4
+ "version": "1.0.26-beta.1",
5
5
  "author": "Kris Papercut <krispcut@gmail.com>",
6
6
  "description": "Core of the Wocker",
7
7
  "license": "MIT",