@r_masseater/msch 0.87.0 → 0.87.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.
- package/dist/library.mjs +1 -0
- package/dist/library.mjs.map +1 -1
- package/package.json +1 -1
package/dist/library.mjs
CHANGED
package/dist/library.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"library.mjs","names":[],"sources":["../src/features/define-library/model/library.ts"],"sourcesContent":["import { defineConfig } from \"vite-plus\";\n\nimport { LOCKED } from \"#/shared/lib/locked-inputs.ts\";\n\n/** @internal */\nexport type LibraryTask =\n | string\n | Readonly<{ command: string | readonly string[]; dependsOn?: readonly string[] }>;\n\n/** @internal */\nexport type LibraryPlatform = \"node\" | \"neutral\" | \"browser\";\n\n/** @internal */\nexport interface LibraryOptions {\n readonly entry: Readonly<Record<string, string>>;\n readonly platform?: LibraryPlatform;\n readonly alwaysBundle?: readonly string[];\n readonly tasks?: Readonly<Record<string, LibraryTask>>;\n}\n\n/** @internal */\nexport const library = ({\n entry,\n platform = \"node\",\n alwaysBundle = [],\n tasks = {},\n}: LibraryOptions): ReturnType<typeof defineConfig> =>\n defineConfig({\n run: {\n tasks: {\n test: { command: \"vp test run\", cache: LOCKED },\n build: { command: \"vp pack\", cache: LOCKED },\n ...tasks,\n },\n },\n pack: {\n entry: { ...entry },\n platform,\n deps: { alwaysBundle: [...alwaysBundle] },\n sourcemap: true,\n publint: { strict: true },\n dts: true,\n },\n test: { include: [\"src/**/*.test.ts\"] },\n });\n"],"mappings":";;;;AAqBA,MAAa,WAAW,EACtB,OACA,WAAW,QACX,eAAe,CAAC,GAChB,QAAQ,CAAC,QAET,aAAa;CACX,KAAK,EACH,OAAO;EACL,MAAM;GAAE,SAAS;GAAe,OAAO;EAAO;EAC9C,OAAO;GAAE,SAAS;GAAW,OAAO;EAAO;EAC3C,GAAG;CACL,EACF;CACA,MAAM;EACJ,OAAO,EAAE,GAAG,MAAM;EAClB;EACA,MAAM,EAAE,cAAc,CAAC,GAAG,YAAY,EAAE;EACxC,WAAW;EACX,SAAS,EAAE,QAAQ,KAAK;EACxB,KAAK;CACP;CACA,MAAM,EAAE,SAAS,CAAC,kBAAkB,EAAE;AACxC,CAAC"}
|
|
1
|
+
{"version":3,"file":"library.mjs","names":[],"sources":["../src/features/define-library/model/library.ts"],"sourcesContent":["import { defineConfig } from \"vite-plus\";\n\nimport { LOCKED } from \"#/shared/lib/locked-inputs.ts\";\n\n/** @internal */\nexport type LibraryTask =\n | string\n | Readonly<{ command: string | readonly string[]; dependsOn?: readonly string[] }>;\n\n/** @internal */\nexport type LibraryPlatform = \"node\" | \"neutral\" | \"browser\";\n\n/** @internal */\nexport interface LibraryOptions {\n readonly entry: Readonly<Record<string, string>>;\n readonly platform?: LibraryPlatform;\n readonly alwaysBundle?: readonly string[];\n readonly tasks?: Readonly<Record<string, LibraryTask>>;\n}\n\n/** @internal */\nexport const library = ({\n entry,\n platform = \"node\",\n alwaysBundle = [],\n tasks = {},\n}: LibraryOptions): ReturnType<typeof defineConfig> =>\n defineConfig({\n run: {\n tasks: {\n test: { command: \"vp test run\", cache: LOCKED },\n build: { command: \"vp pack\", cache: LOCKED },\n ...tasks,\n },\n },\n pack: {\n entry: { ...entry },\n platform,\n fixedExtension: true,\n deps: { alwaysBundle: [...alwaysBundle] },\n sourcemap: true,\n publint: { strict: true },\n dts: true,\n },\n test: { include: [\"src/**/*.test.ts\"] },\n });\n"],"mappings":";;;;AAqBA,MAAa,WAAW,EACtB,OACA,WAAW,QACX,eAAe,CAAC,GAChB,QAAQ,CAAC,QAET,aAAa;CACX,KAAK,EACH,OAAO;EACL,MAAM;GAAE,SAAS;GAAe,OAAO;EAAO;EAC9C,OAAO;GAAE,SAAS;GAAW,OAAO;EAAO;EAC3C,GAAG;CACL,EACF;CACA,MAAM;EACJ,OAAO,EAAE,GAAG,MAAM;EAClB;EACA,gBAAgB;EAChB,MAAM,EAAE,cAAc,CAAC,GAAG,YAAY,EAAE;EACxC,WAAW;EACX,SAAS,EAAE,QAAQ,KAAK;EACxB,KAAK;CACP;CACA,MAAM,EAAE,SAAS,CAAC,kBAAkB,EAAE;AACxC,CAAC"}
|
package/package.json
CHANGED