Skip to content

Commit 9ca0e50

Browse files
committed
beta version
1 parent f63f292 commit 9ca0e50

File tree

830 files changed

+30166
-1934
lines changed

Some content is hidden

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

830 files changed

+30166
-1934
lines changed

.github/workflows/frontend-ci.yaml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Code Quality Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '[0-9]+.[0-9]+'
8+
pull_request: ~
9+
10+
jobs:
11+
infra-tests:
12+
name: Infrastructure Setup Tests
13+
runs-on: 'ubuntu-24.04'
14+
timeout-minutes: 5
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: '20'
21+
- run: yarn install
22+
- run: yarn infra:test
23+
assets-tests:
24+
name: Assets Tests
25+
runs-on: 'ubuntu-24.04'
26+
timeout-minutes: 5
27+
28+
steps:
29+
- uses: actions/checkout@v4
30+
- uses: actions/setup-node@v4
31+
with:
32+
node-version: '20'
33+
- run: yarn install
34+
- run: yarn assets:test
35+
components-tests:
36+
name: Components Tests
37+
runs-on: 'ubuntu-24.04'
38+
timeout-minutes: 5
39+
40+
steps:
41+
- uses: actions/checkout@v4
42+
- uses: actions/setup-node@v4
43+
with:
44+
node-version: '20'
45+
- run: yarn install
46+
- run: yarn components:test

.github/workflows/reviewers.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: On PR Review Requested
2+
3+
on:
4+
pull_request:
5+
types: [review_requested]
6+
7+
jobs:
8+
call-expand-team-reviewers:
9+
if: ${{ github.event.requested_team }}
10+
uses: ibexa/gh-workflows/.github/workflows/expand-team-reviewers.yml@main
11+
with:
12+
requested_team: ${{ github.event.requested_team.slug }}
13+
pull_request_number: ${{ github.event.pull_request.number }}
14+
repository: ${{ github.repository }}
15+
secrets: inherit
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: 'Storybook Tests'
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- '[0-9]+.[0-9]+'
8+
pull_request: ~
9+
10+
jobs:
11+
test:
12+
timeout-minutes: 60
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '20'
19+
- name: Install dependencies
20+
run: yarn
21+
- name: Install Playwright
22+
run: npx playwright install --with-deps
23+
- name: Build Storybook
24+
run: yarn build-storybook --quiet
25+
- name: Serve Storybook and run tests
26+
run: |
27+
npx concurrently -k -s first -n "SB,TEST" -c "magenta,blue" \
28+
"npx http-server storybook-static --port 6006 --silent" \
29+
"npx wait-on tcp:127.0.0.1:6006 && yarn test-storybook"

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ node_modules/
22
yarn.lock
33
yarn-error.log
44
package-lock.json
5-
symfony/
65
storybook-static/
76
coverage/
87
dist/

.storybook/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const path = require('path');
33

44
/** @type { import('@storybook/react-webpack5').StorybookConfig } */
55
const config = {
6-
stories: ['../packages/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
6+
stories: ['../packages/**/*.stories.@(js|jsx|mjs|ts|tsx)', '../stories/*.stories.@(js|jsx|mjs|ts|tsx)'],
77
staticDirs: ['../packages/assets/src/'],
88
addons: [
99
'@storybook/addon-webpack5-compiler-swc',
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
const { getJestConfig } = require('@storybook/test-runner');
2+
3+
// The default Jest configuration comes from @storybook/test-runner
4+
const testRunnerConfig = getJestConfig();
5+
6+
/**
7+
* @type {import('@jest/types').Config.InitialOptions}
8+
*/
9+
10+
module.exports = {
11+
...testRunnerConfig,
12+
testMatch: testRunnerConfig.testMatch.map((pattern) =>
13+
pattern.replace('**/*.stories.@(js|jsx|mjs|ts|tsx)', '**/*.test.stories.@(js|jsx|mjs|ts|tsx)'),
14+
),
15+
/** Add your own overrides below, and make sure
16+
* to merge testRunnerConfig properties with your own
17+
* @see https://jestjs.io/docs/configuration
18+
*/
19+
};

.storybook/vitest.config.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

COPYRIGHT

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.
2+
3+
This source code is available separately under the following licenses:
4+
5+
A - Ibexa Business Use License Agreement (Ibexa BUL),
6+
version 2.4 or later versions (as license terms may be updated from time to time)
7+
Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription,
8+
as described at: https://www.ibexa.co/product
9+
For the full Ibexa BUL license text, please see:
10+
- LICENSE-bul file placed in the root of this source code, or
11+
- https://www.ibexa.co/software-information/licenses-and-agreements (latest version applies)
12+
13+
AND
14+
15+
B - GNU General Public License, version 2
16+
Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:
17+
- LICENSE file placed in the root of this source code, or
18+
- https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

0 commit comments

Comments
 (0)