Skip to content

Commit 5b917cf

Browse files
Merge pull request #27 from dportillo-ixs/copilot/rename-internal-packages
2 parents 3174ad9 + 3b98c2e commit 5b917cf

31 files changed

+94
-74
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/** @type {import("eslint").Linter.Config} */
33
module.exports = {
44
ignorePatterns: ["apps/**", "packages/**"],
5-
extends: ["@htmldocs/eslint-config/library.js"],
5+
extends: ["htmldocs-v2-eslint-config/library.js"],
66
parser: "@typescript-eslint/parser",
77
parserOptions: {
88
project: true,

apps/examples/documents/templates/Book.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Document, Footer } from "@htmldocs/react"
1+
import { Document, Footer } from "htmldocs-v2-react"
22
import MarkdownIt from 'markdown-it'
33
import fs from 'node:fs'
44
import path from "path"

apps/examples/documents/templates/Invoice.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Document, Head, Page, Spacer } from "@htmldocs/react";
1+
import { Document, Head, Page, Spacer } from "htmldocs-v2-react";
22
import clsx from "clsx";
33
import { createIntl, createIntlCache } from "@formatjs/intl";
44
import "~/index.css";

apps/examples/documents/templates/Letter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Document, Head, Page, Spacer } from "@htmldocs/react";
1+
import { Document, Head, Page, Spacer } from "htmldocs-v2-react";
22
import { FaPhone, FaEnvelope, FaGlobe } from "react-icons/fa";
33
import "~/index.css";
44

apps/examples/documents/templates/Receipt.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Document, Footer, Head, MarginBox, Page } from "@htmldocs/react"
1+
import { Document, Footer, Head, MarginBox, Page } from "htmldocs-v2-react"
22
import "~/index.css"
33

44
interface BillingAddress {

apps/examples/documents/templates/Resume.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Document, Head, Page, Spacer } from "@htmldocs/react";
1+
import { Document, Head, Page, Spacer } from "htmldocs-v2-react";
22
import { FaPhone, FaEnvelope, FaGithub, FaLinkedin, FaMapMarkerAlt } from "react-icons/fa";
33
import "~/index.css";
44

apps/examples/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@htmldocs/examples",
2+
"name": "htmldocs-v2-examples",
33
"version": "0.0.44",
44
"private": true,
55
"scripts": {
@@ -8,8 +8,8 @@
88
},
99
"dependencies": {
1010
"@formatjs/intl": "^2.10.4",
11-
"@htmldocs/react": "workspace:*",
12-
"@htmldocs/render": "workspace:*",
11+
"htmldocs-v2-react": "workspace:*",
12+
"htmldocs-v2-render": "workspace:*",
1313
"@react-email/components": "0.0.18",
1414
"clsx": "^2.1.1",
1515
"htmldocs-v2": "workspace:*",

apps/examples/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"extends": "@htmldocs/typescript-config/react-library.json",
2+
"extends": "htmldocs-v2-typescript-config/react-library.json",
33
"compilerOptions": {
44
"lib": ["es2022", "dom"],
55
"outDir": "dist",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"test": "turbo test"
1313
},
1414
"devDependencies": {
15-
"@htmldocs/eslint-config": "workspace:*",
16-
"@htmldocs/typescript-config": "workspace:*",
15+
"htmldocs-v2-eslint-config": "workspace:*",
16+
"htmldocs-v2-typescript-config": "workspace:*",
1717
"prettier": "^3.2.5",
1818
"turbo": "latest",
1919
"vitest": "^1.3.1",

packages/eslint-config/package.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
{
2-
"name": "@htmldocs/eslint-config",
2+
"name": "htmldocs-v2-eslint-config",
33
"version": "0.0.1",
4+
"private": false,
5+
"publishConfig": {
6+
"access": "public"
7+
},
8+
"main": "library.js",
49
"files": [
510
"library.js",
611
"next.js",
712
"react-internal.js"
813
],
14+
"exports": {
15+
"./library.js": "./library.js",
16+
"./library": "./library.js",
17+
"./next.js": "./next.js",
18+
"./next": "./next.js",
19+
"./react-internal.js": "./react-internal.js",
20+
"./react-internal": "./react-internal.js"
21+
},
922
"devDependencies": {
1023
"@vercel/style-guide": "^5.2.0",
1124
"eslint-config-turbo": "^1.12.4",

0 commit comments

Comments
 (0)