@blocklet/meta 1.16.20 → 1.16.21-beta-edf184e1

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/lib/schema.js CHANGED
@@ -178,6 +178,7 @@ exports.environmentSchema = environmentSchema;
178
178
  const scriptsSchema = Joi.object({
179
179
  dev: Joi.string().trim().min(1),
180
180
  e2eDev: Joi.string().trim().min(1),
181
+ preFlight: Joi.string().trim().min(1),
181
182
  preInstall: Joi.string().trim().min(1),
182
183
  postInstall: Joi.string().trim().min(1),
183
184
  preStart: Joi.string().trim().min(1),
@@ -186,6 +187,7 @@ const scriptsSchema = Joi.object({
186
187
  preUninstall: Joi.string().trim().min(1),
187
188
  preConfig: Joi.string().trim().min(1),
188
189
  })
190
+ .rename('pre-flight', 'preFlight')
189
191
  .rename('pre-install', 'preInstall')
190
192
  .rename('post-install', 'postInstall')
191
193
  .rename('pre-start', 'preStart')
@@ -246,6 +246,7 @@ export interface TScripts {
246
246
  postInstall?: string;
247
247
  postStart?: string;
248
248
  preConfig?: string;
249
+ preFlight?: string;
249
250
  preInstall?: string;
250
251
  preStart?: string;
251
252
  preStop?: string;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.16.20",
6
+ "version": "1.16.21-beta-edf184e1",
7
7
  "description": "Library to parse/validate/fix blocklet meta",
8
8
  "main": "./lib/index.js",
9
9
  "typings": "./lib/index.d.ts",
@@ -24,12 +24,12 @@
24
24
  "author": "wangshijun <wangshijun2020@gmail.com> (http://github.com/wangshijun)",
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@abtnode/constant": "1.16.20",
27
+ "@abtnode/constant": "1.16.21-beta-edf184e1",
28
28
  "@arcblock/did": "1.18.105",
29
29
  "@arcblock/did-ext": "1.18.105",
30
30
  "@arcblock/did-util": "1.18.105",
31
31
  "@arcblock/jwt": "1.18.105",
32
- "@blocklet/constant": "1.16.20",
32
+ "@blocklet/constant": "1.16.21-beta-edf184e1",
33
33
  "@ocap/asset": "1.18.105",
34
34
  "@ocap/mcrypto": "1.18.105",
35
35
  "@ocap/types": "1.18.105",
@@ -78,5 +78,5 @@
78
78
  "ts-node": "^10.9.1",
79
79
  "typescript": "^5.0.4"
80
80
  },
81
- "gitHead": "715efa6465e9143c23b152b5ef639266ea834843"
81
+ "gitHead": "e89c7e31d2d9ca5d00ae1f72304bdc7dcb78cc44"
82
82
  }