Skip to content

Commit 7c0e778

Browse files
committed
Rename package name
1 parent e4037b9 commit 7c0e778

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rollup-plugin-jsonl
1+
# rollup-plugin-jsonlines
22

33
🍣 A Rollup plugin which imports `.jsonl` ([JSON Lines](https://jsonlines.org/)) files as JSON arrays.
44

@@ -11,15 +11,15 @@ This plugin requires an [LTS](https://github.com/nodejs/Release) Node version (v
1111
Using npm:
1212

1313
```console
14-
npm install rollup-plugin-jsonl --save-dev
14+
npm install rollup-plugin-jsonlines --save-dev
1515
```
1616

1717
## Usage
1818

1919
Create a rollup.config.js [configuration file](https://www.rollupjs.org/guide/en/#configuration-files) and import the plugin:
2020

2121
```js
22-
import jsonl from 'rollup-plugin-jsonl';
22+
import jsonl from 'rollup-plugin-jsonlines';
2323

2424
export default {
2525
input: 'src/index.js',
@@ -40,7 +40,7 @@ _`vite.config.js`_
4040
```js
4141
import { defineConfig } from 'vite';
4242
import { svelte } from '@sveltejs/vite-plugin-svelte';
43-
import jsonl from 'rollup-plugin-jsonl';
43+
import jsonl from 'rollup-plugin-jsonlines';
4444

4545
// https://vitejs.dev/config/
4646
export default defineConfig({

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "rollup-plugin-jsonl",
2+
"name": "rollup-plugin-jsonlines",
33
"version": "0.0.1",
44
"publishConfig": {
55
"access": "public"
@@ -8,11 +8,11 @@
88
"license": "MIT",
99
"repository": {
1010
"type": "git",
11-
"url": "git+https://github.com/petlack/rollup-plugin-jsonl"
11+
"url": "git+https://github.com/petlack/rollup-plugin-jsonlines"
1212
},
1313
"author": "Peter Laca",
14-
"homepage": "https://github.com/petlack/rollup-plugin-jsonl",
15-
"bugs": "https://github.com/petlack/rollup-plugin-jsonl/issues",
14+
"homepage": "https://github.com/petlack/rollup-plugin-jsonlines",
15+
"bugs": "https://github.com/petlack/rollup-plugin-jsonlines/issues",
1616
"main": "./dist/cjs/index.js",
1717
"module": "./dist/es/index.js",
1818
"exports": {

0 commit comments

Comments
 (0)