Something went wrong. Try again.
Content-addressed version deploy system for Diffuse elements.diffuse.sh
Something went wrong. Try again.
diffuse-artifacts deno.jsonc
3.0 kB · 72 lines
at main
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273{ "imports": { "@atikayda/kjson": "jsr:@atikayda/kjson@^1.2.2", "@ipld/car": "npm:@ipld/car@^5.4.6", "@ipld/dag-json": "npm:@ipld/dag-json@^11.0.0", "@ipld/dag-pb": "npm:@ipld/dag-pb@^4.1.7", "@std/cli": "jsr:@std/cli@^1.0.30", "@std/dotenv": "jsr:@std/dotenv@^0.225.7", "@std/fs": "jsr:@std/fs@^1.0.24", "@std/path": "jsr:@std/path@^1.1.5", "@std/semver": "jsr:@std/semver@^1.0.8", "blockstore-core": "npm:blockstore-core@^7.0.1", "ipfs-unixfs-importer": "npm:ipfs-unixfs-importer@^17.0.1", "lume/": "https://cdn.jsdelivr.net/gh/lumeland/lume@3.1.4/", "lume/jsx-runtime": "https://cdn.jsdelivr.net/gh/oscarotero/ssx@0.1.14/jsx-runtime.ts", "multiformats": "npm:multiformats@^14.0.0", }, "tasks": { "add-artifact": "deno run -A tasks/add-artifact.ts", "add-nightly": "deno run --allow-read --allow-write=artifacts/ ./tasks/add-nightly.ts", "delete-nightly": "deno run --allow-read --allow-write=artifacts/ ./tasks/delete-nightly.ts", "build": "deno run add-artifact && deno run de-duplicate", "copy-artifacts": "cp -r ./artifacts/* ./dist", "de-duplicate": "cd ./artifacts/ && ls -t | fclones group --stdin --hidden | fclones link --soft --priority=newest && symlinks -cr .", "generate-redirects": "deno run --allow-read --allow-write=artifacts/ ./tasks/generate-redirects.ts", "sync-diffuse": "git submodule update --init --recursive --remote", "deploy:netlify": "deno run generate-redirects --symlinks && deno run index:build && deno run copy-artifacts && npx --yes netlify deploy --prod && rm -rf dist/", "deploy:ipfs": "deno run generate-redirects && deno run index:build && deno run -A tasks/deploy/ipfs.ts", "deploy:statichost": "deno task zip && deno run -A tasks/deploy/statichost.ts", "index:build": "deno task lume", "index:serve": "deno task lume -s", "lume": { "description": "Run Lume command", "command": "deno run -P=lume lume/cli.ts", }, "zip": "deno run generate-redirects --symlinks && deno run index:build && deno run copy-artifacts && rm -f diffuse.zip && cd dist && zip -r ../diffuse.zip . && rm -rf dist/", }, "compilerOptions": { "checkJs": true, "types": ["lume/types.ts"], "jsx": "react-jsx", "jsxImportSource": "lume", }, "permissions": { "lume": { "read": true, "write": ["./"], "import": ["cdn.jsdelivr.net:443", "jsr.io:443", "deno.land:443", "esm.sh:443"], "net": [ "0.0.0.0", "cdn.jsdelivr.net:443", "data.jsdelivr.com:443", "jsr.io:443", "deno.land:443", "esm.sh:443", "registry.npmjs.org:443", ], "env": true, "run": true, "ffi": true, "sys": true, }, }, "unstable": ["temporal", "fmt-component"], "lint": { "plugins": ["https://cdn.jsdelivr.net/gh/lumeland/lume@3.1.4/lint.ts"], "rules": { "exclude": ["no-import-prefix"], }, }, "lock": false,}