penpot/common/package.json
alonso.torres 1380d49da8 👷 Run the generative component tests apart from CI
The random component program properties of `composable-gen-test`
(`random-compositions`, `random-structure-compositions` and the other
nine `random-*` tests) ran in every common test run, on the JVM with
100 programs each and in JS with 15. They are now tagged `:generative`
and left out of the default runs, so CI runs only the unit tests.

- `tests.edn` skips `:generative`; `tests-generative.edn` runs only it:
  `pnpm run test:generative`.
- The JS runner leaves them out of the full run; `--generative` runs
  only them: `pnpm run test:generative:js`. A `--focus` still runs a
  focused one.

AI-assisted-by: claude-opus-5-5
2026-11-19 12:57:42 +01:00

39 lines
1.5 KiB
JSON

{
"name": "common",
"version": "1.0.0",
"license": "MPL-2.0",
"author": "Kaleidos INC Sucursal en España SL",
"private": true,
"packageManager": "pnpm@12.21.0+sha512.66fd8278ee28935ce951792d34367ff3af5c432a2756445823029533835b8da529bbe0be5130afd56ed0713fb8789e47bad82d93bd5ae2fe54b15562d6276ef0",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/penpot/penpot"
},
"devDependencies": {
"concurrently": "^10.0.7",
"nodemon": "^3.1.14",
"prettier": "3.10.1",
"source-map-support": "^0.5.21",
"ws": "^8.23.0"
},
"dependencies": {
"date-fns": "^4.4.0"
},
"scripts": {
"lint:clj": "clj-kondo --fail-level error --config-dir ../.clj-kondo --lint src/",
"lint:js": "exit 0",
"check-fmt:clj": "cljfmt check --parallel=true src/ test/",
"check-fmt:js": "prettier -c src/**/*.js",
"fmt:clj": "cljfmt fix --parallel=true src/ test/",
"fmt:js": "prettier -c src/**/*.js -w",
"lint": "pnpm run lint:clj",
"watch:test": "concurrently \"clojure -M:dev:shadow-cljs watch test\" \"nodemon -C -d 2 -w target/tests/ --exec 'node target/tests/test.js'\"",
"build:test": "clojure -M:dev:shadow-cljs compile test",
"test": "pnpm run build:test && node target/tests/test.js",
"test:quiet": "node ./scripts/test-quiet.js",
"test:generative": "clojure -M:dev:test --config-file tests-generative.edn",
"test:generative:js": "node ./scripts/test-quiet.js --generative"
}
}