Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): bump bandersnatch from 1.11.1 to 1.12.1 #153

Merged
merged 2 commits into from
Apr 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@mokr/core": "workspace:*",
"@mokr/plugins": "workspace:*",
"@mokr/templates": "workspace:*",
"bandersnatch": "1.11.1"
"bandersnatch": "1.12.1"
},
"devDependencies": {
"@types/node": "18.15.11",
Expand Down
11 changes: 7 additions & 4 deletions packages/cli/src/commands/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export const add = command("add")
.option("template", {
description: "Use workspace template",
type: "array",
default: [] as string[],
default: [],
})
.option("plugin", {
description: "Kick-start with this plugin",
type: "array",
default: [] as string[],
default: [],
})
.option("cwd", {
description: "Directory to use as the current working directory",
Expand All @@ -48,12 +48,15 @@ export const add = command("add")

for (const name of template) {
await task(`Apply template ${name}`, () =>
applyTemplate({ directory: workspaceDirectory, name })
applyTemplate({ directory: workspaceDirectory, name: name as string })
);
}

for (const name of plugin) {
await installPlugin({ directory: workspaceDirectory, name });
await installPlugin({
directory: workspaceDirectory,
name: name as string,
});
}

await loadPlugins({ directory: workspaceDirectory });
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/commands/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@ export const create = command("create")

for (const name of template) {
await task(`Apply template ${name}`, () =>
applyTemplate({ directory, name })
applyTemplate({ directory, name: name as string })
);
}

for (const name of plugin) {
await installPlugin({ directory, name });
await installPlugin({ directory, name: name as string });
}

await loadPlugins({ directory });
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1220,12 +1220,12 @@ __metadata:
languageName: node
linkType: hard

"@types/yargs@npm:17.0.10":
version: 17.0.10
resolution: "@types/yargs@npm:17.0.10"
"@types/yargs@npm:17.0.24":
version: 17.0.24
resolution: "@types/yargs@npm:17.0.24"
dependencies:
"@types/yargs-parser": "*"
checksum: f0673cbfc08e17239dc58952a88350d6c4db04a027a28a06fbad27d87b670e909f9cd9e66f9c64cebdd5071d1096261e33454a55868395f125297e5c50992ca8
checksum: 5f3ac4dc4f6e211c1627340160fbe2fd247ceba002190da6cf9155af1798450501d628c9165a183f30a224fc68fa5e700490d740ff4c73e2cdef95bc4e8ba7bf
languageName: node
linkType: hard

Expand Down Expand Up @@ -1553,16 +1553,16 @@ __metadata:
languageName: node
linkType: hard

"bandersnatch@npm:1.11.1":
version: 1.11.1
resolution: "bandersnatch@npm:1.11.1"
"bandersnatch@npm:1.12.1":
version: 1.12.1
resolution: "bandersnatch@npm:1.12.1"
dependencies:
"@types/yargs": 17.0.10
"@types/yargs": 17.0.24
enquirer: ^2.3.6
string-argv: ^0.3.1
typed-emitter: ^2.1.0
yargs: ^17.5.1
checksum: 83e7c2720f981e34690e16c78e34ab5b36d1d9c19b6a4e41a26fd4f32aa96c9e4df8ddcd7673d5cf12408406417e1dbbf2fc082bd69529eee793fff892270e56
checksum: e76134868e6df1b8e05d59993ee4c68885fae4831072a22487e6ab6d491b82a91ef87e84f5c9d4b37a82360411db08d6fc887c9e01f0f5bb53ca937e86efa559
languageName: node
linkType: hard

Expand Down Expand Up @@ -5316,7 +5316,7 @@ __metadata:
"@mokr/plugins": "workspace:*"
"@mokr/templates": "workspace:*"
"@types/node": 18.15.11
bandersnatch: 1.11.1
bandersnatch: 1.12.1
tap: 16.3.4
test: 3.3.0
ts-node: 10.9.1
Expand Down