@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 +2 -2
- package/src/commands/run-create.ts +2 -6
- package/templates/solana/yarn.lock +971 -148
- package/lib/build.d.ts +0 -2
- package/lib/build.js +0 -86
- package/lib/build.js.map +0 -1
- package/lib/cli.d.ts +0 -2
- package/lib/cli.js +0 -186
- package/lib/cli.js.map +0 -1
- package/lib/commands/login-server.d.ts +0 -7
- package/lib/commands/login-server.js +0 -133
- package/lib/commands/login-server.js.map +0 -1
- package/lib/commands/run-create.d.ts +0 -1
- package/lib/commands/run-create.js +0 -125
- package/lib/commands/run-create.js.map +0 -1
- package/lib/commands/run-login.d.ts +0 -1
- package/lib/commands/run-login.js +0 -136
- package/lib/commands/run-login.js.map +0 -1
- package/lib/commands/run-version.d.ts +0 -1
- package/lib/commands/run-version.js +0 -69
- package/lib/commands/run-version.js.map +0 -1
- package/lib/config.d.ts +0 -14
- package/lib/config.js +0 -64
- package/lib/config.js.map +0 -1
- package/lib/key.d.ts +0 -2
- package/lib/key.js +0 -44
- package/lib/key.js.map +0 -1
- package/lib/upload.d.ts +0 -2
- package/lib/upload.js +0 -189
- package/lib/upload.js.map +0 -1
- package/lib/utils.d.ts +0 -2
- package/lib/utils.js +0 -28
- package/lib/utils.js.map +0 -1
- package/lib/webpack.config.js +0 -50
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.
|
|
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": "
|
|
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
|
-
|
|
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
|