@commercetools-frontend/codemod 25.1.0 → 25.2.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/codemod",
3
- "version": "25.1.0",
3
+ "version": "25.2.0",
4
4
  "description": "Codemod transformations for Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "@babel/core": "^7.22.17",
28
28
  "@babel/preset-env": "^7.22.15",
29
29
  "commander": "^13.1.0",
30
- "glob": "8.1.0",
30
+ "glob": "^10.5.0",
31
31
  "jscodeshift": "0.16.1",
32
32
  "prettier": "2.8.8"
33
33
  },
@@ -35,7 +35,6 @@
35
35
  "@commercetools-frontend/application-components": "workspace:*",
36
36
  "@emotion/react": "^11.14.0",
37
37
  "@tsconfig/node22": "^22.0.0",
38
- "@types/glob": "8.1.0",
39
38
  "@types/jscodeshift": "0.12.0",
40
39
  "@types/prettier": "2.7.3",
41
40
  "rimraf": "6.0.1",
package/build/src/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import path from 'path';
2
2
  import { program } from 'commander';
3
- import glob from 'glob';
3
+ import { globSync } from 'glob';
4
4
  // @ts-ignore internal module
5
5
  import Runner from 'jscodeshift/src/Runner';
6
6
  import pkgJson from '../package.json';
@@ -33,7 +33,7 @@ const transforms = [
33
33
  ];
34
34
  const executeCodemod = async (transform, globPattern, globalOptions) => {
35
35
  const absoluteGlobPattern = path.resolve(globPattern);
36
- const files = glob.sync(path.join(absoluteGlobPattern, '**/*.{ts,tsx,js,jsx}'), {
36
+ const files = globSync(path.join(absoluteGlobPattern, '**/*.{ts,tsx,js,jsx}'), {
37
37
  ignore: [
38
38
  '**/node_modules/**',
39
39
  '**/public/**',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commercetools-frontend/codemod",
3
- "version": "25.1.0",
3
+ "version": "25.2.0",
4
4
  "description": "Codemod transformations for Custom Applications",
5
5
  "bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
6
6
  "repository": {
@@ -34,19 +34,18 @@
34
34
  "@babel/core": "^7.22.17",
35
35
  "@babel/preset-env": "^7.22.15",
36
36
  "commander": "^13.1.0",
37
- "glob": "8.1.0",
37
+ "glob": "^10.5.0",
38
38
  "jscodeshift": "0.16.1",
39
39
  "prettier": "2.8.8"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@emotion/react": "^11.14.0",
43
43
  "@tsconfig/node22": "^22.0.0",
44
- "@types/glob": "8.1.0",
45
44
  "@types/jscodeshift": "0.12.0",
46
45
  "@types/prettier": "2.7.3",
47
46
  "rimraf": "6.0.1",
48
47
  "typescript": "5.9.2",
49
- "@commercetools-frontend/application-components": "25.1.0"
48
+ "@commercetools-frontend/application-components": "25.2.0"
50
49
  },
51
50
  "engines": {
52
51
  "node": "18.x || 20.x || >=22.0.0"