Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Install Dependencies
run: cd ./next-app && yarn install --frozen-lockfile
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: './next-app/node_modules'
key: ${{ runner.os }}-next-${{ hashFiles('./next-app/yarn.lock') }}
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: './next-app/node_modules'
key: ${{ runner.os }}-next-${{ hashFiles('./next-app/yarn.lock') }}
Expand All @@ -38,7 +38,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v2
- name: Cache node_modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: './next-app/node_modules'
key: ${{ runner.os }}-next-${{ hashFiles('./next-app/yarn.lock') }}
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Package Jar
run: cd next-app && ln -s out static && zip -0 -r next-app.jar static
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: next-app.jar
path: next-app/next-app.jar
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
java-version: 17

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: next-app.jar
path: next-app
Expand All @@ -103,7 +103,7 @@ jobs:
run: ./gradlew bootjar

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: up.jar
path: spring-app/build/libs/up.jar
Expand All @@ -116,7 +116,7 @@ jobs:
- uses: actions/checkout@v2

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: up.jar
path: spring-app/build/libs
Expand Down
7 changes: 0 additions & 7 deletions next-app/.babelrc

This file was deleted.

21 changes: 0 additions & 21 deletions next-app/.editorconfig

This file was deleted.

29 changes: 0 additions & 29 deletions next-app/.eslintrc.json

This file was deleted.

22 changes: 12 additions & 10 deletions next-app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@
# dependencies
/node_modules
/.pnp
.pnp.js
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions

# testing
/coverage
Expand All @@ -23,17 +28,14 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env
.env.*
.env.local
.env.development.local
.env.test.local
.env.production.local
# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel

#idea
.idea
# typescript
*.tsbuildinfo
next-env.d.ts
Binary file modified next-app/.nvmrc
Binary file not shown.
9 changes: 0 additions & 9 deletions next-app/.prettierrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions next-app/@types/api-client/common.ts

This file was deleted.

12 changes: 0 additions & 12 deletions next-app/@types/api-client/deleteFile.ts

This file was deleted.

9 changes: 0 additions & 9 deletions next-app/@types/api-client/getConfiguration.ts

This file was deleted.

12 changes: 0 additions & 12 deletions next-app/@types/api-client/uploadFile.ts

This file was deleted.

10 changes: 0 additions & 10 deletions next-app/@types/axios.ts

This file was deleted.

5 changes: 0 additions & 5 deletions next-app/@types/box.ts

This file was deleted.

19 changes: 0 additions & 19 deletions next-app/@types/custom.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions next-app/@types/emotion.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions next-app/@types/react-dropzone.ts

This file was deleted.

2 changes: 0 additions & 2 deletions next-app/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# up-next-app

Project bootstrapped with [next-popular-website-starter](https://github.com/Kuboczoch/next-popular-website-starter)
53 changes: 53 additions & 0 deletions next-app/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import { FlatCompat } from '@eslint/eslintrc'
import { dirname } from 'path'
import { fileURLToPath } from 'url'

const __filename = fileURLToPath(import.meta.url)
const __dirname = dirname(__filename)

const compat = new FlatCompat({
baseDirectory: __dirname,
})

const eslintConfig = [
...compat.extends('next/core-web-vitals', 'next/typescript'),
...compat.config({
plugins: ['import', 'prettier'],
rules: {
'prettier/prettier': [
'error',
{
semi: false,
bracketSpacing: true,
jsxSingleQuote: true,
printWidth: 80,
singleQuote: true,
trailingComma: 'all',
tabWidth: 2,
useTabs: false,
endOfLine: 'lf',
parser: 'typescript',
},
],
'import/order': [
'error',
{
pathGroupsExcludedImportTypes: ['builtin'],
groups: [
['builtin', 'external'],
'internal',
['parent', 'sibling', 'index'],
],
'newlines-between': 'always',
alphabetize: {
order: 'asc',
caseInsensitive: true,
},
warnOnUnassignedImports: true,
},
],
},
}),
]

export default eslintConfig
5 changes: 0 additions & 5 deletions next-app/next-env.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions next-app/next.config.js

This file was deleted.

7 changes: 7 additions & 0 deletions next-app/next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import type { NextConfig } from 'next'

const nextConfig: NextConfig = {
output: 'export',
}

export default nextConfig
Loading
Loading