Skip to content

Commit

Permalink
refactor: merged latest changes from branch 8.0-jdk17
Browse files Browse the repository at this point in the history
  • Loading branch information
v1nc3n4 committed Jun 12, 2024
1 parent d733637 commit 78cd2fa
Show file tree
Hide file tree
Showing 207 changed files with 12,159 additions and 11,314 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
*.sql text
*.txt text
*.ts text
*.vue text
*.xml text
*.yaml text
*.yml text
Expand Down
21 changes: 0 additions & 21 deletions site/.eslintrc.js

This file was deleted.

17 changes: 17 additions & 0 deletions site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Nuxt dev/build outputs
.output
.data
.nuxt
.nitro
.cache
.yarn
dist

# Node dependencies
node
node_modules

# Local env files
.env
.env.*
!.env.example
7 changes: 0 additions & 7 deletions site/.prettierrc

This file was deleted.

16 changes: 16 additions & 0 deletions site/.prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"arrowParens": "avoid",
"printWidth": 120,
"semi": true,
"singleQuote": true,
"tabWidth": 4,
"useTabs": false,
"overrides": [
{
"files": "*.json",
"options": {
"tabWidth": 2
}
}
]
}
1 change: 1 addition & 0 deletions site/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
enableTelemetry: false

nodeLinker: node-modules
75 changes: 75 additions & 0 deletions site/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install
```

## Development Server

Start the development server on `http://localhost:3000`:

```bash
# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev
```

## Production

Build the application for production:

```bash
# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build
```

Locally preview production build:

```bash
# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
2 changes: 1 addition & 1 deletion site/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ plugins {
}

frontend {
nodeVersion.set("18.17.1")
nodeVersion.set("20.12.2")
assembleScript.set("run generate")
cleanScript.set("run clean")
publishScript.set("run deploy")
Expand Down
5 changes: 5 additions & 0 deletions site/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// @ts-check
import withNuxt from './.nuxt/eslint.config.mjs';
import eslintConfigPrettier from 'eslint-config-prettier';

export default withNuxt(eslintConfigPrettier);
65 changes: 65 additions & 0 deletions site/i18n.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
export default defineI18nConfig(() => ({
legacy: false,
locale: 'en',
messages: {
en: {
lang: {
english: 'English',
french: 'Français',
},
maintenance: {
inProgress: 'Coming soon, thanks for your patience!',
},
menu: {
configuration: 'Configuration',
examples: 'Examples',
faq: 'FAQ',
overview: 'Overview',
installation: 'Get started',
tasks: 'Tasks',
},
navigation: {
corepack: {
label: 'Corepack',
},
gradle: {
label: 'Gradle',
},
nodejs: {
label: 'Node.js',
},
notFound: 'The page you requested was not found.',
npm: {
label: 'npm',
},
npx: {
label: "npx"
},
pnpm: {
label: 'pnpm',
},
repository: {
releases: {
label: 'Release notes',
},
},
yarnBerry: {
baseline: 'Berry',
label: 'Yarn',
originalName: 'Yarn Berry',
title: 'Yarn Berry',
},
yarnClassic: {
baseline: 'Classic',
label: 'Yarn',
originalName: 'Classic Yarn',
title: 'Classic Yarn',
}
},
siouan: {
organizationTooltip: 'Siouan at GitHub.com',
projectTooltip: 'Frontend Gradle plugin at GitHub.com',
},
},
},
}));
89 changes: 0 additions & 89 deletions site/nuxt.config.js

This file was deleted.

59 changes: 59 additions & 0 deletions site/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
app: {
baseURL: '/frontend-gradle-plugin/',
head: {
base: {
href: '/frontend-gradle-plugin/',
},
meta: [
{ 'http-equiv': 'X-UA-Compatible', content: 'IE=edge' },
{ 'http-equiv': 'content-type', content: 'text/html' },
{
'http-equiv': 'Cache-Control',
content: 'no-cache,no-store,must-revalidate',
},
{ 'http-equiv': 'Pragma', content: 'no-cache' },
{ 'http-equiv': 'Expires', content: '-1' },
{ name: 'robots', content: 'index,follow' },
{ name: 'og:locale', content: 'en_US' },
{ name: 'og:type', content: 'website' },
{ name: 'og:site_name', content: 'Frontend Gradle plugin' },
{ name: 'google', content: 'nositelinkssearchbox' },
],
link: [{ rel: 'icon', type: 'image/x-icon', href: 'siouan-icon.png' }],
},
},
components: [
{
path: '~/components',
pathPrefix: false,
prefix: 'Fgp',
},
],
css: ['~/assets/scss/custom.scss', '@fortawesome/fontawesome-free/css/all.css'],
devServer: {
port: 10000,
},
devtools: {
enabled: true,
},
modules: ['@nuxtjs/i18n', '@pinia/nuxt', '@nuxt/eslint'],
runtimeConfig: {
public: {
i18nEnabled: false,
latestMajorRelease: 8,
paths: {
configuration: '/configuration',
faqs: '/faqs',
gettingStarted: '/getting-started',
overview: '/',
tasks: '/node-corepack-npm-pnpm-yarn-tasks',
},
},
},
srcDir: 'src/',
typescript: {
typeCheck: true,
},
});
Loading

0 comments on commit 78cd2fa

Please sign in to comment.