widefleet 0.3.0 → 0.3.1
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/README.md +19 -41
- package/bin/widefleet.mjs +58 -0
- package/package.json +18 -12
- package/esbuild +0 -0
- package/licenses/esbuild.txt +0 -21
- package/release.json +0 -5
- package/starter/.gitignore +0 -19
- package/starter/.oxfmtrc.json +0 -33
- package/starter/.oxlintrc.json +0 -69
- package/starter/AGENTS.md +0 -31
- package/starter/LICENSE +0 -21
- package/starter/README.md +0 -143
- package/starter/package.json +0 -41
- package/starter/pnpm-lock.yaml +0 -2374
- package/starter/pnpm-workspace.yaml +0 -5
- package/starter/src/app.d.ts +0 -15
- package/starter/src/app.html +0 -11
- package/starter/src/hooks.client.ts +0 -11
- package/starter/src/hooks.server.ts +0 -50
- package/starter/src/lib/capture-error.ts +0 -48
- package/starter/src/lib/errors.ts +0 -42
- package/starter/src/lib/server/browser-errors.ts +0 -88
- package/starter/src/lib/server/capture-error.ts +0 -24
- package/starter/src/lib/server/data.ts +0 -48
- package/starter/src/lib/server/identity.ts +0 -30
- package/starter/src/routes/+page.server.ts +0 -72
- package/starter/src/routes/+page.svelte +0 -45
- package/starter/src/routes/photos/[id]/+server.ts +0 -21
- package/starter/tools/oxlint/anti-slop/LICENSE +0 -21
- package/starter/tools/oxlint/anti-slop/UPSTREAM.md +0 -7
- package/starter/tools/oxlint/anti-slop/effect/index.ts +0 -21
- package/starter/tools/oxlint/anti-slop/effect/rules/no-manual-effect-error-tag.ts +0 -52
- package/starter/tools/oxlint/anti-slop/effect/rules/no-manual-tag-comparison.ts +0 -45
- package/starter/tools/oxlint/anti-slop/effect/rules/no-manual-tagged-construction.ts +0 -37
- package/starter/tools/oxlint/anti-slop/effect/rules/no-service-constructor-imports.ts +0 -52
- package/starter/tools/oxlint/anti-slop/effect/rules/prefer-effect-match.ts +0 -54
- package/starter/tools/oxlint/anti-slop/effect/shared/tagged-values.ts +0 -97
- package/starter/tools/oxlint/anti-slop/index.ts +0 -47
- package/starter/tools/oxlint/anti-slop/rules/no-array-filter-map.ts +0 -28
- package/starter/tools/oxlint/anti-slop/rules/no-chained-type-assertions.ts +0 -77
- package/starter/tools/oxlint/anti-slop/rules/no-conditional-empty-object-spread.ts +0 -49
- package/starter/tools/oxlint/anti-slop/rules/no-known-value-widening.ts +0 -415
- package/starter/tools/oxlint/anti-slop/rules/no-module-mocking.ts +0 -80
- package/starter/tools/oxlint/anti-slop/rules/no-object-parameters.ts +0 -83
- package/starter/tools/oxlint/anti-slop/rules/no-reduce-accumulator-copy.ts +0 -109
- package/starter/tools/oxlint/anti-slop/rules/no-reflect-apply.ts +0 -28
- package/starter/tools/oxlint/anti-slop/rules/no-reflect-get.ts +0 -28
- package/starter/tools/oxlint/anti-slop/rules/no-runtime-typeof.ts +0 -77
- package/starter/tools/oxlint/anti-slop/rules/no-shape-in-symbol-names.ts +0 -46
- package/starter/tools/oxlint/anti-slop/rules/no-unknown-parameters.ts +0 -69
- package/starter/tools/oxlint/anti-slop/rules/no-unknown-returns.ts +0 -82
- package/starter/tools/oxlint/anti-slop/rules/no-unknown-type-aliases.ts +0 -54
- package/starter/tools/oxlint/anti-slop/rules/no-unsafe-dictionary-type.ts +0 -154
- package/starter/tools/oxlint/anti-slop/rules/no-widen-then-assert.ts +0 -366
- package/starter/tools/oxlint/anti-slop/rules/require-readable-spacing.ts +0 -47
- package/starter/tools/oxlint/anti-slop/rules/require-safety-comment-for-type-assertion.ts +0 -131
- package/starter/tools/oxlint/anti-slop/shared/array-method.ts +0 -94
- package/starter/tools/oxlint/anti-slop/shared/dictionary-types.ts +0 -515
- package/starter/tools/oxlint/anti-slop/shared/function-parameters.ts +0 -49
- package/starter/tools/oxlint/anti-slop/shared/lexical-type-parameters.ts +0 -61
- package/starter/tools/oxlint/anti-slop/shared/reflect-method.ts +0 -24
- package/starter/tools/oxlint/anti-slop/shared/scope.ts +0 -15
- package/starter/tools/oxlint/anti-slop/shared/type-alias-resolution.ts +0 -250
- package/starter/tools/oxlint/anti-slop/vendor/eslint-stylistic/LICENSE +0 -22
- package/starter/tools/oxlint/anti-slop/vendor/eslint-stylistic/UPSTREAM.md +0 -28
- package/starter/tools/oxlint/anti-slop/vendor/eslint-stylistic/padding-line-ast.ts +0 -51
- package/starter/tools/oxlint/anti-slop/vendor/eslint-stylistic/padding-line-between-statements.ts +0 -906
- package/starter/tools/oxlint/anti-slop/vendor/eslint-stylistic/padding-line-options.d.ts +0 -87
- package/starter/tools/prepare.ts +0 -5
- package/starter/tools/types.ts +0 -18
- package/starter/tsconfig.json +0 -17
- package/starter/vite.config.ts +0 -8
- package/starter/wrangler.jsonc +0 -17
- package/widefleet +0 -4
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* GENERATED, DO NOT EDIT DIRECTLY */
|
|
2
|
-
|
|
3
|
-
/* @checksum: 3QCTtOH6rJM5_AGJ58rGpeEaBEfaJz17MSCxWB4X_PU */
|
|
4
|
-
|
|
5
|
-
export type PaddingType = 'any' | 'never' | 'always'
|
|
6
|
-
export type StatementOption =
|
|
7
|
-
| StatementMatcher
|
|
8
|
-
| [StatementMatcher, ...StatementMatcher[]]
|
|
9
|
-
export type StatementMatcher =
|
|
10
|
-
| StatementType
|
|
11
|
-
| SelectorOption
|
|
12
|
-
export type StatementType =
|
|
13
|
-
| '*'
|
|
14
|
-
| 'exports'
|
|
15
|
-
| 'require'
|
|
16
|
-
| 'directive'
|
|
17
|
-
| 'iife'
|
|
18
|
-
| 'block'
|
|
19
|
-
| 'empty'
|
|
20
|
-
| 'function'
|
|
21
|
-
| 'ts-method'
|
|
22
|
-
| 'break'
|
|
23
|
-
| 'case'
|
|
24
|
-
| 'class'
|
|
25
|
-
| 'continue'
|
|
26
|
-
| 'debugger'
|
|
27
|
-
| 'default'
|
|
28
|
-
| 'do'
|
|
29
|
-
| 'for'
|
|
30
|
-
| 'if'
|
|
31
|
-
| 'import'
|
|
32
|
-
| 'switch'
|
|
33
|
-
| 'throw'
|
|
34
|
-
| 'try'
|
|
35
|
-
| 'while'
|
|
36
|
-
| 'with'
|
|
37
|
-
| 'cjs-export'
|
|
38
|
-
| 'cjs-import'
|
|
39
|
-
| 'enum'
|
|
40
|
-
| 'interface'
|
|
41
|
-
| 'function-overload'
|
|
42
|
-
| 'block-like'
|
|
43
|
-
| 'singleline-block-like'
|
|
44
|
-
| 'multiline-block-like'
|
|
45
|
-
| 'expression'
|
|
46
|
-
| 'singleline-expression'
|
|
47
|
-
| 'multiline-expression'
|
|
48
|
-
| 'return'
|
|
49
|
-
| 'singleline-return'
|
|
50
|
-
| 'multiline-return'
|
|
51
|
-
| 'export'
|
|
52
|
-
| 'singleline-export'
|
|
53
|
-
| 'multiline-export'
|
|
54
|
-
| 'var'
|
|
55
|
-
| 'singleline-var'
|
|
56
|
-
| 'multiline-var'
|
|
57
|
-
| 'let'
|
|
58
|
-
| 'singleline-let'
|
|
59
|
-
| 'multiline-let'
|
|
60
|
-
| 'const'
|
|
61
|
-
| 'singleline-const'
|
|
62
|
-
| 'multiline-const'
|
|
63
|
-
| 'using'
|
|
64
|
-
| 'singleline-using'
|
|
65
|
-
| 'multiline-using'
|
|
66
|
-
| 'type'
|
|
67
|
-
| 'singleline-type'
|
|
68
|
-
| 'multiline-type'
|
|
69
|
-
export type PaddingLineBetweenStatementsSchema0 = {
|
|
70
|
-
blankLine: PaddingType
|
|
71
|
-
prev: StatementOption
|
|
72
|
-
next: StatementOption
|
|
73
|
-
}[]
|
|
74
|
-
|
|
75
|
-
export interface SelectorOption {
|
|
76
|
-
selector: string
|
|
77
|
-
lineMode?: 'any' | 'singleline' | 'multiline'
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
export type PaddingLineBetweenStatementsRuleOptions
|
|
81
|
-
= PaddingLineBetweenStatementsSchema0
|
|
82
|
-
|
|
83
|
-
export type RuleOptions
|
|
84
|
-
= PaddingLineBetweenStatementsRuleOptions
|
|
85
|
-
export type MessageIds =
|
|
86
|
-
| 'unexpectedBlankLine'
|
|
87
|
-
| 'expectedBlankLine'
|
package/starter/tools/prepare.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { rm } from "node:fs/promises";
|
|
2
|
-
|
|
3
|
-
// The adapter already separates its worker from public files. This extra file
|
|
4
|
-
// describes Wrangler's upload exclusions; celld does not interpret it.
|
|
5
|
-
await rm(new URL("../build/public/.assetsignore", import.meta.url), { force: true });
|
package/starter/tools/types.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { mkdir } from "node:fs/promises";
|
|
2
|
-
import { spawn } from "node:child_process";
|
|
3
|
-
import { once } from "node:events";
|
|
4
|
-
import { z } from "zod";
|
|
5
|
-
|
|
6
|
-
await mkdir(new URL("../.platform", import.meta.url), { recursive: true });
|
|
7
|
-
|
|
8
|
-
const child = spawn(
|
|
9
|
-
process.platform === "win32" ? "pnpm.cmd" : "pnpm",
|
|
10
|
-
["exec", "wrangler", "types", ".platform/worker-configuration.d.ts"],
|
|
11
|
-
{ stdio: "inherit" },
|
|
12
|
-
);
|
|
13
|
-
|
|
14
|
-
const [code] = z
|
|
15
|
-
.tuple([z.number().nullable(), z.string().nullable()])
|
|
16
|
-
.parse(await once(child, "exit"));
|
|
17
|
-
|
|
18
|
-
if (code !== 0) throw new Error("Wrangler type generation failed");
|
package/starter/tsconfig.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": ["$app/tsconfig", "@tsconfig/strictest/tsconfig.json"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"target": "ES2023",
|
|
5
|
-
"module": "ESNext",
|
|
6
|
-
"moduleResolution": "Bundler",
|
|
7
|
-
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
8
|
-
"verbatimModuleSyntax": true,
|
|
9
|
-
"isolatedModules": true,
|
|
10
|
-
"noEmit": true,
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"allowJs": false,
|
|
13
|
-
"checkJs": false
|
|
14
|
-
},
|
|
15
|
-
"include": ["src", "tools", "vite.config.ts", ".platform/worker-configuration.d.ts"],
|
|
16
|
-
"exclude": ["tools/oxlint"]
|
|
17
|
-
}
|
package/starter/vite.config.ts
DELETED
package/starter/wrangler.jsonc
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "node_modules/wrangler/config-schema.json",
|
|
3
|
-
"name": "team-notes",
|
|
4
|
-
"main": "build/worker.js",
|
|
5
|
-
"compatibility_date": "2026-10-01",
|
|
6
|
-
"compatibility_flags": ["nodejs_compat"],
|
|
7
|
-
"assets": { "directory": "build/public", "binding": "ASSETS" },
|
|
8
|
-
"vars": { "APP_NAME": "Team-Notizen" },
|
|
9
|
-
"d1_databases": [
|
|
10
|
-
{
|
|
11
|
-
"binding": "DB",
|
|
12
|
-
"database_name": "notes",
|
|
13
|
-
"database_id": "00000000-0000-4000-8000-000000000010",
|
|
14
|
-
},
|
|
15
|
-
],
|
|
16
|
-
"r2_buckets": [{ "binding": "FILES", "bucket_name": "photos" }],
|
|
17
|
-
}
|
package/widefleet
DELETED