@flatjs/evolve 1.8.1-next.47 → 1.8.1-next.48

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @flatjs/evolve
2
2
 
3
+ ## 1.8.1-next.48
4
+
5
+ ### Patch Changes
6
+
7
+ - 3aee5ed: update typings & add import chunks for reactjs test case
8
+ - Updated dependencies [7bb6aae]
9
+ - @flatjs/mock@1.8.1-next.41
10
+
3
11
  ## 1.8.1-next.47
4
12
 
5
13
  ### Patch Changes
@@ -2,7 +2,7 @@ import { type WebpackPlugin } from '../../create-webpack/types.js';
2
2
  import { type FlatEvolveOptions } from '../../types/types-options.js';
3
3
  /**
4
4
  * The DefinePlugin replaces variables in your code with other values or expressions at compile time.
5
- * `__SENTRY_DEBUG__`,`process.env.FLAT_BUILT_DATE`, `process.env.FLAT_COMMIT_HASH`, `process.env.FLAT_BRANCH_NAME`
5
+ * `__SENTRY_DEBUG__`,`process.env.FLAT_BUILD_DATE`, `process.env.FLAT_COMMIT_HASH`, `process.env.FLAT_BRANCH_NAME`
6
6
  * @returns
7
7
  */
8
8
  export declare const createBuiltinDefineVariables: (serveMode: boolean, evolveOptions: FlatEvolveOptions) => Promise<WebpackPlugin[]>;
@@ -1 +1 @@
1
- import{getLastCommitHash,gitBranchName}from"@armit/git";import webpack from"webpack";export const createBuiltinDefineVariables=async(e,i)=>{const t=await getLastCommitHash(),n=await gitBranchName();return[new webpack.DefinePlugin({__SENTRY_DEBUG__:e,"process.env.FLAT_BUILT_DATE":JSON.stringify(Date.now()),"process.env.FLAT_COMMIT_HASH":JSON.stringify(t),"process.env.FLAT_BRANCH_NAME":JSON.stringify(n),...i.pluginOptions.definePlugin})]};
1
+ import{getLastCommitHash,gitBranchName}from"@armit/git";import webpack from"webpack";export const createBuiltinDefineVariables=async(e,i)=>{const t=await getLastCommitHash(),n=await gitBranchName();return[new webpack.DefinePlugin({__SENTRY_DEBUG__:e,"process.env.FLAT_BUILD_DATE":JSON.stringify((new Date).toISOString()),"process.env.FLAT_COMMIT_HASH":JSON.stringify(t),"process.env.FLAT_BRANCH_NAME":JSON.stringify(n),...i.pluginOptions.definePlugin})]};
@@ -1,7 +1,7 @@
1
1
  export interface EvolvePluginOptions {
2
2
  /**
3
3
  * The DefinePlugin replaces variables in your code with other values or expressions at compile time.
4
- * @default `__SENTRY_DEBUG__`,`process.env.FLAT_BUILT_DATE`, `process.env.FLAT_COMMIT_HASH`, `process.env.FLAT_BRANCH_NAME`
4
+ * @default `__SENTRY_DEBUG__`,`process.env.FLAT_BUILD_DATE`, `process.env.FLAT_COMMIT_HASH`, `process.env.FLAT_BRANCH_NAME`
5
5
  */
6
6
  definePlugin?: Record<string, unknown>;
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatjs/evolve",
3
- "version": "1.8.1-next.47",
3
+ "version": "1.8.1-next.48",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -45,7 +45,7 @@
45
45
  "@flatjs/evolve-preset-babel": "1.8.1-next.10",
46
46
  "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.21",
47
47
  "@flatjs/graph": "1.8.1-next.24",
48
- "@flatjs/mock": "1.8.1-next.40",
48
+ "@flatjs/mock": "1.8.1-next.41",
49
49
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
50
50
  "@types/babel__core": "7.20.1",
51
51
  "babel-loader": "9.1.2",