Initial Commit
This commit is contained in:
104
packages/foundation/flow/undo/package.json
Normal file
104
packages/foundation/flow/undo/package.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"name": "@suaveplan/undo",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"description": "Enterprise-grade undo/redo engine with branching history, async commands, history compression, selective undo, and command merging",
|
||||
"license": "MIT",
|
||||
"author": "Suaveplan Team",
|
||||
"main": "./dist/index.js",
|
||||
"module": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"exports": {
|
||||
"./package.json": "./package.json",
|
||||
".": {
|
||||
"import": { "types": "./dist/index.d.ts", "default": "./dist/index.js" },
|
||||
"require": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }
|
||||
},
|
||||
"./command/command": {
|
||||
"import": { "types": "./dist/command/command.d.ts", "default": "./dist/command/command.js" },
|
||||
"require": { "types": "./dist/command/command.d.ts", "default": "./dist/command/command.js" }
|
||||
},
|
||||
"./stack/stack": {
|
||||
"import": { "types": "./dist/stack/stack.d.ts", "default": "./dist/stack/stack.js" },
|
||||
"require": { "types": "./dist/stack/stack.d.ts", "default": "./dist/stack/stack.js" }
|
||||
},
|
||||
"./branch/branch": {
|
||||
"import": { "types": "./dist/branch/branch.d.ts", "default": "./dist/branch/branch.js" },
|
||||
"require": { "types": "./dist/branch/branch.d.ts", "default": "./dist/branch/branch.js" }
|
||||
},
|
||||
"./async/async-command": {
|
||||
"import": { "types": "./dist/async/async-command.d.ts", "default": "./dist/async/async-command.js" },
|
||||
"require": { "types": "./dist/async/async-command.d.ts", "default": "./dist/async/async-command.js" }
|
||||
},
|
||||
"./async/async-stack": {
|
||||
"import": { "types": "./dist/async/async-stack.d.ts", "default": "./dist/async/async-stack.js" },
|
||||
"require": { "types": "./dist/async/async-stack.d.ts", "default": "./dist/async/async-stack.js" }
|
||||
},
|
||||
"./compression/history-compressor": {
|
||||
"import": { "types": "./dist/compression/history-compressor.d.ts", "default": "./dist/compression/history-compressor.js" },
|
||||
"require": { "types": "./dist/compression/history-compressor.d.ts", "default": "./dist/compression/history-compressor.js" }
|
||||
},
|
||||
"./selective/selective-undo": {
|
||||
"import": { "types": "./dist/selective/selective-undo.d.ts", "default": "./dist/selective/selective-undo.js" },
|
||||
"require": { "types": "./dist/selective/selective-undo.d.ts", "default": "./dist/selective/selective-undo.js" }
|
||||
},
|
||||
"./merge/command-merger": {
|
||||
"import": { "types": "./dist/merge/command-merger.d.ts", "default": "./dist/merge/command-merger.js" },
|
||||
"require": { "types": "./dist/merge/command-merger.d.ts", "default": "./dist/merge/command-merger.js" }
|
||||
},
|
||||
"./types/undo.types": {
|
||||
"import": { "types": "./dist/types/undo.types.d.ts", "default": "./dist/types/undo.types.js" },
|
||||
"require": { "types": "./dist/types/undo.types.d.ts", "default": "./dist/types/undo.types.js" }
|
||||
},
|
||||
"./schemas/undo.schemas": {
|
||||
"import": { "types": "./dist/schemas/undo.schemas.d.ts", "default": "./dist/schemas/undo.schemas.js" },
|
||||
"require": { "types": "./dist/schemas/undo.schemas.d.ts", "default": "./dist/schemas/undo.schemas.js" }
|
||||
},
|
||||
"./errors/undo-error": {
|
||||
"import": { "types": "./dist/errors/undo-error.d.ts", "default": "./dist/errors/undo-error.js" },
|
||||
"require": { "types": "./dist/errors/undo-error.d.ts", "default": "./dist/errors/undo-error.js" }
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"test": "vitest run --passWithNoTests",
|
||||
"test:watch": "vitest",
|
||||
"test:coverage": "vitest run --coverage --passWithNoTests",
|
||||
"lint": "bunx biome check src/",
|
||||
"lint:fix": "bunx biome lint --fix --unsafe --max-diagnostics 500 src/",
|
||||
"format": "bunx biome format --write --max-diagnostics 500 src/",
|
||||
"check": "bunx biome check --write --unsafe --max-diagnostics 500 src/",
|
||||
"typecheck": "bunx tsc --noEmit --composite false -p tsconfig.lib.json",
|
||||
"docs:check": "bun run ../../../../scripts/docs-check.ts ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@suaveplan/error": "workspace:^",
|
||||
"@suaveplan/types": "workspace:^",
|
||||
"@suaveplan/events": "workspace:^",
|
||||
"@suaveplan/diff": "workspace:^",
|
||||
"tslib": "catalog:build",
|
||||
"zod": "catalog:forms",
|
||||
"@opentelemetry/api": "catalog:observability"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@suaveplan/testing": "workspace:^",
|
||||
"@types/node": "catalog:",
|
||||
"@vitest/coverage-istanbul": "catalog:testing",
|
||||
"fast-check": "catalog:testing",
|
||||
"mitata": "catalog:testing",
|
||||
"typescript": "catalog:",
|
||||
"vite": "catalog:build",
|
||||
"vite-plugin-dts": "catalog:build",
|
||||
"vitest": "catalog:testing"
|
||||
},
|
||||
"publishConfig": {
|
||||
"registry": "https://npmjs.fq.io/",
|
||||
"access": "public"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"src",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user