Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
cf234b4
Move to create vite for creating React app (#928)
GoodDayForSurf Mar 18, 2025
0f73926
Add a version of the react with a SWC transpiler (#929)
GoodDayForSurf Mar 28, 2025
f966e5f
fix add-view for Angular (#934) (#936)
GoodDayForSurf Mar 28, 2025
5927783
revive CI tasks that test against latest scaffolder and framework ver…
VasilyStrelyaev Mar 31, 2025
7038325
Replace old nested components by new ones in generated Angular app (#…
GoodDayForSurf Apr 1, 2025
33fdbfe
Angular: fix platformBrowserDynamic -> platformBrowser (ngCLI 19.2.4 …
ivanblinov2k17 Apr 1, 2025
3a95283
Upgrade Devextreme version (#943)
GoodDayForSurf Apr 4, 2025
ac9fcf8
fix issues spotted by Vlad (#950)
VasilyStrelyaev Apr 25, 2025
af346e4
Add nextjs template app (#949)
GoodDayForSurf Apr 30, 2025
a734198
Add prompt for react-app for choosing nextjs/vite (#953)
GoodDayForSurf May 6, 2025
ae5d930
chore: enhance nextjs auth stubs, bump versions (#955)
VasilyStrelyaev May 8, 2025
4b191fe
Use standalone in Angular app (#951)
GoodDayForSurf May 8, 2025
a745285
Dev ng use standalone 2 (#956)
GoodDayForSurf May 12, 2025
d8181f1
fix: Next.js template throws server cookie decrypt error (#961)
VasilyStrelyaev May 21, 2025
2f55721
Add zoneless flag (#962)
dxvladislavvolkov May 26, 2025
1012337
Fix for CLI: ng app works incorrectly with ng 20 (#960)
sergey-kras May 26, 2025
5c36a9d
fix(routing): Add logic to add missing imports (#959)
ajivanyandev May 28, 2025
02e679f
test: test current state of tests
ajivanyandev Jun 3, 2025
65d2a2e
test: see the problem tests
ajivanyandev Jun 4, 2025
47553ac
test: check failing tests
ajivanyandev Jun 4, 2025
f65e584
test: updated etalons to contain footers
ajivanyandev Jun 4, 2025
d4999d5
test: update etalons
ajivanyandev Jun 4, 2025
ff23872
test: added wait to make sure styles are loaded
ajivanyandev Jun 4, 2025
28c9451
change wait
ajivanyandev Jun 5, 2025
7135678
change wait
ajivanyandev Jun 5, 2025
fabee94
update etalons
ajivanyandev Jun 5, 2025
65d2eb2
add beforeEach
ajivanyandev Jun 5, 2025
91cec88
modified before clause
ajivanyandev Jun 5, 2025
01f8e21
update style
ajivanyandev Jun 5, 2025
aef69dc
update style
ajivanyandev Jun 5, 2025
5c175fe
add wait
ajivanyandev Jun 5, 2025
5891deb
include AA
ajivanyandev Jun 5, 2025
2ed08b4
test looks-same
ajivanyandev Jun 5, 2025
313a932
package lock update
ajivanyandev Jun 5, 2025
f0e9027
checkk for no false positive tests
ajivanyandev Jun 5, 2025
31482fe
add assertion
ajivanyandev Jun 5, 2025
ce0c412
fix strict
ajivanyandev Jun 5, 2025
cbd9c0c
fix snapshot name
ajivanyandev Jun 6, 2025
fbc1f5f
remove incldeAA flag
ajivanyandev Jun 6, 2025
a78454d
some tests
ajivanyandev Jun 6, 2025
45ff15e
test
ajivanyandev Jun 6, 2025
5753ad2
fix diff creation
ajivanyandev Jun 9, 2025
35af286
dir fix
ajivanyandev Jun 10, 2025
dd499df
integrate with devextreme-screenshot-comparer
ajivanyandev Jun 10, 2025
59e5330
update ffile
ajivanyandev Jun 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 11 additions & 8 deletions .github/workflows/applications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
pull_request:
workflow_call:
inputs:
external-tools-version:
description: 'Version of external tools'
default: latest
deps-version-tag:
description: 'Version tag of scaffolder and framework'
default: ''
required: false
type: string

Expand All @@ -21,16 +21,19 @@ jobs:
- vue-v3
- react
- react-ts
- react-swc
- react-swc-ts
- nextjs
- nextjs-ts
NODE:
- 18
OS:
- ubuntu-latest
- windows-latest

runs-on: ${{ matrix.OS }}
env:
VUE_CLI_CONFIG_PATH: $GITHUB_WORKSPACE/.vuerc
TOOLING_VERSION_PARAM: ${{ inputs.external-tools-version != '' && format('--tooling-version {0}', inputs.external-tools-version) || '' }}
DEPS_VERSION_TAG_PARAM: ${{ inputs.deps-version-tag != '' && format('--deps-version-tag {0}', inputs.deps-version-tag) || '' }}

name: ${{ matrix.APPROACH }}, node ${{ matrix.NODE }}, ${{ matrix.OS }}

Expand All @@ -52,7 +55,7 @@ jobs:
run: npm config set legacy-peer-deps true

- name: Create ${{ matrix.APPROACH }} application
run: npm run create-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
run: npm run create-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
timeout-minutes: 30

- name: Install Internal Packages
Expand All @@ -62,14 +65,14 @@ jobs:

- name: Lint created application
if: ${{ matrix.OS != 'windows-latest' }}
run: npm run lint-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
run: npm run lint-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}

- name: Run template tests
if: ${{ matrix.OS != 'windows-latest' }}
env:
LAUNCH_BROWSER: true
CHROME_PATH: ${{ steps.setup-chrome.outputs.chrome-path }}
run: npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.TOOLING_VERSION_PARAM }}
run: npm run test-template -- -- -e ${{ matrix.APPROACH }} ${{ env.DEPS_VERSION_TAG_PARAM }}
timeout-minutes: 40

- name: Archive artifacts
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
2 changes: 1 addition & 1 deletion .github/workflows/schedule-cli-tests-latest-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: Run CLI tests
uses: ./.github/workflows/applications.yml
with:
external-tools-version: latest
deps-version-tag: latest

teams_notification_on_failure:
name: Send Teams notification
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/schedule-cli-tests-next-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: Schedule tests for next versions of external CLIs

on:
workflow_dispatch:
schedule:
- cron: "0 1 * * 1"
# schedule:
# - cron: "0 1 * * 1"

jobs:
call_tests_workflow:
name: Run CLI tests
uses: ./.github/workflows/applications.yml
with:
external-tools-version: next
deps-version-tag: next

teams_notification_on_failure:
name: Send Teams notification
Expand Down
Loading
Loading