Skip to content

Commit 7860075

Browse files
Type fix and version bumped
1 parent 3604bce commit 7860075

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@contentstack/cli-cm-regex-validate",
33
"description": "Validate Fields with Regex Property of Content Type and Global Field in a Stack",
4-
"version": "1.1.3",
4+
"version": "1.1.4",
55
"author": "Contentstack",
66
"bugs": "https://github.com/contentstack/cli-cm-regex-validate/issues",
77
"devDependencies": {
@@ -62,8 +62,8 @@
6262
"version": "oclif-dev readme && git add README.md"
6363
},
6464
"dependencies": {
65-
"@contentstack/cli-command": "^1.2.1",
66-
"@contentstack/cli-utilities": "^1.3.0",
65+
"@contentstack/cli-command": "^1.2.5",
66+
"@contentstack/cli-utilities": "^1.4.2",
6767
"@contentstack/management": "^1.2.4",
6868
"cli-table3": "^0.6.0",
6969
"cli-ux": "^6.0.9",

src/commands/cm/stacks/validate-regex.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
import { Command } from "@contentstack/cli-command";
2-
import { flags } from '@contentstack/cli-utilities';
3-
import { inquireAlias, inquireModule } from "../../../utils/interactive";
2+
import { FlagInput, flags } from '@contentstack/cli-utilities';
3+
44
import connectStack from "../../../utils/connect-stack";
5+
import { inquireAlias, inquireModule } from "../../../utils/interactive";
56
const regexMessages = require("../../../../messages/index.json").validateRegex;
67

78
export default class ValidateRegex extends Command {
89
static description = regexMessages.command.description;
910

10-
static flags = {
11+
static flags: FlagInput = {
1112
help: flags.help({ char: "h", description: regexMessages.command.help }),
1213
alias: flags.string({
1314
char: "a",

0 commit comments

Comments
 (0)