@stacksjs/config 0.70.231 → 0.70.234

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/defaults.js CHANGED
@@ -395,6 +395,11 @@ export const defaults = {
395
395
  time: 2
396
396
  }
397
397
  },
398
+ images: {
399
+ social: { enabled: !1, outputDir: "public/social", publicPath: "/social", presets: ["og", "square", "portrait"] },
400
+ appStore: { enabled: !1, outputDir: "resources/app-store/screenshots" },
401
+ appIcons: { enabled: !1, outputDir: "resources/app-icons", platforms: ["ios", "macos"], faviconDir: "public" }
402
+ },
398
403
  library: {
399
404
  name: "hello-world",
400
405
  owner: "@stacksjs",
package/dist/helpers.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { config } from '.';
2
- import type { AppConfig, CacheConfig, CdnConfig, ChatConfig, CliConfig, DatabaseConfig, DependenciesConfig, DnsConfig, EmailConfig, Events, FilesystemsConfig, FeatureFlagsConfig, GitConfig, HashingConfig, LibraryConfig, Model, NotificationConfig, PaymentConfig, QueueConfig, SearchEngineConfig, SecurityConfig, ServicesConfig, StacksConfig, StorageConfig, UiConfig } from '@stacksjs/types';
2
+ import type { AppConfig, CacheConfig, CdnConfig, ChatConfig, CliConfig, DatabaseConfig, DependenciesConfig, DnsConfig, EmailConfig, Events, FilesystemsConfig, FeatureFlagsConfig, GitConfig, HashingConfig, ImagesConfig, LibraryConfig, Model, NotificationConfig, PaymentConfig, QueueConfig, SearchEngineConfig, SecurityConfig, ServicesConfig, StacksConfig, StorageConfig, UiConfig } from '@stacksjs/types';
3
3
  export declare function localUrl(options?: {
4
4
  domain?: string
5
5
  type?: LocalUrlType
@@ -20,6 +20,7 @@ export declare function defineEmailConfig(config: EmailConfig): EmailConfig;
20
20
  export declare function defineEmail(config: EmailConfig): EmailConfig;
21
21
  export declare function defineGit(config: GitConfig): GitConfig;
22
22
  export declare function defineHashing(config: HashingConfig): HashingConfig;
23
+ export declare function defineImages(config: ImagesConfig): ImagesConfig;
23
24
  export declare function defineLibrary(config: LibraryConfig): LibraryConfig;
24
25
  export declare function defineNotification(config: NotificationConfig): NotificationConfig;
25
26
  export declare function definePayment(config: PaymentConfig): PaymentConfig;
package/dist/helpers.js CHANGED
@@ -109,6 +109,9 @@ export function defineGit(config) {
109
109
  export function defineHashing(config) {
110
110
  return config;
111
111
  }
112
+ export function defineImages(config) {
113
+ return config;
114
+ }
112
115
  export function defineLibrary(config) {
113
116
  return config;
114
117
  }
package/dist/overrides.js CHANGED
@@ -22,6 +22,7 @@ function defaultsForOverrides() {
22
22
  featureFlags: {},
23
23
  git: {},
24
24
  hashing: {},
25
+ images: {},
25
26
  library: {},
26
27
  logging: {},
27
28
  marketing: {},
@@ -64,6 +65,7 @@ const userConfigs = [
64
65
  ["featureFlags", "feature-flags"],
65
66
  ["git", "git"],
66
67
  ["hashing", "hashing"],
68
+ ["images", "images"],
67
69
  ["library", "library"],
68
70
  ["logging", "logging"],
69
71
  ["marketing", "marketing"],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@stacksjs/config",
3
3
  "type": "module",
4
4
  "sideEffects": false,
5
- "version": "0.70.231",
5
+ "version": "0.70.234",
6
6
  "description": "The Stacks config helper methods.",
7
7
  "author": "Chris Breuer",
8
8
  "contributors": [
@@ -28,13 +28,11 @@
28
28
  "exports": {
29
29
  ".": {
30
30
  "types": "./dist/index.d.ts",
31
- "development": "./src/index.ts",
32
31
  "bun": "./dist/index.js",
33
32
  "import": "./dist/index.js",
34
33
  "default": "./dist/index.js"
35
34
  },
36
35
  "./*": {
37
- "development": "./src/*",
38
36
  "bun": "./dist/*",
39
37
  "import": "./dist/*",
40
38
  "default": "./dist/*"
@@ -53,8 +51,8 @@
53
51
  "ts-pantry": "^0.11.0"
54
52
  },
55
53
  "devDependencies": {
56
- "@stacksjs/alias": "0.70.231",
54
+ "@stacksjs/alias": "0.70.234",
57
55
  "better-dx": "^0.2.17",
58
- "@stacksjs/types": "0.70.231"
56
+ "@stacksjs/types": "0.70.234"
59
57
  }
60
58
  }