Skip to content
Draft
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
8 changes: 3 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,9 @@ The short summary is:

Scripts can be executed via `npm run [script]` or `yarn [script]` respectively.

- `build` - compiles all packages ready for publishing to npm
- `build:core` - builds just Preact itself
- `build:debug` - builds the debug addon only
- `build:hooks` - builds the hook addon only
- `build:test-utils` - builds the test-utils addon only
- `build` - compiles all packages (core + addons) via unified script (`scripts/build-packages.cjs`)
- `build:core` - builds just Preact itself (alias for `node scripts/build-packages.cjs core`)
- (Deprecated) Previous per-package commands like `build:hooks`, `build:debug`, etc. now proxy to the unified build and will be removed in a future major.
- `test:ts` - Run all tests for TypeScript definitions
- `test:karma` - Run all unit/integration tests.
- `test:karma:watch` - Same as above, but it will automatically re-run the test suite if a code change was detected.
Expand Down
1 change: 0 additions & 1 deletion compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "A React compatibility layer for Preact",
"main": "dist/compat.js",
"module": "dist/compat.mjs",
"umd:main": "dist/compat.umd.js",
"source": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion compat/src/render.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ export const __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = {
useInsertionEffect,
useLayoutEffect,
useMemo,
// useMutableSource, // experimental-only and replaced by uSES, likely not worth supporting
/* useMutableSource (omitted): experimental-only and replaced by uSES, likely not worth supporting */
useReducer,
useRef,
useState,
Expand Down
1 change: 0 additions & 1 deletion debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "Preact extensions for development",
"main": "dist/debug.js",
"module": "dist/debug.mjs",
"umd:main": "dist/debug.umd.js",
"source": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "Preact bridge for Preact devtools",
"main": "dist/devtools.js",
"module": "dist/devtools.mjs",
"umd:main": "dist/devtools.umd.js",
"source": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "Hook addon for Preact",
"main": "dist/hooks.js",
"module": "dist/hooks.mjs",
"umd:main": "dist/hooks.umd.js",
"source": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT",
Expand Down
1 change: 0 additions & 1 deletion jsx-runtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"description": "Preact JSX runtime",
"main": "dist/jsxRuntime.js",
"module": "dist/jsxRuntime.mjs",
"umd:main": "dist/jsxRuntime.umd.js",
"source": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT",
Expand Down
Loading
Loading