two-stroke 8.0.19 → 8.0.21

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/oxfmt.config.ts CHANGED
@@ -1,15 +1 @@
1
- import { defineConfig } from "oxfmt";
2
-
3
- export default defineConfig({
4
- sortImports: {
5
- newlinesBetween: false,
6
- groups: [
7
- ["value-builtin", "value-external"],
8
- ["value-internal", "value-parent", "value-sibling", "value-index"],
9
- { newlinesBetween: true },
10
- "type-import",
11
- "unknown",
12
- ],
13
- },
14
- ignorePatterns: ["worker-configuration.d.ts", "wrangler.jsonc"],
15
- });
1
+ export { default } from "./oxfmt.config.mjs";
package/oxlint.config.mjs CHANGED
@@ -60,6 +60,7 @@ export default defineConfig({
60
60
  "vitest/require-top-level-describe": "off",
61
61
  "vitest/max-expects": "off",
62
62
  "vitest/no-hooks": "off",
63
+ "unicorn/number-literal-case": "off",
63
64
  },
64
65
  overrides: [
65
66
  {
package/oxlint.config.ts CHANGED
@@ -1,90 +1 @@
1
- import { defineConfig } from "oxlint";
2
-
3
- export default defineConfig({
4
- plugins: ["eslint", "typescript", "unicorn", "oxc", "import", "promise", "vitest"],
5
- options: {
6
- typeAware: true,
7
- },
8
- categories: {
9
- correctness: "error",
10
- suspicious: "warn",
11
- perf: "error",
12
- style: "warn",
13
- },
14
- rules: {
15
- "no-map-spread": "off",
16
- "no-named-export": "off",
17
- "no-magic-numbers": "off",
18
- "consistent-indexed-object-style": "off",
19
- "id-length": "off",
20
- "no-await-expression-member": "off",
21
- "max-nested-calls": "off",
22
- "sort-keys": "off",
23
- curly: "off",
24
- "switch-case-braces": "off",
25
- "vitest/require-hook": "off",
26
- "no-ternary": "off",
27
- "group-exports": "off",
28
- "exports-last": "off",
29
- "prefer-default-export": "off",
30
- "no-null": "off",
31
- "consistent-type-specifier-style": "off",
32
- "max-statements": "off",
33
- "consistent-type-imports": "error",
34
- "relative-url-style": ["error", "always"],
35
- "no-namespace": "off",
36
- "no-duplicate-imports": ["error", { allowSeparateTypeImports: true }],
37
- "func-style": "off",
38
- "sort-imports": [
39
- "error",
40
- {
41
- ignoreDeclarationSort: true,
42
- ignoreMemberSort: false,
43
- },
44
- ],
45
- "new-cap": "off",
46
- "promise/prefer-await-to-callbacks": "off",
47
- "promise/avoid-new": "off",
48
- "prefer-await-to-then": "off",
49
- "max-params": "off",
50
- "no-underscore-dangle": "off",
51
- "no-nested-ternary": "off",
52
- "unicorn/no-nested-ternary": "off",
53
- "no-anonymous-default-export": "off",
54
- "no-continue": "off",
55
- "init-declarations": "off",
56
- "prefer-to-be-truthy": "off",
57
- "vitest/prefer-expect-assertions": "off",
58
- "vitest/prefer-importing-vitest-globals": "off",
59
- "vitest/no-importing-vitest-globals": "error",
60
- "vitest/require-top-level-describe": "off",
61
- "vitest/max-expects": "off",
62
- "vitest/no-hooks": "off",
63
- },
64
- overrides: [
65
- {
66
- files: ["*.test.ts", "*.spec.ts"],
67
- rules: {
68
- "@typescript-eslint/no-explicit-any": "off",
69
- },
70
- },
71
- {
72
- files: ["*-definitions.ts"],
73
- rules: {
74
- "no-unused-vars": "off",
75
- "@typescript-eslint/no-redundant-type-constituents": "off",
76
- "@typescript-eslint/no-duplicate-type-constituents": "off",
77
- "group-exports": "off",
78
- "exports-last": "off",
79
- "consistent-indexed-object-style": "off",
80
- },
81
- },
82
- {
83
- files: ["bin/*.mjs", "src/cmd.mjs"],
84
- rules: {
85
- "import/no-nodejs-modules": "off",
86
- "prefer-destructuring": "off",
87
- },
88
- },
89
- ],
90
- });
1
+ export { default } from "./oxlint.config.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "two-stroke",
3
- "version": "8.0.19",
3
+ "version": "8.0.21",
4
4
  "description": "Simple Cloudflare Worker framework.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -20,7 +20,7 @@
20
20
  "type": "module",
21
21
  "main": "src/index.ts",
22
22
  "dependencies": {
23
- "jose": "^6.2.3",
23
+ "jose": "^6.2.4",
24
24
  "mime": "^4.1.0",
25
25
  "msw": "^2.15.0",
26
26
  "openapi-fetch": "^0.17.0",
@@ -30,11 +30,11 @@
30
30
  "zod": "^4.4.3"
31
31
  },
32
32
  "devDependencies": {
33
- "@cloudflare/vitest-pool-workers": "^0.18.6",
34
- "knip": "^6.27.0",
35
- "oxfmt": "^0.59.0",
36
- "oxlint": "^1.74.0",
37
- "oxlint-tsgolint": "^0.25.0",
33
+ "@cloudflare/vitest-pool-workers": "^0.18.8",
34
+ "knip": "^6.29.0",
35
+ "oxfmt": "^0.61.0",
36
+ "oxlint": "^1.76.0",
37
+ "oxlint-tsgolint": "^7.0.2001",
38
38
  "vitest": "^4.1.10"
39
39
  },
40
40
  "peerDependencies": {
package/tsconfig.json CHANGED
@@ -18,5 +18,5 @@
18
18
  ],
19
19
  "verbatimModuleSyntax": true
20
20
  },
21
- "exclude": ["../../dist"]
21
+ "exclude": ["../../dist", "oxfmt.config.ts", "oxlint.config.ts"]
22
22
  }
package/.dev.vars DELETED
@@ -1,13 +0,0 @@
1
- KINESIS_STREAM_NAME_V2='stats-staging'
2
- LABS_PRIVATE_KEY='-----BEGIN PRIVATE KEY-----
3
- MHcCAQEEIIxvGyCDhlUPt/qtN5f/hC4E+hZwDuXYuWkuyfXvryODoAoGCCqGSM49
4
- AwEHoUQDQgAEiF1qwGKkrcJqKKZfrjhNBSNGQVIirBf/EqQew3AX5CPulJ8zWCtJ
5
- 5j1TPJ7eYk4yggf3ev9itLQkldcN2iio9w==
6
- -----END PRIVATE KEY-----'
7
- SENTRY_DSN=''
8
- SENTRY_ENVIRONMENT='dev'
9
- SENTRY_TRACES_SAMPLE_RATE='0.0'
10
- SLACK_SUPABASE_PUBLIC_KEY=''
11
- TOKEN_AUDIENCE='https://app.staging.changeengine.com'
12
- TOKEN_HASH='djAxK53LHnKwRRNu3XUKxhmpFwGGoP/+pPcWvtmFh11/gvE7O83xi8DXR0USwOZAtAdbIlnU'
13
- TOKEN_ISSUER='https://ce-staging.us.auth0.com/'