mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
chore(packages): remove dom package
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./dom": {
|
||||
"types": "./dist/dom.d.ts",
|
||||
"default": "./dist/dom.js"
|
||||
}
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
||||
},
|
||||
"include": ["./**/*.ts"]
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["src"]
|
||||
"extends": "./tsconfig.json"
|
||||
}
|
||||
|
||||
@@ -7,5 +7,7 @@
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
"references": [{ "path": "./src/dom" }],
|
||||
"include": ["src"],
|
||||
"exclude": ["src/dom"]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ import { defineConfig } from 'tsdown';
|
||||
export default defineConfig({
|
||||
entry: {
|
||||
index: './src/index.ts',
|
||||
dom: './src/dom/index.ts',
|
||||
},
|
||||
platform: 'neutral',
|
||||
format: 'es',
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
# @videojs/dom
|
||||
|
||||
[![package-badge]][package]
|
||||
|
||||
> **⚠️ Alpha - SUBJECT TO CHANGE** Not recommended for production use.
|
||||
|
||||
## Overview
|
||||
|
||||
Provides foundational tools for working with the DOM including:
|
||||
|
||||
- Attribute builders
|
||||
- Event handling utilities
|
||||
- Geometry and positioning helpers
|
||||
- Component interfaces for data attributes and CSS custom properties
|
||||
- Shared utilities for HTML and React implementations
|
||||
|
||||
## Community
|
||||
|
||||
If you need help with anything related to Video.js 10, or if you'd like to casually chat with other
|
||||
members:
|
||||
|
||||
- [Join Discord Server][discord]
|
||||
- [See GitHub Discussions][gh-discussions]
|
||||
|
||||
## License
|
||||
|
||||
[Apache-2.0](./LICENSE)
|
||||
|
||||
[package]: https://www.npmjs.com/package/@videojs/dom
|
||||
[package-badge]: https://img.shields.io/npm/v/@videojs/dom/next?label=@videojs/dom@next
|
||||
[discord]: https://discord.gg/JBqHh485uF
|
||||
[gh-discussions]: https://github.com/videojs/v10/discussions
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"name": "@videojs/dom",
|
||||
"type": "module",
|
||||
"version": "0.1.0-alpha.1",
|
||||
"description": "Shared DOM utilities for Video.js",
|
||||
"license": "Apache-2.0",
|
||||
"keywords": [
|
||||
"media",
|
||||
"player",
|
||||
"dom",
|
||||
"videojs"
|
||||
],
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
}
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsdown",
|
||||
"build:watch": "tsdown --watch --silent",
|
||||
"dev": "pnpm run build:watch",
|
||||
"test": "echo \"No tests yet\"",
|
||||
"clean": "rm -rf dist"
|
||||
},
|
||||
"dependencies": {
|
||||
"@videojs/core": "workspace:*",
|
||||
"@videojs/utils": "workspace:*"
|
||||
},
|
||||
"devDependencies": {
|
||||
"tsdown": "^0.15.9",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": ["src"]
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
import { defineConfig } from 'tsdown';
|
||||
|
||||
export default defineConfig({
|
||||
entry: {
|
||||
index: 'src/index.ts',
|
||||
},
|
||||
platform: 'browser',
|
||||
format: 'es',
|
||||
sourcemap: true,
|
||||
clean: true,
|
||||
alias: {
|
||||
'@': new URL('./src', import.meta.url).pathname,
|
||||
},
|
||||
dts: {
|
||||
oxc: true,
|
||||
},
|
||||
});
|
||||
@@ -15,6 +15,14 @@
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./dom": {
|
||||
"types": "./dist/dom.d.ts",
|
||||
"default": "./dist/dom.js"
|
||||
},
|
||||
"./react": {
|
||||
"types": "./dist/react.d.ts",
|
||||
"default": "./dist/react.js"
|
||||
}
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
||||
},
|
||||
"include": ["./**/*.ts"]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"jsx": "react-jsx",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
||||
},
|
||||
"include": ["./**/*.ts", "./**/*.tsx"]
|
||||
}
|
||||
@@ -7,5 +7,7 @@
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
"references": [{ "path": "./src/dom" }, { "path": "./src/react" }],
|
||||
"include": ["src"],
|
||||
"exclude": ["src/dom", "src/react"]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ import { defineConfig } from 'tsdown';
|
||||
export default defineConfig({
|
||||
entry: {
|
||||
index: './src/index.ts',
|
||||
dom: './src/dom/index.ts',
|
||||
react: './src/react/index.ts',
|
||||
},
|
||||
platform: 'neutral',
|
||||
format: 'es',
|
||||
|
||||
@@ -13,6 +13,10 @@
|
||||
".": {
|
||||
"types": "./dist/index.d.ts",
|
||||
"default": "./dist/index.js"
|
||||
},
|
||||
"./dom": {
|
||||
"types": "./dist/dom.d.ts",
|
||||
"default": "./dist/dom.js"
|
||||
}
|
||||
},
|
||||
"main": "dist/index.js",
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"]
|
||||
},
|
||||
"include": ["./**/*.ts"]
|
||||
}
|
||||
@@ -7,5 +7,7 @@
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
"references": [{ "path": "./src/dom" }],
|
||||
"include": ["src"],
|
||||
"exclude": ["src/dom"]
|
||||
}
|
||||
|
||||
@@ -3,6 +3,7 @@ import { defineConfig } from 'tsdown';
|
||||
export default defineConfig({
|
||||
entry: {
|
||||
index: './src/index.ts',
|
||||
dom: './src/dom/index.ts',
|
||||
},
|
||||
platform: 'neutral',
|
||||
format: 'es',
|
||||
|
||||
Reference in New Issue
Block a user