@sentio/cli 1.37.1 → 1.37.2-rc.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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sentio/cli",
3
3
  "license": "Apache-2.0",
4
4
  "private": false,
5
- "version": "1.37.1",
5
+ "version": "1.37.2-rc.2",
6
6
  "scripts": {
7
7
  "compile": "tsc -p . && cp src/webpack.config.js lib/",
8
8
  "build": "yarn compile",
@@ -54,5 +54,5 @@
54
54
  "engines": {
55
55
  "node": ">=16"
56
56
  },
57
- "gitHead": "fbaffb80f0a36c931de24bffe7a1322656d29f90"
57
+ "gitHead": "593d691dcf34106ed9954d757f2bb233aea1d498"
58
58
  }
@@ -100,11 +100,6 @@ export async function runCreate(argv: string[]) {
100
100
  const packageJsonPath = path.resolve(dstFolder, 'package.json')
101
101
  const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'))
102
102
 
103
- let cliVersion = getCliVersion()
104
- if (!cliVersion.startsWith('^')) {
105
- cliVersion = '^' + cliVersion
106
- }
107
-
108
103
  const sdkVersion = '^' + (await latestVersion('@sentio/sdk'))
109
104
  packageJson.dependencies['@sentio/sdk'] = sdkVersion
110
105
 
@@ -118,7 +113,8 @@ export async function runCreate(argv: string[]) {
118
113
  default:
119
114
  }
120
115
 
121
- packageJson.dependencies['@sentio/cli'] = cliVersion
116
+ const cliVersion = '^' + (await latestVersion('@sentio/cli'))
117
+ packageJson.devDependencies['@sentio/cli'] = cliVersion
122
118
  packageJson.name = projectName
123
119
 
124
120
  // Don't add directly to avoid deps issue