create-message-kit 1.1.7-beta.28 → 1.1.7-beta.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +2 -9
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -22,11 +22,6 @@ program
22
22
  // Add Yarn 4 check at the start of the action
23
23
  const pkgManager = await detectPackageManager();
24
24
 
25
- if (pkgManager.startsWith("yarn@4")) {
26
- //log.error("Yarn 4 is not supported. Please use bun, npm, or yarn v1");
27
- //process.exit(1);
28
- }
29
-
30
25
  log.info(pc.cyan(`Welcome to MessageKit CLI v${version}!`));
31
26
  const coolLogo = `
32
27
  ███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗████████╗
@@ -82,16 +77,14 @@ async function addPackagejson(destDir, name, pkgManager) {
82
77
  dependencies: {
83
78
  "@xmtp/message-kit": "latest",
84
79
  },
85
- devDependencies: {
86
- typescript: "^5.4.5",
87
- },
88
80
  engines: {
89
81
  node: ">=20",
90
82
  },
91
83
  };
92
84
 
93
85
  if (pkgManager.startsWith("yarn")) {
94
- packageTemplate.packageManager = pkgManager; // Add .yarnrc.yml to disable PnP mode
86
+ packageTemplate.packageManager = `${pkgManager}@${version}`;
87
+ // Add .yarnrc.yml to disable PnP mode
95
88
  fs.writeFileSync(
96
89
  resolve(destDir, ".yarnrc.yml"),
97
90
  "nodeLinker: node-modules\n",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-message-kit",
3
- "version": "1.1.7-beta.28",
3
+ "version": "1.1.7-beta.29",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.js",