chore: upgrade dependencies, switch from yarn to npm

This commit is contained in:
Lucien Cartier-Tilet 2024-06-21 08:15:31 +02:00
parent 43e450d8ae
commit 31a89bf3ad
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
6 changed files with 3656 additions and 3193 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

View File

@ -11,15 +11,14 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 18.x node-version: 22.x
- run: corepack enable - run: npm ci
- run: yarn install --frozen-lockfile
- uses: purcell/setup-emacs@master - uses: purcell/setup-emacs@master
with: with:
version: 29.1 version: 29.1
- name: "Export org to md" - name: "Export org to md"
run: emacs -Q --script export.el run: emacs -Q --script export.el
- run: yarn build - run: npm run build
- name: "Deploy" - name: "Deploy"
uses: appleboy/scp-action@v0.1.7 uses: appleboy/scp-action@v0.1.7
with: with:

3629
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,23 +1,25 @@
{ {
"name": "conlang.phundrak.com", "name": "conlang.phundrak.com",
"version": "1.0.0", "version": "1.0.0",
"description": "", "description": "P'hundrak's conlanging website",
"main": "index.js", "main": "index.js",
"repository": "https://labs.phundrak.com/phundrak/conlang.phundrak.com",
"author": "Lucien Cartier-Tilet <lucien@phundrak.com>",
"license": "AGPL-3.0",
"private": true,
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.13",
"@vuepress/plugin-umami-analytics": "^2.0.0-rc.36",
"@vuepress/theme-default": "^2.0.0-rc.36",
"vuepress": "2.0.0-rc.13",
"vuepress-plugin-search-pro": "^2.0.0-rc.43"
},
"dependencies": {
"less": "^4.2.0",
"nord": "^0.2.1"
},
"scripts": { "scripts": {
"dev": "vuepress dev docs", "dev": "vuepress dev docs",
"build": "vuepress build docs" "build": "vuepress build docs"
}, }
"repository": {
"type": "git",
"url": "https://labs.phundrak.com/phundrak/conlang.phundrak.com"
},
"author": "Lucien Cartier-Tilet <lucien@phundrak.com>",
"license": "AGPL-3.0",
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"@vuepress/theme-default": "2.0.0-rc.2",
"vuepress": "2.0.0-rc.2",
"vuepress-plugin-search-pro": "^2.0.0-rc.15"
},
"packageManager": "yarn@4.0.2"
} }

6
shell.nix Normal file
View File

@ -0,0 +1,6 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
nodejs_22
];
}

3174
yarn.lock

File diff suppressed because it is too large Load Diff