heroshot 0.0.2-alpha.1 → 0.0.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/package.json +6 -2
- package/toolbar/dist/toolbar.js +4019 -0
- package/eslint.config.js +0 -327
- package/knip.json +0 -6
- package/scripts/pre-commit.sh +0 -71
- package/src/browser.ts +0 -302
- package/src/capture.ts +0 -7
- package/src/cli.ts +0 -60
- package/src/config.ts +0 -94
- package/src/configFile.ts +0 -25
- package/src/sync.ts +0 -214
- package/src/types.ts +0 -24
- package/tests/types.test.ts +0 -44
- package/toolbar/src/components/ListDialog.svelte +0 -230
- package/toolbar/src/components/NameModal.svelte +0 -186
- package/toolbar/src/components/Toolbar.svelte +0 -540
- package/toolbar/src/lib/dom.ts +0 -178
- package/toolbar/src/lib/tests/dom.test.ts +0 -262
- package/toolbar/src/main.ts +0 -74
- package/toolbar/src/svelte.d.ts +0 -6
- package/toolbar/src/types.ts +0 -43
- package/toolbar/svelte.config.js +0 -8
- package/toolbar/tsconfig.json +0 -9
- package/toolbar/vite.config.ts +0 -52
- package/tsconfig.json +0 -34
- package/tsup.config.ts +0 -12
- package/vitest.config.ts +0 -15
package/dist/cli.js
CHANGED
|
@@ -402,7 +402,7 @@ async function sync(options = {}) {
|
|
|
402
402
|
|
|
403
403
|
// src/cli.ts
|
|
404
404
|
var program = new Command();
|
|
405
|
-
program.name("heroshot").description("Define your screenshots once, update them forever with one command").version("0.0.2-alpha.
|
|
405
|
+
program.name("heroshot").description("Define your screenshots once, update them forever with one command").version("0.0.2-alpha.2");
|
|
406
406
|
program.command("setup", { isDefault: true }).description("Open browser to log in to sites you want to screenshot").option("--reset", "Clear existing browser profile and start fresh").action(async (options) => {
|
|
407
407
|
if (options.reset) {
|
|
408
408
|
const profilePath = getProfilePath();
|
package/package.json
CHANGED
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "heroshot",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.2",
|
|
4
4
|
"description": "Define your screenshots once, update them forever with one command",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Ondrej Machala",
|
|
7
7
|
"license": "AGPL-3.0-or-later",
|
|
8
8
|
"bin": {
|
|
9
|
-
"heroshot": "dist/cli.js"
|
|
9
|
+
"heroshot": "./dist/cli.js"
|
|
10
10
|
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist",
|
|
13
|
+
"toolbar/dist"
|
|
14
|
+
],
|
|
11
15
|
"packageManager": "pnpm@9.15.0",
|
|
12
16
|
"scripts": {
|
|
13
17
|
"dev": "tsx src/cli.ts",
|