Skip to content

Commit 5d3ed0f

Browse files
authored
Merge pull request #1 from duplojs/design
feat(01): design-system
2 parents 402a7f9 + ae77019 commit 5d3ed0f

471 files changed

Lines changed: 71180 additions & 2386 deletions

File tree

Some content is hidden

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

.commands/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
set -e
44

55
# vue
6-
vite build --config scripts/vue/vite.config.js
6+
vite build --config scripts/vue/vite.config.js
77
vue-tsc -p scripts/vue/tsconfig.build.json
88
tsc-alias -p scripts/vue/tsconfig.build.json

.commands/test-lint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ set -e
55
ARGUMENTS="$@"
66

77
# scripts
8-
eslint --quiet $ARGUMENTS scripts/
8+
eslint --quiet $ARGUMENTS

.commands/test-types.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ set -e
55
# vue
66
vue-tsc -p tests/vue/tsconfig.json
77

8+
npm -w integration/vue run test:types
9+
810
npm -w docs run test:types

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: '24.x'
19+
node-version: '22.15.1'
2020
registry-url: 'https://registry.npmjs.org/'
2121
- run: npm install -g npm@latest
2222
- run: npm ci

.github/workflows/test.yml

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,34 @@ jobs:
6262
with:
6363
node-version: '24.x'
6464
- run: npm ci
65-
- run: npm run test:lint
65+
- run: npm run test:lint
66+
67+
integration:
68+
runs-on: ubuntu-latest
69+
needs: build
70+
steps:
71+
- uses: actions/checkout@v4
72+
- uses: actions/download-artifact@v4
73+
with:
74+
name: dist
75+
path: ./dist
76+
- uses: actions/setup-node@v4
77+
with:
78+
node-version: '24.x'
79+
- run: npm ci
80+
- run: npx playwright install --with-deps
81+
- run: npm run test:integration
82+
env:
83+
CI: true
84+
RETRIES: 0
85+
WORKERS: 1
86+
- if: always()
87+
uses: actions/upload-artifact@v4
88+
with:
89+
name: test-results
90+
path: integration/test-results
91+
- if: always()
92+
uses: actions/upload-artifact@v4
93+
with:
94+
name: playwright-report
95+
path: integration/playwright-report

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
node_modules
22
dist
33
coverage
4-
cache
4+
cache
5+
playwright-report
6+
test-results

.husky/pre-push

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
npm run build
33
npm run test:types
44
npm run test:lint
5-
npm run test:tu
5+
npm run test:tu
6+
npm run test:integration

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@
2525
"js/ts.format.enabled": false,
2626
"html.format.enable": false,
2727
"json.format.enable": false,
28+
"vue.codeActions.askNewComponentName": false,
2829
}

0 commit comments

Comments
 (0)