@plumeria/next-plugin 19.10.1 → 19.10.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/index.js CHANGED
@@ -49,7 +49,7 @@ function supportsRuleCondition() {
49
49
  }
50
50
  function withPlumeria(nextConfig = {}, { lint = true, ...options } = {}) {
51
51
  if (lint)
52
- (0, lint_1.startNextLintGuard)((0, guard_1.spellingRules)(options));
52
+ (0, lint_1.startNextLintGuard)((0, guard_1.lintOverrides)(options));
53
53
  const globalRef = global;
54
54
  if (!globalRef.__PLUMERIA_RESET_DONE__) {
55
55
  globalRef.__PLUMERIA_RESET_DONE__ = true;
package/dist/lint.d.ts CHANGED
@@ -1 +1,2 @@
1
- export declare function startNextLintGuard(rules?: Record<string, unknown>, argv?: string[]): boolean;
1
+ import { type LintOverrides } from '@plumeria/eslint-plugin/guard';
2
+ export declare function startNextLintGuard(overrides?: LintOverrides, argv?: string[]): boolean;
package/dist/lint.js CHANGED
@@ -36,9 +36,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.startNextLintGuard = startNextLintGuard;
37
37
  const path = __importStar(require("path"));
38
38
  const guard_1 = require("@plumeria/eslint-plugin/guard");
39
- function startNextLintGuard(rules = {}, argv = process.argv) {
39
+ function startNextLintGuard(overrides = {}, argv = process.argv) {
40
40
  const [, bin = '', ...args] = argv;
41
41
  if (path.basename(bin) !== 'next' || !args.includes('build'))
42
42
  return false;
43
- return (0, guard_1.startLintGuard)(rules);
43
+ return (0, guard_1.startLintGuard)(overrides);
44
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plumeria/next-plugin",
3
- "version": "19.10.1",
3
+ "version": "19.10.2",
4
4
  "description": "Plumeria Next.js plugin",
5
5
  "author": "Refirst 11",
6
6
  "license": "MIT",
@@ -37,8 +37,8 @@
37
37
  "dist/"
38
38
  ],
39
39
  "dependencies": {
40
- "@plumeria/eslint-plugin": "19.10.1",
41
- "@plumeria/turbopack-loader": "19.10.1"
40
+ "@plumeria/eslint-plugin": "19.10.2",
41
+ "@plumeria/turbopack-loader": "19.10.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "next": "^16.3.8",