Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit c60f39e

Browse files
authored
feat(templates): deprecate server templates (#501)
1 parent c0a07a9 commit c60f39e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4
-2553
lines changed

README.md

-9
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,6 @@ yarn create nuxt-app <my-project>
5252
- [Tailwind CSS](https://github.com/tailwindcss/tailwindcss)
5353
- [Vuesax](https://github.com/lusaxweb/vuesax)
5454
- [Vuetify](https://github.com/vuetifyjs/vuetify)
55-
1. Choose between integrated server-side frameworks:
56-
- None (Nuxt default server)
57-
- [Adonis](https://github.com/adonisjs/adonis-framework)
58-
- [Express](https://github.com/expressjs/express)
59-
- [Fastify](https://github.com/fastify/fastify)
60-
- [Feathers](https://github.com/feathersjs/feathers)
61-
- [Hapi](https://github.com/hapijs/hapi)
62-
- [Koa](https://github.com/koajs/koa)
63-
- [Micro](https://github.com/zeit/micro)
6455
1. Choose the runtime for TypeScript (if you choose TypeScript)
6556
- Default
6657
- [@nuxt/typescript-runtime](https://github.com/nuxt/typescript)

packages/cna-template/template/_.eslintrc.js

-5
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@ module.exports = {
44
browser: true,
55
node: true
66
},
7-
<%_ if (server === 'adonis') { _%>
8-
globals: {
9-
use: true
10-
},
11-
<%_ } _%>
127
<%_ if (!typescript) { _%>
138
parserOptions: {
149
parser: 'babel-eslint'

packages/cna-template/template/_jsconfig.json

-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,8 @@
22
"compilerOptions": {
33
"baseUrl": ".",
44
"paths": {
5-
<%_ if (server === 'adonis') { _%>
6-
"~/*": ["./resources/*"],
7-
"@/*": ["./resources/*"],
8-
<%_ } else { _%>
95
"~/*": ["./*"],
106
"@/*": ["./*"],
11-
<%_ } _%>
127
"~~/*": ["./*"],
138
"@@/*": ["./*"]
149
}

packages/cna-template/template/frameworks/adonis/.env

-17
This file was deleted.

packages/cna-template/template/frameworks/adonis/.env.example

-17
This file was deleted.

packages/cna-template/template/frameworks/adonis/README.md

-56
This file was deleted.

packages/cna-template/template/frameworks/adonis/ace

-21
This file was deleted.

packages/cna-template/template/frameworks/adonis/app/Commands/NuxtBuild.js

-41
This file was deleted.

packages/cna-template/template/frameworks/adonis/app/Controllers/Http/NuxtController.js

-17
This file was deleted.

packages/cna-template/template/frameworks/adonis/app/Models/Hooks/.gitkeep

Whitespace-only changes.

packages/cna-template/template/frameworks/adonis/app/Models/Hooks/User.js

-20
This file was deleted.

packages/cna-template/template/frameworks/adonis/app/Models/Token.js

-8
This file was deleted.

packages/cna-template/template/frameworks/adonis/app/Models/User.js

-34
This file was deleted.

0 commit comments

Comments
 (0)