app/assets/build/coco/coco.js in coveragebook_components-0.15.0 vs app/assets/build/coco/coco.js in coveragebook_components-0.16.0
- old
+ new
@@ -15026,20 +15026,24 @@
var alpine_default = import_alpinejs.default;
// ../../../package.json
var package_default = {
name: "coveragebook-components",
- version: "0.15.0",
+ version: "0.16.0",
repository: "git@github.com:coveragebook/coco.git",
license: "NO LICENSE",
author: "Mark Perkins <mark@coveragebook.com>",
- main: "app/assets/build/coco/core.js",
+ main: "app/assets/build/coco/coc0.js",
+ engines: {
+ node: "20.x"
+ },
scripts: {
- build: "npm run js:build && npm run css:build && npm run lookbook:build",
+ build: "npm run js:build && npm run css:build npm run build:tailwind-preset && npm run lookbook:build",
+ "build:tailwind-preset": "esbuild ./config/tailwind.preset.js --bundle --format=cjs --outdir=./app/assets/build/coco --log-level=error",
"build:dev": "npm run js:dev && npm run css:dev",
- "css:build": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco",
- "css:dev": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco/dev",
- "css:watch": "postcss ./app/assets/css/{app,book}.css -d ./app/assets/build/coco/dev --watch",
+ "css:build": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco",
+ "css:dev": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco/dev",
+ "css:watch": "postcss ./app/assets/css/{app,book,coco}.css -d ./app/assets/build/coco/dev --watch",
"js:build": "node esbuild.config.mjs",
"js:dev": "node esbuild.config.mjs --dev",
"js:watch": "node esbuild.config.mjs --watch",
"lint:fix": "bundle exec standardrb --fix && prettier --write .",
"lookbook:build": "cd lookbook && npm run build",