File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1717 - name : Setup Node.js
1818 uses : actions/setup-node@v3
1919 with :
20- node-version : ' 16 '
20+ node-version : ' 20 '
2121 registry-url : ' https://registry.npmjs.org'
2222
2323 - name : Install dependencies
2626 - name : Build
2727 run : npm run build
2828
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+
2936 - name : Publish to npm
3037 run : npm publish
3138 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
1313## Installation
1414
1515``` bash
16- npm install create-virtualized-list-solid
16+ npm install @doeixd/ create-virtualized-list-solid
1717```
1818
1919## Basic Usage
2020
2121``` jsx
22- import { createVirtualizedList } from ' create-virtualized-list-solid' ;
22+ import { createVirtualizedList } from ' @doeixd/ create-virtualized-list-solid' ;
2323import { For } from ' solid-js' ;
2424
2525const MyList = () => {
@@ -135,7 +135,7 @@ const VirtualList = () => {
135135#### After (using our wrapper):
136136
137137``` jsx
138- import { createVirtualizedList } from ' solid-virtualized-list-wrapper' ;
138+ import { createVirtualizedList } from ' @doeixd/ solid-virtualized-list-wrapper' ;
139139import { For } from ' solid-js' ;
140140
141141const VirtualList = () => {
You can’t perform that action at this time.
0 commit comments