@hellocoop/quickstart 1.0.16 → 1.0.18
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/index.js +2 -1
- package/package.json +3 -2
- package/quickstart.mjs +3 -5
package/index.js
CHANGED
|
@@ -63,7 +63,8 @@ const quickstart = async function (params) {
|
|
|
63
63
|
response_uri,
|
|
64
64
|
}
|
|
65
65
|
const queryString = new URLSearchParams(queryParams).toString();
|
|
66
|
-
const
|
|
66
|
+
const hellooDomain = process.env.HELLO_DOMAIN || 'hello.coop'
|
|
67
|
+
const quickstartURL = `https://quickstart.${hellooDomain}/?${queryString}`
|
|
67
68
|
server.listen(port, host, () => {
|
|
68
69
|
console.log('Obtaining a client_id from Hellō Quickstart using:')
|
|
69
70
|
console.log(quickstartURL)
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hellocoop/quickstart",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"description": "A CLI and module to start the Hello Quickstart web app and return a client_id",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"quickstart": "
|
|
7
|
+
"quickstart": "quickstart.mjs"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"homepage": "https://github.com/hellocoop/packages#readme",
|
|
36
36
|
"dependencies": {
|
|
37
|
+
"dotenv": "^16.3.1",
|
|
37
38
|
"get-port": "^7.0.0",
|
|
38
39
|
"open": "^9.1.0"
|
|
39
40
|
},
|