Remove unusued postprocess
This commit is contained in:
parent
746001d3f3
commit
b1d9ab3c53
11 changed files with 75 additions and 95 deletions
|
@ -11,3 +11,4 @@ node_modules
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
dist/
|
8
.github/workflows/workflow.yml
vendored
8
.github/workflows/workflow.yml
vendored
|
@ -43,7 +43,7 @@ jobs:
|
||||||
~/node_modules
|
~/node_modules
|
||||||
key: ${{ runner.os }}-webflasher
|
key: ${{ runner.os }}-webflasher
|
||||||
- name: Install yarn
|
- name: Install yarn
|
||||||
run: yarn && yarn postinstall
|
run: yarn
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: yarn lint
|
run: yarn lint
|
||||||
# - name: Run vitest tests
|
# - name: Run vitest tests
|
||||||
|
@ -59,15 +59,15 @@ jobs:
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: "github-pages"
|
name: 'github-pages'
|
||||||
path: |
|
path: |
|
||||||
webflasher.tgz
|
webflasher.tgz
|
||||||
deploy:
|
deploy:
|
||||||
# Add a dependency to the build job
|
# Add a dependency to the build job
|
||||||
needs: build
|
needs: build
|
||||||
permissions:
|
permissions:
|
||||||
pages: write # to deploy to Pages
|
pages: write # to deploy to Pages
|
||||||
id-token: write # to verify the deployment originates from an appropriate source
|
id-token: write # to verify the deployment originates from an appropriate source
|
||||||
environment:
|
environment:
|
||||||
name: github-pages
|
name: github-pages
|
||||||
url: ${{ steps.deployment.outputs.page_url }}
|
url: ${{ steps.deployment.outputs.page_url }}
|
||||||
|
|
|
@ -2,3 +2,4 @@
|
||||||
pnpm-lock.yaml
|
pnpm-lock.yaml
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
dist/
|
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
@ -1,5 +1,3 @@
|
||||||
{
|
{
|
||||||
"i18n-ally.localesPaths": [
|
"i18n-ally.localesPaths": ["src/lib/i18n"]
|
||||||
"src/lib/i18n"
|
|
||||||
]
|
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
import { browser } from '$app/environment';
|
import { browser } from '$app/environment';
|
||||||
import { init, register } from 'svelte-i18n';
|
import { init } from 'svelte-i18n';
|
||||||
|
|
||||||
const defaultLocale = 'en';
|
const defaultLocale = 'en';
|
||||||
|
|
||||||
|
|
|
@ -1,19 +1,7 @@
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import {
|
import { Collapse, Nav, NavItem, Navbar, NavbarBrand } from '@sveltestrap/sveltestrap';
|
||||||
Collapse,
|
|
||||||
Dropdown,
|
|
||||||
DropdownItem,
|
|
||||||
DropdownMenu,
|
|
||||||
DropdownToggle,
|
|
||||||
Nav,
|
|
||||||
NavItem,
|
|
||||||
NavLink,
|
|
||||||
Navbar,
|
|
||||||
NavbarBrand
|
|
||||||
} from '@sveltestrap/sveltestrap';
|
|
||||||
|
|
||||||
import { page } from '$app/stores';
|
import { locale, locales } from 'svelte-i18n';
|
||||||
import { locale, locales, isLoading } from 'svelte-i18n';
|
|
||||||
|
|
||||||
export const setLocale = (lang: string) => () => {
|
export const setLocale = (lang: string) => () => {
|
||||||
locale.set(lang);
|
locale.set(lang);
|
||||||
|
@ -57,9 +45,7 @@
|
||||||
</NavbarBrand>
|
</NavbarBrand>
|
||||||
<Collapse navbar expand="md">
|
<Collapse navbar expand="md">
|
||||||
<Nav class="me-auto" navbar>
|
<Nav class="me-auto" navbar>
|
||||||
<NavItem>
|
<NavItem>WebFlasher</NavItem>
|
||||||
WebFlasher
|
|
||||||
</NavItem>
|
|
||||||
</Nav>
|
</Nav>
|
||||||
</Collapse>
|
</Collapse>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
|
|
|
@ -7,18 +7,13 @@
|
||||||
Card,
|
Card,
|
||||||
CardHeader,
|
CardHeader,
|
||||||
CardTitle,
|
CardTitle,
|
||||||
CardSubtitle,
|
|
||||||
CardFooter,
|
|
||||||
CardBody,
|
CardBody,
|
||||||
Button,
|
Button,
|
||||||
CardText,
|
|
||||||
Row
|
Row
|
||||||
} from '@sveltestrap/sveltestrap';
|
} from '@sveltestrap/sveltestrap';
|
||||||
// import Settings from './Settings.svelte';
|
// import Settings from './Settings.svelte';
|
||||||
// import Status from './Status.svelte';
|
// import Status from './Status.svelte';
|
||||||
// import Control from './Control.svelte';
|
// import Control from './Control.svelte';
|
||||||
import { onDestroy, onMount } from 'svelte';
|
|
||||||
import { writable } from 'svelte/store';
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<svelte:head>
|
<svelte:head>
|
||||||
|
@ -37,12 +32,12 @@
|
||||||
<CardTitle>Wemos S2/S3 mini</CardTitle>
|
<CardTitle>Wemos S2/S3 mini</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardBody>
|
<CardBody>
|
||||||
<esp-web-install-button manifest="/manifests/epd2_13.json">
|
<esp-web-install-button manifest="/manifests/epd2_13.json">
|
||||||
<span slot="activate"><Button color="primary">2.13 inch</Button></span>
|
<span slot="activate"><Button color="primary">2.13 inch</Button></span>
|
||||||
</esp-web-install-button>
|
</esp-web-install-button>
|
||||||
<esp-web-install-button manifest="/manifests/epd2_9.json">
|
<esp-web-install-button manifest="/manifests/epd2_9.json">
|
||||||
<span slot="activate"><Button color="secondary">2.9 inch</Button></span>
|
<span slot="activate"><Button color="secondary">2.9 inch</Button></span>
|
||||||
</esp-web-install-button>
|
</esp-web-install-button>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
</Card>
|
</Card>
|
||||||
</Col>
|
</Col>
|
||||||
|
@ -52,18 +47,25 @@
|
||||||
<CardTitle>OrangeClock PCB</CardTitle>
|
<CardTitle>OrangeClock PCB</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardBody>
|
<CardBody>
|
||||||
<esp-web-install-button manifest="/manifests/oc_pcb.json">
|
<esp-web-install-button manifest="/manifests/oc_pcb.json">
|
||||||
<span slot="activate"><Button color="secondary">2.9 inch</Button></span>
|
<span slot="activate"><Button color="secondary">2.9 inch</Button></span>
|
||||||
</esp-web-install-button>
|
</esp-web-install-button>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
</Card>
|
</Card>
|
||||||
</Col>
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<Row>
|
<Row>
|
||||||
<Col>
|
<Col>
|
||||||
<h1>How it works</h1>
|
<h1>How it works</h1>
|
||||||
<p>ESP Web Tools works by using Web Serial and a manifest which describes the firmware. ESP Web Tools detects the chipset of the connected ESP device and automatically selects the right firmware variant from the manifest.</p>
|
<p>
|
||||||
<p>Web Serial is available in Google Chrome and Microsoft Edge browsers. Android support should be possible but has not been implemented yet.</p>
|
ESP Web Tools works by using Web Serial and a manifest which describes the firmware. ESP Web
|
||||||
</Col>
|
Tools detects the chipset of the connected ESP device and automatically selects the right
|
||||||
</Row>
|
firmware variant from the manifest.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Web Serial is available in Google Chrome and Microsoft Edge browsers. Android support should
|
||||||
|
be possible but has not been implemented yet.
|
||||||
|
</p>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
</Container>
|
</Container>
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "OrangeClock 2.13 inch",
|
"name": "OrangeClock 2.13 inch",
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"chipFamily": "ESP32-S2",
|
"chipFamily": "ESP32-S2",
|
||||||
"parts": [
|
"parts": [{ "path": "/firmwares/lolin_s2_mini_213epd.bin", "offset": 0 }]
|
||||||
{ "path": "/firmwares/lolin_s2_mini_213epd.bin", "offset": 0 }
|
},
|
||||||
]
|
{
|
||||||
},
|
"chipFamily": "ESP32-S3",
|
||||||
{
|
"parts": [{ "path": "/firmwares/lolin_s3_mini_213epd.bin", "offset": 0 }]
|
||||||
"chipFamily": "ESP32-S3",
|
}
|
||||||
"parts": [
|
]
|
||||||
{ "path": "/firmwares/lolin_s3_mini_213epd.bin", "offset": 0 }
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,17 +1,13 @@
|
||||||
{
|
{
|
||||||
"name": "OrangeClock 2.9 inch",
|
"name": "OrangeClock 2.9 inch",
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"chipFamily": "ESP32-S2",
|
"chipFamily": "ESP32-S2",
|
||||||
"parts": [
|
"parts": [{ "path": "lolin_s2_mini_29epd.bin", "offset": 0 }]
|
||||||
{ "path": "lolin_s2_mini_29epd.bin", "offset": 0 }
|
},
|
||||||
]
|
{
|
||||||
},
|
"chipFamily": "ESP32-S3",
|
||||||
{
|
"parts": [{ "path": "lolin_s3_mini_29epd.bin", "offset": 0 }]
|
||||||
"chipFamily": "ESP32-S3",
|
}
|
||||||
"parts": [
|
]
|
||||||
{ "path": "lolin_s3_mini_29epd.bin", "offset": 0 }
|
}
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
{
|
{
|
||||||
"name": "OrangeClock PCB",
|
"name": "OrangeClock PCB",
|
||||||
"builds": [
|
"builds": [
|
||||||
{
|
{
|
||||||
"chipFamily": "ESP32-S3",
|
"chipFamily": "ESP32-S3",
|
||||||
"parts": [
|
"parts": [
|
||||||
{
|
{
|
||||||
"path": "/firmwares/orangeclock_29epd.bin",
|
"path": "/firmwares/orangeclock_29epd.bin",
|
||||||
"offset": 0
|
"offset": 0
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -20,8 +20,8 @@ const config = {
|
||||||
}),
|
}),
|
||||||
appDir: 'build',
|
appDir: 'build',
|
||||||
paths: {
|
paths: {
|
||||||
base: process.env.NODE_ENV === 'production' ? '/oc-flasher' : '',
|
base: process.env.NODE_ENV === 'production' ? '/oc-flasher' : ''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue