Skip to content

Commit 87d40b2

Browse files
committed
publish packages
1 parent ee5c96b commit 87d40b2

File tree

267 files changed

+1043
-1074
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

267 files changed

+1043
-1074
lines changed

.github/CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ We welcome any type of contribution, not only code. You can help with
99
- **QA**: file bug reports, the more details you can give the better (e.g. screenshots with the console open)
1010
- **Marketing**: writing blog posts, howto's, printing stickers, ...
1111
- **Community**: presenting the project at meetups, organizing a dedicated meetup for the local community, ...
12-
- **Code**: take a look at the [open issues](https://github.com/diegomura/react-pdf/issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
12+
- **Code**: take a look at the [open issues](https://github.com/mendylanda/react-pdf/issues). Even if you can't write code, commenting on them, showing that you care about a given issue matters. It helps us triage them.
1313
- **Money**: we welcome financial contributions in full transparency on our [open collective](https://opencollective.com/react-pdf).
1414

1515
## Your First Contribution
@@ -27,7 +27,7 @@ Here I present a quick guide about how to setup your development environment exa
2727
This goes without saying but first you need to download the code:
2828

2929
```sh
30-
git clone https://github.com/diegomura/react-pdf.git
30+
git clone https://github.com/mendylanda/react-pdf.git
3131
cd react-pdf
3232
```
3333

@@ -76,7 +76,7 @@ yarn link
7676
In our testing project:
7777

7878
```sh
79-
yarn link @react-pdf/renderer
79+
yarn link @rpdf/renderer
8080
```
8181

8282
If everything went well, now your testing project should be running your local react-pdf build and any change in the codebase should be immediately accesible from your project.
@@ -116,7 +116,7 @@ Anyone can file an expense. If the expense makes sense for the development of th
116116

117117
## Questions
118118

119-
If you have any questions, create an [issue](https://github.com/diegomura/react-pdf/issues) (protip: do a quick search first to see if someone else didn't ask the same question before!).
119+
If you have any questions, create an [issue](https://github.com/mendylanda/react-pdf/issues) (protip: do a quick search first to see if someone else didn't ask the same question before!).
120120
You can also reach us at hello@react-pdf.opencollective.com.
121121

122122
## Credits

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151

5252
release:
5353
# Prevents this action from running on forks
54-
if: github.repository_owner == 'diegomura'
54+
if: github.repository_owner == 'mendylanda'
5555
name: Create Release PR or Publish to npm
5656
needs: [test]
5757
runs-on: ubuntu-latest

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Diego Muracciole <diegomuracciole@gmail.com>
3+
Copyright (c) 2017 Mendy Landa <landamendy@gmail.com>
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
<img src="https://user-images.githubusercontent.com/5600341/27505816-c8bc37aa-587f-11e7-9a86-08a2d081a8b9.png" height="280px">
33
<p align="center">React renderer for creating PDF files on the browser and server<p>
44
<p align="center">
5-
<a href="https://www.npmjs.com/package/@react-pdf/renderer">
6-
<img src="https://img.shields.io/npm/v/@react-pdf/renderer?style=flat&colorA=000000&colorB=000000" />
5+
<a href="https://www.npmjs.com/package/@rpdf/renderer">
6+
<img src="https://img.shields.io/npm/v/@rpdf/renderer?style=flat&colorA=000000&colorB=000000" />
77
</a>
88
<a href="https://opencollective.com/react-pdf">
99
<img src="https://img.shields.io/opencollective/all/react-pdf?style=flat&colorA=000000&colorB=000000" />
1010
</a>
11-
<a href="https://github.com/diegomura/react-pdf/blob/master/LICENSE">
11+
<a href="https://github.com/mendylanda/react-pdf/blob/master/LICENSE">
1212
<img src="https://img.shields.io/github/license/diegomura/react-pdf?style=flat&colorA=000000&colorB=000000" />
1313
</a>
1414
<a href="https://blockchain.com/btc/address/bc1qj223udztpmt5dck46dw0yap08yum63ht56h90v">
@@ -20,6 +20,9 @@
2020
</p>
2121
</p>
2222

23+
> [!NOTE]
24+
> This is a fork of [react-pdf](https://github.com/diegomura/react-pdf) created to address some issues that have pending pull requests in the original repository. If and when the original repository becomes actively maintained again, this fork may be removed. Special thanks to [Diego Muracciole](https://github.com/diegomura) for creating and maintaining the original project.
25+
2326
> [!NOTE]
2427
> Generating PDFs in bulk? [Talk to us.](https://axxy020tu5c.typeform.com/to/eU21hXDy)
2528
@@ -30,14 +33,14 @@ This package is used to _create_ PDFs using React. If you wish to _display_ exis
3033
## How to install
3134

3235
```sh
33-
yarn add @react-pdf/renderer
36+
yarn add @rpdf/renderer
3437
```
3538

3639
## How it works
3740

3841
```jsx
3942
import React from 'react';
40-
import { Document, Page, Text, View, StyleSheet } from '@react-pdf/renderer';
43+
import { Document, Page, Text, View, StyleSheet } from '@rpdf/renderer';
4144

4245
// Create styles
4346
const styles = StyleSheet.create({
@@ -72,7 +75,7 @@ const MyDocument = () => (
7275
```jsx
7376
import React from 'react';
7477
import ReactDOM from 'react-dom';
75-
import { PDFViewer } from '@react-pdf/renderer';
78+
import { PDFViewer } from '@rpdf/renderer';
7679

7780
const App = () => (
7881
<PDFViewer>
@@ -87,16 +90,16 @@ ReactDOM.render(<App />, document.getElementById('root'));
8790

8891
```jsx
8992
import React from 'react';
90-
import ReactPDF from '@react-pdf/renderer';
93+
import ReactPDF from '@rpdf/renderer';
9194

9295
ReactPDF.render(<MyDocument />, `${__dirname}/example.pdf`);
9396
```
9497

9598
## Contributors
9699

97-
This project exists thanks to all the people who contribute. Looking to contribute? Please check our [[contribute]](https://github.com/diegomura/react-pdf/blob/master/.github/CONTRIBUTING.md) document for more details about how to setup a development environment and submitting code.
100+
This project exists thanks to all the people who contribute. Looking to contribute? Please check our [[contribute]](https://github.com/mendylanda/react-pdf/blob/master/.github/CONTRIBUTING.md) document for more details about how to setup a development environment and submitting code.
98101

99-
<a href="https://github.com/diegomura/react-pdf/blob/master/.github/CONTRIBUTING.md"><img src="https://opencollective.com/react-pdf/contributors.svg?width=890" /></a>
102+
<a href="https://github.com/mendylanda/react-pdf/blob/master/.github/CONTRIBUTING.md"><img src="https://opencollective.com/react-pdf/contributors.svg?width=890" /></a>
100103

101104
## Sponsors
102105

@@ -116,4 +119,4 @@ MIT © [Diego Muracciole](http://github.com/diegomura)
116119

117120
---
118121

119-
![](https://img.shields.io/npm/dt/@react-pdf/renderer.svg?style=flat)
122+
![](https://img.shields.io/npm/dt/@rpdf/renderer.svg?style=flat)

e2e/node-cjs/CHANGELOG.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,155 +1,155 @@
1-
# @react-pdf/e2e-node-cjs
1+
# @rpdf/e2e-node-cjs
22

33
## 2.0.22
44

55
### Patch Changes
66

77
- Updated dependencies [[`01b4ff5c`](https://github.com/diegomura/react-pdf/commit/01b4ff5cb00420dd37c2f28fb95822dd18cdd982), [`f89f75c1`](https://github.com/diegomura/react-pdf/commit/f89f75c1f132ba19b54847c3ac23efec675f8d0a)]:
8-
- @react-pdf/renderer@4.3.0
8+
- @rpdf/renderer@4.3.0
99

1010
## 2.0.21
1111

1212
### Patch Changes
1313

1414
- Updated dependencies []:
15-
- @react-pdf/renderer@4.2.4
15+
- @rpdf/renderer@4.2.4
1616

1717
## 2.0.20
1818

1919
### Patch Changes
2020

2121
- Updated dependencies []:
22-
- @react-pdf/renderer@4.2.3
22+
- @rpdf/renderer@4.2.3
2323

2424
## 2.0.19
2525

2626
### Patch Changes
2727

2828
- Updated dependencies [[`226467e3`](https://github.com/diegomura/react-pdf/commit/226467e39443d3690b8f8c3298aa8278b43fbfa6)]:
29-
- @react-pdf/renderer@4.2.2
29+
- @rpdf/renderer@4.2.2
3030

3131
## 2.0.18
3232

3333
### Patch Changes
3434

3535
- Updated dependencies []:
36-
- @react-pdf/renderer@4.2.1
36+
- @rpdf/renderer@4.2.1
3737

3838
## 2.0.17
3939

4040
### Patch Changes
4141

4242
- Updated dependencies [[`7cd71714`](https://github.com/diegomura/react-pdf/commit/7cd7171472b0f300db56b7805c5f966bf4ced6e2), [`685890bd`](https://github.com/diegomura/react-pdf/commit/685890bd841b7d2480157117fcd3cbb1334f6324)]:
43-
- @react-pdf/renderer@4.2.0
43+
- @rpdf/renderer@4.2.0
4444

4545
## 2.0.16
4646

4747
### Patch Changes
4848

4949
- Updated dependencies []:
50-
- @react-pdf/renderer@4.1.6
50+
- @rpdf/renderer@4.1.6
5151

5252
## 2.0.15
5353

5454
### Patch Changes
5555

5656
- Updated dependencies []:
57-
- @react-pdf/renderer@4.1.5
57+
- @rpdf/renderer@4.1.5
5858

5959
## 2.0.14
6060

6161
### Patch Changes
6262

6363
- Updated dependencies []:
64-
- @react-pdf/renderer@4.1.4
64+
- @rpdf/renderer@4.1.4
6565

6666
## 2.0.13
6767

6868
### Patch Changes
6969

7070
- Updated dependencies []:
71-
- @react-pdf/renderer@4.1.3
71+
- @rpdf/renderer@4.1.3
7272

7373
## 2.0.12
7474

7575
### Patch Changes
7676

7777
- Updated dependencies [[`aab7d958`](https://github.com/diegomura/react-pdf/commit/aab7d95870d9073e4acb004aa0cce9cfa19b7f0e)]:
78-
- @react-pdf/renderer@4.1.2
78+
- @rpdf/renderer@4.1.2
7979

8080
## 2.0.11
8181

8282
### Patch Changes
8383

8484
- Updated dependencies []:
85-
- @react-pdf/renderer@4.1.1
85+
- @rpdf/renderer@4.1.1
8686

8787
## 2.0.10
8888

8989
### Patch Changes
9090

9191
- Updated dependencies [[`52b2f253`](https://github.com/diegomura/react-pdf/commit/52b2f25349bee0c09399bc2e7e5e89db5e1433fd)]:
92-
- @react-pdf/renderer@4.1.0
92+
- @rpdf/renderer@4.1.0
9393

9494
## 2.0.9
9595

9696
### Patch Changes
9797

9898
- Updated dependencies [[`7add014c`](https://github.com/diegomura/react-pdf/commit/7add014c6bc9cff649dd1a56fc47214888613b6b)]:
99-
- @react-pdf/renderer@4.0.2
99+
- @rpdf/renderer@4.0.2
100100

101101
## 2.0.8
102102

103103
### Patch Changes
104104

105105
- Updated dependencies []:
106-
- @react-pdf/renderer@4.0.1
106+
- @rpdf/renderer@4.0.1
107107

108108
## 2.0.7
109109

110110
### Patch Changes
111111

112112
- Updated dependencies [[`afe4bcfe`](https://github.com/diegomura/react-pdf/commit/afe4bcfe6f4b991cf22341242fc27d169b758d47), [`70f29a04`](https://github.com/diegomura/react-pdf/commit/70f29a0407b1d56e9a7932b25c0d69132e9b4119)]:
113-
- @react-pdf/renderer@4.0.0
113+
- @rpdf/renderer@4.0.0
114114

115115
## 2.0.6
116116

117117
### Patch Changes
118118

119119
- Updated dependencies [[`ed94775`](https://github.com/diegomura/react-pdf/commit/ed94775f4d44db0886ff08c71d09f446bace6392)]:
120-
- @react-pdf/renderer@3.4.5
120+
- @rpdf/renderer@3.4.5
121121

122122
## 2.0.5
123123

124124
### Patch Changes
125125

126126
- Updated dependencies []:
127-
- @react-pdf/renderer@3.4.4
127+
- @rpdf/renderer@3.4.4
128128

129129
## 2.0.4
130130

131131
### Patch Changes
132132

133133
- Updated dependencies []:
134-
- @react-pdf/renderer@3.4.3
134+
- @rpdf/renderer@3.4.3
135135

136136
## 2.0.3
137137

138138
### Patch Changes
139139

140140
- Updated dependencies []:
141-
- @react-pdf/renderer@3.4.2
141+
- @rpdf/renderer@3.4.2
142142

143143
## 2.0.2
144144

145145
### Patch Changes
146146

147147
- Updated dependencies []:
148-
- @react-pdf/renderer@3.4.1
148+
- @rpdf/renderer@3.4.1
149149

150150
## 2.0.1
151151

152152
### Patch Changes
153153

154154
- Updated dependencies [[`fab09cc`](https://github.com/diegomura/react-pdf/commit/fab09cc9814326fdb44d2bcb7097ba9960d441d1)]:
155-
- @react-pdf/renderer@3.4.0
155+
- @rpdf/renderer@3.4.0

e2e/node-cjs/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
/* eslint-disable no-undef */
12
const fs = require('node:fs/promises');
23
const assert = require('node:assert');
34
const { test } = require('node:test');
45
const { jsx } = require('react/jsx-runtime');
5-
const { Document, Page, Text, renderToBuffer } = require('@react-pdf/renderer');
6+
const { Document, Page, Text, renderToBuffer } = require('@rpdf/renderer');
67

78
const MyDocument = () =>
89
jsx(Document, {

e2e/node-cjs/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
2-
"name": "@react-pdf/e2e-node-cjs",
2+
"name": "@rpdf/e2e-node-cjs",
33
"version": "2.0.22",
44
"license": "MIT",
55
"private": true,
66
"type": "commonjs",
7-
"author": "Diego Muracciole <diegomuracciole@gmail.com>",
8-
"homepage": "https://github.com/diegomura/react-pdf#readme",
9-
"repository": "git@github.com:diegomura/react-pdf.git",
7+
"author": "Mendy Landa <landamendy@gmail.com>",
8+
"homepage": "https://github.com/mendylanda/react-pdf#readme",
9+
"repository": "git@github.com:mendylanda/react-pdf.git",
1010
"scripts": {
1111
"dev": "node --watch ./index.js",
1212
"start": "node ./index.js"
1313
},
1414
"dependencies": {
15-
"@react-pdf/renderer": "^4.3.0",
15+
"@rpdf/renderer": "^4.3.0",
1616
"react": "^18.2.0"
1717
}
1818
}

0 commit comments

Comments
 (0)