@commercetools-frontend/babel-preset-mc-app 27.4.0 → 27.4.2

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/AGENTS.md ADDED
@@ -0,0 +1,17 @@
1
+ # babel-preset-mc-app
2
+
3
+ See root `AGENTS.md` for monorepo-wide context.
4
+
5
+ ## Purpose
6
+
7
+ Babel preset providing the standard transform pipeline (env, React, TypeScript, Emotion, formatjs) for all Merchant Center Custom Applications and Custom Views.
8
+
9
+ ## How To Work Here
10
+
11
+ Root commands apply. The single test file is `production.spec.js`.
12
+
13
+ ## Gotchas
14
+
15
+ - This package is **excluded from preconstruct** — it ships plain JS files (`index.js`, `create.js`, `production.js`, `development.js`, `test.js`) that are consumed directly via `require()`. There is no build step and no `dist/` directory.
16
+ - The `create.js` file is the core logic — it branches on `NODE_ENV`/`BABEL_ENV` to return different preset/plugin configurations. Changes here affect every downstream build and test run.
17
+ - The `loose` mode flag on class-properties, private-methods, and private-property-in-object transforms must stay in sync — mismatched loose settings cause Babel compilation errors.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @commercetools-frontend/babel-preset-mc-app
2
2
 
3
+ ## 27.4.2
4
+
5
+ ## 27.4.1
6
+
3
7
  ## 27.4.0
4
8
 
5
9
  ## 27.3.0
package/CLAUDE.md ADDED
@@ -0,0 +1,4 @@
1
+ # Claude Code Configuration
2
+
3
+ Read `AGENTS.md` for full project context. This package is part of the monorepo
4
+ — see the root `AGENTS.md` for monorepo-wide commands and conventions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/babel-preset-mc-app",
3
- "version": "27.4.0",
3
+ "version": "27.4.2",
4
4
  "description": "Babel preset used by a MC application",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {