Skip to content

Commit acfd2ea

Browse files
committed
docs(examples): add rspeedy-react-lynx-app to esamples
1 parent c42b44b commit acfd2ea

20 files changed

+3953
-86
lines changed
Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
# @lynx-example/list
2+
3+
## 0.6.0
4+
5+
### Minor Changes
6+
7+
- 09fd471: Bump React v0.109.0 with Rspeedy v0.9.7
8+
9+
### Patch Changes
10+
11+
- f1d4d6e: Fix TypeScript errors.
12+
13+
## 0.5.1
14+
15+
### Patch Changes
16+
17+
- b2a4535: fix: modify `z-index`
18+
19+
## 0.5.0
20+
21+
### Minor Changes
22+
23+
- 97de59b: Upgrade to Rspeedy v0.9.3.
24+
25+
## 0.4.0
26+
27+
### Minor Changes
28+
29+
- df7bb3d: Upgrade to Rspeedy v0.9.0.
30+
31+
### Patch Changes
32+
33+
- 92eb06b: feat: list add supports web
34+
- b59bd3b: feat: Introduce the showcase of async-rendering on `<list>`
35+
- dbf5cc3: feat: Introduce horizontal snap showcase for `<list>`
36+
37+
## 0.3.1
38+
39+
### Patch Changes
40+
41+
- 4b435a4: Changed `class` to `className` for all Examples
42+
43+
## 0.3.0
44+
45+
### Minor Changes
46+
47+
- b0f16b3: Bump to `@lynx-js/rspeedy` v0.8.2 with `@lynx-js/react` v0.105.0
48+
49+
## 0.2.1
50+
51+
### Patch Changes
52+
53+
- 947d1d5: opt: remove custom-list-name
54+
55+
## 0.2.0
56+
57+
### Minor Changes
58+
59+
- 6739e06: Add `repository` to `package.json`.
60+
61+
### Patch Changes
62+
63+
- 5a56b54: Add `output.assetPrefix` for Lynx Website
64+
65+
## 0.1.1
66+
67+
### Patch Changes
68+
69+
- 5c8be44: modify scroll_view/list/element_mutation demo
70+
71+
## 0.1.0
72+
73+
### Minor Changes
74+
75+
- d2aabf6: feat: update @lynx-js/react from "^0.103.3" to "^0.104.1", @lynx-js/react-rsbuild-plugin and @lynx-js/rspeedy to "^0.8.1".
76+
77+
## 0.0.5
78+
79+
### Patch Changes
80+
81+
- aacfa72: opt: opt list demo
82+
83+
## 0.0.4
84+
85+
### Patch Changes
86+
87+
- 1994bd9: Remove useless attributes, format css style
88+
89+
## 0.0.3
90+
91+
### Patch Changes
92+
93+
- Use `scroll-orientation` instead of `scroll-y`.
1.45 KB
Loading
44.8 KB
Loading
192 KB
Loading
160 KB
Loading
80 KB
Loading
46.2 KB
Loading
1.76 KB
Loading
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import eslintJs from "@eslint/js";
2+
import eslintPluginReactX from "eslint-plugin-react-x";
3+
import eslintPluginReactHooks from "eslint-plugin-react-hooks";
4+
import tseslint from "typescript-eslint";
5+
import gitignore from "eslint-config-flat-gitignore";
6+
7+
import TSCONFIG from "./tsconfig.json" with { type: "json" };
8+
9+
const GLOB_TS = ["**/*.ts", "**/*.tsx"];
10+
const GLOB_JS = ["**/*.js", "**/*.jsx"];
11+
const GLOB_CONFIG = ["**/*.config.{js,mjs,ts,tsx}"];
12+
13+
export default tseslint.config(
14+
gitignore(),
15+
{
16+
files: GLOB_TS,
17+
extends: [
18+
eslintJs.configs.recommended,
19+
tseslint.configs.recommended,
20+
],
21+
},
22+
{
23+
files: TSCONFIG.include,
24+
extends: [
25+
tseslint.configs.recommendedTypeChecked,
26+
],
27+
languageOptions: {
28+
parser: tseslint.parser,
29+
parserOptions: {
30+
project: "./tsconfig.json",
31+
tsconfigRootDir: import.meta.dirname,
32+
},
33+
},
34+
},
35+
{
36+
files: TSCONFIG.include,
37+
extends: [
38+
eslintPluginReactX.configs["recommended-type-checked"],
39+
],
40+
plugins: {
41+
"react-hooks": eslintPluginReactHooks,
42+
},
43+
rules: {
44+
...eslintPluginReactHooks.configs.recommended.rules,
45+
"react-x/no-unnecessary-use-effect": "warn",
46+
},
47+
},
48+
{
49+
files: [...GLOB_JS, ...GLOB_CONFIG],
50+
extends: [tseslint.configs.disableTypeChecked],
51+
rules: {
52+
"no-undef": "off",
53+
"no-console": "off",
54+
},
55+
},
56+
);
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import { pluginQRCode } from "@lynx-js/qrcode-rsbuild-plugin";
2+
import { pluginReactLynx } from "@lynx-js/react-rsbuild-plugin";
3+
import { defineConfig } from "@lynx-js/rspeedy";
4+
import { pluginTypeCheck } from "@rsbuild/plugin-type-check";
5+
import { pluginTailwindCSS } from "rsbuild-plugin-tailwindcss";
6+
7+
export default defineConfig({
8+
plugins: [
9+
pluginReactLynx(),
10+
pluginQRCode(),
11+
pluginTailwindCSS(),
12+
pluginTypeCheck(),
13+
],
14+
environments: {
15+
web: {},
16+
lynx: {},
17+
},
18+
});

0 commit comments

Comments
 (0)