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

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @flatjs/evolve
2
2
 
3
+ ## 1.8.1-next.49
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f83799b]
8
+ - @flatjs/graph@1.8.1-next.25
9
+ - @flatjs/mock@1.8.1-next.42
10
+ - @flatjs/common@1.8.1-next.21
11
+ - @flatjs/evolve-preset-babel@1.8.1-next.10
12
+
13
+ ## 1.8.1-next.48
14
+
15
+ ### Patch Changes
16
+
17
+ - 3aee5ed: update typings & add import chunks for reactjs test case
18
+ - Updated dependencies [7bb6aae]
19
+ - @flatjs/mock@1.8.1-next.41
20
+
3
21
  ## 1.8.1-next.47
4
22
 
5
23
  ### 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.49",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -44,8 +44,8 @@
44
44
  "@flatjs/common": "1.8.1-next.21",
45
45
  "@flatjs/evolve-preset-babel": "1.8.1-next.10",
46
46
  "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.21",
47
- "@flatjs/graph": "1.8.1-next.24",
48
- "@flatjs/mock": "1.8.1-next.40",
47
+ "@flatjs/graph": "1.8.1-next.25",
48
+ "@flatjs/mock": "1.8.1-next.42",
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",
@@ -78,7 +78,7 @@
78
78
  },
79
79
  "devDependencies": {
80
80
  "@armit/eslint-config-bases": "^0.0.18",
81
- "@flatjs/testing": "1.8.1-next.20",
81
+ "@flatjs/testing": "1.8.1-next.21",
82
82
  "@swc/core": "1.3.61",
83
83
  "@types/express": "4.17.17",
84
84
  "@types/node": "20.2.5",