@slashid/jump-page 0.0.7-beta.1 → 0.0.7-beta.2
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/cli.js +4 -4
- package/dist/_astro/app.f7d04798.js +39 -0
- package/dist/_astro/client.a5ffbec0.js +24 -0
- package/dist/_astro/index.03be2d59.js +9 -0
- package/dist/_astro/index.2dd0ad08.css +1 -0
- package/dist/_astro/index.cc62d81f.css +1 -0
- package/dist/favicon.png +0 -0
- package/dist/index.html +7 -0
- package/package.json +2 -2
- package/src/components/README.md +0 -3
- package/src/components/app/app.component.tsx +0 -83
- package/src/components/app/app.context.tsx +0 -41
- package/src/components/app/app.css.ts +0 -15
- package/src/components/app/index.ts +0 -1
- package/src/components/card/card.component.tsx +0 -42
- package/src/components/card/card.css.ts +0 -40
- package/src/components/card/index.ts +0 -1
- package/src/components/flow/flow.component.tsx +0 -99
- package/src/components/flow/flow.css.ts +0 -20
- package/src/components/flow/flow.domain.ts +0 -18
- package/src/components/flow/flow.error.tsx +0 -32
- package/src/components/flow/flow.initial.tsx +0 -14
- package/src/components/flow/flow.loader.tsx +0 -9
- package/src/components/flow/flow.progress.tsx +0 -119
- package/src/components/flow/flow.recover.tsx +0 -121
- package/src/components/flow/flow.success.tsx +0 -40
- package/src/components/flow/flow.types.ts +0 -48
- package/src/components/flow/index.ts +0 -3
- package/src/components/text/index.ts +0 -1
- package/src/components/text/text.component.tsx +0 -8
- package/src/components/text/use-i18n.ts +0 -13
- package/src/config.ts +0 -7
- package/src/domain/i18n.ts +0 -115
- package/src/env.d.ts +0 -1
- package/src/layouts/README.md +0 -3
- package/src/layouts/page.astro +0 -33
- package/src/pages/index.astro +0 -8
package/cli.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { program } from "commander";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
|
-
import {
|
|
5
|
+
import { preview } from "astro";
|
|
6
6
|
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
8
8
|
|
|
@@ -27,18 +27,18 @@ program
|
|
|
27
27
|
.option(
|
|
28
28
|
"-a, --api-url <char>",
|
|
29
29
|
"SlashID API URL",
|
|
30
|
-
"https://
|
|
30
|
+
"https://slashid.local"
|
|
31
31
|
)
|
|
32
32
|
.option(
|
|
33
33
|
"-s, --sdk-url <char>",
|
|
34
34
|
"SlashID SDK URL",
|
|
35
|
-
"https://
|
|
35
|
+
"https://jump.slashid.local"
|
|
36
36
|
)
|
|
37
37
|
.action(async (options) => {
|
|
38
38
|
process.env.PUBLIC_SID_SDK_URL = options.sdkUrl;
|
|
39
39
|
process.env.PUBLIC_SID_API_URL = options.apiUrl;
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
// TODO this will build with the default values, not the ones passed in
|
|
42
42
|
await preview({ server: { port: options.port } });
|
|
43
43
|
});
|
|
44
44
|
|