Skip to content

Commit 24ef049

Browse files
committed
feat: add 'virtual-scroll'
2 parents e3395e3 + 4bfa786 commit 24ef049

File tree

88 files changed

+9169
-5508
lines changed

Some content is hidden

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

88 files changed

+9169
-5508
lines changed

.commitlintrc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
2,
77
"always",
88
[
9-
"checkbox",
9+
"lib",
1010
"demo"
1111
]],
1212
"type-enum": [

.eslintrc.json

+25-9
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"ignorePatterns": [
44
"**/*"
55
],
6+
"reportUnusedDisableDirectives": true,
67
"env": {
78
"browser": true,
89
"es2021": true
@@ -38,7 +39,9 @@
3839
},
3940
"settings": {
4041
"import/parsers": {
41-
"@typescript-eslint/parser": [".ts"]
42+
"@typescript-eslint/parser": [
43+
".ts"
44+
]
4245
},
4346
"import/resolver": {
4447
"node": true,
@@ -60,12 +63,19 @@
6063
"ignoreStatic": true
6164
}
6265
],
63-
"arrow-parens": ["error", "as-needed"],
66+
"arrow-parens": [
67+
"error",
68+
"as-needed"
69+
],
6470
"comma-dangle": "error",
6571
"import/order": [
66-
"error", {
72+
"error",
73+
{
6774
"groups": [
68-
["builtin", "external"],
75+
[
76+
"builtin",
77+
"external"
78+
],
6979
"parent",
7080
"sibling",
7181
"internal"
@@ -107,8 +117,9 @@
107117
"jsdoc/require-param-type": "off",
108118
"jsdoc/require-returns-type": [
109119
"off",
110-
{"contexts": [
111-
"any"
120+
{
121+
"contexts": [
122+
"any"
112123
]
113124
}
114125
],
@@ -124,7 +135,9 @@
124135
"object-curly-spacing": [
125136
"error",
126137
"always",
127-
{ "objectsInObjects": false }
138+
{
139+
"objectsInObjects": false
140+
}
128141
],
129142
"prefer-arrow/prefer-arrow-functions": [
130143
"warn",
@@ -134,14 +147,17 @@
134147
"classPropertiesAllowed": false
135148
}
136149
],
137-
"semi": ["error", "always"]
150+
"semi": [
151+
"error",
152+
"always"
153+
]
138154
}
139155
},
140156
{
141157
"files": [
142158
"*.spec.ts"
143159
],
144-
"env":{
160+
"env": {
145161
"jasmine": true
146162
},
147163
"plugins": [

.github/dependabot.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
open-pull-requests-limit: 10

.github/workflows/node.js.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
3+
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ "main" ]
9+
pull_request:
10+
branches: [ "main" ]
11+
workflow_dispatch:
12+
13+
jobs:
14+
build:
15+
runs-on: ubuntu-22.04
16+
17+
strategy:
18+
matrix:
19+
node-version: [18.x, 20.x, 21.x]
20+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21+
22+
steps:
23+
- name: Check out
24+
uses: actions/checkout@v3
25+
26+
- name: Use Node.js ${{ matrix.node-version }}
27+
uses: actions/setup-node@v3
28+
with:
29+
node-version: ${{ matrix.node-version }}
30+
cache: 'npm'
31+
32+
- run: npm ci
33+
- run: npm run build --if-present
34+
- run: npm run lint
35+
- run: npm test

.github/workflows/publish-demo.yml

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: publish-demo-to-github-pages
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-22.04
11+
12+
strategy:
13+
matrix:
14+
node-version: [20.x]
15+
16+
steps:
17+
- name: Check out
18+
uses: actions/checkout@v3
19+
20+
- name: Use Node ${{ matrix.node-version }}
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
cache: 'npm'
25+
26+
- name: npm ci and npm run build
27+
run: |
28+
npm ci
29+
npm run build:ghpages
30+
31+
- name: Publish current workdir (which contains generated content) to GitHub Pages
32+
uses: rayluo/[email protected]
33+
with:
34+
# Optional. Default value "." means the root directory of your project will be published.
35+
# You can use whatever directory your project uses, for example "wwwroot".
36+
# Such a directory does *not* have to already exist in your repo,
37+
# it could be an output directory created dynamically by your static website builder.
38+
source-directory: ghpages
39+
40+
# Optional. Default value "gh_pages".
41+
# It specifies the temporary branch which hosts the static website.
42+
# Each build will OVERWRITE this branch.
43+
target-branch: gh_pages

0 commit comments

Comments
 (0)