mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 20:58:28 +00:00
dokieli: 0-unstable-2024-09-23 -> 0-unstable-2024-12-12
This commit is contained in:
parent
cb60a01188
commit
08c74d53e4
@ -1,104 +0,0 @@
|
||||
{
|
||||
"name": "dokieli",
|
||||
"version": "0.3.1417",
|
||||
"description": "dokieli is a clientside editor for decentralised article publishing, annotations, and social interactions.",
|
||||
"main": "./src/dokieli.js",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build-dist": "webpack --progress --color",
|
||||
"build": "yarn build-dist",
|
||||
"test": "TZ=UTC node --experimental-vm-modules node_modules/jest/bin/jest.js --silent",
|
||||
"test:e2e": "playwright test",
|
||||
"watch": "webpack --progress --color --watch",
|
||||
"minify": "webpack --progress --color --env minimize",
|
||||
"postinstall": "patch-package",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"repository": "https://github.com/linkeddata/dokieli",
|
||||
"keywords": [
|
||||
"activitystreams",
|
||||
"activitypub",
|
||||
"annotations",
|
||||
"authoring",
|
||||
"decentralized",
|
||||
"editor",
|
||||
"knowledge graph",
|
||||
"linked data",
|
||||
"notifications",
|
||||
"publishing",
|
||||
"social web",
|
||||
"web standards"
|
||||
],
|
||||
"author": "dokieli team",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/linkeddata/dokieli/issues"
|
||||
},
|
||||
"homepage": "https://dokie.li/",
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"buffer": "^6.0.3",
|
||||
"d3-force": "^3.0.0",
|
||||
"d3-selection": "^3.0.0",
|
||||
"diff": "^5.2.0",
|
||||
"dompurify": "^3.1.5",
|
||||
"fs": "^0.0.1-security",
|
||||
"http-link-header": "^1.1.3",
|
||||
"leaflet": "^1.9.4",
|
||||
"leaflet-gpx": "^1.7.0",
|
||||
"medium-editor": "^5.23.3",
|
||||
"medium-editor-tables": "^0.6.1",
|
||||
"micromark": "^4.0.0",
|
||||
"micromark-extension-gfm": "^3.0.0",
|
||||
"micromark-extension-gfm-tagfilter": "^2.0.0",
|
||||
"rdf-parser-rdfa": "https://github.com/rdf-ext/rdf-parser-rdfa.git#master",
|
||||
"rdf-store-ldp": "^0.3.1",
|
||||
"shower": "https://github.com/shower/core.git#main",
|
||||
"simplerdf": "^0.2.14",
|
||||
"simplerdf-parse": "^0.1.3",
|
||||
"solid-auth-client": "^2.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@axe-core/playwright": "^4.9.1",
|
||||
"@playwright/test": "^1.44.1",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"eslint": "^9.10.0",
|
||||
"eslint-plugin-jest": "^27.9.0",
|
||||
"husky": "^9.0.11",
|
||||
"jest": "^29.0.3",
|
||||
"jest-environment-jsdom": "^29.0.3",
|
||||
"patch-package": "^8.0.0",
|
||||
"process": "^0.11.10",
|
||||
"terser-webpack-plugin": "^5.3.3",
|
||||
"webpack": "5.94.0",
|
||||
"webpack-cli": "^5.0.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"ansi-regex": "^5.0.0",
|
||||
"xmldom": "https://github.com/xmldom/xmldom.git#master",
|
||||
"green-turtle": "https://github.com/csarven/green-turtle#master",
|
||||
"json5": "^1.0.2",
|
||||
"http-cache-semantics": "^4.1.1",
|
||||
"jsonld": "^5.0.0",
|
||||
"xml2js": "^0.6.2",
|
||||
"semver": "^7.6.2",
|
||||
"lru-cache": "^8.0.0",
|
||||
"micromatch": "^4.0.8"
|
||||
},
|
||||
"standard": {
|
||||
"globals": [
|
||||
"DO",
|
||||
"SimpleRDF",
|
||||
"ld",
|
||||
"describe",
|
||||
"it",
|
||||
"before",
|
||||
"beforeEach",
|
||||
"after",
|
||||
"afterEach"
|
||||
]
|
||||
}
|
||||
}
|
@ -1,37 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
mkYarnPackage,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchYarnDeps,
|
||||
yarnConfigHook,
|
||||
makeWrapper,
|
||||
yarnBuildHook,
|
||||
yarnInstallHook,
|
||||
nodejs,
|
||||
xsel,
|
||||
}:
|
||||
|
||||
mkYarnPackage rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "dokieli";
|
||||
version = "0-unstable-2024-09-23";
|
||||
version = "0-unstable-2024-12-12";
|
||||
|
||||
# Can't update newer versions currently because newer versions require yarn-berry, and it's not in nixpkgs, yet.
|
||||
src = fetchFromGitHub {
|
||||
owner = "linkeddata";
|
||||
repo = "dokieli";
|
||||
rev = "40ebbc60ba48d8b08f763b07befba96382c5f027";
|
||||
hash = "sha256-lc96jOR8uXLcZFhN3wpSd9O5cUdKxllB8WWCh2oWuEw=";
|
||||
rev = "d8dc72c81b84ec12f791892a6377a7f6ec46ed3b";
|
||||
hash = "sha256-CzSyQVyeJVOP8NCsa7ST3atG87V1KPSBzTRi0brMFYw=";
|
||||
};
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = src + "/yarn.lock";
|
||||
hash = "sha256-TEXCCLFhpwHZJ8zRGsC7J6EwNaFpIi+CZ3L5uilebK4=";
|
||||
yarnLock = "${finalAttrs.src}/yarn.lock";
|
||||
hash =
|
||||
if stdenv.hostPlatform.isDarwin then
|
||||
"sha256-bw5HszcHZ60qgYgm4qfhZEYXjJAQ2DXhWU0Reqb9VpQ="
|
||||
else
|
||||
"sha256-rwHBDBWZe4cdTyL7lNkB4nlpd5MWzbTU6kzdLBWcq0M=";
|
||||
};
|
||||
|
||||
packageJSON = ./package.json;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp -r * $out
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
nativeBuildInputs = [
|
||||
makeWrapper
|
||||
yarnConfigHook
|
||||
yarnBuildHook
|
||||
yarnInstallHook
|
||||
# Needed for executing package.json scripts
|
||||
nodejs
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
makeWrapper ${nodejs}/bin/npx $out/bin/dokieli \
|
||||
@ -52,7 +65,7 @@ mkYarnPackage rec {
|
||||
homepage = "https://github.com/linkeddata/dokieli";
|
||||
license = lib.licenses.mit;
|
||||
platforms = lib.platforms.all;
|
||||
maintainers = with lib.maintainers; [ shogo ];
|
||||
maintainers = with lib.maintainers; [ shogo ] ++ lib.teams.ngi.members;
|
||||
mainProgram = "dokieli";
|
||||
};
|
||||
}
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user