Skip to content

Commit d295a48

Browse files
Merge pull request #25 from SubstantialCattle5/dev
feat: don
2 parents d2c2208 + 8193d81 commit d295a48

File tree

9 files changed

+354
-1
lines changed

9 files changed

+354
-1
lines changed

nightwatch.conf.js

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
// Refer to the online docs for more details:
2+
// https://nightwatchjs.org/gettingstarted/configuration/
3+
//
4+
5+
// _ _ _ _ _ _ _
6+
// | \ | |(_) | | | | | | | |
7+
// | \| | _ __ _ | |__ | |_ __ __ __ _ | |_ ___ | |__
8+
// | . ` || | / _` || '_ \ | __|\ \ /\ / / / _` || __| / __|| '_ \
9+
// | |\ || || (_| || | | || |_ \ V V / | (_| || |_ | (__ | | | |
10+
// \_| \_/|_| \__, ||_| |_| \__| \_/\_/ \__,_| \__| \___||_| |_|
11+
// __/ |
12+
// |___/
13+
14+
module.exports = {
15+
// An array of folders (excluding subfolders) where your tests are located;
16+
// if this is not specified, the test source must be passed as the second argument to the test runner.
17+
src_folders: ['test', 'nightwatch'],
18+
19+
// See https://nightwatchjs.org/guide/concepts/page-object-model.html
20+
page_objects_path: [],
21+
22+
// See https://nightwatchjs.org/guide/extending-nightwatch/adding-custom-commands.html
23+
custom_commands_path: [],
24+
25+
// See https://nightwatchjs.org/guide/extending-nightwatch/adding-custom-assertions.html
26+
custom_assertions_path: [],
27+
28+
// See https://nightwatchjs.org/guide/extending-nightwatch/adding-plugins.html
29+
plugins: ['@nightwatch/react'],
30+
31+
// See https://nightwatchjs.org/guide/concepts/test-globals.html
32+
globals_path: '',
33+
34+
vite_dev_server: {
35+
start_vite: true,
36+
port: 5173,
37+
},
38+
39+
webdriver: {},
40+
41+
test_workers: {
42+
enabled: true,
43+
},
44+
45+
test_settings: {
46+
default: {
47+
disable_error_log: false,
48+
launch_url: 'http://localhost:5173',
49+
50+
screenshots: {
51+
enabled: false,
52+
path: 'screens',
53+
on_failure: true,
54+
},
55+
56+
desiredCapabilities: {
57+
browserName: 'chrome',
58+
},
59+
60+
webdriver: {
61+
start_process: true,
62+
server_path: '',
63+
},
64+
},
65+
66+
firefox: {
67+
desiredCapabilities: {
68+
browserName: 'firefox',
69+
alwaysMatch: {
70+
acceptInsecureCerts: true,
71+
'moz:firefoxOptions': {
72+
args: [
73+
// '-headless',
74+
// '-verbose'
75+
],
76+
},
77+
},
78+
},
79+
webdriver: {
80+
start_process: true,
81+
server_path: '',
82+
cli_args: [
83+
// very verbose geckodriver logs
84+
// '-vv'
85+
],
86+
},
87+
},
88+
89+
chrome: {
90+
desiredCapabilities: {
91+
browserName: 'chrome',
92+
'goog:chromeOptions': {
93+
// More info on Chromedriver: https://sites.google.com/a/chromium.org/chromedriver/
94+
//
95+
// w3c:false tells Chromedriver to run using the legacy JSONWire protocol (not required in Chrome 78)
96+
w3c: true,
97+
args: [
98+
//'--no-sandbox',
99+
//'--ignore-certificate-errors',
100+
//'--allow-insecure-localhost',
101+
//'--headless'
102+
],
103+
},
104+
},
105+
106+
webdriver: {
107+
start_process: true,
108+
server_path: '',
109+
cli_args: [
110+
// --verbose
111+
],
112+
},
113+
},
114+
115+
edge: {
116+
desiredCapabilities: {
117+
browserName: 'MicrosoftEdge',
118+
'ms:edgeOptions': {
119+
w3c: true,
120+
// More info on EdgeDriver: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/capabilities-edge-options
121+
args: [
122+
//'--headless'
123+
],
124+
},
125+
},
126+
127+
webdriver: {
128+
start_process: true,
129+
// Follow https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium/?tabs=c-sharp#download-microsoft-edge-webdriver
130+
// to download the Edge WebDriver and set the location of extracted `msedgedriver` below:
131+
server_path: '',
132+
cli_args: [
133+
// --verbose
134+
],
135+
},
136+
},
137+
},
138+
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"shiki": "^0.14.5",
5050
"swr": "^2.2.4",
5151
"tailwind-merge": "^1.14.0",
52+
"ts-node": "^10.9.2",
5253
"typewriter-effect": "^2.21.0"
5354
},
5455
"devDependencies": {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"file-explorer": true,
3+
"global-search": true,
4+
"switcher": true,
5+
"graph": true,
6+
"backlink": true,
7+
"canvas": true,
8+
"outgoing-link": true,
9+
"tag-pane": true,
10+
"properties": false,
11+
"page-preview": true,
12+
"daily-notes": true,
13+
"templates": true,
14+
"note-composer": true,
15+
"command-palette": true,
16+
"slash-command": false,
17+
"editor-status": true,
18+
"bookmarks": true,
19+
"markdown-importer": false,
20+
"zk-prefixer": false,
21+
"random-note": false,
22+
"outline": true,
23+
"word-count": true,
24+
"slides": false,
25+
"audio-recorder": false,
26+
"workspaces": false,
27+
"file-recovery": true,
28+
"publish": false,
29+
"sync": false
30+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[
2+
"file-explorer",
3+
"global-search",
4+
"switcher",
5+
"graph",
6+
"backlink",
7+
"canvas",
8+
"outgoing-link",
9+
"tag-pane",
10+
"page-preview",
11+
"daily-notes",
12+
"templates",
13+
"note-composer",
14+
"command-palette",
15+
"editor-status",
16+
"bookmarks",
17+
"outline",
18+
"word-count",
19+
"file-recovery"
20+
]
Lines changed: 143 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,143 @@
1+
{
2+
"main": {
3+
"id": "2e343d3a21b12f84",
4+
"type": "split",
5+
"children": [
6+
{
7+
"id": "2dd7a996bb1a4457",
8+
"type": "tabs",
9+
"children": [
10+
{
11+
"id": "f64453bc4457fe32",
12+
"type": "leaf",
13+
"state": {
14+
"type": "empty",
15+
"state": {}
16+
}
17+
}
18+
]
19+
}
20+
],
21+
"direction": "vertical"
22+
},
23+
"left": {
24+
"id": "4f5d7b42c48819ad",
25+
"type": "split",
26+
"children": [
27+
{
28+
"id": "64e8b849649aa76b",
29+
"type": "tabs",
30+
"children": [
31+
{
32+
"id": "ba50dbde37ac1ec7",
33+
"type": "leaf",
34+
"state": {
35+
"type": "file-explorer",
36+
"state": {
37+
"sortOrder": "alphabetical"
38+
}
39+
}
40+
},
41+
{
42+
"id": "034441ede8e5c60b",
43+
"type": "leaf",
44+
"state": {
45+
"type": "search",
46+
"state": {
47+
"query": "",
48+
"matchingCase": false,
49+
"explainSearch": false,
50+
"collapseAll": false,
51+
"extraContext": false,
52+
"sortOrder": "alphabetical"
53+
}
54+
}
55+
},
56+
{
57+
"id": "31f1770eb4072b51",
58+
"type": "leaf",
59+
"state": {
60+
"type": "bookmarks",
61+
"state": {}
62+
}
63+
}
64+
]
65+
}
66+
],
67+
"direction": "horizontal",
68+
"width": 300
69+
},
70+
"right": {
71+
"id": "24b5fb68e196c204",
72+
"type": "split",
73+
"children": [
74+
{
75+
"id": "8704b62933d189e5",
76+
"type": "tabs",
77+
"children": [
78+
{
79+
"id": "1708f813554e1043",
80+
"type": "leaf",
81+
"state": {
82+
"type": "backlink",
83+
"state": {
84+
"collapseAll": false,
85+
"extraContext": false,
86+
"sortOrder": "alphabetical",
87+
"showSearch": false,
88+
"searchQuery": "",
89+
"backlinkCollapsed": false,
90+
"unlinkedCollapsed": true
91+
}
92+
}
93+
},
94+
{
95+
"id": "abae131601c6fe5a",
96+
"type": "leaf",
97+
"state": {
98+
"type": "outgoing-link",
99+
"state": {
100+
"linksCollapsed": false,
101+
"unlinkedCollapsed": true
102+
}
103+
}
104+
},
105+
{
106+
"id": "97969436a830f7fc",
107+
"type": "leaf",
108+
"state": {
109+
"type": "tag",
110+
"state": {
111+
"sortOrder": "frequency",
112+
"useHierarchy": true
113+
}
114+
}
115+
},
116+
{
117+
"id": "1418e1da87ee7d01",
118+
"type": "leaf",
119+
"state": {
120+
"type": "outline",
121+
"state": {}
122+
}
123+
}
124+
]
125+
}
126+
],
127+
"direction": "horizontal",
128+
"width": 300,
129+
"collapsed": true
130+
},
131+
"left-ribbon": {
132+
"hiddenItems": {
133+
"switcher:Open quick switcher": false,
134+
"graph:Open graph view": false,
135+
"canvas:Create new canvas": false,
136+
"daily-notes:Open today's daily note": false,
137+
"templates:Insert template": false,
138+
"command-palette:Open command palette": false
139+
}
140+
},
141+
"active": "f64453bc4457fe32",
142+
"lastOpenFiles": []
143+
}

src/app/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function HomePage() {
9393
className='mt-4 flex flex-wrap gap-4 gap-y-2 md:mt-8'
9494
>
9595
<UnstyledLink
96-
href='https://drive.google.com/file/d/1I9sQ9x1uZGlJZcZD0QQIyFcT0fR-Z3Ww/view?usp=sharing'
96+
href='https://drive.google.com/file/d/11H4IsSYcpoKcyvexE9kOTwm_pDQKaiMw/view?usp=sharing'
9797
className={clsx(
9898
'inline-flex items-center gap-1 text-sm font-medium md:text-base',
9999
'text-gray-600 hover:text-black dark:text-gray-400 dark:hover:text-white',

yarn.lock

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8544,6 +8544,25 @@ ts-node@^10.8.1:
85448544
v8-compile-cache-lib "^3.0.1"
85458545
yn "3.1.1"
85468546

8547+
ts-node@^10.9.2:
8548+
version "10.9.2"
8549+
resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f"
8550+
integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==
8551+
dependencies:
8552+
"@cspotcode/source-map-support" "^0.8.0"
8553+
"@tsconfig/node10" "^1.0.7"
8554+
"@tsconfig/node12" "^1.0.7"
8555+
"@tsconfig/node14" "^1.0.0"
8556+
"@tsconfig/node16" "^1.0.2"
8557+
acorn "^8.4.1"
8558+
acorn-walk "^8.1.1"
8559+
arg "^4.1.0"
8560+
create-require "^1.1.0"
8561+
diff "^4.0.1"
8562+
make-error "^1.1.1"
8563+
v8-compile-cache-lib "^3.0.1"
8564+
yn "3.1.1"
8565+
85478566
tsconfig-paths@^3.14.2:
85488567
version "3.14.2"
85498568
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088"

0 commit comments

Comments
 (0)