Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
b30c149
upgrade to Devextreme 25.1-next
GoodDayForSurf Apr 1, 2025
e12fe22
add nextjs
GoodDayForSurf Apr 4, 2025
c799d15
WIP. add nextjs template
GoodDayForSurf Apr 9, 2025
c2ca23b
WIP. add nextjs template
GoodDayForSurf Apr 9, 2025
2923bfc
WIP. add nextjs template
GoodDayForSurf Apr 10, 2025
08690f2
WIP. add nextjs template
GoodDayForSurf Apr 10, 2025
0d0b908
WIP. remake auth
GoodDayForSurf Apr 10, 2025
50575ec
use stndrd media-query instead of custom class
VasilyStrelyaev Apr 10, 2025
fa49216
refactor
GoodDayForSurf Apr 11, 2025
ef05929
postpone swatch class attachment
VasilyStrelyaev Apr 11, 2025
db3c290
get rid of navigation context
VasilyStrelyaev Apr 11, 2025
b646db0
remove patches
VasilyStrelyaev Apr 15, 2025
3e74085
implement add devextreme-react for nextjs apps
GoodDayForSurf Apr 18, 2025
3367a55
Merge branch 'dev_nextjs' of https://github.com/GoodDayForSurf/devext…
GoodDayForSurf Apr 18, 2025
1b38e95
add testing "add devextreme-react" for nextjs app
GoodDayForSurf Apr 22, 2025
794629c
Merge branch 'dev' of https://github.com/DevExpress/devextreme-cli in…
GoodDayForSurf Apr 22, 2025
7c90343
add testing "add devextreme-react" for nextjs app
GoodDayForSurf Apr 22, 2025
0029c8e
some log addede in checking
GoodDayForSurf Apr 22, 2025
36f64e4
some fixes
GoodDayForSurf Apr 22, 2025
145c30a
add extract create-next-app version for CI
GoodDayForSurf Apr 22, 2025
34adb10
add extract create-next-app version for CI
GoodDayForSurf Apr 22, 2025
0114741
add nextjs to application CI check
GoodDayForSurf Apr 22, 2025
537ad98
remove theme hook from root layout
VasilyStrelyaev Apr 22, 2025
92bf156
refactor = add getEntryFilePath
GoodDayForSurf Apr 22, 2025
89d4334
Merge branch 'dev_nextjs' of https://github.com/GoodDayForSurf/devext…
GoodDayForSurf Apr 22, 2025
9728dfc
refactor = add getEntryFilePath
GoodDayForSurf Apr 22, 2025
9b806e1
fix for lint
GoodDayForSurf Apr 22, 2025
5f99794
test nextjs
GoodDayForSurf Apr 22, 2025
67e418a
test nextjs
GoodDayForSurf Apr 22, 2025
d50265a
test nextjs-ts
GoodDayForSurf Apr 22, 2025
1c61bab
test nextjs-ts
GoodDayForSurf Apr 22, 2025
8bc36f6
test nextjs-ts
GoodDayForSurf Apr 22, 2025
e3e060e
test nextjs. Server
GoodDayForSurf Apr 22, 2025
8804236
test nextjs. Server
GoodDayForSurf Apr 22, 2025
1b9af1a
fix type
GoodDayForSurf Apr 22, 2025
44aee1d
wip. log
GoodDayForSurf Apr 22, 2025
389db6e
wip. log
GoodDayForSurf Apr 22, 2025
50afeea
wip. log
GoodDayForSurf Apr 22, 2025
d3fca67
add TS types for nextjs-ts template
GoodDayForSurf Apr 22, 2025
73fed39
add nextjs to testing on CI
GoodDayForSurf Apr 22, 2025
98b9ee2
add wait-on package to deps
GoodDayForSurf Apr 23, 2025
ebfb22b
revert lock
GoodDayForSurf Apr 23, 2025
4ed0b4d
update lock
GoodDayForSurf Apr 23, 2025
3c759e1
use wait-on instead timeout
GoodDayForSurf Apr 23, 2025
971a272
clean code
GoodDayForSurf Apr 23, 2025
6f52678
revert enable all tests
GoodDayForSurf Apr 23, 2025
90385ab
remove tests for windows on CI
GoodDayForSurf Apr 23, 2025
af953f7
check tests
GoodDayForSurf Apr 23, 2025
d1bbb0a
add urls mapping for nextjs tests
GoodDayForSurf Apr 23, 2025
89147d3
enable all tests
GoodDayForSurf Apr 23, 2025
ebc3212
fix styles
GoodDayForSurf Apr 23, 2025
16711ac
revert eanbling react tests on CI
GoodDayForSurf Apr 23, 2025
b458bd1
update screenshots
GoodDayForSurf Apr 23, 2025
aa8294e
fix styles
GoodDayForSurf Apr 23, 2025
87a98c8
enable some tests on CI
GoodDayForSurf Apr 23, 2025
66a223a
add change-password form to nextjs app template
GoodDayForSurf Apr 23, 2025
22ad957
add change-password form to nextjs app template
GoodDayForSurf Apr 23, 2025
6798eee
add change-password form to nextjs app template
GoodDayForSurf Apr 23, 2025
42e4f66
revert. Enable for CI testing all apps
GoodDayForSurf Apr 23, 2025
fd53be7
revert. Enable for CI testing all apps
GoodDayForSurf Apr 23, 2025
a701418
update screenshots
GoodDayForSurf Apr 24, 2025
e0ca1fd
refactor
GoodDayForSurf Apr 24, 2025
7e4b07d
add nextjs ap to tests on CI
GoodDayForSurf Apr 24, 2025
9ca2ca0
refactor
GoodDayForSurf Apr 26, 2025
8282287
refactor
GoodDayForSurf Apr 26, 2025
6a9d762
refactor
GoodDayForSurf Apr 26, 2025
6a8d8fc
revise auth
VasilyStrelyaev Apr 24, 2025
27ebfef
latest versions
VasilyStrelyaev Apr 28, 2025
41f3cdc
import path
VasilyStrelyaev Apr 28, 2025
e6ed93d
remaining SSR errors
VasilyStrelyaev Apr 28, 2025
a905cb1
fix for nextjs app
GoodDayForSurf Apr 29, 2025
845b1eb
move ts template tag
VasilyStrelyaev Apr 29, 2025
ff69ef8
Merge branch 'dev_nextjs' of https://github.com/GoodDayForSurf/devext…
GoodDayForSurf Apr 29, 2025
2fddc84
fix errors
VasilyStrelyaev Apr 29, 2025
d65a826
fix build
GoodDayForSurf Apr 29, 2025
8f993bc
Merge branch 'dev_nextjs' of https://github.com/GoodDayForSurf/devext…
GoodDayForSurf Apr 29, 2025
906aedd
fix Image
VasilyStrelyaev Apr 29, 2025
fe75ff5
get rid of non-integer image sizes
VasilyStrelyaev Apr 29, 2025
87f83c6
threshold
VasilyStrelyaev Apr 29, 2025
15497fc
larger threshold
VasilyStrelyaev Apr 29, 2025
0419015
...but not for all tests
VasilyStrelyaev Apr 29, 2025
1c5317b
never give up
VasilyStrelyaev Apr 29, 2025
14f6c21
...
VasilyStrelyaev Apr 30, 2025
5d7d219
try unoptimized image
VasilyStrelyaev Apr 30, 2025
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
5 changes: 3 additions & 2 deletions .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@ jobs:
- angular
- vue-v3
- react
- react-swc
- react-ts
- react-swc
- react-swc-ts
- nextjs
- nextjs-ts
NODE:
- 18
OS:
- ubuntu-latest
- windows-latest

