@justdanielndev/status-page 1.17.0

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.
Files changed (52) hide show
  1. package/.prettierrc.cjs +1 -0
  2. package/.upptimerc.yml +42 -0
  3. package/CHANGELOG.md +791 -0
  4. package/LICENSE +21 -0
  5. package/README.md +46 -0
  6. package/cypress/fixtures/example.json +5 -0
  7. package/cypress/integration/incident.spec.js +9 -0
  8. package/cypress/integration/live-status.spec.js +12 -0
  9. package/cypress/plugins/index.js +17 -0
  10. package/cypress/support/commands.js +25 -0
  11. package/cypress/support/index.js +20 -0
  12. package/cypress.json +4 -0
  13. package/i18n.yml +61 -0
  14. package/init-tests.ts +12 -0
  15. package/jest.config.js +4 -0
  16. package/package.json +78 -0
  17. package/post-process.ts +61 -0
  18. package/pre-process.ts +32 -0
  19. package/release.config.js +1 -0
  20. package/rollup.config.js +116 -0
  21. package/src/client.js +18 -0
  22. package/src/components/ActiveIncidents.svelte +79 -0
  23. package/src/components/ActiveScheduled.svelte +96 -0
  24. package/src/components/Graph.svelte +76 -0
  25. package/src/components/History.svelte +84 -0
  26. package/src/components/Incident.svelte +161 -0
  27. package/src/components/Incidents.svelte +83 -0
  28. package/src/components/LiveStatus.svelte +190 -0
  29. package/src/components/Loading.svelte +37 -0
  30. package/src/components/Nav.svelte +88 -0
  31. package/src/components/Scheduled.svelte +72 -0
  32. package/src/components/Summary.svelte +54 -0
  33. package/src/routes/_error.svelte +41 -0
  34. package/src/routes/_layout.svelte +110 -0
  35. package/src/routes/error.svelte +27 -0
  36. package/src/routes/history/[number].svelte +17 -0
  37. package/src/routes/incident/[number].svelte +13 -0
  38. package/src/routes/index.svelte +48 -0
  39. package/src/routes/rate-limit-exceeded.svelte +88 -0
  40. package/src/server.js +25 -0
  41. package/src/service-worker.js +15 -0
  42. package/src/template.html +34 -0
  43. package/src/utils/createOctokit.js +67 -0
  44. package/static/global.css +203 -0
  45. package/static/logo-192.png +0 -0
  46. package/static/logo-512.png +0 -0
  47. package/static/manifest.json +20 -0
  48. package/static/themes/dark.css +26 -0
  49. package/static/themes/light.css +26 -0
  50. package/static/themes/night.css +26 -0
  51. package/static/themes/ocean.css +26 -0
  52. package/tsconfig.json +20 -0
@@ -0,0 +1 @@
1
+ module.exports = require("@koj/config").prettier;
package/.upptimerc.yml ADDED
@@ -0,0 +1,42 @@
1
+ owner: upptime
2
+ repo: upptime
3
+ user-agent: KojBot
4
+
5
+ # Add your sites here
6
+ sites:
7
+ - name: Google
8
+ url: https://www.google.com
9
+ - name: Wikipedia
10
+ url: https://en.wikipedia.org
11
+ - name: Internet Archive
12
+ url: https://archive.org
13
+ - name: Hacker News
14
+ url: https://news.ycombinator.com
15
+ - name: Broken Site
16
+ url: https://thissitedoesnotexist.com
17
+ - name: Secret Site
18
+ url: $SECRET_SITE
19
+
20
+ # Add downtime notifications
21
+ # https://upptime.js.org/docs/notifications
22
+ notifications:
23
+ - type: slack
24
+ channel: C016QTU9S9Y
25
+ assignees:
26
+ - AnandChowdhary
27
+
28
+ # Configure your status website
29
+ # http://localhost:3000/docs/configuration#status-website
30
+ status-website:
31
+ cname: demo.upptime.js.org
32
+ logoUrl: https://raw.githubusercontent.com/upptime/upptime.js.org/master/static/img/icon.svg
33
+ name: Upptime
34
+ introTitle: "**Upptime** is the open-source uptime monitor and status page, powered entirely by GitHub."
35
+ introMessage: This is a sample status page which uses **real-time** data from our [Github repository](https://github.com/upptime/upptime). No server required — just GitHub Actions, Issues, and Pages. [**Get your own for free**](https://github.com/upptime/upptime)
36
+ apiBaseUrl: https://api.github.com
37
+ userContentBaseUrl: https://raw.githubusercontent.com
38
+ navbar:
39
+ - title: Status
40
+ href: /
41
+ - title: GitHub
42
+ href: https://github.com/$OWNER/$REPO