Try Lamdera NPM package for docs site.

This commit is contained in:
Dillon Kearns 2024-01-09 15:13:41 -08:00
parent 45da98187c
commit 493d4d7371
3 changed files with 85 additions and 1 deletions

View File

@ -2,7 +2,7 @@
base = "examples/docs/"
functions = "functions/"
publish = "dist/"
command = "mkdir /opt/build/repo/examples/docs/bin && export PATH=\"/opt/build/repo/examples/docs/bin:$PATH\" && echo $PATH && curl https://static.lamdera.com/bin/lamdera-1.1.0-linux-x86_64 -o /opt/build/repo/examples/docs/bin/lamdera && chmod a+x /opt/build/repo/examples/docs/bin/lamdera && export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npm run build:generator) && npm install && npx --no-install elm-tooling install && npx elm-pages build && (cd functions/process-url && npm i)"
command = "export ELM_HOME=\"$NETLIFY_BUILD_BASE/cache/elm\" && (cd ../../ && npm install --no-optional && npm run build:generator) && npm install && npx --no-install elm-tooling install && npx elm-pages build && (cd functions/process-url && npm i)"
[[redirects]]
from = "/screenshot/*"

83
package-lock.json generated
View File

@ -50,6 +50,7 @@
"elm-tooling": "^1.15.0",
"elm-verify-examples": "^5.3.0",
"elmi-to-json": "^1.4.3",
"lamdera": "^0.19.1-1.2.1-1",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.1.3"
@ -660,6 +661,71 @@
"resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz",
"integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw=="
},
"node_modules/@lamdera/compiler-darwin-arm64": {
"version": "0.19.1-1.2.1",
"resolved": "https://registry.npmjs.org/@lamdera/compiler-darwin-arm64/-/compiler-darwin-arm64-0.19.1-1.2.1.tgz",
"integrity": "sha512-/lWx40y/ISjXpExBaYjCn2UFVrdQOuZj+O+y70eajmLgt4dWW51aWETbxC6Em8hfhDRwWnnrIOHCUZL4a+R57Q==",
"cpu": [
"arm64"
],
"dev": true,
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@lamdera/compiler-darwin-x64": {
"version": "0.19.1-1.2.1",
"resolved": "https://registry.npmjs.org/@lamdera/compiler-darwin-x64/-/compiler-darwin-x64-0.19.1-1.2.1.tgz",
"integrity": "sha512-UQnHe82gYAvCKdswcXxayQ/tFS26Uk7DS4/YQ4CEoWvBQq1XwtNGnX/ccPoPxWQ1InArGcV+i3ThLKx1oDDD1Q==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@lamdera/compiler-linux-arm64": {
"version": "0.19.1-1.2.1",
"resolved": "https://registry.npmjs.org/@lamdera/compiler-linux-arm64/-/compiler-linux-arm64-0.19.1-1.2.1.tgz",
"integrity": "sha512-0hX4n24nIiO7UEhF0YvPiK/5bmSKlVwry8RTiKoP9GI9U7L7sjvDU63smxYhUDNmadS1bBq1eyzULpvVG7tgNQ==",
"cpu": [
"arm64"
],
"dev": true,
"optional": true,
"os": [
"linux"
]
},
"node_modules/@lamdera/compiler-linux-x64": {
"version": "0.19.1-1.2.1",
"resolved": "https://registry.npmjs.org/@lamdera/compiler-linux-x64/-/compiler-linux-x64-0.19.1-1.2.1.tgz",
"integrity": "sha512-ZRuCjSyM6hq2v9BZIQa98NhDmXbShqZjB8UVCQzrjgF9vFu/kM61921iwdHv1ktqJz1Glp5P3eQAjRHDQ9/CvQ==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"linux"
]
},
"node_modules/@lamdera/compiler-win32-x64": {
"version": "0.19.1-1.2.1",
"resolved": "https://registry.npmjs.org/@lamdera/compiler-win32-x64/-/compiler-win32-x64-0.19.1-1.2.1.tgz",
"integrity": "sha512-GxegjV/2Uet8IFaOBOhyVEmo7Ay2r8JxoWx8VKKs1ooF5jPrtLYvlCMbgqn9Gy62RRjvR2vmNmks25E8vrVQeQ==",
"cpu": [
"x64"
],
"dev": true,
"optional": true,
"os": [
"win32"
]
},
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@ -4835,6 +4901,23 @@
"node": ">=6"
}
},
"node_modules/lamdera": {
"version": "0.19.1-1.2.1-1",
"resolved": "https://registry.npmjs.org/lamdera/-/lamdera-0.19.1-1.2.1-1.tgz",
"integrity": "sha512-2/kikDtleamLenCAvaD0I674DBZ9b2PzsQE/vYyda8Wl5eapTAD8xCBoiElLAlPPA8Kn2Htz4v2dEmFdcvCw2A==",
"dev": true,
"hasInstallScript": true,
"bin": {
"lamdera": "bin/lamdera"
},
"optionalDependencies": {
"@lamdera/compiler-darwin-arm64": "0.19.1-1.2.1",
"@lamdera/compiler-darwin-x64": "0.19.1-1.2.1",
"@lamdera/compiler-linux-arm64": "0.19.1-1.2.1",
"@lamdera/compiler-linux-x64": "0.19.1-1.2.1",
"@lamdera/compiler-win32-x64": "0.19.1-1.2.1"
}
},
"node_modules/latest-version": {
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/latest-version/-/latest-version-5.1.0.tgz",

View File

@ -63,6 +63,7 @@
"elm-tooling": "^1.15.0",
"elm-verify-examples": "^5.3.0",
"elmi-to-json": "^1.4.3",
"lamdera": "^0.19.1-1.2.1-1",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vitest": "^1.1.3"