Skip to content

Commit

Permalink
fix: Change scope to an available one
Browse files Browse the repository at this point in the history
  • Loading branch information
webJose committed May 21, 2024
1 parent da79c5a commit 480a116
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
engine-strict=true
@wj:registry=https://www.npmjs.com
@wjfe:registry=https://www.npmjs.com
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# @wj/dataview
# @wjfe/dataview

> Svelte v5 table component suitable for examination of extensive tabular data.
Expand All @@ -23,13 +23,13 @@ Tailwind CSS, Bulma, etc.), you may style it in accordance to what is shown in t
Install the package:

```powershell
npm i @wj/dataview
npm i @wjfe/dataview
```

Now import the data view component and use it:

```typescript
import { WjDataView } from '@wj/dataview';
import { WjDataView } from '@wjfe/dataview';
```

The only two required properties are `columns` and `data`. The former defines the columns in the data view; the
Expand All @@ -42,7 +42,7 @@ property.

```html
<script lang="ts">
import { WjDataView } from '@wj/dataview';
import { WjDataView } from '@wjfe/dataview';
import { type MyDataModel } from 'path/to/my-model-types.js';
type MyDataModelGridRow = WjDvRow<MyDataModel>;
Expand Down Expand Up @@ -117,7 +117,7 @@ For example, Bootstrap consumers might want to ensure that the data view always
this case, we could create the following theme in a `dataViewThemes.ts`:

```typescript
import { stockLight, type Theme } from '@wj/dataview';
import { stockLight, type Theme } from '@wjfe/dataview';

export const bootstrapTheme: Theme = {
...stockLight,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@wj/dataview",
"name": "@wjfe/dataview",
"version": "0.0.1",
"scripts": {
"dev": "vite dev",
Expand Down
4 changes: 2 additions & 2 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
<div class="col-lg-6 col-md-8">
<div class="alert alert-info mb-0 d-flex flex-row flex-nowrap gap-3">
<i class="bi bi-lightbulb-fill"></i>
<pre class="mb-0">npm i @wj/dataview
<pre class="mb-0">npm i @wjfe/dataview

import &#123; WjDataView &#125; from '@wj/dataview';
import &#123; WjDataView &#125; from '@wjfe/dataview';
</pre>
</div>
</div>
Expand Down

0 comments on commit 480a116

Please sign in to comment.