All checks were successful
CI / container-job (push) Successful in 43s
- ace.js: use ts-node-maintained - adonisrc.ts: load vite_provider, sett assetBundler to false, addd hooks property - Dockerfile: change to node version 22 - package.json: remove babel depencies; add @swc/wasm, add vitejs/plugin-vue, add hot-hook, add vite, update eslint-config-prettier, tailwindcss, ts-node-maintained - new vite.config.js and config/vite.ts - inertia.js - improved own vinejs_provider.ts - adapted app.css needed for vitejs - adapted app.ts: new resolve method neede for vitejs relocated resources/js/logo.svg - remove Buffer import into FileUpload.vue - Create.vue: improved submit needed for @inertiajs/vue3 form helper - Edit.vue: mproved submit needed for @inertiajs/vue3 form helper - kernel.ts: load vite_middleware - formated rotes.ts file - rewritten allowed_extensions_mimetypes.ts file (removed typescript errors)
25 lines
734 B
JavaScript
25 lines
734 B
JavaScript
/*
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| JavaScript entrypoint for running ace commands
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Since, we cannot run TypeScript source code using "node" binary, we need
|
|
| a JavaScript entrypoint to run ace commands.
|
|
|
|
|
| This file registers the "ts-node/esm" hook with the Node.js module system
|
|
| and then imports the "bin/console.ts" file.
|
|
|
|
|
*/
|
|
|
|
/**
|
|
* Register hook to process TypeScript files using ts-node
|
|
*/
|
|
// import { register } from 'node:module';
|
|
// register('ts-node/esm', import.meta.url);
|
|
import 'ts-node-maintained/register/esm';
|
|
|
|
/**
|
|
* Import ace console entrypoint
|
|
*/
|
|
await import('./bin/console.js');
|