@next/codemod 15.1.4 → 15.2.0-canary.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.
@@ -3,8 +3,12 @@
3
3
  # dependencies
4
4
  /node_modules
5
5
  /.pnp
6
- .pnp.js
7
- .yarn/install-state.gz
6
+ .pnp.*
7
+ .yarn/*
8
+ !.yarn/patches
9
+ !.yarn/plugins
10
+ !.yarn/releases
11
+ !.yarn/versions
8
12
 
9
13
  # testing
10
14
  /coverage
@@ -13,7 +13,13 @@ const execa_1 = __importDefault(require("execa"));
13
13
  const node_path_1 = require("node:path");
14
14
  function getPkgManager(baseDir) {
15
15
  try {
16
- const lockFile = find_up_1.default.sync(['package-lock.json', 'yarn.lock', 'pnpm-lock.yaml', 'bun.lockb'], { cwd: baseDir });
16
+ const lockFile = find_up_1.default.sync([
17
+ 'package-lock.json',
18
+ 'yarn.lock',
19
+ 'pnpm-lock.yaml',
20
+ 'bun.lock',
21
+ 'bun.lockb',
22
+ ], { cwd: baseDir });
17
23
  if (lockFile) {
18
24
  switch ((0, node_path_1.basename)(lockFile)) {
19
25
  case 'package-lock.json':
@@ -22,6 +28,7 @@ function getPkgManager(baseDir) {
22
28
  return 'yarn';
23
29
  case 'pnpm-lock.yaml':
24
30
  return 'pnpm';
31
+ case 'bun.lock':
25
32
  case 'bun.lockb':
26
33
  return 'bun';
27
34
  default:
package/license.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2024 Vercel, Inc.
3
+ Copyright (c) 2025 Vercel, Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/codemod",
3
- "version": "15.1.4",
3
+ "version": "15.2.0-canary.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",