Enhance refactor commands with controller-aware Route() updates and fix code quality violations
Add semantic token highlighting for 'that' variable and comment file references in VS Code extension Add Phone_Text_Input and Currency_Input components with formatting utilities Implement client widgets, form standardization, and soft delete functionality Add modal scroll lock and update documentation Implement comprehensive modal system with form integration and validation Fix modal component instantiation using jQuery plugin API Implement modal system with responsive sizing, queuing, and validation support Implement form submission with validation, error handling, and loading states Implement country/state selectors with dynamic data loading and Bootstrap styling Revert Rsx::Route() highlighting in Blade/PHP files Target specific PHP scopes for Rsx::Route() highlighting in Blade Expand injection selector for Rsx::Route() highlighting Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls Update jqhtml packages to v2.2.165 Add bundle path validation for common mistakes (development mode only) Create Ajax_Select_Input widget and Rsx_Reference_Data controller Create Country_Select_Input widget with default country support Initialize Tom Select on Select_Input widgets Add Tom Select bundle for enhanced select dropdowns Implement ISO 3166 geographic data system for country/region selection Implement widget-based form system with disabled state support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
13
node_modules/ts-jest/dist/legacy/compiler/ts-compiler.js
generated
vendored
13
node_modules/ts-jest/dist/legacy/compiler/ts-compiler.js
generated
vendored
@@ -140,9 +140,6 @@ class TsCompiler {
|
||||
getCompiledOutput(fileContent, fileName, options) {
|
||||
const isEsmMode = this.configSet.useESM && options.supportsStaticESM;
|
||||
this._compilerOptions = this.fixupCompilerOptionsForModuleKind(this._initialCompilerOptions, isEsmMode);
|
||||
if ((0, transpile_module_1.isModernNodeModuleKind)(this._initialCompilerOptions.module) && !this.configSet.isolatedModules) {
|
||||
this._logger.warn("Using hybrid module kind (Node16/18/Next) is only supported in \"transpilation: true\". Please set \"transpilation: true\" in for `ts-jest` config in your Jest config file, see https://kulshekhar.github.io/ts-jest/docs/getting-started/options/transpilation" /* Helps.UsingModernNodeResolution */);
|
||||
}
|
||||
const moduleKind = this._initialCompilerOptions.module;
|
||||
const currentModuleKind = this._compilerOptions.module;
|
||||
if (this._languageService) {
|
||||
@@ -157,6 +154,16 @@ class TsCompiler {
|
||||
this._updateMemoryCache(fileContent, fileName, currentModuleKind === moduleKind);
|
||||
const output = this._languageService.getEmitOutput(fileName);
|
||||
const diagnostics = this.getDiagnostics(fileName);
|
||||
if ((0, transpile_module_1.isModernNodeModuleKind)(this._initialCompilerOptions.module)) {
|
||||
diagnostics.push({
|
||||
category: this._ts.DiagnosticCategory.Message,
|
||||
code: utils_1.TsJestDiagnosticCodes.ModernNodeModule,
|
||||
messageText: messages_1.Helps.UsingModernNodeResolution,
|
||||
file: undefined,
|
||||
start: undefined,
|
||||
length: undefined,
|
||||
});
|
||||
}
|
||||
if (!isEsmMode && diagnostics.length) {
|
||||
this.configSet.raiseDiagnostics(diagnostics, fileName, this._logger);
|
||||
if (options.watchMode) {
|
||||
|
||||
2
node_modules/ts-jest/dist/legacy/config/config-set.d.ts
generated
vendored
2
node_modules/ts-jest/dist/legacy/config/config-set.d.ts
generated
vendored
@@ -1,6 +1,6 @@
|
||||
import { Logger } from 'bs-logger';
|
||||
import type * as ts from 'typescript';
|
||||
import type { TsConfigCompilerOptionsJson } from '../../config/types';
|
||||
import type { TsConfigCompilerOptionsJson } from '../../config';
|
||||
import type { RawCompilerOptions } from '../../raw-compiler-options';
|
||||
import type { TsJestAstTransformer, TsJestTransformOptions, TTypeScript } from '../../types';
|
||||
export declare class ConfigSet {
|
||||
|
||||
14
node_modules/ts-jest/dist/legacy/config/config-set.js
generated
vendored
14
node_modules/ts-jest/dist/legacy/config/config-set.js
generated
vendored
@@ -216,9 +216,17 @@ class ConfigSet {
|
||||
this._matchTestFilePath = (0, jest_util_1.globsToMatcher)(this._matchablePatterns.filter((pattern) => typeof pattern === 'string'));
|
||||
// isolatedModules
|
||||
if (options.isolatedModules) {
|
||||
this.logger.warn("\n The \"ts-jest\" config option \"isolatedModules\" is deprecated and will be removed in v30.0.0. Please use \"transpilation: true\" instead, see https://kulshekhar.github.io/ts-jest/docs/getting-started/options/transpilation\n " /* Deprecations.ReplaceIsolatedModulesWithTranspilation */);
|
||||
this.parsedTsConfig.options.isolatedModules = true;
|
||||
if (this.tsconfigFilePath) {
|
||||
this.logger.warn((0, messages_1.interpolate)("\n The \"ts-jest\" config option \"isolatedModules\" is deprecated and will be removed in v30.0.0. Please use \"isolatedModules: true\" in {{tsconfigFilePath}} instead, see https://www.typescriptlang.org/tsconfig/#isolatedModules\n " /* Deprecations.IsolatedModulesWithTsconfigPath */, {
|
||||
tsconfigFilePath: this.tsconfigFilePath,
|
||||
}));
|
||||
}
|
||||
else {
|
||||
this.logger.warn("\n The \"ts-jest\" config option \"isolatedModules\" is deprecated and will be removed in v30.0.0. Please use \"isolatedModules: true\", see https://www.typescriptlang.org/tsconfig/#isolatedModules\n " /* Deprecations.IsolatedModulesWithoutTsconfigPath */);
|
||||
}
|
||||
}
|
||||
this.isolatedModules = options.isolatedModules ?? options.transpilation ?? false;
|
||||
this.isolatedModules = this.parsedTsConfig.options.isolatedModules ?? false;
|
||||
this._resolveTsCacheDir();
|
||||
}
|
||||
/**
|
||||
@@ -441,7 +449,7 @@ class ConfigSet {
|
||||
!warningModulesForEsmInterop.includes(moduleValue) &&
|
||||
!(finalOptions.esModuleInterop || finalOptions.allowSyntheticDefaultImports)) {
|
||||
result.errors.push({
|
||||
code: messages_1.TsJestDiagnosticCodes.ConfigModuleOption,
|
||||
code: utils_1.TsJestDiagnosticCodes.ConfigModuleOption,
|
||||
messageText: "If you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information." /* Errors.ConfigNoModuleInterop */,
|
||||
category: this.compilerModule.DiagnosticCategory.Message,
|
||||
file: undefined,
|
||||
|
||||
4
node_modules/ts-jest/dist/transpilers/typescript/transpile-module.js
generated
vendored
4
node_modules/ts-jest/dist/transpilers/typescript/transpile-module.js
generated
vendored
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.tsTranspileModule = exports.isModernNodeModuleKind = void 0;
|
||||
const node_path_1 = __importDefault(require("node:path"));
|
||||
const typescript_1 = __importDefault(require("typescript"));
|
||||
const messages_1 = require("../../utils/messages");
|
||||
const utils_1 = require("../../utils");
|
||||
const barebonesLibContent = `/// <reference no-default-lib="true"/>
|
||||
interface Boolean {}
|
||||
interface Function {}
|
||||
@@ -160,7 +160,7 @@ const transpileWorker = (input, transpileOptions) => {
|
||||
if (outputText === undefined) {
|
||||
diagnostics.push({
|
||||
category: typescript_1.default.DiagnosticCategory.Error,
|
||||
code: messages_1.TsJestDiagnosticCodes.Generic,
|
||||
code: utils_1.TsJestDiagnosticCodes.Generic,
|
||||
messageText: 'No output generated',
|
||||
file: sourceFile,
|
||||
start: 0,
|
||||
|
||||
12
node_modules/ts-jest/dist/types.d.ts
generated
vendored
12
node_modules/ts-jest/dist/types.d.ts
generated
vendored
@@ -39,15 +39,13 @@ export type TsJestGlobalOptions = Config.TransformerConfig[1] & {
|
||||
*/
|
||||
tsconfig?: boolean | string | RawCompilerOptions | TsConfigCompilerOptionsJson;
|
||||
/**
|
||||
* @deprecated use {@link transpilation} instead
|
||||
* @deprecated use {@link TsConfigCompilerOptionsJson.isolatedModules} instead
|
||||
*
|
||||
* Compiles files as isolated modules (disables some features)
|
||||
*
|
||||
* @default `undefined` (disables transpiling files with {@link _ts.transpileModule})
|
||||
*/
|
||||
isolatedModules?: boolean;
|
||||
/**
|
||||
* Compiles files using {@link _ts.transpileModule})
|
||||
*
|
||||
* @default `undefined` (disables)
|
||||
*/
|
||||
transpilation?: boolean;
|
||||
/**
|
||||
* Compiler to use
|
||||
*
|
||||
|
||||
2
node_modules/ts-jest/dist/utils/backports.js
generated
vendored
2
node_modules/ts-jest/dist/utils/backports.js
generated
vendored
@@ -84,7 +84,7 @@ const backportJestConfig = (logger, config) => {
|
||||
}
|
||||
// if we had some warnings we can inform the user about the CLI tool
|
||||
if (hadWarnings) {
|
||||
logger.warn(context, "Your Jest configuration is outdated. Use the CLI to help migrating it: ts-jest config:migrate <config-file>." /* Helps.MigrateConfigUsingCLI */);
|
||||
logger.warn(context, messages_1.Helps.MigrateConfigUsingCLI);
|
||||
}
|
||||
return {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
|
||||
5
node_modules/ts-jest/dist/utils/diagnostics.d.ts
generated
vendored
Executable file
5
node_modules/ts-jest/dist/utils/diagnostics.d.ts
generated
vendored
Executable file
@@ -0,0 +1,5 @@
|
||||
export declare const TsJestDiagnosticCodes: {
|
||||
readonly Generic: 151000;
|
||||
readonly ConfigModuleOption: 151001;
|
||||
readonly ModernNodeModule: 151002;
|
||||
};
|
||||
8
node_modules/ts-jest/dist/utils/diagnostics.js
generated
vendored
Executable file
8
node_modules/ts-jest/dist/utils/diagnostics.js
generated
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TsJestDiagnosticCodes = void 0;
|
||||
exports.TsJestDiagnosticCodes = {
|
||||
Generic: 151000,
|
||||
ConfigModuleOption: 151001,
|
||||
ModernNodeModule: 151002,
|
||||
};
|
||||
2
node_modules/ts-jest/dist/utils/importer.js
generated
vendored
2
node_modules/ts-jest/dist/utils/importer.js
generated
vendored
@@ -90,7 +90,7 @@ class Importer {
|
||||
installTip = [{ module: installTip, label: `install "${installTip}"` }];
|
||||
}
|
||||
const fix = installTip
|
||||
.map((tip) => ` ${installTip.length === 1 ? '↳' : '•'} ${(0, messages_1.interpolate)("{{label}}: `npm i -D {{module}}` (or `yarn add --dev {{module}}`)" /* Helps.FixMissingModule */, tip)}`)
|
||||
.map((tip) => ` ${installTip.length === 1 ? '↳' : '•'} ${(0, messages_1.interpolate)(messages_1.Helps.FixMissingModule, tip)}`)
|
||||
.join('\n');
|
||||
throw new Error((0, messages_1.interpolate)(msg, {
|
||||
module: loadModule,
|
||||
|
||||
1
node_modules/ts-jest/dist/utils/index.d.ts
generated
vendored
1
node_modules/ts-jest/dist/utils/index.d.ts
generated
vendored
@@ -1,3 +1,4 @@
|
||||
export * from './json';
|
||||
export * from './jsonable-value';
|
||||
export * from './logger';
|
||||
export * from './diagnostics';
|
||||
|
||||
1
node_modules/ts-jest/dist/utils/index.js
generated
vendored
1
node_modules/ts-jest/dist/utils/index.js
generated
vendored
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
||||
__exportStar(require("./json"), exports);
|
||||
__exportStar(require("./jsonable-value"), exports);
|
||||
__exportStar(require("./logger"), exports);
|
||||
__exportStar(require("./diagnostics"), exports);
|
||||
|
||||
5
node_modules/ts-jest/dist/utils/messages.d.ts
generated
vendored
5
node_modules/ts-jest/dist/utils/messages.d.ts
generated
vendored
@@ -1,4 +1 @@
|
||||
export declare const TsJestDiagnosticCodes: {
|
||||
readonly Generic: 151000;
|
||||
readonly ConfigModuleOption: 151001;
|
||||
};
|
||||
export {};
|
||||
|
||||
15
node_modules/ts-jest/dist/utils/messages.js
generated
vendored
15
node_modules/ts-jest/dist/utils/messages.js
generated
vendored
@@ -1,7 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.TsJestDiagnosticCodes = void 0;
|
||||
exports.Helps = void 0;
|
||||
exports.interpolate = interpolate;
|
||||
const diagnostics_1 = require("./diagnostics");
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
exports.Helps = {
|
||||
FixMissingModule: '{{label}}: `npm i -D {{module}}` (or `yarn add --dev {{module}}`)',
|
||||
MigrateConfigUsingCLI: 'Your Jest configuration is outdated. Use the CLI to help migrating it: ts-jest config:migrate <config-file>.',
|
||||
UsingModernNodeResolution: `Using hybrid module kind (Node16/18/Next) is only supported in "isolatedModules: true". Please set "isolatedModules: true" in your tsconfig.json. To disable this message, you can set "diagnostics.ignoreCodes" to include ${diagnostics_1.TsJestDiagnosticCodes.ModernNodeModule} in your ts-jest config. See more at https://kulshekhar.github.io/ts-jest/docs/getting-started/options/diagnostics`,
|
||||
};
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
@@ -10,7 +19,3 @@ function interpolate(msg, vars = {}) {
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
return msg.replace(/\{\{([^\}]+)\}\}/g, (_, key) => (key in vars ? vars[key] : _));
|
||||
}
|
||||
exports.TsJestDiagnosticCodes = {
|
||||
Generic: 151000,
|
||||
ConfigModuleOption: 151001,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user