From ac76a36a985d262e7766c76e69f41b81725fb7fd Mon Sep 17 00:00:00 2001 From: Vinayak Sarawagi Date: Sun, 6 Oct 2024 23:37:25 +0530 Subject: [PATCH 1/3] changed the default grouping logic for command listing --- lib/console/commands/listCommands.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/console/commands/listCommands.ts b/lib/console/commands/listCommands.ts index f1280ba..59bbdf9 100644 --- a/lib/console/commands/listCommands.ts +++ b/lib/console/commands/listCommands.ts @@ -29,7 +29,9 @@ export class ListCommands { const formattedRows = columnify(list, { padStart: 2 }); const groups = {}; for (const row of formattedRows) { - const group = Str.before(row[0], ':').trim(); + const group = Str.contains(row[0], ':') + ? Str.before(row[0], ':').trim() + : '#'; if (groups[group]) { groups[group].push(row); } else { @@ -60,7 +62,6 @@ export class ListCommands { ); console.log(); console.log(printRows.join('\n')); - console.log(); process.exit(); } From f46eef37a2b4a5cf4c3f0370aa84f5fa816a16a0 Mon Sep 17 00:00:00 2001 From: Vinayak Sarawagi Date: Sun, 6 Oct 2024 23:38:20 +0530 Subject: [PATCH 2/3] change dev-server commands to build and dev --- lib/dev-server/build.ts | 2 +- lib/dev-server/serve.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dev-server/build.ts b/lib/dev-server/build.ts index 489956b..c16d563 100644 --- a/lib/dev-server/build.ts +++ b/lib/dev-server/build.ts @@ -3,7 +3,7 @@ import { getTime, Package } from '../utils'; import pc from 'picocolors'; @Command( - `server:build + `build {--c|config : Path to the .intentrc file.} {--t|tsconfig : Path to tsconfig file.} {--d|debug : Run in debug mode (with --inspect flag).} diff --git a/lib/dev-server/serve.ts b/lib/dev-server/serve.ts index 190d73f..d94be2b 100644 --- a/lib/dev-server/serve.ts +++ b/lib/dev-server/serve.ts @@ -2,7 +2,7 @@ import { Command, ConsoleIO } from '../console'; import { Package } from '../utils'; @Command( - `server:dev + `dev {--config : Path to intent.config.json file} {--debug : Start debug mode in the server} `, From 8dffbf9653b6318c6e84d826898604c68d44bc75 Mon Sep 17 00:00:00 2001 From: Vinayak Sarawagi Date: Mon, 7 Oct 2024 00:11:19 +0530 Subject: [PATCH 3/3] now a command can wait if it doesnt accept true as the return value. --- lib/config/command.ts | 4 +- lib/console/commands/listCommands.ts | 4 +- lib/console/interfaces/index.ts | 2 +- lib/console/runner.ts | 4 +- lib/database/commands/migrations.ts | 30 +- package-lock.json | 484 +-------------------------- package.json | 2 +- 7 files changed, 26 insertions(+), 504 deletions(-) diff --git a/lib/config/command.ts b/lib/config/command.ts index 3cc7ebc..087b6e3 100644 --- a/lib/config/command.ts +++ b/lib/config/command.ts @@ -13,7 +13,7 @@ export class ViewConfigCommand { @Command('config:view {namespace}', { desc: 'Command to view config for a given namespace', }) - async handle(_cli: ConsoleIO): Promise { + async handle(_cli: ConsoleIO): Promise { const namespace = _cli.argument('namespace'); const config = this.config.get(namespace); if (!config) { @@ -31,6 +31,6 @@ export class ViewConfigCommand { // eslint-disable-next-line no-console console.log(printRows.join('\n')); - process.exit(); + return true; } } diff --git a/lib/console/commands/listCommands.ts b/lib/console/commands/listCommands.ts index 59bbdf9..b42406b 100644 --- a/lib/console/commands/listCommands.ts +++ b/lib/console/commands/listCommands.ts @@ -11,7 +11,7 @@ import { CommandMeta } from '../metadata'; @Injectable() @Command('list', { desc: 'Command to list all the commands' }) export class ListCommands { - public async handle(): Promise { + public async handle(): Promise { const commands = CommandMeta.getAllCommands(); const list = []; @@ -63,6 +63,6 @@ export class ListCommands { console.log(); console.log(printRows.join('\n')); - process.exit(); + return true; } } diff --git a/lib/console/interfaces/index.ts b/lib/console/interfaces/index.ts index 9ef91ea..cb76c43 100644 --- a/lib/console/interfaces/index.ts +++ b/lib/console/interfaces/index.ts @@ -6,7 +6,7 @@ export interface CommandMetaOptions { } export interface CommandObject extends ArgumentParserOutput { - target: (cli: ConsoleIO) => Promise; + target: (cli: ConsoleIO) => Promise; expression: string; meta: CommandMetaOptions; } diff --git a/lib/console/runner.ts b/lib/console/runner.ts index f1a3748..fa97898 100644 --- a/lib/console/runner.ts +++ b/lib/console/runner.ts @@ -42,7 +42,9 @@ export class CommandRunner { console.log(_cli); } - await command.target(_cli); + const returnFromCommand = await command.target(_cli); + returnFromCommand && process.exit(1); + return; } diff --git a/lib/database/commands/migrations.ts b/lib/database/commands/migrations.ts index 052db80..2faa646 100644 --- a/lib/database/commands/migrations.ts +++ b/lib/database/commands/migrations.ts @@ -11,7 +11,7 @@ export class DbOperationsCommand { @Command('migrate:status {--connection==}', { desc: 'Command to show the status of all migrations', }) - async migrateStatus(_cli: ConsoleIO): Promise { + async migrateStatus(_cli: ConsoleIO): Promise { const options = ObjectionService.config; const conn = _cli.option('connection') || options.default; @@ -31,13 +31,13 @@ export class DbOperationsCommand { } _cli.table(['Migration', 'Status'], statusList); - process.exit(); + return true; } @Command('migrate {--connection==}', { desc: 'Command to run the pending migrations', }) - async migrationUp(_cli: ConsoleIO): Promise { + async migrationUp(_cli: ConsoleIO): Promise { const options = ObjectionService.config; const conn = _cli.option('connection') || options.default; const knex = ObjectionService.connection(conn); @@ -49,7 +49,7 @@ export class DbOperationsCommand { if (migrations.length === 0) { _cli.info('No migrations to run'); - process.exit(); + return true; } _cli.info(`Batch Number: ${batch}`); @@ -57,13 +57,13 @@ export class DbOperationsCommand { _cli.success(migration); } - process.exit(); + return true; } @Command('migrate:rollback {--connection==}', { desc: 'Command to rollback the previous batch of migrations', }) - async migrateRollback(_cli: ConsoleIO) { + async migrateRollback(_cli: ConsoleIO): Promise { const options = ObjectionService.config; const conn = _cli.option('connection') || options.default; const knex = ObjectionService.connection(conn); @@ -75,7 +75,7 @@ export class DbOperationsCommand { if (migrations.length === 0) { _cli.info('No migrations to rollback. Already at the base migration'); - process.exit(); + return true; } _cli.info(`Reverted Batch: ${batch}`); @@ -83,13 +83,13 @@ export class DbOperationsCommand { _cli.success(migration); } - process.exit(); + return true; } @Command('migrate:reset {--connection==}', { desc: 'Command to reset the migration', }) - async migrateReset(_cli: ConsoleIO) { + async migrateReset(_cli: ConsoleIO): Promise { const options = ObjectionService.config; const conn = _cli.option('connection') || options.default; const knex = ObjectionService.connection(conn); @@ -101,7 +101,7 @@ export class DbOperationsCommand { if (!confirm) { _cli.info('Thank you! Exiting...'); - process.exit(); + return true; } const password = await _cli.password( @@ -112,7 +112,7 @@ export class DbOperationsCommand { const conPassword = connConfig.connection?.['password']; if (conPassword && password !== conPassword) { _cli.error(' Wrong Password. Exiting... '); - process.exit(); + return true; } } @@ -122,7 +122,7 @@ export class DbOperationsCommand { if (migrations.length === 0) { _cli.info('No migrations to rollback. Already at the base migration'); - process.exit(); + return true; } _cli.info('Rollback of following migrations are done:'); @@ -130,13 +130,13 @@ export class DbOperationsCommand { _cli.success(migration); } - process.exit(); + return true; } @Command('make:migration {name} {--connection=}', { desc: 'Command to create a new migration', }) - async makeMigration(_cli: ConsoleIO) { + async makeMigration(_cli: ConsoleIO): Promise { const options = ObjectionService.config; const name = _cli.argument('name'); const conn = _cli.option('connection') || options.default; @@ -150,6 +150,6 @@ export class DbOperationsCommand { const paths = res.split('/'); _cli.success(paths[paths.length - 1]); - process.exit(); + return true; } } diff --git a/package-lock.json b/package-lock.json index e9305fa..71dc9f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@intentjs/core", - "version": "0.1.34", + "version": "0.1.35", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@intentjs/core", - "version": "0.1.34", + "version": "0.1.35", "license": "MIT", "dependencies": { "@nestjs/config": "^3.2.0", @@ -698,70 +698,6 @@ "kuler": "^2.0.0" } }, - "node_modules/@esbuild/aix-ppc64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", - "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "aix" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", - "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", - "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", - "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "android" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@esbuild/darwin-arm64": { "version": "0.19.11", "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", @@ -778,294 +714,6 @@ "node": ">=12" } }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", - "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", - "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", - "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "freebsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", - "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", - "cpu": [ - "arm" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", - "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", - "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", - "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", - "cpu": [ - "loong64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", - "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", - "cpu": [ - "mips64el" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", - "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", - "cpu": [ - "ppc64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", - "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", - "cpu": [ - "riscv64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", - "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", - "cpu": [ - "s390x" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", - "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", - "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "netbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", - "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "openbsd" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", - "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "sunos" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", - "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", - "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.19.11", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", - "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">=12" - } - }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", @@ -1980,134 +1628,6 @@ "node": ">= 10" } }, - "node_modules/@next/swc-darwin-x64": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.3.tgz", - "integrity": "sha512-6adp7waE6P1TYFSXpY366xwsOnEXM+y1kgRpjSRVI2CBDOcbRjsJ67Z6EgKIqWIue52d2q/Mx8g9MszARj8IEA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.3.tgz", - "integrity": "sha512-cuzCE/1G0ZSnTAHJPUT1rPgQx1w5tzSX7POXSLaS7w2nIUJUD+e25QoXD/hMfxbsT9rslEXugWypJMILBj/QsA==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.3.tgz", - "integrity": "sha512-0D4/oMM2Y9Ta3nGuCcQN8jjJjmDPYpHX9OJzqk42NZGJocU2MqhBq5tWkJrUQOQY9N+In9xOdymzapM09GeiZw==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.3.tgz", - "integrity": "sha512-ENPiNnBNDInBLyUU5ii8PMQh+4XLr4pG51tOp6aJ9xqFQ2iRI6IH0Ds2yJkAzNV1CfyagcyzPfROMViS2wOZ9w==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.3.tgz", - "integrity": "sha512-BTAbq0LnCbF5MtoM7I/9UeUu/8ZBY0i8SFjUMCbPDOLv+un67e2JgyN4pmgfXBwy/I+RHu8q+k+MCkDN6P9ViQ==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "linux" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.3.tgz", - "integrity": "sha512-AEHIw/dhAMLNFJFJIJIyOFDzrzI5bAjI9J26gbO5xhAKHYTZ9Or04BesFPXiAYXDNdrwTP2dQceYA4dL1geu8A==", - "cpu": [ - "arm64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.3.tgz", - "integrity": "sha512-vga40n1q6aYb0CLrM+eEmisfKCR45ixQYXuBXxOOmmoV8sYST9k7E3US32FsY+CkkF7NtzdcebiFT4CHuMSyZw==", - "cpu": [ - "ia32" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, - "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.3", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.3.tgz", - "integrity": "sha512-Q1/zm43RWynxrO7lW4ehciQVj+5ePBhOK+/K2P7pLFX3JaJ/IZVC69SHidrmZSOkqz7ECIOhhy7XhAFG4JYyHA==", - "cpu": [ - "x64" - ], - "license": "MIT", - "optional": true, - "os": [ - "win32" - ], - "engines": { - "node": ">= 10" - } - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", diff --git a/package.json b/package.json index 9f2d988..f1e9318 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@intentjs/core", - "version": "0.1.34", + "version": "0.1.35", "description": "Core module for Intent", "main": "dist/lib/index.js", "types": "dist/lib/index.d.ts",