mirror of
https://github.com/danbulant/docker-compose
synced 2026-06-18 22:21:26 +00:00
Compare commits
12 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acb173b0dd | ||
|
|
18a9079ee6 | ||
|
|
748ba3e368 | ||
|
|
192979ffcc | ||
|
|
f60e4d5a18 | ||
|
|
dd4fe76eab | ||
|
|
6b9ab6150c | ||
|
|
a28e801590 | ||
|
|
b0ab29bbb3 | ||
|
|
d71e043be8 | ||
|
|
764f33fe1b | ||
|
|
9f84b89a45 |
7 changed files with 214 additions and 138 deletions
17
.npmignore
17
.npmignore
|
|
@ -1,9 +1,17 @@
|
|||
# ignore all files in the test/ directory
|
||||
test/
|
||||
# ignore docs
|
||||
docs/
|
||||
community-samples/readme.md
|
||||
readme.md
|
||||
|
||||
# ignore ESLint and EditorConfig
|
||||
# ignore all files in the test/ directory and test settings
|
||||
test/
|
||||
jest.config.js
|
||||
|
||||
# ignore EditorConfig, ESLint, Prettier config
|
||||
.editorconfig
|
||||
.eslintrc.json
|
||||
.eslintrc.js
|
||||
.prettierrc.js
|
||||
|
||||
# JetBrains IDE settings
|
||||
.idea
|
||||
|
|
@ -11,6 +19,9 @@ test/
|
|||
# VS Code settings
|
||||
.vscode
|
||||
|
||||
# GitHub actions
|
||||
.github
|
||||
|
||||
# VuePress
|
||||
.cache
|
||||
.temp
|
||||
|
|
|
|||
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [0.23.14](https://github.com/PDMLab/docker-compose/compare/v0.23.13...v0.23.14) (2021-11-29)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* passing callback to report progress ([#191](https://github.com/PDMLab/docker-compose/issues/191)) ([f60e4d5](https://github.com/PDMLab/docker-compose/commit/f60e4d5a186ea3ca0b99e8443e1c4006d75be5a7))
|
||||
|
||||
### [0.23.13](https://github.com/PDMLab/docker-compose/compare/v0.23.12...v0.23.13) (2021-07-20)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,31 +17,34 @@ npm install --save-dev docker-compose
|
|||
|
||||
`docker-compose` current supports these commands:
|
||||
|
||||
* `upAll(options)` - Builds, (re)creates, starts, and attaches to containers for all services - always uses the `-d` flag due to non interactive mode
|
||||
* `upMany(services, options)` - Builds, (re)creates, starts, and attaches to containers for the services specified in `services` - always uses the `-d` flag due to non interactive mode
|
||||
* `upOne(service, options)` - Builds, (re)creates, starts, and attaches to containers for a service specified in `service` - always uses the `-d` flag due to non interactive mode
|
||||
* `down(options)` - Stops containers and removes containers, networks, volumes, and images created by `up`
|
||||
* `kill(options)` - Force stop service containers
|
||||
* `stop(options)` - Stop running containers without removing them
|
||||
* `stopOne(service, options)` - Stops one container without removing it
|
||||
* `rm(options)` - Remove stopped service containers - always uses the `-f` flag due to non interactive mode
|
||||
* `exec(container, command, options)` - Exec `command` inside `container`, uses `-T` to properly handle stdin & stdout
|
||||
* `logs(services, options)` - Show logs of service(s). Use `options.follow` `true|false` to turn on `--follow` flag.
|
||||
* `run(service, command, options)` - Run a one-off `command` on a service, uses `-T` to properly handle stdin & stdout
|
||||
* `buildAll(options)` - Build or rebuild services
|
||||
* `buildMany(services, options)` - Build or rebuild services
|
||||
* `buildOne(service, options)` - Build or rebuild service
|
||||
* `pullMany(services, options)` - Pull service images specified
|
||||
* `pullOne(service, options)` - Pull a service image
|
||||
* `pullAll(options)` - Pull all service images
|
||||
* `restartAll(options)` - Restart all services
|
||||
* `restartMany(services, options)` - Restart services
|
||||
* `restartOne(service, options)` - Restart service
|
||||
* `ps(options)` - Lists containers information
|
||||
* `config(options)` - Validates configuration files and returns configuration yaml
|
||||
* `configServices(options)` - Returns list of services defined in configuration files
|
||||
* `configVolumes(options)` - Returns list of volumes defined in configuration files
|
||||
* `port(options)` - Returns the public port of the given service and internal port.
|
||||
* `down(options)` - Stops containers and removes containers, networks, volumes, and images created by `up`
|
||||
* `exec(container, command, options)` - Exec `command` inside `container` - uses `-T` to properly handle stdin & stdout
|
||||
* `kill(options)` - Force stop service containers
|
||||
* `logs(services, options)` - Show logs of service(s) - use `options.follow` `true|false` to turn on `--follow` flag
|
||||
* `pauseOne(service, options)` - Pause the specified service
|
||||
* `port(service, containerPort, options)` - Returns the public port of the given service and internal port.
|
||||
* `ps(options)` - Lists containers information
|
||||
* `pullAll(options)` - Pull all service images
|
||||
* `pullMany(services, options)` - Pull service images specified
|
||||
* `pullOne(service, options)` - Pull a service image
|
||||
* `restartAll(options)` - Restart all services
|
||||
* `restartMany(services, options)` - Restart services
|
||||
* `restartOne(service, options)` - Restart service
|
||||
* `rm(options, services)` - Remove stopped service containers - always uses the `-f` flag due to non interactive mode - `services` can optionally be used to select the containers to remove
|
||||
* `run(service, command, options)` - Run a one-off `command` on a service - uses `-T` to properly handle stdin & stdout
|
||||
* `stop(options)` - Stop running containers without removing them
|
||||
* `stopOne(service, options)` - Stops one container without removing it
|
||||
* `unpauseOne(service, options)` - Resume the specified service
|
||||
* `upAll(options)` - Builds, (re)creates, starts, and attaches to containers for all services - always uses the `-d` flag due to non interactive mode
|
||||
* `upMany(services, options)` - Builds, (re)creates, starts, and attaches to containers for the services specified in `services` - always uses the `-d` flag due to non interactive mode
|
||||
* `upOne(service, options)` - Builds, (re)creates, starts, and attaches to containers for a service specified in `service` - always uses the `-d` flag due to non interactive mode
|
||||
* `version(options)` - Show `docker-compose` version strings
|
||||
|
||||
All commands return a `Promise({object})` with stdout and stderr strings and an exit code:
|
||||
```javascript
|
||||
|
|
@ -51,6 +54,7 @@ All commands return a `Promise({object})` with stdout and stderr strings and an
|
|||
exitCode: 0, // !== 0 in case of an error
|
||||
}
|
||||
```
|
||||
Although the return type is a `Promise`, it is still possible to get the process progres before the `Promise` resolves, by passing a callback function to the optional `callback` parameter.
|
||||
|
||||
### Example
|
||||
|
||||
|
|
@ -63,6 +67,19 @@ compose.upAll({ cwd: path.join(__dirname), log: true })
|
|||
err => { console.log('something went wrong:', err.message)}
|
||||
);
|
||||
```
|
||||
To get process progres
|
||||
```typescript
|
||||
compose.upAll({
|
||||
cwd: path.join(__dirname),
|
||||
callback: (chunk: Buffer) => {
|
||||
console.log('job in progres: ', chunk.ToString())
|
||||
}
|
||||
})
|
||||
.then(
|
||||
() => { console.log('job done')},
|
||||
err => { console.log('something went wrong:', err.message)}
|
||||
);
|
||||
```
|
||||
|
||||
To execute command inside a running container
|
||||
```javascript
|
||||
|
|
@ -79,6 +96,7 @@ compose.exec('node', 'npm install', { cwd: path.join(__dirname) })
|
|||
* `configAsString {string}`: configuration can be provided as is, instead of relying on a file. In case `configAsString` is provided `config` will be ignored.
|
||||
* `[log] {boolean}`: optional setting to enable console logging (output of `docker-compose` `stdout`/`stderr` output)
|
||||
* `[composeOptions] string[]|Array<string|string[]`: pass optional compose options like `"--verbose"` or `[["--verbose"], ["--log-level", "DEBUG"]]` or `["--verbose", ["--loglevel", "DEBUG"]]` for *all* commands.
|
||||
* `[callback] (chunk: Buffer, sourceStream?: 'stdout' | 'stderr') => void`: optional callback function, that provides infromation about the process while it is still runing.
|
||||
* `[commandOptions] string[]|Array<string|string[]`: pass optional command options like `"--build"` or `[["--build"], ["--timeout", "5"]]` or `["--build", ["--timeout", "5"]]` for the `up` command. Viable `commandOptions` depend on the command (`up`, `down` etc.) itself
|
||||
|
||||
## Running the tests
|
||||
|
|
|
|||
19
package.json
19
package.json
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "docker-compose",
|
||||
"version": "0.23.13",
|
||||
"name": "@iceprod/docker-compose",
|
||||
"version": "0.24.0",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"types": "dist/index.d.ts",
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
"test",
|
||||
"test-tools"
|
||||
],
|
||||
"author": "Alexander Zeitler <alexander.zeitler@pdmlab.com>",
|
||||
"author": "Alexander Zeitler <alexander.zeitler@pdmlab.com>, Daniel Bulan <danbulant@danbulant.eu>",
|
||||
"contributors": [
|
||||
{
|
||||
"name": "Ignatiev Mikhail"
|
||||
|
|
@ -72,13 +72,20 @@
|
|||
{
|
||||
"name": "Gabriel Fürstenheim",
|
||||
"url": "https://github.com/furstenheim"
|
||||
},
|
||||
{
|
||||
"name": "gautaz"
|
||||
},
|
||||
{
|
||||
"name": "Daniel Bulant",
|
||||
"url": "https://github.com/danbulant"
|
||||
}
|
||||
],
|
||||
"license": "MIT",
|
||||
"description": "Manage docker-compose from Node.js",
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^12.1.1",
|
||||
"@commitlint/config-conventional": "^12.1.1",
|
||||
"@commitlint/cli": "^13.1.0",
|
||||
"@commitlint/config-conventional": "13.1.0",
|
||||
"@types/dockerode": "^2.5.27",
|
||||
"@types/jest": "^26.0.22",
|
||||
"@types/node": "^12.12.6",
|
||||
|
|
@ -94,7 +101,7 @@
|
|||
"husky": "^6.0.0",
|
||||
"jest": "^26.6.3",
|
||||
"prettier": "^2.2.1",
|
||||
"standard-version": "^9.2.0",
|
||||
"standard-version": "9.3.1",
|
||||
"ts-jest": "^26.5.4",
|
||||
"typescript": "^4.2.4",
|
||||
"vuepress": "^2.0.0-beta.7"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ export interface IDockerComposeOptions {
|
|||
composeOptions?: string[] | (string | string[])[]
|
||||
commandOptions?: string[] | (string | string[])[]
|
||||
env?: NodeJS.ProcessEnv
|
||||
callback?: (chunk: Buffer, streamSource?: 'stdout' | 'stderr') => void
|
||||
}
|
||||
|
||||
export type DockerComposePortResult = {
|
||||
|
|
@ -81,11 +82,12 @@ export const mapPsOutput = (output: string): DockerComposePsResult => {
|
|||
const services = output
|
||||
.split(`\n`)
|
||||
.filter(nonEmptyString)
|
||||
.filter((_, index) => index > 1)
|
||||
.filter((_, index) => index > 0)
|
||||
.map((line) => {
|
||||
const [
|
||||
nameFragment,
|
||||
commandFragment,
|
||||
serviceFragment,
|
||||
stateFragment,
|
||||
untypedPortsFragment
|
||||
] = line.split(/\s{3,}/)
|
||||
|
|
@ -93,6 +95,7 @@ export const mapPsOutput = (output: string): DockerComposePsResult => {
|
|||
return {
|
||||
name: nameFragment.trim(),
|
||||
command: commandFragment.trim(),
|
||||
service: serviceFragment.trim(),
|
||||
state: stateFragment.trim(),
|
||||
ports: mapPorts(untypedPortsFragment.trim())
|
||||
}
|
||||
|
|
@ -181,10 +184,12 @@ export const execCompose = (
|
|||
|
||||
childProc.stdout.on('data', (chunk): void => {
|
||||
result.out += chunk.toString()
|
||||
options.callback?.(chunk, 'stdout')
|
||||
})
|
||||
|
||||
childProc.stderr.on('data', (chunk): void => {
|
||||
result.err += chunk.toString()
|
||||
options.callback?.(chunk, 'stderr')
|
||||
})
|
||||
|
||||
childProc.on('exit', (exitCode): void => {
|
||||
|
|
|
|||
|
|
@ -723,3 +723,14 @@ test('parse ps output', () => {
|
|||
]
|
||||
})
|
||||
})
|
||||
|
||||
test('ensure progress callback is called', async (): Promise<void> => {
|
||||
const config = {
|
||||
cwd: path.join(__dirname),
|
||||
config: './docker-compose.yml',
|
||||
callback: jest.fn()
|
||||
}
|
||||
await compose.upAll(config)
|
||||
expect(config.callback).toBeCalled()
|
||||
await compose.down(config)
|
||||
})
|
||||
|
|
|
|||
235
yarn.lock
235
yarn.lock
|
|
@ -277,141 +277,141 @@
|
|||
exec-sh "^0.3.2"
|
||||
minimist "^1.2.0"
|
||||
|
||||
"@commitlint/cli@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-12.1.1.tgz#740370e557a8a17f415052821cdd5276ecb0ab98"
|
||||
integrity sha512-SB67/s6VJ50seoPx/Sr2gj1fMzKrx+udgarecGdr8h43ah+M2e22gjQJ7xHv5KwyPQ+6ug1YOMCL34ubT4zupQ==
|
||||
"@commitlint/cli@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/cli/-/cli-13.1.0.tgz#3608bb24dbef41aaa0729ffe65c7f9b57409626a"
|
||||
integrity sha512-xN/uNYWtGTva5OMSd+xA6e6/c2jk8av7MUbdd6w2cw89u6z3fAWoyiH87X0ewdSMNYmW/6B3L/2dIVGHRDID5w==
|
||||
dependencies:
|
||||
"@commitlint/format" "^12.1.1"
|
||||
"@commitlint/lint" "^12.1.1"
|
||||
"@commitlint/load" "^12.1.1"
|
||||
"@commitlint/read" "^12.1.1"
|
||||
"@commitlint/types" "^12.1.1"
|
||||
get-stdin "8.0.0"
|
||||
"@commitlint/format" "^13.1.0"
|
||||
"@commitlint/lint" "^13.1.0"
|
||||
"@commitlint/load" "^13.1.0"
|
||||
"@commitlint/read" "^13.1.0"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
lodash "^4.17.19"
|
||||
resolve-from "5.0.0"
|
||||
resolve-global "1.0.0"
|
||||
yargs "^16.2.0"
|
||||
yargs "^17.0.0"
|
||||
|
||||
"@commitlint/config-conventional@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-12.1.1.tgz#73dd3b1a7912138420d248f334f15c94c250bc9e"
|
||||
integrity sha512-15CqbXMsQiEb0qbzjEHe2OkzaXPYSp7RxaS6KoSVk/4W0QiigquavQ+M0huBZze92h0lMS6Pxoq4AJ5CQ3D+iQ==
|
||||
"@commitlint/config-conventional@13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/config-conventional/-/config-conventional-13.1.0.tgz#f02871d50c73db0a31b777231f49203b964d9d59"
|
||||
integrity sha512-zukJXqdr6jtMiVRy3tTHmwgKcUMGfqKDEskRigc5W3k2aYF4gBAtCEjMAJGZgSQE4DMcHeok0pEV2ANmTpb0cw==
|
||||
dependencies:
|
||||
conventional-changelog-conventionalcommits "^4.3.1"
|
||||
|
||||
"@commitlint/ensure@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-12.1.1.tgz#bcefc85f7f8a41bb31f67d7a8966e322b47a6e43"
|
||||
integrity sha512-XEUQvUjzBVQM7Uv8vYz+c7PDukFvx0AvQEyX/V+PaTkCK/xPvexu7FLbFwvypjSt9BPMf+T/rhB1hVmldkd6lw==
|
||||
"@commitlint/ensure@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/ensure/-/ensure-13.1.0.tgz#057a325b54f104cbeed2a26bacb5eec29298e7d5"
|
||||
integrity sha512-NRGyjOdZQnlYwm9it//BZJ2Vm+4x7G9rEnHpLCvNKYY0c6RA8Qf7hamLAB8dWO12RLuFt06JaOpHZoTt/gHutA==
|
||||
dependencies:
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
lodash "^4.17.19"
|
||||
|
||||
"@commitlint/execute-rule@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-12.1.1.tgz#8aad1d46fb78b3199e4ae36debdc93570bf765ea"
|
||||
integrity sha512-6mplMGvLCKF5LieL7BRhydpg32tm6LICnWQADrWU4S5g9PKi2utNvhiaiuNPoHUXr29RdbNaGNcyyPv8DSjJsQ==
|
||||
"@commitlint/execute-rule@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/execute-rule/-/execute-rule-13.0.0.tgz#7823303b82b5d86dac46e67cfa005f4433476981"
|
||||
integrity sha512-lBz2bJhNAgkkU/rFMAw3XBNujbxhxlaFHY3lfKB/MxpAa+pIfmWB3ig9i1VKe0wCvujk02O0WiMleNaRn2KJqw==
|
||||
|
||||
"@commitlint/format@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-12.1.1.tgz#a6b14f8605171374eecc2c463098d63c127ab7df"
|
||||
integrity sha512-bTAoOryTFLqls17JTaRwk2WDVOP0NwuG4F/JPK8RaF6DMZNVQTfajkgTxFENNZRnESfau1BvivvEXfUAW2ZsvA==
|
||||
"@commitlint/format@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/format/-/format-13.1.0.tgz#915570d958d83bae5fa645de6b1e6c9dd1362ec0"
|
||||
integrity sha512-n46rYvzf+6Sm99TJjTLjJBkjm6JVcklt31lDO5Q+pCIV0NnJ4qIUcwa6wIL9a9Vqb1XzlMgtp27E0zyYArkvSg==
|
||||
dependencies:
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
chalk "^4.0.0"
|
||||
|
||||
"@commitlint/is-ignored@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-12.1.1.tgz#6075a5cd2dcda7b6ec93322f5dbe2142cfbb3248"
|
||||
integrity sha512-Sn4fsnWX+wLAJOD/UZeoVruB98te1TyPYRiDEq0MhRJAQIrP+7jE/O3/ass68AAMq00HvH3OK9kt4UBXggcGjA==
|
||||
"@commitlint/is-ignored@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/is-ignored/-/is-ignored-13.1.0.tgz#88a5dfbc8f9ea91e860323af6681aa131322b0c4"
|
||||
integrity sha512-P6zenLE5Tn3FTNjRzmL9+/KooTXEI0khA2TmUbuei9KiycemeO4q7Xk7w7aXwFPNAbN0O9oI7z3z7cFpzKJWmQ==
|
||||
dependencies:
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
semver "7.3.5"
|
||||
|
||||
"@commitlint/lint@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-12.1.1.tgz#cdd898af6eadba8f9e71d7f1255b5a479a757078"
|
||||
integrity sha512-FFFPpku/E0svL1jaUVqosuZJDDWiNWYBlUw5ZEljh3MwWRcoaWtMIX5bseX+IvHpFZsCTAiBs1kCgNulCi0UvA==
|
||||
"@commitlint/lint@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/lint/-/lint-13.1.0.tgz#ea56ce0970f9b75ffe7bd2c9968f4f1d4461ba3a"
|
||||
integrity sha512-qH9AYSQDDTaSWSdtOvB3G1RdPpcYSgddAdFYqpFewlKQ1GJj/L+sM7vwqCG7/ip6AiM04Sry1sgmFzaEoFREUA==
|
||||
dependencies:
|
||||
"@commitlint/is-ignored" "^12.1.1"
|
||||
"@commitlint/parse" "^12.1.1"
|
||||
"@commitlint/rules" "^12.1.1"
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/is-ignored" "^13.1.0"
|
||||
"@commitlint/parse" "^13.1.0"
|
||||
"@commitlint/rules" "^13.1.0"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
|
||||
"@commitlint/load@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-12.1.1.tgz#5a7fb8be11e520931d1237c5e8dc401b7cc9c6c1"
|
||||
integrity sha512-qOQtgNdJRULUQWP9jkpTwhj7aEtnqUtqeUpbQ9rjS+GIUST65HZbteNUX4S0mAEGPWqy2aK5xGd73cUfFSvuuw==
|
||||
"@commitlint/load@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/load/-/load-13.1.0.tgz#d6c9b547551f2216586d6c1964d93f92e7b04277"
|
||||
integrity sha512-zlZbjJCWnWmBOSwTXis8H7I6pYk6JbDwOCuARA6B9Y/qt2PD+NCo0E/7EuaaFoxjHl+o56QR5QttuMBrf+BJzg==
|
||||
dependencies:
|
||||
"@commitlint/execute-rule" "^12.1.1"
|
||||
"@commitlint/resolve-extends" "^12.1.1"
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/execute-rule" "^13.0.0"
|
||||
"@commitlint/resolve-extends" "^13.0.0"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
chalk "^4.0.0"
|
||||
cosmiconfig "^7.0.0"
|
||||
lodash "^4.17.19"
|
||||
resolve-from "^5.0.0"
|
||||
|
||||
"@commitlint/message@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-12.1.1.tgz#56eb1dbb561e85e9295380a46ff3b09bc93cac65"
|
||||
integrity sha512-RakDSLAiOligXjhbLahV8HowF4K75pZIcs0+Ii9Q8Gz5H3DWf1Ngit7alFTWfcbf/+DTjSzVPov5HiwQZPIBUg==
|
||||
"@commitlint/message@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/message/-/message-13.0.0.tgz#4f8d56b59e9cee8b37b8db6b48c26d7faf33762f"
|
||||
integrity sha512-W/pxhesVEk8747BEWJ+VGQ9ILHmCV27/pEwJ0hGny1wqVquUR8SxvScRCbUjHCB1YtWX4dEnOPXOS9CLH/CX7A==
|
||||
|
||||
"@commitlint/parse@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-12.1.1.tgz#3e49d6dc113d59cf266af0db99e320e933108c56"
|
||||
integrity sha512-nuljIvAbBDr93DgL0wCArftEIhjSghawAwhvrKNV9FFcqAJqfVqitwMxJrNDCQ5pgUMCSKULLOEv+dA0bLlTEQ==
|
||||
"@commitlint/parse@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/parse/-/parse-13.1.0.tgz#b88764be36527a468531e1b8dd2d95693ff9ba34"
|
||||
integrity sha512-xFybZcqBiKVjt6vTStvQkySWEUYPI0AcO4QQELyy29o8EzYZqWkhUfrb7K61fWiHsplWL1iL6F3qCLoxSgTcrg==
|
||||
dependencies:
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
conventional-changelog-angular "^5.0.11"
|
||||
conventional-commits-parser "^3.0.0"
|
||||
|
||||
"@commitlint/read@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-12.1.1.tgz#22a2d7fd1eab5e38b9b262311af28ac42f9a5097"
|
||||
integrity sha512-1k0CQEoZIdixvmqZRKEcWdj2XiKS7SlizEOJ1SE99Qui5d5FlBey8eaooTGgmpR6zObpIHJehtEPzM3VzUT3qA==
|
||||
"@commitlint/read@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/read/-/read-13.1.0.tgz#ccb65426b1228b8a598ed36966722d19756eea41"
|
||||
integrity sha512-NrVe23GMKyL6i1yDJD8IpqCBzhzoS3wtLfDj8QBzc01Ov1cYBmDojzvBklypGb+MLJM1NbzmRM4PR5pNX0U/NQ==
|
||||
dependencies:
|
||||
"@commitlint/top-level" "^12.1.1"
|
||||
"@commitlint/types" "^12.1.1"
|
||||
fs-extra "^9.0.0"
|
||||
"@commitlint/top-level" "^13.0.0"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
fs-extra "^10.0.0"
|
||||
git-raw-commits "^2.0.0"
|
||||
|
||||
"@commitlint/resolve-extends@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-12.1.1.tgz#80a78b0940775d17888dd2985b52f93d93e0a885"
|
||||
integrity sha512-/DXRt0S0U3o9lq5cc8OL1Lkx0IjW0HcDWjUkUXshAajBIKBYSJB8x/loNCi1krNEJ8SwLXUEFt5OLxNO6wE9yQ==
|
||||
"@commitlint/resolve-extends@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/resolve-extends/-/resolve-extends-13.0.0.tgz#a38fcd2474483bf9ec6e1e901b27b8a23abe7d73"
|
||||
integrity sha512-1SyaE+UOsYTkQlTPUOoj4NwxQhGFtYildVS/d0TJuK8a9uAJLw7bhCLH2PEeH5cC2D1do4Eqhx/3bLDrSLH3hg==
|
||||
dependencies:
|
||||
import-fresh "^3.0.0"
|
||||
lodash "^4.17.19"
|
||||
resolve-from "^5.0.0"
|
||||
resolve-global "^1.0.0"
|
||||
|
||||
"@commitlint/rules@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-12.1.1.tgz#d59182a837d2addf301a3a4ef83316ae7e70248f"
|
||||
integrity sha512-oCcLF/ykcJfhM2DeeaDyrgdaiuKsqIPNocugdPj2WEyhSYqmx1/u18CV96LAtW+WyyiOLCCeiZwiQutx3T5nXg==
|
||||
"@commitlint/rules@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/rules/-/rules-13.1.0.tgz#04f5aaf952884364ebf4e899ec440e3985f0e580"
|
||||
integrity sha512-b6F+vBqEXsHVghrhomG0Y6YJimHZqkzZ0n5QEpk03dpBXH2OnsezpTw5e+GvbyYCc7PutGbYVQkytuv+7xCxYA==
|
||||
dependencies:
|
||||
"@commitlint/ensure" "^12.1.1"
|
||||
"@commitlint/message" "^12.1.1"
|
||||
"@commitlint/to-lines" "^12.1.1"
|
||||
"@commitlint/types" "^12.1.1"
|
||||
"@commitlint/ensure" "^13.1.0"
|
||||
"@commitlint/message" "^13.0.0"
|
||||
"@commitlint/to-lines" "^13.0.0"
|
||||
"@commitlint/types" "^13.1.0"
|
||||
execa "^5.0.0"
|
||||
|
||||
"@commitlint/to-lines@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-12.1.1.tgz#40fbed1767d637249ce49b311a51909d8361ecf8"
|
||||
integrity sha512-W23AH2XF5rI27MOAPSSr0TUDoRe7ZbFoRtYhFnPu2MBmcuDA9Tmfd9N5sM2tBXtdE26uq3SazwKqGt1OoGAilQ==
|
||||
"@commitlint/to-lines@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/to-lines/-/to-lines-13.0.0.tgz#5937dd287e3a4f984580ea94bdb994132169a780"
|
||||
integrity sha512-mzxWwCio1M4/kG9/69TTYqrraQ66LmtJCYTzAZdZ2eJX3I5w52pSjyP/DJzAUVmmJCYf2Kw3s+RtNVShtnZ+Rw==
|
||||
|
||||
"@commitlint/top-level@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-12.1.1.tgz#228df8fc36b6d7ea7ad149badfb6ef53dbc7001d"
|
||||
integrity sha512-g7uRbr81QEIg+pbii0OkE17Zh/2C/f6dSmiMDVRn1S0+hNHR1bENCh18hVUKcV/qKTUsKkFlhhWXM9mQBfxQJw==
|
||||
"@commitlint/top-level@^13.0.0":
|
||||
version "13.0.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/top-level/-/top-level-13.0.0.tgz#f8e1d1425240cd72c600e4da5716418c4ea0bda2"
|
||||
integrity sha512-baBy3MZBF28sR93yFezd4a5TdHsbXaakeladfHK9dOcGdXo9oQe3GS5hP3BmlN680D6AiQSN7QPgEJgrNUWUCg==
|
||||
dependencies:
|
||||
find-up "^5.0.0"
|
||||
|
||||
"@commitlint/types@^12.1.1":
|
||||
version "12.1.1"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-12.1.1.tgz#8e651f6af0171cd4f8d464c6c37a7cf63ee071bd"
|
||||
integrity sha512-+qGH+s2Lo6qwacV2X3/ZypZwaAI84ift+1HBjXdXtI/q0F5NtmXucV3lcQOTviMTNiJhq4qWON2fjci2NItASw==
|
||||
"@commitlint/types@^13.1.0":
|
||||
version "13.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@commitlint/types/-/types-13.1.0.tgz#12cfb6e932372b1816af8900e2d10694add28191"
|
||||
integrity sha512-zcVjuT+OfKt8h91vhBxt05RMcTGEx6DM7Q9QZeuMbXFk6xgbsSEDMMapbJPA1bCZ81fa/1OQBijSYPrKvtt06g==
|
||||
dependencies:
|
||||
chalk "^4.0.0"
|
||||
|
||||
|
|
@ -3863,7 +3863,16 @@ fs-constants@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad"
|
||||
integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==
|
||||
|
||||
fs-extra@^9.0.0, fs-extra@^9.1.0:
|
||||
fs-extra@^10.0.0:
|
||||
version "10.0.0"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-10.0.0.tgz#9ff61b655dde53fb34a82df84bb214ce802e17c1"
|
||||
integrity sha512-C5owb14u9eJwizKGdchcDUQeFtlSHHthBk8pbX9Vc1PFZrLombudjDnNns88aYslCyF6IY5SUw3Roz6xShcEIQ==
|
||||
dependencies:
|
||||
graceful-fs "^4.2.0"
|
||||
jsonfile "^6.0.1"
|
||||
universalify "^2.0.0"
|
||||
|
||||
fs-extra@^9.1.0:
|
||||
version "9.1.0"
|
||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
|
||||
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
|
||||
|
|
@ -3940,11 +3949,6 @@ get-pkg-repo@^1.0.0:
|
|||
parse-github-repo-url "^1.3.0"
|
||||
through2 "^2.0.0"
|
||||
|
||||
get-stdin@8.0.0:
|
||||
version "8.0.0"
|
||||
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53"
|
||||
integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==
|
||||
|
||||
get-stdin@^4.0.1:
|
||||
version "4.0.1"
|
||||
resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe"
|
||||
|
|
@ -6615,9 +6619,9 @@ path-key@^3.0.0, path-key@^3.1.0:
|
|||
integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==
|
||||
|
||||
path-parse@^1.0.6:
|
||||
version "1.0.6"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
|
||||
integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
||||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
||||
|
||||
path-to-regexp@0.1.7:
|
||||
version "0.1.7"
|
||||
|
|
@ -6847,9 +6851,9 @@ pretty-format@^26.0.0, pretty-format@^26.6.2:
|
|||
react-is "^17.0.1"
|
||||
|
||||
prismjs@^1.23.0:
|
||||
version "1.24.0"
|
||||
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.24.0.tgz#0409c30068a6c52c89ef7f1089b3ca4de56be2ac"
|
||||
integrity sha512-SqV5GRsNqnzCL8k5dfAjCNhUrF3pR0A9lTDSCUZeh/LIshheXJEaP0hwLz2t4XHivd2J/v2HR+gRnigzeKe3cQ==
|
||||
version "1.25.0"
|
||||
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"
|
||||
integrity sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg==
|
||||
|
||||
process-nextick-args@~2.0.0:
|
||||
version "2.0.1"
|
||||
|
|
@ -7795,10 +7799,10 @@ stack-utils@^2.0.2:
|
|||
dependencies:
|
||||
escape-string-regexp "^2.0.0"
|
||||
|
||||
standard-version@^9.2.0:
|
||||
version "9.2.0"
|
||||
resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-9.2.0.tgz#d4e64b201ec1abb8a677b265d8755e5e8b9e33a3"
|
||||
integrity sha512-utJcqjk/wR4sePSwDoRcc5CzJ6S+kec5Hd0+1TJI+j1TRYuuptweAnEUdkkjGf2vYoGab2ezefyVtW065HZ1Uw==
|
||||
standard-version@9.3.1:
|
||||
version "9.3.1"
|
||||
resolved "https://registry.yarnpkg.com/standard-version/-/standard-version-9.3.1.tgz#786c16c318847f58a31a2434f97e8db33a635853"
|
||||
integrity sha512-5qMxXw/FxLouC5nANyx/5RY1kiorJx9BppUso8gN07MG64q2uLRmrPb4KfXp3Ql4s/gxjZwZ89e0FwxeLubGww==
|
||||
dependencies:
|
||||
chalk "^2.4.2"
|
||||
conventional-changelog "3.1.24"
|
||||
|
|
@ -8137,9 +8141,9 @@ thunky@^1.0.2:
|
|||
integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==
|
||||
|
||||
tmpl@1.0.x:
|
||||
version "1.0.4"
|
||||
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.4.tgz#23640dd7b42d00433911140820e5cf440e521dd1"
|
||||
integrity sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=
|
||||
version "1.0.5"
|
||||
resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc"
|
||||
integrity sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==
|
||||
|
||||
to-fast-properties@^2.0.0:
|
||||
version "2.0.0"
|
||||
|
|
@ -8916,7 +8920,7 @@ yargs@^15.4.1:
|
|||
y18n "^4.0.0"
|
||||
yargs-parser "^18.1.2"
|
||||
|
||||
yargs@^16.0.0, yargs@^16.2.0:
|
||||
yargs@^16.0.0:
|
||||
version "16.2.0"
|
||||
resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66"
|
||||
integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==
|
||||
|
|
@ -8929,6 +8933,19 @@ yargs@^16.0.0, yargs@^16.2.0:
|
|||
y18n "^5.0.5"
|
||||
yargs-parser "^20.2.2"
|
||||
|
||||
yargs@^17.0.0:
|
||||
version "17.1.0"
|
||||
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.1.0.tgz#0cd9827a0572c9a1795361c4d1530e53ada168cf"
|
||||
integrity sha512-SQr7qqmQ2sNijjJGHL4u7t8vyDZdZ3Ahkmo4sc1w5xI9TBX0QDdG/g4SFnxtWOsGLjwHQue57eFALfwFCnixgg==
|
||||
dependencies:
|
||||
cliui "^7.0.2"
|
||||
escalade "^3.1.1"
|
||||
get-caller-file "^2.0.5"
|
||||
require-directory "^2.1.1"
|
||||
string-width "^4.2.0"
|
||||
y18n "^5.0.5"
|
||||
yargs-parser "^20.2.2"
|
||||
|
||||
yocto-queue@^0.1.0:
|
||||
version "0.1.0"
|
||||
resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"
|
||||
|
|
|
|||
Loading…
Reference in a new issue