-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update to v5.0.0 alpha.2.15 (#17)
* chore: update readme * feat: added a hidden widget example with comments * chore: update dependencies and format * chore: update to v2.5 and remove svelte zoom-btn * feat: add vanillaJs reset zoom example * feat: add custom font + add explanatory comments * fix: setup node v20 in actions * fix: selection * chore: update eodash to v5.0.0-alpha.2.6 * update to `v5.0.0-alpha.2.12` * chore: updated eodash dependency and configuration example accordingly * chore: fix list overflow * update main.js to use default config --------- Co-authored-by: Daniel Santillan <[email protected]>
- Loading branch information
1 parent
98eb993
commit 3ac1f60
Showing
20 changed files
with
1,966 additions
and
821 deletions.
There are no files selected for viewing
This file was deleted.
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
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
node_modules | ||
app | ||
.vscode | ||
.DS_Store | ||
.eodash/ | ||
|
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 |
---|---|---|
@@ -1,15 +1,61 @@ | ||
# eodash Configuration and Deployment Template | ||
|
||
This is a template repository for configuring and deploying [eodash](https://github.com/eodash/eodash) | ||
This is an instance template for [@eodash/eodash](https://github.com/eodash/eodash). Check Github's guide on [how to create a repository from a template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template) | ||
|
||
## Prerequisites | ||
|
||
- Node v18 or higher | ||
- Node v20.15.1 or higher | ||
|
||
## Static Assets | ||
## Get Started | ||
|
||
files and directories inside the `public` directory will be served statically in the application. They can be refrenced inside the config using their relative path: | ||
Install all the required dependecies: | ||
|
||
```js | ||
new URL("/directory/file", import.meta.url).href; | ||
```bash | ||
npm run install | ||
``` | ||
|
||
Run the dev server: | ||
|
||
```bash | ||
npm run dev | ||
``` | ||
|
||
To compile and minify for production: | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
To preview the compiled production files : | ||
|
||
```bash | ||
npm run preview | ||
``` | ||
|
||
To compile and minify as a web component library: | ||
|
||
```bash | ||
npm run build -- --lib | ||
``` | ||
|
||
Format using prettier: | ||
|
||
```bash | ||
npm run format | ||
``` | ||
|
||
Run linter: | ||
|
||
```bash | ||
npm run lint | ||
``` | ||
|
||
## Folder Structure | ||
|
||
. | ||
├── public # statically served files | ||
├── src # Client source code that hosts the microfrontends and renders the dashboard | ||
│ ├── widgets # Contains custom defined internal widgets | ||
│ └─ main.js # eodash main entry point | ||
│ | ||
└── README.md |
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 |
---|---|---|
@@ -1,16 +1,7 @@ | ||
/** @type {import("@eodash/eodash").EodashCLiConfig} */ | ||
export default { | ||
base: "", | ||
import { defineConfig } from "@eodash/eodash/config"; | ||
|
||
export default defineConfig({ | ||
dev: { | ||
port: 3001, | ||
host: false, | ||
open: false, | ||
port: 3000, | ||
}, | ||
preview: { | ||
port: 4173, | ||
host: true, | ||
open: true, | ||
}, | ||
outDir: ".eodash/dist", | ||
cacheDir: ".eodash/temp", | ||
}; | ||
}); |
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,10 @@ | ||
import pluginVue from "eslint-plugin-vue"; | ||
import eox from "@eox/eslint-config"; | ||
|
||
export default [ | ||
...eox, | ||
...pluginVue.configs["flat/essential"], | ||
{ | ||
ignores: ["public/", ".eodash/"], | ||
}, | ||
]; |
Oops, something went wrong.