Skip to content

Commit

Permalink
Merge pull request #18 from Dolu89/v3
Browse files Browse the repository at this point in the history
chore: version 3
  • Loading branch information
Dolu89 authored Jan 21, 2024
2 parents 6239ad7 + 17a57a7 commit 961297e
Show file tree
Hide file tree
Showing 85 changed files with 12,781 additions and 10,230 deletions.
31 changes: 0 additions & 31 deletions .adonisrc.json

This file was deleted.

14 changes: 0 additions & 14 deletions .editorconfig

This file was deleted.

19 changes: 7 additions & 12 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
PORT=3333
HOST=0.0.0.0
APP_URL=http://localhost:3333
APP_URL=https://bips.local
NODE_ENV=development
APP_KEY=3lHJjxzBGtaMR7OudwgF0BqLwBZvOxqI
SESSION_DRIVER=cookie
PORT=7894
APP_KEY=
HOST=127.0.0.1
LOG_LEVEL=debug
CACHE_VIEWS=false
GITHUB_TOKEN=ghp_
REDIS_CONNECTION=local
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_PASSWORD=
GM2HTML_URL=http://gm2html.local
UPDATE_KEY=
GITHUB_API_KEY=
CACHE_FOLDER=./cache
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

7 changes: 0 additions & 7 deletions .eslintrc.json

This file was deleted.

12 changes: 5 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_modules
build
coverage
.vscode
.DS_STORE
node_modules/
.env
tmp
public/sitemap*
cache
public/sitemap*.*
**/.DS_Store
build
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

10 changes: 0 additions & 10 deletions .prettierrc

This file was deleted.

1 change: 0 additions & 1 deletion Procfile

This file was deleted.

22 changes: 0 additions & 22 deletions README.md

This file was deleted.

16 changes: 0 additions & 16 deletions ace

This file was deleted.

54 changes: 0 additions & 54 deletions ace-manifest.json

This file was deleted.

23 changes: 23 additions & 0 deletions ace.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
|--------------------------------------------------------------------------
| 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 ace console entrypoint
*/
await import('./bin/console.js')
88 changes: 88 additions & 0 deletions adonisrc.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
import { defineConfig } from '@adonisjs/core/app'

export default defineConfig({
/*
|--------------------------------------------------------------------------
| Commands
|--------------------------------------------------------------------------
|
| List of ace commands to register from packages. The application commands
| will be scanned automatically from the "./commands" directory.
|
*/
commands: [() => import('@adonisjs/core/commands'), () => import('@adonisjs/cache/commands')],

/*
|--------------------------------------------------------------------------
| Service providers
|--------------------------------------------------------------------------
|
| List of service providers to import and register when booting the
| application
|
*/
providers: [
() => import('@adonisjs/core/providers/app_provider'),
() => import('@adonisjs/core/providers/hash_provider'),
{
file: () => import('@adonisjs/core/providers/repl_provider'),
environment: ['repl', 'test'],
},
() => import('@adonisjs/core/providers/edge_provider'),
() => import('@adonisjs/vite/vite_provider'),
() => import('@adonisjs/core/providers/vinejs_provider'),
() => import('#providers/app_provider'),
() => import('@adonisjs/static/static_provider'),
() => import('@adonisjs/cache/cache_provider')
],

/*
|--------------------------------------------------------------------------
| Preloads
|--------------------------------------------------------------------------
|
| List of modules to import before starting the application.
|
*/
preloads: [
() => import('#start/routes'),
() => import('#start/kernel'),
() => import('#start/jobs'),
() => import('#start/view'),
],

/*
|--------------------------------------------------------------------------
| Tests
|--------------------------------------------------------------------------
|
| List of test suites to organize tests by their type. Feel free to remove
| and add additional suites.
|
*/
tests: {
suites: [
{
files: ['tests/unit/**/*.spec(.ts|.js)'],
name: 'unit',
timeout: 2000,
},
{
files: ['tests/functional/**/*.spec(.ts|.js)'],
name: 'functional',
timeout: 30000,
},
],
forceExit: false,
},
metaFiles: [
{
pattern: 'resources/views/**/*.edge',
reloadServer: false,
},
{
pattern: 'public/**',
reloadServer: false,
},
],
})
70 changes: 0 additions & 70 deletions app/Controllers/Http/BipsController.ts

This file was deleted.

Loading

0 comments on commit 961297e

Please sign in to comment.