@microlink/cli 2.1.28 → 2.1.30

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/README.md CHANGED
@@ -16,4 +16,4 @@ npm install @microlink/cli --global
16
16
  **microlink** © [Microlink](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/cli/blob/master/LICENSE.md) License.<br>
17
17
  Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/microlinkhq/cli/contributors).
18
18
 
19
- > [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) · Twitter [@microlinkhq](https://twitter.com/microlinkhq)
19
+ > [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) · X [@microlinkhq](https://x.com/microlinkhq)
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+
3
+ const cli = require('../src/cli')
4
+ cli.flags.endpoint = 'https://beta.microlink.io'
5
+ delete cli.flags.apiKey
6
+
7
+ require('../src/api')(cli, {
8
+ headers: {
9
+ authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
10
+ }
11
+ })
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env node
2
+
3
+ const cli = require('../src/cli')
4
+ cli.flags.endpoint = 'http://localhost:3000'
5
+ delete cli.flags.apiKey
6
+
7
+ require('../src/api')(cli, {
8
+ retry: 0,
9
+ headers: {
10
+ authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
11
+ }
12
+ })
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env node
2
+
3
+ const cli = require('../src/cli')
4
+ cli.flags.endpoint = 'https://next.microlink.io'
5
+ delete cli.flags.apiKey
6
+
7
+ require('../src/api')(cli, {
8
+ headers: {
9
+ authorization: require('../../api/src/constant').MICROLINK_API_AUTHORIZATION
10
+ }
11
+ })
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env node
2
+
3
+ const cli = require('../src/cli')
4
+ cli.flags.endpoint = 'https://vercel.microlink.io'
5
+ require('../src/api')(cli)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@microlink/cli",
3
3
  "description": "Interacting with Microlink API from your terminal.",
4
4
  "homepage": "https://github.com/microlinkhq/cli",
5
- "version": "2.1.28",
5
+ "version": "2.1.30",
6
6
  "main": "src/index.js",
7
7
  "bin": {
8
8
  "microlink": "bin/microlink",
@@ -39,7 +39,7 @@
39
39
  "localhost-url-regex": "~1.0.11",
40
40
  "mri": "~1.2.0",
41
41
  "nanospinner": "~1.1.0",
42
- "picocolors": "~1.0.0",
42
+ "picocolors": "~1.1.0",
43
43
  "pretty-bytes": "~5.6.0",
44
44
  "pretty-ms": "~7.0.1",
45
45
  "restore-cursor": "~3.1.0",
@@ -59,7 +59,6 @@
59
59
  "git-authors-cli": "latest",
60
60
  "github-generate-release": "latest",
61
61
  "nano-staged": "latest",
62
- "npm-check-updates": "latest",
63
62
  "simple-git-hooks": "latest",
64
63
  "standard": "latest",
65
64
  "standard-markdown": "latest",
@@ -77,14 +76,11 @@
77
76
  "contributors": "(npx git-authors-cli && npx finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true",
78
77
  "lint": "standard-markdown README.md && standard",
79
78
  "postrelease": "npm run release:tags && npm run release:github && (ci-publish || npm publish --access=public)",
80
- "prerelease": "npm run update:check",
81
79
  "pretest": "npm run lint",
82
80
  "release": "standard-version -a",
83
81
  "release:github": "github-generate-release",
84
82
  "release:tags": "git push --follow-tags origin HEAD:master",
85
- "test": "c8 ava",
86
- "update": "ncu -u",
87
- "update:check": "ncu -- --error-level 2"
83
+ "test": "c8 ava"
88
84
  },
89
85
  "preferGlobal": true,
90
86
  "license": "MIT",