Skip to content

Commit

Permalink
trying out some changes to aim for the proper operation of deploy-deno
Browse files Browse the repository at this point in the history
  • Loading branch information
j-Cis committed Jun 19, 2024
1 parent 2c05f45 commit 0fa595c
Show file tree
Hide file tree
Showing 46 changed files with 15 additions and 100 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
with:
project: "skanoteka-pobieracz"
entrypoint: "main.ts"
root: "./client/"
root: "."
File renamed without changes.
6 changes: 0 additions & 6 deletions client/.vscode/settings.json

This file was deleted.

80 changes: 0 additions & 80 deletions client/deno.json

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion client/data/NavDocs.ts → data/NavDocs.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as C from "@std/fmt/colors";
import PlikiMarkdown from "$utils/classes/PlikiMarkdown.ts";

const plikiMD = new PlikiMarkdown("../docs");
const plikiMD = new PlikiMarkdown("./docs");
const TAB_KATEGORIE = plikiMD.kategorie;
const TAB_DOKUMENTY = plikiMD.dokumenty;
function urlPierwszegoDokumentu(lang:string){
Expand Down
23 changes: 12 additions & 11 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"dev": "deno run -A --watch=client/static/,client/routes/,dosc/ client/dev.ts",
"build": "deno run -A client/dev.ts build",
"start": "deno run -A client/main.ts",
"update": "deno run -A -r jsr:@fresh/update ./client/"
"dev": "deno run -A --watch=static/,routes/,dosc/ dev.ts",
"build": "deno run -A dev.ts build",
"start": "deno run -A main.ts",
"update": "deno run -A -r jsr:@fresh/update .",
"test:wczytajMD": "deno run -A --watch tests/wczytajMD.ts"
},
"imports": {
"@fresh/core": "jsr:@fresh/core@^2.0.0-alpha.16",
Expand Down Expand Up @@ -41,12 +42,12 @@
"@prism-yaml": "https://esm.sh/prismjs@1.29.0/components/prism-yaml.js?no-check",
"@marked": "https://esm.sh/marked@7.0.2",
"@marked-mangle": "https://esm.sh/marked-mangle@1.0.1",
"$utils/": "./client/utils/",
"$types/": "./client/types/",
"$islands/": "./client/islands/",
"$data/": "./client/data/",
"$batch/": "./client/batch/",
"$components/": "./client/components/"
"$utils/": "./utils/",
"$types/": "./types/",
"$islands/": "./islands/",
"$data/": "./data/",
"$batch/": "./batch/",
"$components/": "./components/"
},
"compilerOptions": {
"lib": [
Expand Down Expand Up @@ -76,4 +77,4 @@
"exclude": [
"**/_fresh/*"
]
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Empty file added release/v0.1.0-alpha.1/.gitkeep
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
2 changes: 1 addition & 1 deletion client/tests/wczytajMD.ts → tests/wczytajMD.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import PlikiMarkdown from "$utils/classes/PlikiMarkdown.ts";
import * as C from "@std/fmt/colors";

console.log(C.bgRed(`Now date is: ${new Date()}`));
const plikiMD = new PlikiMarkdown("../docs");
const plikiMD = new PlikiMarkdown("./docs");
const TAB_KATEGORIE = plikiMD.kategorie;
const TAB_DOKUMENTY = plikiMD.dokumenty;

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0fa595c

Please sign in to comment.