@powerlines/plugin-unbuild 0.5.451 → 0.5.452

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/index.cjs CHANGED
@@ -23,7 +23,7 @@ const plugin = (options = {}) => {
23
23
  async build() {
24
24
  this.debug("Starting Unbuild build process...");
25
25
  const options = require_helpers_resolve_options.resolveOptions(this);
26
- this.trace({
26
+ this.debug({
27
27
  meta: { category: "config" },
28
28
  message: `Resolved Unbuild configuration: \n${JSON.stringify((0, _stryke_helpers_omit.omit)(options, ["plugins"]), null, 2)}`
29
29
  });
package/dist/index.mjs CHANGED
@@ -21,7 +21,7 @@ const plugin = (options = {}) => {
21
21
  async build() {
22
22
  this.debug("Starting Unbuild build process...");
23
23
  const options = resolveOptions(this);
24
- this.trace({
24
+ this.debug({
25
25
  meta: { category: "config" },
26
26
  message: `Resolved Unbuild configuration: \n${JSON.stringify(omit(options, ["plugins"]), null, 2)}`
27
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core\";\nimport { build } from \"@storm-software/unbuild\";\nimport { omit } from \"@stryke/helpers/omit\";\nimport {\n DEFAULT_UNBUILD_CONFIG,\n resolveOptions\n} from \"./helpers/resolve-options\";\nimport { UnbuildPluginContext, UnbuildPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n unbuild?: UnbuildPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to build projects using Unbuild.\n */\nexport const plugin = <\n TContext extends UnbuildPluginContext = UnbuildPluginContext\n>(\n options: UnbuildPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"unbuild\",\n config() {\n return {\n output: {\n format: [\"esm\"]\n },\n unbuild: {\n ...DEFAULT_UNBUILD_CONFIG,\n ...options\n }\n };\n },\n async build() {\n this.debug(\"Starting Unbuild build process...\");\n\n const options = resolveOptions(this);\n\n this.trace({\n meta: {\n category: \"config\"\n },\n message: `Resolved Unbuild configuration: \\n${JSON.stringify(\n omit(options, [\"plugins\"]),\n null,\n 2\n )}`\n });\n\n await build(options);\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;AAsCA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,MAAM,EAChB;IACD,SAAS;KACP,GAAG;KACH,GAAG;KACJ;IACF;;EAEH,MAAM,QAAQ;AACZ,QAAK,MAAM,oCAAoC;GAE/C,MAAM,UAAU,eAAe,KAAK;AAEpC,QAAK,MAAM;IACT,MAAM,EACJ,UAAU,UACX;IACD,SAAS,qCAAqC,KAAK,UACjD,KAAK,SAAS,CAAC,UAAU,CAAC,EAC1B,MACA,EACD;IACF,CAAC;AAEF,SAAM,MAAM,QAAQ;;EAEvB"}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Powerlines\n\n This code was released as part of the Powerlines project. Powerlines\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/powerlines.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/powerlines\n Documentation: https://docs.stormsoftware.com/projects/powerlines\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { Plugin } from \"@powerlines/core\";\nimport { build } from \"@storm-software/unbuild\";\nimport { omit } from \"@stryke/helpers/omit\";\nimport {\n DEFAULT_UNBUILD_CONFIG,\n resolveOptions\n} from \"./helpers/resolve-options\";\nimport { UnbuildPluginContext, UnbuildPluginOptions } from \"./types/plugin\";\n\nexport * from \"./types\";\n\ndeclare module \"@powerlines/core\" {\n interface Config {\n unbuild?: UnbuildPluginOptions;\n }\n}\n\n/**\n * A Powerlines plugin to build projects using Unbuild.\n */\nexport const plugin = <\n TContext extends UnbuildPluginContext = UnbuildPluginContext\n>(\n options: UnbuildPluginOptions = {}\n): Plugin<TContext> => {\n return {\n name: \"unbuild\",\n config() {\n return {\n output: {\n format: [\"esm\"]\n },\n unbuild: {\n ...DEFAULT_UNBUILD_CONFIG,\n ...options\n }\n };\n },\n async build() {\n this.debug(\"Starting Unbuild build process...\");\n\n const options = resolveOptions(this);\n\n this.debug({\n meta: {\n category: \"config\"\n },\n message: `Resolved Unbuild configuration: \\n${JSON.stringify(\n omit(options, [\"plugins\"]),\n null,\n 2\n )}`\n });\n\n await build(options);\n }\n };\n};\n\nexport default plugin;\n"],"mappings":";;;;;;;;AAsCA,MAAa,UAGX,UAAgC,EAAE,KACb;AACrB,QAAO;EACL,MAAM;EACN,SAAS;AACP,UAAO;IACL,QAAQ,EACN,QAAQ,CAAC,MAAM,EAChB;IACD,SAAS;KACP,GAAG;KACH,GAAG;KACJ;IACF;;EAEH,MAAM,QAAQ;AACZ,QAAK,MAAM,oCAAoC;GAE/C,MAAM,UAAU,eAAe,KAAK;AAEpC,QAAK,MAAM;IACT,MAAM,EACJ,UAAU,UACX;IACD,SAAS,qCAAqC,KAAK,UACjD,KAAK,SAAS,CAAC,UAAU,CAAC,EAC1B,MACA,EACD;IACF,CAAC;AAEF,SAAM,MAAM,QAAQ;;EAEvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-unbuild",
3
- "version": "0.5.451",
3
+ "version": "0.5.452",
4
4
  "private": false,
5
5
  "description": "A package containing a Powerlines plugin to build projects using Unbuild.",
6
6
  "keywords": ["unbuild", "powerlines", "storm-software", "powerlines-plugin"],
@@ -69,8 +69,8 @@
69
69
  "typings": "dist/index.d.mts",
70
70
  "files": ["dist/**/*"],
71
71
  "dependencies": {
72
- "@powerlines/core": "^0.46.2",
73
- "@powerlines/plugin-rollup": "^0.7.450",
72
+ "@powerlines/core": "^0.46.3",
73
+ "@powerlines/plugin-rollup": "^0.7.451",
74
74
  "@stryke/helpers": "^0.10.12",
75
75
  "@stryke/path": "^0.28.2",
76
76
  "@stryke/type-checks": "^0.6.5",
@@ -85,5 +85,5 @@
85
85
  "peerDependencies": { "@storm-software/unbuild": ">=0.57.0" },
86
86
  "peerDependenciesMeta": { "@storm-software/unbuild": { "optional": false } },
87
87
  "publishConfig": { "access": "public" },
88
- "gitHead": "e2eca169a851d2b144bfc7c677e7047cedf4b6a0"
88
+ "gitHead": "9a51041e0817e438c49db05bb757b3bdbaf497ef"
89
89
  }