-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
152 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
**/temp | ||
.DS_Store | ||
/build | ||
/dist | ||
cosmoscope.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
record_types: | ||
undefined: | ||
fill: '#858585' | ||
stroke: '#858585' | ||
super idea: | ||
fill: '#1b9e77' | ||
stroke: '#1b9e77' | ||
concept: | ||
fill: '#d95f02' | ||
stroke: '#d95f02' | ||
note: | ||
fill: '#7570b3' | ||
stroke: '#7570b3' | ||
person: | ||
fill: '#e7298a' | ||
stroke: '#e7298a' | ||
place: | ||
fill: '#66a61e' | ||
stroke: '#66a61e' | ||
event: | ||
fill: '#e6ab02' | ||
stroke: '#e6ab02' | ||
task: | ||
fill: '#a6761d' | ||
stroke: '#a6761d' | ||
object: | ||
fill: '#666666' | ||
stroke: '#666666' | ||
references: | ||
fill: '#000' | ||
stroke: '#000' | ||
link_types: | ||
undefined: | ||
stroke: simple | ||
color: '#e1e1e1' | ||
g: | ||
stroke: dotted | ||
color: '#e1e1e1' | ||
s: | ||
stroke: dash | ||
color: '#e1e1e1' | ||
attraction_force: 500 | ||
attraction_distance_max: 1400 | ||
title: 'Test' | ||
description: 'This cosmoscope was automatically generated with example data in order to test the functionality of the software.' | ||
keywords: | ||
- 'test' | ||
- 'sample' | ||
lang: 'en' | ||
focus_max: 3 | ||
node_size: 10 | ||
record_metas: | ||
- phone number | ||
- begin | ||
- end | ||
chronological_record_meta: created | ||
link_context: inline | ||
references_as_nodes: false | ||
references_type_label: 'references' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import webpack from 'webpack'; | ||
import path from 'node:path'; | ||
import { fileURLToPath } from 'url'; | ||
|
||
const __dirname = path.dirname(fileURLToPath(import.meta.url)); | ||
|
||
export default { | ||
entry: path.resolve(__dirname, 'app.js'), | ||
output: { | ||
path: path.resolve(__dirname, 'dist'), | ||
filename: 'bundle.cjs', | ||
}, | ||
target: 'node', | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.node$/, | ||
use: 'node-loader', | ||
}, | ||
], | ||
}, | ||
plugins: [new webpack.BannerPlugin({ banner: '#!/usr/bin/env node', raw: true })], | ||
resolve: { | ||
extensions: ['.js'], | ||
}, | ||
mode: 'development', | ||
}; |