File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 17
17
- name : Setup Node.js
18
18
uses : actions/setup-node@v3
19
19
with :
20
- node-version : ' 16 '
20
+ node-version : ' 20 '
21
21
registry-url : ' https://registry.npmjs.org'
22
22
23
23
- name : Install dependencies
26
26
- name : Build
27
27
run : npm run build
28
28
29
+ - name : Verify build artifacts
30
+ run : |
31
+ ls -R dist
32
+ [ -f dist/cjs/production/index.jsx ] || exit 1
33
+ [ -f dist/esm/production/index.jsx ] || exit 1
34
+ [ -f dist/types/index.d.ts ] || exit 1
35
+
29
36
- name : Publish to npm
30
37
run : npm publish
31
38
env :
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ A helpful wrapper around `@tanstack/solid-virtual` that simplifies the creation
13
13
## Installation
14
14
15
15
``` bash
16
- npm install create-virtualized-list-solid
16
+ npm install @doeixd/ create-virtualized-list-solid
17
17
```
18
18
19
19
## Basic Usage
20
20
21
21
``` jsx
22
- import { createVirtualizedList } from ' create-virtualized-list-solid' ;
22
+ import { createVirtualizedList } from ' @doeixd/ create-virtualized-list-solid' ;
23
23
import { For } from ' solid-js' ;
24
24
25
25
const MyList = () => {
@@ -135,7 +135,7 @@ const VirtualList = () => {
135
135
#### After (using our wrapper):
136
136
137
137
``` jsx
138
- import { createVirtualizedList } from ' solid-virtualized-list-wrapper' ;
138
+ import { createVirtualizedList } from ' @doeixd/ solid-virtualized-list-wrapper' ;
139
139
import { For } from ' solid-js' ;
140
140
141
141
const VirtualList = () => {
You can’t perform that action at this time.
0 commit comments