Skip to content

Commit 19e952b

Browse files
committed
Pivot to js
1 parent 2ab4b39 commit 19e952b

File tree

6 files changed

+27
-49
lines changed

6 files changed

+27
-49
lines changed

.github/workflows/cpp.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/npmjs.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish Package to npmjs
2+
on:
3+
release:
4+
types: [published]
5+
jobs:
6+
build-and-publish:
7+
environment:
8+
name: github-pages
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
id-token: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
# Setup .npmrc file to publish to npm
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: '24.x'
19+
registry-url: 'https://registry.npmjs.org'
20+
- run: npm ci
21+
- run: npm publish --provenance --access public
22+
env:
23+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We give a deterministic O(mlog2/3n)-time algorithm for single-source shortest pa
1313

1414
## Development Details
1515

16-
This project is mainly focused in implementations in C++ (std=c++20) and Javascript (in order to be published to npmjs.com via github Actions). It would be interesting to do the same to publish via pypi.org or crates.io.
16+
This project is mainly focused in Javascript (in order to be published to npmjs.com via github Actions).
1717

1818
### Other Implementations
1919

cpp/input.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

cpp/main.cpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Tsinghua SSSP - Landing Page</title>
5+
<title>Tsinghua SSSP - BMSSP - Landing Page</title>
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<style>
88
body {
@@ -67,9 +67,9 @@
6767
</head>
6868
<body>
6969
<div class="container">
70-
<h1>Tsinghua SSSP</h1>
70+
<h1>Tsinghua SSSP - BMSSP</h1>
7171
<p>
72-
A compilation of implementations of the Single Source Shortest Path (SSSP) algorithm, inspired by Tsinghua University's research.
72+
Implementations of the Single Source Shortest Path (SSSP) algorithm - Bounded Multiple Source Shortest Paths (BMSSP), originally published by Tsinghua University's research.
7373
</p>
7474
<p>
7575
Read the original paper:

0 commit comments

Comments
 (0)