Skip to content

Commit e74e628

Browse files
committed
initial
1 parent 1baf2d8 commit e74e628

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.github/workflows/npm-publish.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
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
@@ -26,6 +26,13 @@ jobs:
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:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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';
2323
import { For } from 'solid-js';
2424

2525
const 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';
139139
import { For } from 'solid-js';
140140

141141
const VirtualList = () => {

0 commit comments

Comments
 (0)