mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #296848 from drupol/typst-preview/bump/0-10-10
typst-preview: 0.10.8 -> 0.11.1
This commit is contained in:
commit
427c0f921a
@ -2685,8 +2685,8 @@ let
|
||||
mktplcRef = {
|
||||
name = "typst-preview";
|
||||
publisher = "mgt19937";
|
||||
version = "0.10.8";
|
||||
sha256 = "sha256-Ad6eCAuueeAeh6z/kk/F2HhbV4tp/XmiGySA2fn5wqY=";
|
||||
version = "0.11.1";
|
||||
sha256 = "sha256-OsCgkq0OSBu7RZYHlxgy7W7zDNDUgJFSeSET20CX8zA=";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
|
1068
pkgs/by-name/ty/typst-preview/Cargo.lock
generated
1068
pkgs/by-name/ty/typst-preview/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@ -9,15 +9,16 @@
|
||||
"preview": "vite preview",
|
||||
"test": "vitest",
|
||||
"coverage": "vitest run --coverage",
|
||||
"link:local": "yarn link @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
|
||||
"link:local": "yarn link @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer",
|
||||
"unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc6",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc6"
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc9",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc9"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc6",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc6",
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc9",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc9",
|
||||
"typescript": "^5.0.2",
|
||||
"vite": "^4.3.9",
|
||||
"vite-plugin-singlefile": "^0.13.5",
|
||||
|
@ -9,11 +9,12 @@
|
||||
"preview": "vite preview",
|
||||
"test": "vitest",
|
||||
"coverage": "vitest run --coverage",
|
||||
"link:local": "yarn link @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
|
||||
"link:local": "yarn link @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer",
|
||||
"unlink:local": "yarn unlink @myriaddreamin/typst.ts @myriaddreamin/typst-ts-renderer"
|
||||
},
|
||||
"dependencies": {
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc6",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc6",
|
||||
"@myriaddreamin/typst-ts-renderer": "0.4.2-rc9",
|
||||
"@myriaddreamin/typst.ts": "0.4.2-rc9",
|
||||
"typst-dom": "file:../typst-dom",
|
||||
"rxjs": "^7.8.1"
|
||||
},
|
||||
|
@ -14,13 +14,13 @@
|
||||
let
|
||||
# Keep the vscode "mgt19937.typst-preview" extension in sync when updating
|
||||
# this package at pkgs/applications/editors/vscode/extensions/default.nix
|
||||
version = "0.10.8";
|
||||
version = "0.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Enter-tainer";
|
||||
repo = "typst-preview";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-n3lrJpCe/+THYepiiWIlTEMSMZPX7Qiucbg1ouU1ZEs=";
|
||||
hash = "sha256-zjdcCxLVehUUCfkg1AsK/JDqwQ4QQe053gXl8cbK5MQ=";
|
||||
fetchSubmodules = true;
|
||||
|
||||
postFetch = ''
|
||||
@ -41,7 +41,7 @@ let
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${domSrc}/yarn.lock";
|
||||
hash = "sha256-+xn2SmpYdAb1nZkTOURqR5teu3dx2AKaiGoa9AmPA7o=";
|
||||
hash = "sha256-aDs+2n6sL4MTizRuYqkwfYrx/lK3ll9u4NoN0zPyWco=";
|
||||
};
|
||||
|
||||
buildPhase = ''
|
||||
@ -67,7 +67,7 @@ let
|
||||
|
||||
offlineCache = fetchYarnDeps {
|
||||
yarnLock = "${frontendSrc}/yarn.lock";
|
||||
hash = "sha256-o8zWMLt6WqYWhcC7rqSeue6TxN20lYIjGqMxLApy5l0=";
|
||||
hash = "sha256-gkjtDi7ZR3aKn1ZRJEkFc3IdhbmF1GyYoGiIniOsPBo=";
|
||||
};
|
||||
|
||||
packageResolutions = { inherit typst-dom; };
|
||||
@ -92,13 +92,7 @@ rustPlatform.buildRustPackage {
|
||||
pname = "typst-preview";
|
||||
inherit version src;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
outputHashes = {
|
||||
"typst-0.10.0" = "sha256-/Oy4KigXu1E/S9myd+eigqlNvk5x+Ld9gTL9dtpoyqk=";
|
||||
"typst-ts-compiler-0.4.2-rc6" = "sha256-mDQDxqXp38+Omt7D7kO2cUAVzG+h3JOs4tBdrbHH/lA=";
|
||||
};
|
||||
};
|
||||
cargoHash = "sha256-FGy/U8sOJ/zsP15Uu4bWePlr4Hw7lZVQA7F7+Y8WbiE=";
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
@ -118,6 +112,7 @@ rustPlatform.buildRustPackage {
|
||||
prePatch = ''
|
||||
mkdir -p addons/vscode/out/frontend
|
||||
cp -R ${frontend}/* addons/vscode/out/frontend/
|
||||
cp -R ${frontend}/index.html ./src/index.html
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user