@powerlines/plugin-image-compression 0.2.108 → 0.2.110

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
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, '__esModule', { value: true });
2
2
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
3
- const require_pretty_bytes = require('./node_modules/.pnpm/@stryke_string-format@0.13.0/node_modules/@stryke/string-format/dist/pretty-bytes.cjs');
3
+ const require_pretty_bytes = require('./node_modules/.pnpm/@stryke_string-format@0.13.1/node_modules/@stryke/string-format/dist/pretty-bytes.cjs');
4
4
  let __stryke_convert_to_array = require("@stryke/convert/to-array");
5
5
  let __stryke_fs_list_files = require("@stryke/fs/list-files");
6
6
  let __stryke_fs_read_file = require("@stryke/fs/read-file");
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a } from "./node_modules/.pnpm/@stryke_string-format@0.13.0/node_modules/@stryke/string-format/dist/pretty-bytes.mjs";
1
+ import { a } from "./node_modules/.pnpm/@stryke_string-format@0.13.1/node_modules/@stryke/string-format/dist/pretty-bytes.mjs";
2
2
  import { toArray } from "@stryke/convert/to-array";
3
3
  import { listFiles } from "@stryke/fs/list-files";
4
4
  import { readFile } from "@stryke/fs/read-file";
@@ -1,5 +1,5 @@
1
1
 
2
- //#region ../../node_modules/.pnpm/@stryke+string-format@0.13.0/node_modules/@stryke/string-format/dist/pretty-bytes.mjs
2
+ //#region ../../node_modules/.pnpm/@stryke+string-format@0.13.1/node_modules/@stryke/string-format/dist/pretty-bytes.mjs
3
3
  const e = [
4
4
  `B`,
5
5
  `kB`,
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@stryke+string-format@0.13.0/node_modules/@stryke/string-format/dist/pretty-bytes.mjs
1
+ //#region ../../node_modules/.pnpm/@stryke+string-format@0.13.1/node_modules/@stryke/string-format/dist/pretty-bytes.mjs
2
2
  const e = [
3
3
  `B`,
4
4
  `kB`,
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
297
297
  */
298
298
  configFile?: string;
299
299
  /**
300
- * Should the Powerlines CLI processes skip installing missing packages?
300
+ * Should the Powerlines processes automatically install missing package dependencies?
301
301
  *
302
302
  * @remarks
303
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
303
+ * When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
304
304
  *
305
305
  * @defaultValue false
306
306
  */
307
- skipInstalls?: boolean;
307
+ autoInstall?: boolean;
308
308
  /**
309
309
  * Should the compiler processes skip any improvements that make use of cache?
310
310
  *
@@ -297,14 +297,14 @@ interface CommonUserConfig extends BaseConfig {
297
297
  */
298
298
  configFile?: string;
299
299
  /**
300
- * Should the Powerlines CLI processes skip installing missing packages?
300
+ * Should the Powerlines processes automatically install missing package dependencies?
301
301
  *
302
302
  * @remarks
303
- * This option is useful for CI/CD environments where the installation of packages is handled by a different process.
303
+ * When set to `true`, Powerlines will attempt to install any missing dependencies using the package manager detected in the project (e.g., npm, yarn, pnpm). This can be useful for ensuring that all required packages are available during the build and preparation phases.
304
304
  *
305
305
  * @defaultValue false
306
306
  */
307
- skipInstalls?: boolean;
307
+ autoInstall?: boolean;
308
308
  /**
309
309
  * Should the compiler processes skip any improvements that make use of cache?
310
310
  *
@@ -1,2 +1 @@
1
- import { ImageCompressionPluginContext, ImageCompressionPluginOptions, ImageCompressionPluginResolvedConfig, ImageCompressionPluginUserConfig, __ΩImageCompressionPluginContext, __ΩImageCompressionPluginOptions, __ΩImageCompressionPluginResolvedConfig, __ΩImageCompressionPluginUserConfig } from "./plugin.mjs";
2
- export { ImageCompressionPluginContext, ImageCompressionPluginOptions, ImageCompressionPluginResolvedConfig, ImageCompressionPluginUserConfig, __ΩImageCompressionPluginContext, __ΩImageCompressionPluginOptions, __ΩImageCompressionPluginResolvedConfig, __ΩImageCompressionPluginUserConfig };
1
+ import { ImageCompressionPluginContext, ImageCompressionPluginOptions, ImageCompressionPluginResolvedConfig, ImageCompressionPluginUserConfig, __ΩImageCompressionPluginContext, __ΩImageCompressionPluginOptions, __ΩImageCompressionPluginResolvedConfig, __ΩImageCompressionPluginUserConfig } from "./plugin.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-image-compression",
3
- "version": "0.2.108",
3
+ "version": "0.2.110",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to optimize images used by the project.",
6
6
  "repository": {
@@ -123,21 +123,21 @@
123
123
  "powerlines-plugin"
124
124
  ],
125
125
  "dependencies": {
126
- "@stryke/convert": "^0.6.31",
127
- "@stryke/fs": "^0.33.29",
128
- "@stryke/path": "^0.24.2",
126
+ "@stryke/convert": "^0.6.32",
127
+ "@stryke/fs": "^0.33.30",
128
+ "@stryke/path": "^0.24.3",
129
129
  "chalk": "5.6.2",
130
130
  "defu": "^6.1.4",
131
131
  "jiti": "^2.6.1",
132
- "powerlines": "^0.37.33",
132
+ "powerlines": "^0.37.35",
133
133
  "sharp": "^0.34.5",
134
134
  "svgo": "^4.0.0"
135
135
  },
136
136
  "devDependencies": {
137
- "@powerlines/plugin-plugin": "^0.12.111",
137
+ "@powerlines/plugin-plugin": "^0.12.113",
138
138
  "@storm-software/config": "^1.135.0",
139
139
  "@types/node": "^24.10.8"
140
140
  },
141
141
  "publishConfig": { "access": "public" },
142
- "gitHead": "03b9cc77ab231fb6ef6907889e68dde29f9e77bb"
142
+ "gitHead": "65656903e05b8a85e4d46f7449a8c2bd8f90332e"
143
143
  }
File without changes
@@ -1,2 +0,0 @@
1
- import { ImageCompressionPluginContext, ImageCompressionPluginOptions, ImageCompressionPluginResolvedConfig, ImageCompressionPluginUserConfig, __ΩImageCompressionPluginContext, __ΩImageCompressionPluginOptions, __ΩImageCompressionPluginResolvedConfig, __ΩImageCompressionPluginUserConfig } from "./plugin.cjs";
2
- export { ImageCompressionPluginContext, ImageCompressionPluginOptions, ImageCompressionPluginResolvedConfig, ImageCompressionPluginUserConfig, __ΩImageCompressionPluginContext, __ΩImageCompressionPluginOptions, __ΩImageCompressionPluginResolvedConfig, __ΩImageCompressionPluginUserConfig };
@@ -1 +0,0 @@
1
- export { };
File without changes
@@ -1 +0,0 @@
1
- export { };