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
2 changes: 1 addition & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
run: pnpm exec nx-cloud start-ci-run --distribute-on="5 linux-medium-js"

- name: Build All Packages
run: pnpm run slimbuild:ci
run: pnpm run build:ci
env:
CI: true

Expand Down
6 changes: 3 additions & 3 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ This repository uses a pnpm + Nx TypeScript monorepo structure. The guidance bel
## Quick Commands

- Install dependencies: `pnpm i`
- Build all packages: `pnpm run build` (runs `slimbuild` + docs)
- Build all packages: `pnpm run build` (runs `build` + docs)
- Build affected packages: `pnpm run build:affected` or `pnpm nx affected -t build`
- Run the full workspace build (CI): `pnpm run build:ci`
- Run typedoc (docs): `pnpm run build:docs`
- Run typedoc (docs): `pnpm --filter @tsparticles/website run typedoc:api`
- Start demo server: `cd demo/vanilla && pnpm start`

## Lint / Format / Commit hooks
Expand All @@ -37,7 +37,7 @@ Notes on single-test execution: prefer package scripts that target a single file

## Build & Bundles

- Slim/full bundle build: `pnpm run slimbuild` (uses `nx run-many -t build`)
- Slim/full bundle build: `pnpm run build` (uses `nx run-many -t build`)
- Build for CI with module/UMD targets: `pnpm run build:ci`
- Bundle configs are under `bundles/*/webpack.config.js` and package-level `tsconfig.*.json` files.

Expand Down
2 changes: 1 addition & 1 deletion demo/astro/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [],
"exclude": [
"**/*.d.ts"
Expand Down
22 changes: 4 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,10 @@
"version": "4.0.0-beta.12",
"type": "module",
"scripts": {
"slimbuild": "pnpm run prettify:readme && nx run-many -t build --parallel=50%",
"slimbuild:ci": "pnpm run prettify:ci:readme && nx run-many -t build --c=ci",
"slimbuild:affected": "pnpm run prettify:readme && nx affected -t build --parallel=50%",
"slimbuild:affected:ci": "pnpm run prettify:ci:readme && nx affected -t build --c=ci",
"build": "pnpm run slimbuild && echo pnpm run build:docs",
"build:ci": "pnpm run slimbuild:ci && echo pnpm run build:docs",
"build:affected": "pnpm run slimbuild:affected && echo pnpm run build:docs",
"build:affected:ci": "pnpm run slimbuild:affected:ci && echo pnpm run build:docs",
"build:ci:json": "pnpm run slimbuild:ci && echo pnpm run build:docs:json",
"build:docs": "rimraf docs && typedoc",
"build:docs:json": "rimraf docs.json && typedoc --json docs.json",
"build": "pnpm run prettify:readme && nx run-many -t build --parallel=50%",
"build:ci": "pnpm run prettify:ci:readme && nx run-many -t build --c=ci",
"build:affected": "pnpm run prettify:readme && nx affected -t build --parallel=50%",
"build:affected:ci": "pnpm run prettify:ci:readme && nx affected -t build --c=ci",
"prettify:ci:readme": "prettier --config ./prettier.readme.config.json --check ./README.md ./markdown/*",
"prettify:readme": "prettier --config ./prettier.readme.config.json --write ./README.md ./markdown/*",
"version:alpha": "lerna version prerelease --preid alpha",
Expand Down Expand Up @@ -76,13 +69,6 @@
"terser-webpack-plugin": "^5.6.0",
"ts-json-schema-generator": "^2.9.0",
"ts-node": "^10.9.2",
"typedoc": "^0.28.19",
"typedoc-plugin-clarity": "^1.6.0",
"typedoc-plugin-coverage": "^4.0.3",
"typedoc-plugin-google-ads": "^1.6.0",
"typedoc-plugin-keywords": "^1.6.0",
"typedoc-plugin-mdn-links": "^5.1.1",
"typedoc-plugin-missing-exports": "^4.1.3",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.2",
"webpack": "^5.106.2",
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeAmber/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeBlue/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeGreen/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeMagenta/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeOrange/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokePurple/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeRainbow/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeRed/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/coloredSmokeTeal/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/dustHaze/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/fogMorning/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmosphere/volcanicAsh/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/heatDuality/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/heatHaze/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/lightning/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/shockwave/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/smokeCold/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/smokeWarm/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/sunriseGold/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/sunsetBinary/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/thermalMap/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/atmospheric/thunderstorm/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/default/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/gold/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/monochromeBlue/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/monochromeGreen/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/monochromePink/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/monochromePurple/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/monochromeRed/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/neon/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/pastel/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/patriotic/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/rainbow/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/confetti/winter/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/caustics/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/desertSand/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/mudAndDirt/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/oilSlick/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/rockAndGravel/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/rustAndCorrosion/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/earth/skinAndOrganic/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/fantasy/bioluminescence/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/fantasy/bloodAndGore/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/fantasy/fairyDust/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/fantasy/holyLight/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
2 changes: 1 addition & 1 deletion palettes/fantasy/iceMagic/typedoc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"includes": "./markdown",
"projectDocuments": ["./markdown/*.md"],
"entryPoints": [
"./src/"
],
Expand Down
Loading
Loading