right link for repo
This commit is contained in:
parent
fe21ba3b0b
commit
5739652d77
@ -3,6 +3,14 @@
|
||||
"version": "2.3.0",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.babyl.ca/aotds/aotds-docks.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://git.babyl.ca/aotds/aotds-docks/issues"
|
||||
},
|
||||
"homepage": "https://git.babyl.ca/aotds/aotds-docks",
|
||||
"scripts": {
|
||||
"dev": "svelte-kit dev",
|
||||
"build": "svelte-kit build",
|
||||
|
@ -30,7 +30,7 @@
|
||||
<a href="https://techblog.babyl.ca">Yanick Champoux</a>
|
||||
. Code available on
|
||||
<!-- TODO read the url from package.json -->
|
||||
<a href="https://github.com/aotds/aotds-shipyard">Github</a>.
|
||||
<a href={import.meta.env.HOMEPAGE}>my Gitea instance</a>.
|
||||
</p>
|
||||
|
||||
<style>
|
||||
|
@ -7,3 +7,8 @@ test("we have an about page", () => {
|
||||
const { getByText } = render(About);
|
||||
expect(getByText("Welcome to the docks!")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("link to gitea is there", () => {
|
||||
const { getByText } = render(About);
|
||||
expect(getByText("my Gitea instance")).toBeInTheDocument();
|
||||
});
|
||||
|
@ -1,5 +1,6 @@
|
||||
// vite.config.js
|
||||
import { sveltekit } from "@sveltejs/kit/vite";
|
||||
import packageJson from "./package.json";
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
const config = {
|
||||
@ -7,6 +8,10 @@ const config = {
|
||||
publicDir: "./static",
|
||||
ssr: {},
|
||||
optimizeDeps: {},
|
||||
define: {
|
||||
"import.meta.env.PACKAGE_VERSION": JSON.stringify(packageJson.version),
|
||||
"import.meta.env.HOMEPAGE": JSON.stringify(packageJson.homepage),
|
||||
},
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
Loading…
Reference in New Issue
Block a user