@powerlines/plugin-babel 0.12.115 → 0.12.117

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.
@@ -11,6 +11,7 @@ import { StormWorkspaceConfig } from "@storm-software/config/types";
11
11
  import { MaybePromise } from "@stryke/types/base";
12
12
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
13
13
  import { AssetGlob } from "@stryke/types/file";
14
+ import { DateString } from "compatx";
14
15
  import { PreviewOptions } from "vite";
15
16
 
16
17
  //#region ../powerlines/src/types/config.d.ts
@@ -249,6 +250,17 @@ interface CommonUserConfig extends BaseConfig {
249
250
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
250
251
  */
251
252
  description?: string;
253
+ /**
254
+ * The date to use for compatibility checks
255
+ *
256
+ * @remarks
257
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs.
258
+ *
259
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
260
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
261
+ * @see https://github.com/unjs/compatx
262
+ */
263
+ compatibilityDate?: DateString;
252
264
  /**
253
265
  * The log level to use for the Powerlines processes.
254
266
  *
@@ -11,6 +11,7 @@ import { StormWorkspaceConfig } from "@storm-software/config/types";
11
11
  import { MaybePromise } from "@stryke/types/base";
12
12
  import { TypeDefinitionParameter } from "@stryke/types/configuration";
13
13
  import { AssetGlob } from "@stryke/types/file";
14
+ import { DateString } from "compatx";
14
15
  import { PreviewOptions } from "vite";
15
16
 
16
17
  //#region ../powerlines/src/types/config.d.ts
@@ -249,6 +250,17 @@ interface CommonUserConfig extends BaseConfig {
249
250
  * If this option is not provided, the build process will try to use the \`description\` value from the `\package.json\` file.
250
251
  */
251
252
  description?: string;
253
+ /**
254
+ * The date to use for compatibility checks
255
+ *
256
+ * @remarks
257
+ * This date can be used by plugins and build processes to determine compatibility with certain features or APIs. It is recommended to set this date to the date when the project was last known to be compatible with the desired features or APIs.
258
+ *
259
+ * @see https://developers.cloudflare.com/pages/platform/compatibility-dates/
260
+ * @see https://docs.netlify.com/configure-builds/get-started/#set-a-compatibility-date
261
+ * @see https://github.com/unjs/compatx
262
+ */
263
+ compatibilityDate?: DateString;
252
264
  /**
253
265
  * The log level to use for the Powerlines processes.
254
266
  *
@@ -33,7 +33,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
33
33
  /**
34
34
  * The resolved options for the Powerlines project configuration.
35
35
  */
36
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
36
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
37
37
  /**
38
38
  * The configuration options that were provided inline to the Powerlines CLI.
39
39
  */
@@ -33,7 +33,7 @@ type OutputResolvedConfig = Required<Omit<OutputConfig, "assets" | "storage"> &
33
33
  /**
34
34
  * The resolved options for the Powerlines project configuration.
35
35
  */
36
- type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
36
+ type ResolvedConfig<TUserConfig extends UserConfig = UserConfig> = Omit<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "platform" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "variant" | "type" | "output" | "logLevel" | "framework" | "sourceRoot"> & Required<Pick<TUserConfig, "name" | "title" | "compatibilityDate" | "plugins" | "mode" | "environments" | "tsconfig" | "lint" | "test" | "build" | "transform" | "deploy" | "framework" | "sourceRoot">> & {
37
37
  /**
38
38
  * The configuration options that were provided inline to the Powerlines CLI.
39
39
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-babel",
3
- "version": "0.12.115",
3
+ "version": "0.12.117",
4
4
  "type": "module",
5
5
  "description": "A package containing a Powerlines plugin to assist in developing other Powerlines plugins.",
6
6
  "repository": {
@@ -162,15 +162,15 @@
162
162
  "chalk": "5.6.2",
163
163
  "defu": "^6.1.4",
164
164
  "jiti": "^2.6.1",
165
- "powerlines": "^0.36.11",
165
+ "powerlines": "^0.36.13",
166
166
  "unplugin": "3.0.0-beta.3"
167
167
  },
168
168
  "devDependencies": {
169
169
  "@babel/plugin-syntax-typescript": "^7.27.1",
170
- "@powerlines/nx": "^0.11.37",
171
- "@powerlines/plugin-plugin": "^0.12.58",
170
+ "@powerlines/nx": "^0.11.39",
171
+ "@powerlines/plugin-plugin": "^0.12.60",
172
172
  "@types/node": "^24.10.4"
173
173
  },
174
174
  "publishConfig": { "access": "public" },
175
- "gitHead": "298fe30390297c676ffd571284b2b62f10d8ecc9"
175
+ "gitHead": "483677f34524b653a72b313c463081c800043753"
176
176
  }