@microlink/cli 2.1.29 → 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 +1 -1
- package/bin/microlink-beta +11 -0
- package/bin/microlink-dev +12 -0
- package/bin/microlink-next +11 -0
- package/bin/microlink-vercel +5 -0
- package/package.json +2 -6
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) ·
|
|
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
|
+
})
|
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.
|
|
5
|
+
"version": "2.1.30",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"bin": {
|
|
8
8
|
"microlink": "bin/microlink",
|
|
@@ -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",
|