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

chore(deps): bump clipanion from 2.3.1 to 3.2.1 #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 30 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@
"body-parser": "^1.19.0",
"chalk": "^2.4.2",
"chokidar": "^3.0.1",
"clipanion": "^2.3.1",
"clipanion": "^3.2.1",
"crypto-promise": "^2.1.0",
"fs-extra": "^8.0.1",
"isbinaryfile": "^4.0.3",

Unchanged files with check annotations Beta

import { MissingWorkspaceError } from '../helpers'
async function asyncForEach(array: any[], callback: (arg0: any, arg1: number, arg2: any) => any): Promise<void> {

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
for (let index = 0; index < array.length; index++) {
await callback(array[index], index, array)
}
}
function buildFilesObject<T>(fileObj: any, files: File[], filterBy: string): File[] {

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

'T' is defined but never used

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

'T' is defined but never used

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

'T' is defined but never used

Check warning on line 18 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
// each time this function runs we create a new property based on filterBy and remove it from files
// this way we never miss anything from files
return files
}
async function Deploy(workspace: Workspace, path?: any): Promise<void> {

Check warning on line 44 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 44 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 44 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
console.log(`Deploying ${workspace.name}:`)
console.log(``)
}
}
export default async (args: any): Promise<void> => {

Check warning on line 112 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 112 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 112 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
if (!args.preserve) {
await wipe(args)
}
console.log(`Watching`, `${workspace.path}/*`)
console.log(``)
const watcher: any = chokidar.watch('.', {

Check warning on line 131 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 131 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 131 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
cwd: workspace.path,
alwaysStat: true,
})
watcher.on('change', (path: any, stats: { isFile: () => any }): void => {

Check warning on line 136 in src/commands/deploy.ts

GitHub Actions / build (12, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 136 in src/commands/deploy.ts

GitHub Actions / build (14, ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 136 in src/commands/deploy.ts

GitHub Actions / build (16, ubuntu-latest)

Unexpected any. Specify a different type
if (stats && stats.isFile()) {
Deploy(workspace, path)
}