@windrun-huaiin/lib 31.0.1 → 31.0.2

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.
@@ -89,11 +89,6 @@ export declare function createCommonAppConfig(options?: {
89
89
  waitlistUrl: string;
90
90
  debug: boolean;
91
91
  };
92
- mdxSourceDir: {
93
- docs: string;
94
- blog: string;
95
- legal: string;
96
- };
97
92
  };
98
93
  export declare function createI18nHelpers(i18nConfig: ReturnType<typeof createCommonAppConfig>['i18n']): {
99
94
  isSupportedLocale: (locale: string) => locale is (typeof i18nConfig.locales)[number];
@@ -1 +1 @@
1
- {"version":3,"file":"common-app-config.d.ts","sourceRoot":"","sources":["../src/common-app-config.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAiBb,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,iBAAiB,CAAC;AAC7D,MAAM,MAAM,YAAY,GACpB,mBAAmB,GACnB,YAAY,GACZ,WAAW,CAAC;AAiChB,wBAAgB,qBAAqB,CAAC,OAAO,CAAC,EAAE;IAE9C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqByB,SAAS,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqE1C;AAGD,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,UAAU,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC;gCACzD,MAAM,KAAG,MAAM,IAAI,CAAA,OAAO,UAAU,CAAC,OAAO,EAAC,MAAM,CAAC;6BAIvD,MAAM,KAAG,CAAA,OAAO,UAAU,CAAC,OAAO,EAAC,MAAM,CAAC;;;;;EAc3E;AAGD,eAAO,MAAM,cAAc;;iBAEK,MAAM,EAAE;uBAAyB,MAAM;;;iBAGnC,MAAM,E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fig(options) {
97
97
  waitlistUrl: process.env.NEXT_PUBLIC_CLERK_WAITLIST_URL || "/waitlist",
98
98
  debug: process.env.CLERK_DEBUG === 'true',
99
99
  },
100
- // MDX source file directory configuration
101
- mdxSourceDir: {
102
- docs: process.env.NEXT_PUBLIC_MDX_DOCS_DIR || "src/mdx/docs",
103
- blog: process.env.NEXT_PUBLIC_MDX_BLOG_DIR || "src/mdx/blog",
104
- legal: process.env.NEXT_PUBLIC_MDX_LEGAL_DIR || "src/mdx/legal"
105
- },
106
100
  };
107
101
  // Convenient constants - avoid deep nested access
108
102
  const shortcuts = {
@@ -95,12 +95,6 @@ function createCommonAppConfig(options) {
95
95
  waitlistUrl: process.env.NEXT_PUBLIC_CLERK_WAITLIST_URL || "/waitlist",
96
96
  debug: process.env.CLERK_DEBUG === 'true',
97
97
  },
98
- // MDX source file directory configuration
99
- mdxSourceDir: {
100
- docs: process.env.NEXT_PUBLIC_MDX_DOCS_DIR || "src/mdx/docs",
101
- blog: process.env.NEXT_PUBLIC_MDX_BLOG_DIR || "src/mdx/blog",
102
- legal: process.env.NEXT_PUBLIC_MDX_LEGAL_DIR || "src/mdx/legal"
103
- },
104
98
  };
105
99
  // Convenient constants - avoid deep nested access
106
100
  const shortcuts = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/lib",
3
- "version": "31.0.1",
3
+ "version": "31.0.2",
4
4
  "description": "Common utilities and configuration",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -125,12 +125,6 @@ export function createCommonAppConfig(options?: {
125
125
  debug: process.env.CLERK_DEBUG === 'true',
126
126
  },
127
127
 
128
- // MDX source file directory configuration
129
- mdxSourceDir: {
130
- docs: process.env.NEXT_PUBLIC_MDX_DOCS_DIR || "src/mdx/docs",
131
- blog: process.env.NEXT_PUBLIC_MDX_BLOG_DIR || "src/mdx/blog",
132
- legal: process.env.NEXT_PUBLIC_MDX_LEGAL_DIR || "src/mdx/legal"
133
- },
134
128
  };
135
129
 
136
130
  // Convenient constants - avoid deep nested access