a0628f9cb2
Rename `@tldraw/tldraw` to just `tldraw`! `@tldraw/tldraw` still exists as an alias to `tldraw` for folks who are still using that. ### Test Plan - [x] Unit Tests - [ ] End to end tests ### Release Notes - The `@tldraw/tldraw` package has been renamed to `tldraw`. You can keep using the old version if you want though!
12 lines
426 B
JavaScript
12 lines
426 B
JavaScript
import { readFileSync, writeFileSync } from 'fs'
|
|
import { dirname, join } from 'path'
|
|
import { fileURLToPath } from 'url'
|
|
|
|
const __filename = fileURLToPath(import.meta.url)
|
|
const __dirname = dirname(__filename)
|
|
|
|
const packageDir = join(__dirname, '..')
|
|
|
|
const content = readFileSync(join(packageDir, '..', 'tldraw', 'tldraw.css'), 'utf8')
|
|
const destination = join(packageDir, 'tldraw.css')
|
|
writeFileSync(destination, content)
|