GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — BlockNote/shared at main · TypeCellOS/BlockNote

Expand file tree

/

shared

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

shared

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
api
api
 
 
assets/fonts
assets/fonts
 
 
util
util
 
 
README.md
README.md
 
 
formatConversionTestUtil.ts
formatConversionTestUtil.ts
 
 
package.json
package.json
 
 
testDocument.ts
testDocument.ts
 
 
testDocumentBlocks.ts
testDocumentBlocks.ts
 
 
tsconfig.json
tsconfig.json
 
 
vite-env.d.ts
vite-env.d.ts
 
 
vite.config.ts
vite.config.ts
 
 

README.md

This directory contains shared source files. It is not built into a separate package, so consumers should not add it as a dependency in package.json. Instead, use Typescript project references to re-use files from this directory.

Concretely, a consumer wires this directory up with two things (never a package.json dependency):

  • The @shared/* path alias, in both tsconfig.json (compilerOptions.paths) and the bundler config (e.g. the @shared alias in vite.config.ts). This is the mechanism every import uses — e.g. import { testDocument } from "@shared/testDocument.js".
  • A TypeScript project reference to ../shared (references in tsconfig.json), for build ordering and type resolution.

The @blocknote/shared name in this directory's package.json is internal-only: the package is private and unbuilt, is never published, and is never imported by that name. See the @blocknote/tests package for a reference setup.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.