Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
# The package publishes source with types from dist, so a passing build
# is not proof the tarball is complete — check what npm would ship.
- name: Verify the publishable tarball
working-directory: packages/scribo
run: |
set -euo pipefail
npm pack --dry-run 2>&1 | tee /tmp/pack.log
Expand Down
91 changes: 10 additions & 81 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,86 +1,15 @@
{
"name": "@eventuras/scribo",
"version": "0.10.7",
"description": "Markdown editor built on Lexical — WYSIWYG editing with markdown export",
"license": "MIT",
"homepage": "https://scribo.losol.no/",
"repository": {
"type": "git",
"url": "https://github.com/losol/scribo.git"
},
"bugs": {
"url": "https://github.com/losol/scribo/issues"
},
"name": "scribo-workspace",
"private": true,
"type": "module",
"exports": {
".": {
"types": "./dist/main.d.ts",
"default": "./src/main.tsx"
},
"./plugins/schedule": {
"types": "./dist/nodes/schedule/index.d.ts",
"default": "./src/nodes/schedule/index.ts"
},
"./plugins/callout": {
"types": "./dist/nodes/callout/index.d.ts",
"default": "./src/nodes/callout/index.ts"
},
"./style.css": "./dist/scribo.css"
},
"main": "src/main.tsx",
"scripts": {
"build": "vite build",
"build:site": "vite build --config vite.config.site.ts",
"dev": "vite",
"lint": "biome check .",
"test": "vitest run",
"format": "biome format --write .",
"format:check": "biome format --check ."
},
"overrides": {
"vite": {
"rollup": "npm:@rollup/wasm-node"
}
},
"dependencies": {
"@lexical/code": "0.50.0",
"@lexical/hashtag": "0.50.0",
"@lexical/link": "0.50.0",
"@lexical/list": "0.50.0",
"@lexical/mark": "0.50.0",
"@lexical/markdown": "0.50.0",
"@lexical/overflow": "0.50.0",
"@lexical/react": "^0.50.0",
"@lexical/rich-text": "0.50.0",
"@lexical/selection": "0.50.0",
"@lexical/table": "0.50.0",
"@lexical/utils": "0.50.0",
"lexical": "0.50.0",
"prismjs": "^1.30.0",
"yjs": "^13.6.32"
},
"devDependencies": {
"@biomejs/biome": "^2.5.13",
"@changesets/changelog-github": "^1.0.1",
"@changesets/cli": "^3.0.2",
"@eventuras/typescript-config": "^1.0.0",
"@eventuras/vite-config": "^0.3.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript/typescript6": "^6.0.2",
"@vitejs/plugin-react": "^6.0.5",
"lightningcss": "^1.33.0",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vitest": "^5.0.0"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"packageManager": "pnpm@11.8.0",
"engines": {
"node": ">=24.0.0 <25.0.0"
"scripts": {
"build": "pnpm --dir packages/scribo build",
"build:site": "pnpm --dir packages/scribo build:site",
"dev": "pnpm --dir packages/scribo dev",
"lint": "pnpm --dir packages/scribo lint",
"test": "pnpm --dir packages/scribo test",
"format": "pnpm --dir packages/scribo format",
"format:check": "pnpm --dir packages/scribo format:check"
}
}
File renamed without changes.
86 changes: 86 additions & 0 deletions packages/scribo/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"name": "@eventuras/scribo",
"version": "0.10.7",
"description": "Markdown editor built on Lexical — WYSIWYG editing with markdown export",
"license": "MIT",
"homepage": "https://scribo.losol.no/",
"repository": {
"type": "git",
"url": "https://github.com/losol/scribo.git"
},
"bugs": {
"url": "https://github.com/losol/scribo/issues"
},
"type": "module",
"exports": {
".": {
"types": "./dist/main.d.ts",
"default": "./src/main.tsx"
},
"./plugins/schedule": {
"types": "./dist/nodes/schedule/index.d.ts",
"default": "./src/nodes/schedule/index.ts"
},
"./plugins/callout": {
"types": "./dist/nodes/callout/index.d.ts",
"default": "./src/nodes/callout/index.ts"
},
"./style.css": "./dist/scribo.css"
},
"main": "src/main.tsx",
"scripts": {
"build": "vite build",
"build:site": "vite build --config vite.config.site.ts",
"dev": "vite",
"lint": "biome check .",
"test": "vitest run",
"format": "biome format --write .",
"format:check": "biome format --check ."
},
"overrides": {
"vite": {
"rollup": "npm:@rollup/wasm-node"
}
},
"dependencies": {
"@lexical/code": "0.50.0",
"@lexical/hashtag": "0.50.0",
"@lexical/link": "0.50.0",
"@lexical/list": "0.50.0",
"@lexical/mark": "0.50.0",
"@lexical/markdown": "0.50.0",
"@lexical/overflow": "0.50.0",
"@lexical/react": "^0.50.0",
"@lexical/rich-text": "0.50.0",
"@lexical/selection": "0.50.0",
"@lexical/table": "0.50.0",
"@lexical/utils": "0.50.0",
"lexical": "0.50.0",
"prismjs": "^1.30.0",
"yjs": "^13.6.32"
},
"devDependencies": {
"@biomejs/biome": "^2.5.13",
"@changesets/changelog-github": "^1.0.1",
"@changesets/cli": "^3.0.2",
"@eventuras/typescript-config": "^1.0.0",
"@eventuras/vite-config": "^0.3.1",
"@testing-library/react": "^16.3.2",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"@typescript/typescript6": "^6.0.2",
"@vitejs/plugin-react": "^6.0.5",
"lightningcss": "^1.33.0",
"typescript": "^7.0.2",
"vite": "^8.3.0",
"vitest": "^5.0.0"
},
"peerDependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"packageManager": "pnpm@11.8.0",
"engines": {
"node": ">=24.0.0 <25.0.0"
}
}
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/index.tsx → packages/scribo/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { App } from './App';
import './App.css';
import './MarkdownEditor.css';

import readmeRaw from '../README.md?raw';
import readmeRaw from '../../../README.md?raw';

const rootElement = document.getElementById('root');

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Single-package repo; the file exists so pnpm settings live outside package.json
# (pnpm 11 no longer reads the `pnpm` field there).
packages:
- 'packages/*'

# Allow-list of packages whose install scripts may run.
allowBuilds:
Expand Down