@commercetools-frontend/create-mc-app 27.9.0 → 27.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,64 @@
1
1
  # @commercetools-frontend/create-mc-app
2
2
 
3
+ ## 27.9.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies []:
8
+ - @commercetools-frontend/application-config@27.9.2
9
+
10
+ ## 27.9.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [#4077](https://github.com/commercetools/merchant-center-application-kit/pull/4077) [`959d69e`](https://github.com/commercetools/merchant-center-application-kit/commit/959d69e609263f5a6486c1060954ec5a379f0cb5) Thanks [@ByronDWall](https://github.com/ByronDWall)! - Batch-consolidated patch/minor Renovate dependency updates (rate-limited dashboard backlog, ~116 items reviewed).
15
+
16
+ The `@flopflip/*` 15.1.7 → 15.1.11 bump pulls in `@launchdarkly/js-client-sdk` v4 as a
17
+ transitive dependency, replacing the unscoped `launchdarkly-js-client-sdk` v3. This is a
18
+ breaking change for `SetupFlopFlipProvider` in `application-shell`:
19
+
20
+ - The LaunchDarkly user context type now requires either a `key` or `anonymous: true`,
21
+ never an optional `key`. `getUserContextForLaunchDarklyAdapter` now returns an
22
+ anonymous context when there's no authenticated user, instead of a context with an
23
+ undefined `key`.
24
+ - `sdk.clientOptions.sendEventsOnlyForVariation` was removed; the new SDK's `allFlags`
25
+ no longer sends analytics events by default, which was the entire point of that option.
26
+
27
+ `@commercetools/composable-commerce-test-data` 13.12.0 → 13.13.1 pulling in
28
+ `@faker-js/faker` v10 (which dropped its CJS build) was previously allowlisted in the
29
+ root `jest.test.config.js`'s `transformIgnorePatterns`, but `jest-preset-mc-app`'s own
30
+ preset — the one actually consumed by the standalone starter templates
31
+ (`application-templates/starter{,-typescript}`, `custom-views-templates/starter{,-typescript}`)
32
+ — has its own separate `transformIgnorePatterns` and was missed, so their CI jobs kept
33
+ failing with `Cannot use import statement outside a module`. Added `@faker-js/faker`
34
+ to that preset's allowlist too.
35
+
36
+ Bumped the following, each a real `dependencies` entry (not `devDependencies`) of the listed package(s), so each gets a version bump here:
37
+
38
+ - `@flopflip/*` (combine-adapters, http-adapter, launchdarkly-adapter, memory-adapter, react-broadcast, types) 15.1.7 → 15.1.11 — `application-shell` (all six), `application-components` (`react-broadcast`)
39
+ - `@pmmmwh/react-refresh-webpack-plugin` 0.6.1 → 0.6.2 — `mc-scripts`
40
+ - `@radix-ui/react-dialog` 1.1.14 → 1.1.23, `@types/react-dom` ^19.0.2 → ^19.2.4 — `application-components`
41
+ - `semver` 7.7.2 → 7.8.5, `uuid` 14.0.0 → 14.0.1 — `cypress`
42
+ - `@rollup/pluginutils` 5.2.0 → 5.4.0, `graphql` 16.11.0 → 16.14.2, `html-webpack-plugin` 5.6.3 → 5.6.8, `mini-css-extract-plugin` 2.9.4 → 2.10.2, `postcss` 8.5.23 → 8.5.26, `react-refresh` 0.17.0 → 0.18.0 — `mc-scripts` (`webpack` 5.105.1 → 5.109.2 was reverted; see below)
43
+ - `graphql` 16.11.0 → 16.14.2, `uuid` 14.0.0 → 14.0.1 — `application-shell-connectors`
44
+ - `cosmiconfig` 9.0.0 → 9.0.2, `graphql` 16.11.0 → 16.14.2 — `jest-preset-mc-app` (the `jest`/`babel-jest`/`babel-preset-jest`/`jest-environment-jsdom`/`jest-mock` bump was reverted; see the pnpm-regression/typecheck fix commits on this branch for why)
45
+ - `@types/react-dom` ^19.0.2 → ^19.2.4 — `react-notifications`, `application-shell` (also `@reduxjs/toolkit` 2.9.0 → 2.12.0, `graphql` 16.11.0 → 16.14.2, `uuid` 14.0.0 → 14.0.1)
46
+ - `typescript` 5.9.2 → 5.9.3 — `eslint-config-mc-app`, `eslint-config-node`
47
+ - `semver` 7.7.2 → 7.8.5 — `create-mc-app`
48
+ - `uuid` 14.0.0 → 14.0.1 — `sdk`
49
+ - `@formatjs/icu-messageformat-parser` 2.11.2 → 2.11.4 — `i18n`
50
+ - `@sentry/browser`, `@sentry/react`, `@sentry/types` 8.55.0 → 8.55.2 — `sentry`
51
+ - `serialize-javascript` 7.0.5 → 7.0.7 — `mc-html-template`
52
+ - `ajv` 8.18.0 → 8.20.0, `cosmiconfig` 9.0.0 → 9.0.2, `cosmiconfig-typescript-loader` 6.1.0 → 6.3.0 — `application-config`
53
+ - `winston` 3.17.0 → 3.19.0 — `loggers`
54
+
55
+ Other updates in this batch (`@testing-library/*`, `@manypkg/cli`, `@percy/cypress`, `@percy/puppeteer`, `@preconstruct/cli`, `@apollo/client`, `jest`, `jest-each`, `react`, `react-dom`, `react-redux`, `@commercetools/nimbus`, `@commercetools/composable-commerce-test-data`, `@percy/cli`, `@percy/core`, `@changesets/*`, `rimraf`, `sentry-testkit`, `start-server-and-test`, `fflate`, `formik`, `qs`, `node`, `pnpm`, and GitHub Actions digest/version pins) only touch devDependencies, `peerDependencies`, root-level repo tooling, CI configuration, or private template/playground packages, so they don't require a version bump here.
56
+
57
+ `webpack` 5.105.1 → 5.109.2 was reverted: webpack's `ProgressPlugin` now defers option-schema validation from the constructor to a `compiler.hooks.validate` tap, reading `this.options` at that later point instead of validating the raw constructor args immediately. `webpackbar@5.0.2` (unmaintained, used by `mc-scripts`'s dev config via `new WebpackBar()`) calls `super({ activeModules: true })` and then immediately overwrites `this.options` with its own `name`/`color`/`reporters`/`reporter` keys — none of which are in `ProgressPlugin`'s schema. With eager validation this was masked; with the new deferred validation it fails every `mc-scripts start`/dev build with "Invalid options object. Progress Plugin has been initialized using an options object that does not match the API schema." Held back at 5.105.1 until `webpackbar` is fixed/replaced or dropped in favor of webpack's now-built-in progress bar.
58
+
59
+ - Updated dependencies [[`959d69e`](https://github.com/commercetools/merchant-center-application-kit/commit/959d69e609263f5a6486c1060954ec5a379f0cb5)]:
60
+ - @commercetools-frontend/application-config@27.9.1
61
+
3
62
  ## 27.9.0
4
63
 
5
64
  ### Patch Changes
@@ -71,7 +71,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
71
71
 
72
72
  var pkgJson = {
73
73
  name: "@commercetools-frontend/create-mc-app",
74
- version: "27.9.0",
74
+ version: "27.9.2",
75
75
  description: "Create Merchant Center applications to quickly get up and running",
76
76
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
77
77
  repository: {
@@ -108,7 +108,7 @@ var pkgJson = {
108
108
  yaml: "catalog:"
109
109
  },
110
110
  devDependencies: {
111
- "@tsconfig/node22": "catalog:",
111
+ "@tsconfig/node24": "catalog:",
112
112
  "@types/prettier": "catalog:"
113
113
  },
114
114
  engines: {
@@ -71,7 +71,7 @@ var prettier__default = /*#__PURE__*/_interopDefault(prettier);
71
71
 
72
72
  var pkgJson = {
73
73
  name: "@commercetools-frontend/create-mc-app",
74
- version: "27.9.0",
74
+ version: "27.9.2",
75
75
  description: "Create Merchant Center applications to quickly get up and running",
76
76
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
77
77
  repository: {
@@ -108,7 +108,7 @@ var pkgJson = {
108
108
  yaml: "catalog:"
109
109
  },
110
110
  devDependencies: {
111
- "@tsconfig/node22": "catalog:",
111
+ "@tsconfig/node24": "catalog:",
112
112
  "@types/prettier": "catalog:"
113
113
  },
114
114
  engines: {
@@ -36,7 +36,7 @@ import prettier from 'prettier';
36
36
 
37
37
  var pkgJson = {
38
38
  name: "@commercetools-frontend/create-mc-app",
39
- version: "27.9.0",
39
+ version: "27.9.2",
40
40
  description: "Create Merchant Center applications to quickly get up and running",
41
41
  bugs: "https://github.com/commercetools/merchant-center-application-kit/issues",
42
42
  repository: {
@@ -73,7 +73,7 @@ var pkgJson = {
73
73
  yaml: "catalog:"
74
74
  },
75
75
  devDependencies: {
76
- "@tsconfig/node22": "catalog:",
76
+ "@tsconfig/node24": "catalog:",
77
77
  "@types/prettier": "catalog:"
78
78
  },
79
79
  engines: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/create-mc-app",
3
- "version": "27.9.0",
3
+ "version": "27.9.2",
4
4
  "description": "Create Merchant Center applications to quickly get up and running",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -21,7 +21,6 @@
21
21
  },
22
22
  "main": "dist/commercetools-frontend-create-mc-app.cjs.js",
23
23
  "module": "dist/commercetools-frontend-create-mc-app.esm.js",
24
- "bin": "./bin/cli.js",
25
24
  "dependencies": {
26
25
  "@babel/core": "^7.22.17",
27
26
  "@babel/runtime": "^7.22.15",
@@ -32,15 +31,18 @@
32
31
  "execa": "5.1.1",
33
32
  "listr2": "5.0.8",
34
33
  "prettier": "2.8.8",
35
- "semver": "7.7.2",
34
+ "semver": "7.8.5",
36
35
  "yaml": "^2.6.1",
37
- "@commercetools-frontend/application-config": "^27.9.0"
36
+ "@commercetools-frontend/application-config": "^27.9.2"
38
37
  },
39
38
  "devDependencies": {
40
- "@tsconfig/node22": "^22.0.0",
39
+ "@tsconfig/node24": "^24.0.0",
41
40
  "@types/prettier": "2.7.3"
42
41
  },
43
42
  "engines": {
44
43
  "node": "18.x || 20.x || >=22.0.0"
44
+ },
45
+ "bin": {
46
+ "create-mc-app": "./bin/cli.js"
45
47
  }
46
48
  }
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@tsconfig/node22/tsconfig.json",
2
+ "extends": "@tsconfig/node24/tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "resolveJsonModule": true,
5
5
  "module": "ESNext",