runs-on: ${{ matrix.OS }}
env:
Expand Down
94 changes: 94 additions & 0 deletions .github/workflows/check-nextjs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
name: Check "add devextreme-react" for NextJS app

on:
push:
pull_request:
workflow_dispatch:

jobs:
nextjs-devextreme-test:
strategy:
fail-fast: false
matrix:
TYPESCRIPT: [true, false]
SRC_DIR: [true, false]
APP_ROUTER: [true, false]
NODE:
- 18
OS:
- ubuntu-latest

runs-on: ${{ matrix.OS }}
name: Next.js + DevExtreme (TS:${{ matrix.TYPESCRIPT }}, src:${{ matrix.SRC_DIR }}, app-router:${{ matrix.APP_ROUTER }}), node ${{ matrix.NODE }}, ${{ matrix.OS }}

steps:
- name: Get sources
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.NODE }}
cache: 'npm'

- name: Extract create-next-app version
run: |
NEXT_APP_VERSION=$(node -e "const versions = require('./packages/devextreme-cli/src/utility/latest-versions.js'); console.log(versions['create-next-app'])")
echo "Using create-next-app version: $NEXT_APP_VERSION"
echo "NEXT_APP_VERSION=$NEXT_APP_VERSION" >> $GITHUB_ENV
shell: bash

- name: Create Next.js application
run: |
npx create-next-app@${{ env.NEXT_APP_VERSION }} test-nextjs-app \
--typescript=${{ matrix.TYPESCRIPT }} \
--src-dir=${{ matrix.SRC_DIR }} \
--app=${{ matrix.APP_ROUTER }} \
--eslint \
--no-tailwind \
--import-alias="@/*" \
--no-git \
--use-npm
shell: bash

- name: Add actual devExtreme-cli
run: |
cd test-nextjs-app
npm add devextreme-cli
rm -r ./node_modules/devextreme-cli/src/
cp -r ../packages/devextreme-cli/src/ ./node_modules/devextreme-cli/
ls ./node_modules/devextreme-cli
ls ./node_modules/devextreme-cli/src
shell: bash
timeout-minutes: 15

- name: Add DevExtreme to Next.js application
run: |
cd test-nextjs-app
npx devextreme-cli add devextreme-react
shell: bash
timeout-minutes: 15

- name: Verify DevExtreme dependencies in package.json
run: |
cd test-nextjs-app

if ! grep -q '"devextreme":' package.json; then
echo "Error: devextreme dependency not found in package.json"
exit 1
fi

if ! grep -q '"devextreme-react":' package.json; then
echo "Error: devextreme-react dependency not found in package.json"
exit 1
fi

echo "DevExtreme dependencies successfully installed"
shell: bash

- name: Build Next.js application
run: |
cd test-nextjs-app
npm run build
shell: bash
timeout-minutes: 15
Loading
Loading