@lenne.tech/nuxt-extensions 1.24.0 → 1.24.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/CLAUDE.md CHANGED
@@ -433,6 +433,10 @@ fields at `app:beforeMount` and restores them at `app:mounted`, dispatching a sy
433
433
  relative `extends` points at nothing, and `oxlint --type-aware` then stops every vendored project's
434
434
  `check` with `Invalid tsconfig`. Nitro code is typechecked through the root `tsconfig.server.json`.
435
435
  No gate here runs in vendor mode, so `test/vendored-core.test.ts` holds this.
436
+ - **nuxt-base-starter lints `app/core/**` with a subset of the plugins in `.oxlintrc.json`, never
437
+ more**, and `lint` here runs with `--deny-warnings`. A plugin only the starter applies reports its
438
+ warnings in every generated project after the release; the 1.24.0 smoke test found three. A plugin
439
+ the starter wants for `app/core/**` is added here first.
436
440
  - **The `nuxt/schema` blocks in `runtime/types/module.ts` augment `PublicRuntimeConfig` and nothing
437
441
  else.** Vendoring turns them into project source, where they cause TS2310, and the cli removes a
438
442
  block only while it holds that one interface. Type server-only config where it is read.
package/dist/module.d.mts CHANGED
@@ -3,7 +3,7 @@ import { LtExtensionsModuleOptions } from '../dist/runtime/types/index.js';
3
3
  export * from '../dist/runtime/types/index.js';
4
4
 
5
5
  declare const name = "@lenne.tech/nuxt-extensions";
6
- declare const version = "1.24.0";
6
+ declare const version = "1.24.1";
7
7
  declare const configKey = "ltExtensions";
8
8
  declare const DEFAULT_LT_AUTH_STATE_COOKIE = "lt-auth-state";
9
9
  declare const DEFAULT_LT_JWT_TOKEN_COOKIE = "lt-jwt-token";
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "configKey": "ltExtensions",
3
3
  "name": "@lenne.tech/nuxt-extensions",
4
- "version": "1.24.0",
4
+ "version": "1.24.1",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.3",
7
7
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { pathToFileURL } from 'node:url';
3
3
  import { SECURITY_TXT_DEFAULT_VALID_DAYS, SECURITY_TXT_DEFAULT_LANGUAGES, SECURITY_TXT_DEFAULT_CONTACT, SECURITY_TXT_PATH } from '../dist/runtime/server/lib/security-txt.js';
4
4
 
5
5
  const name = "@lenne.tech/nuxt-extensions";
6
- const version = "1.24.0";
6
+ const version = "1.24.1";
7
7
  const configKey = "ltExtensions";
8
8
  const DEFAULT_LT_AUTH_STATE_COOKIE = "lt-auth-state";
9
9
  const DEFAULT_LT_JWT_TOKEN_COOKIE = "lt-jwt-token";
@@ -74,15 +74,15 @@ function connectHub(key, hub) {
74
74
  hub.close = openLtSyncHints({
75
75
  models: models.split(","),
76
76
  onConnect: () => {
77
- for (const subscriber of [...hub.subscribers]) subscriber.onConnect();
77
+ for (const subscriber of Array.from(hub.subscribers)) subscriber.onConnect();
78
78
  },
79
79
  onHint: (model) => {
80
- for (const subscriber of [...hub.subscribers]) if (subscriber.model === model) subscriber.onHint();
80
+ for (const subscriber of Array.from(hub.subscribers)) if (subscriber.model === model) subscriber.onHint();
81
81
  },
82
82
  onStop: (reason) => {
83
83
  hub.close = void 0;
84
84
  hub.models = "";
85
- for (const subscriber of [...hub.subscribers]) subscriber.onStop?.(reason);
85
+ for (const subscriber of Array.from(hub.subscribers)) subscriber.onStop?.(reason);
86
86
  },
87
87
  tenantId: key || void 0
88
88
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lenne.tech/nuxt-extensions",
3
- "version": "1.24.0",
3
+ "version": "1.24.1",
4
4
  "description": "Reusable Nuxt 4 composables, components, and Better-Auth integration for lenne.tech projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,8 +60,8 @@
60
60
  "dev:build": "nuxt build playground",
61
61
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxt prepare playground",
62
62
  "build": "nuxt-module-build build",
63
- "lint": "oxlint --type-aware src/ scripts/",
64
- "lint:fix": "oxlint --type-aware --fix src/ scripts/",
63
+ "lint": "oxlint --type-aware --deny-warnings src/ scripts/",
64
+ "lint:fix": "oxlint --type-aware --deny-warnings --fix src/ scripts/",
65
65
  "format": "oxfmt --write src/",
66
66
  "format:check": "oxfmt --check src/",
67
67
  "version:sync": "node scripts/sync-module-version.mjs",