Skip to content

Commit

Permalink
Add a generated index.d.ts file, update deps, v0.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer committed Mar 18, 2024
1 parent fa5802d commit 669251d
Show file tree
Hide file tree
Showing 7 changed files with 1,068 additions and 657 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
/dist/
/node_modules/
coverage
packages/remdx/index.d.ts
tsconfig.tsbuildinfo
vite.config.ts.timestamp-*
8 changes: 4 additions & 4 deletions examples/tokyo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nkzw/remdx-tokyo-example",
"description": "Beautiful Minimalist React & MDX Presentations",
"version": "0.11.0",
"version": "0.12.0",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"private": true,
"repository": {
Expand All @@ -16,10 +16,10 @@
},
"devDependencies": {
"@nkzw/vite-plugin-remdx": "workspace:*",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@vitejs/plugin-react": "^4.2.1",
"vite": "^5.1.3"
"vite": "^5.1.6"
},
"scripts": {
"build": "vite build",
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nkzw/remdx-private",
"version": "0.9.0",
"version": "0.12.0",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"private": true,
"repository": {
Expand All @@ -14,28 +14,29 @@
},
"devDependencies": {
"@babel/plugin-syntax-typescript": "^7.23.3",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@nkzw/eslint-config": "^1.14.0",
"@styled/typescript-styled-plugin": "^1.0.1",
"@swc/core": "^1.4.2",
"@types/node": "^20.11.19",
"esbuild": "^0.20.1",
"eslint": "^8.56.0",
"nodemon": "^3.0.3",
"@swc/core": "^1.4.8",
"@types/node": "^20.11.28",
"dts-bundle-generator": "^9.3.1",
"esbuild": "^0.20.2",
"eslint": "^8.57.0",
"nodemon": "^3.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vite": "^5.1.3",
"vitest": "^1.3.0"
"typescript": "^5.4.2",
"vite": "^5.1.6",
"vitest": "^1.4.0"
},
"pnpm": {
"overrides": {
"shiki": "^0.11.0"
}
},
"scripts": {
"build": "(cd ./packages/create-remdx && pnpm build) && (cd ./packages/remdx && pnpm build) && (cd ./packages/vite-plugin-remdx && pnpm build)",
"build": "(cd ./packages/create-remdx && pnpm build) && (cd ./packages/remdx && pnpm build) && (cd ./packages/vite-plugin-remdx && pnpm build) && dts-bundle-generator -o ./packages/remdx/index.d.ts ./packages/remdx/index.tsx",
"dev:setup": "pnpm install",
"dev:update-deps": "rm -rf pnpm-lock.yaml node_modules/ **/node_modules && pnpm dev:setup",
"dev": "cd examples/tokyo && pnpm dev",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-remdx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-remdx",
"description": "Beautiful Minimalist React & MDX Presentations",
"version": "0.11.0",
"version": "0.12.0",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"repository": {
"type": "git",
Expand Down
9 changes: 5 additions & 4 deletions packages/remdx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nkzw/remdx",
"description": "Beautiful Minimalist React & MDX Presentations",
"version": "0.11.0",
"version": "0.12.0",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"repository": {
"type": "git",
Expand All @@ -12,8 +12,8 @@
"devDependencies": {
"@mdx-js/react": "^3.0.1",
"@types/mousetrap": "^1.6.15",
"@types/react": "^18.2.56",
"@types/react-dom": "^18.2.19",
"@types/react": "^18.2.66",
"@types/react-dom": "^18.2.22",
"@types/styled-components": "^5.1.34",
"history": "^5.3.0",
"mousetrap": "^1.6.5",
Expand All @@ -31,6 +31,7 @@
"build": "rm -f index.js; esbuild --format=esm --outfile=index.js --jsx=automatic --external:react --external:react-dom --bundle ./index.tsx"
},
"dependencies": {
"@types/mdx": "^2.0.11"
"@types/mdx": "^2.0.11",
"mdx": "^0.3.1"
}
}
4 changes: 2 additions & 2 deletions packages/vite-plugin-remdx/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@nkzw/vite-plugin-remdx",
"description": "Beautiful Minimalist React & MDX Presentations",
"version": "0.11.0",
"version": "0.12.0",
"author": "Christoph Nakazawa <christoph.pojer@gmail.com>",
"repository": {
"type": "git",
Expand All @@ -18,7 +18,7 @@
"remark-shiki-twoslash": "^3.1.3"
},
"devDependencies": {
"vite": "^5.1.3"
"vite": "^5.1.6"
},
"scripts": {
"build": "rm -f index.js; esbuild --target=node18 --format=esm --platform=node --outfile=index.js --packages=external --bundle ./index.ts"
Expand Down

0 comments on commit 669251d

Please sign in to comment.