mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
chore: repo cleanup
This commit is contained in:
parent
8a11040524
commit
c006fa2653
5 changed files with 15 additions and 13 deletions
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"denoland.vscode-deno"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -3,3 +3,5 @@ export {
|
||||||
assertExists,
|
assertExists,
|
||||||
assertRejects,
|
assertRejects,
|
||||||
} from "https://deno.land/std@0.200.0/assert/mod.ts";
|
} from "https://deno.land/std@0.200.0/assert/mod.ts";
|
||||||
|
|
||||||
|
export { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
|
||||||
|
|
|
||||||
11
index.html
11
index.html
|
|
@ -4,7 +4,10 @@
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<title>ClassCharts-API</title>
|
<title>ClassCharts-API</title>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||||
<!-- <meta name="description" content="Description"> -->
|
<meta
|
||||||
|
name="description"
|
||||||
|
content="Documentation for classcharts-api javascript package. A library for interacting with the ClassCharts API."
|
||||||
|
/>
|
||||||
<meta
|
<meta
|
||||||
name="viewport"
|
name="viewport"
|
||||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
|
||||||
|
|
@ -13,12 +16,6 @@
|
||||||
rel="stylesheet"
|
rel="stylesheet"
|
||||||
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
|
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
|
||||||
/>
|
/>
|
||||||
<script
|
|
||||||
async
|
|
||||||
src="https://umami.jaminit.co.uk/script.js"
|
|
||||||
data-website-id="3f01674a-5c63-47a2-962b-43d0c62c7c6c"
|
|
||||||
data-domains="classchartsapi.github.io"
|
|
||||||
></script>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app"></div>
|
<div id="app"></div>
|
||||||
|
|
|
||||||
4
mod.ts
4
mod.ts
|
|
@ -1,2 +1,2 @@
|
||||||
export * from "./src/core/studentClient.ts";
|
export * from "~/src/core/studentClient.ts";
|
||||||
export * from "./src/core/parentClient.ts";
|
export * from "~/src/core/parentClient.ts";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
|
import { build, emptyDir } from "~/deps_dev.ts";
|
||||||
|
|
||||||
if (!Deno.args[0]) throw new Error("No version specified");
|
if (!Deno.args[0]) throw new Error("No version specified");
|
||||||
|
|
||||||
|
|
@ -23,13 +23,12 @@ await build({
|
||||||
},
|
},
|
||||||
typeCheck: "both",
|
typeCheck: "both",
|
||||||
package: {
|
package: {
|
||||||
// package.json properties
|
|
||||||
name: "classcharts-api",
|
name: "classcharts-api",
|
||||||
|
version: String(Deno.args[0]).replace("v", ""),
|
||||||
author: {
|
author: {
|
||||||
name: "James Cook",
|
name: "James Cook",
|
||||||
email: "james@jaminit.co.uk",
|
email: "james@jaminit.co.uk",
|
||||||
},
|
},
|
||||||
version: String(Deno.args[0]).replace("v", ""),
|
|
||||||
description:
|
description:
|
||||||
"A Typescript wrapper for getting information from the ClassCharts API",
|
"A Typescript wrapper for getting information from the ClassCharts API",
|
||||||
license: "ISC",
|
license: "ISC",
|
||||||
|
|
@ -48,7 +47,6 @@ await build({
|
||||||
sideEffects: false,
|
sideEffects: false,
|
||||||
},
|
},
|
||||||
postBuild() {
|
postBuild() {
|
||||||
// steps to run after building and before running the tests
|
|
||||||
Deno.copyFileSync("LICENSE", "npm/LICENSE");
|
Deno.copyFileSync("LICENSE", "npm/LICENSE");
|
||||||
Deno.copyFileSync("README.md", "npm/README.md");
|
Deno.copyFileSync("README.md", "npm/README.md");
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue