~boehs/site

3da775f9e19066ad435423ab4c9295a0ba0c8c1f — Evan Boehs a month ago 7a31136
I believe the fix was framework = "#static"
8 files changed, 43 insertions(+), 31 deletions(-)

M .gitignore
M html/.netlify/state.json
M html/_public/scss/main.scss
M html/gulpfile.js
M html/netlify.toml
R html/netlify/{edge-precompile/eleventy-edge.js => edge-functions/eleventy-edge.js}
M html/package.json
M html/pnpm-lock.yaml
M .gitignore => .gitignore +1 -2
@@ 19,5 19,4 @@ yarn-error.log*

_generated
html/.netlify/edge-*
html/.netlify/plugins
edge-functions
html/.netlify/plugins
\ No newline at end of file

M html/.netlify/state.json => html/.netlify/state.json +2 -1
@@ 1,3 1,4 @@
{
	"siteId": "f90484b0-3329-47b4-82a4-53949725c6e7"
	"siteId": "f90484b0-3329-47b4-82a4-53949725c6e7",
	"promptVSCodeSettings": true
}
\ No newline at end of file

M html/_public/scss/main.scss => html/_public/scss/main.scss +4 -0
@@ 216,6 216,10 @@ header {
  a {
    text-decoration: inherit;
  }
  
  i > p{
    display: inline;
  }
}

footer {

M html/gulpfile.js => html/gulpfile.js +4 -2
@@ 91,11 91,13 @@ exports.ellty = eleventy

exports.dev = async function() {
    removeDist()
    elevendev()
    eleventy()
    g.watch('_public/scss/*.scss',{ ignoreInitial: false },scss)
    g.watch('_public/ts/*.ts',{ ignoreInitial: false },type)
    // causes loop
    //g.watch('dist/**/*.html',html)    
}

exports.default = g.series(removeDist,g.parallel(scss,type,edge),eleventy)
exports.default = g.series(removeDist,g.parallel(scss,type
    //,edge
    ),eleventy)

M html/netlify.toml => html/netlify.toml +13 -19
@@ 1,24 1,18 @@
[build]
    publish = "dist"
    command = "pnpm run build"
    framework = "#static"
# If skip_processing = true, all other settings are ignored
[build.processing]
    skip_processing = false
[build.processing.css]
    bundle = false
    minify = true
[build.processing.js]
    bundle = true
    minify = true
[build.processing.html]
    pretty_urls = true
[build.processing.images]
  compress = true
[[redirects]]
    from = "https://evn.netlify.app/*"
    to = "https://boehs.org/:splat"
    status = 301
    force = "true"
[dev]
    publish = "dist"
    command = "gulp dev"
    framework = "#static"
[[edge_functions]]
function = "eleventy-edge"
path = "/*"
    function = "eleventy-edge"
    path = "/*"
    
#[[redirects]]
#    from = "https://evn.netlify.app/*"
#    to = "https://boehs.org/:splat"
#    status = 301
#    force = "true"

R html/netlify/edge-precompile/eleventy-edge.js => html/netlify/edge-functions/eleventy-edge.js +10 -2
@@ 1,7 1,6 @@
import { EleventyEdge } from "eleventy:edge";
import precompiledAppData from "./_generated/eleventy-edge-app-data.js";


export default async (request, context) => {
  try {
    let edge = new EleventyEdge("edge", {


@@ 17,7 16,16 @@ export default async (request, context) => {
      // Add some custom Edge-specific configuration
      // e.g. Fancier json output
      // eleventyConfig.addFilter("json", obj => JSON.stringify(obj, null, 2));
const is = JSON.parse('@@import _data/deets/is.json')
      const is = [
        "dreaming",
        "crying over spilled milk",
        "putting out tiny fires",
        "eating life's lemons",
        "feeling good",
        "breaking things",
        '"insane"',
        "taking big risks",
      ];
      eleventyConfig.addFilter("rIs", function (_) {
        return is[Math.floor(Math.random() * is.length)];
      });

M html/package.json => html/package.json +1 -0
@@ 25,6 25,7 @@
		"markdown-it-attrs": "^4.1.3",
		"markdown-it-container": "^3.0.0",
		"markdown-it-table-of-contents": "^0.6.0",
		"netlify": "11.0.1",
		"netlify-cli": "^10.0.0",
		"nunjucks": "^3.2.3",
		"pnpm": "^6.32.3",

M html/pnpm-lock.yaml => html/pnpm-lock.yaml +8 -5
@@ 1,7 1,7 @@
lockfileVersion: 5.3

specifiers:
  '@11ty/eleventy': 2.0.0-canary.7
  '@11ty/eleventy': 2.0.0-canary.8
  '@11ty/eleventy-plugin-rss': ^1.1.2
  '@11ty/eleventy-plugin-syntaxhighlight': ^4.0.0
  '@boehs/gulp-js-text-inject': ^1.0.3


@@ 22,6 22,7 @@ specifiers:
  markdown-it-attrs: ^4.1.3
  markdown-it-container: ^3.0.0
  markdown-it-table-of-contents: ^0.6.0
  netlify: 11.0.1
  netlify-cli: ^10.0.0
  nunjucks: ^3.2.3
  pnpm: ^6.32.3


@@ 32,7 33,7 @@ specifiers:
  typescript: ^4.5.5

dependencies:
  '@11ty/eleventy': 2.0.0-canary.7
  '@11ty/eleventy': 2.0.0-canary.8
  '@11ty/eleventy-plugin-syntaxhighlight': 4.0.0
  '@boehs/gulp-js-text-inject': 1.0.3
  '@gardeners/markdown-it-wikilinks': 1.5.1


@@ 52,6 53,7 @@ dependencies:
  markdown-it-attrs: 4.1.3_markdown-it@12.3.2
  markdown-it-container: 3.0.0
  markdown-it-table-of-contents: 0.6.0
  netlify: 11.0.1
  netlify-cli: 10.0.0
  nunjucks: 3.2.3
  pnpm: 6.32.3


@@ 112,8 114,8 @@ packages:
      normalize-path: 3.0.0
    dev: false

  /@11ty/eleventy/2.0.0-canary.7:
    resolution: {integrity: sha512-EuPu1WMgddf2TSuNieDRDGkAP+cAZVLsnnia596m8r2IYafK47VSkSt2lYKUsdsXTmPk/s/GeuBfeveHsiwAoA==}
  /@11ty/eleventy/2.0.0-canary.8:
    resolution: {integrity: sha512-ASCpwRD5QywfvNtvKi6HGVyJrNjyoSWC80+gOyY6UVaDH6q9fXc5t10xKsGSBDkSerbFRaknLQpKWUw6WEu32A==}
    engines: {node: '>=12'}
    hasBin: true
    dependencies:


@@ 3782,6 3784,7 @@ packages:

  /file-uri-to-path/1.0.0:
    resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==}
    requiresBuild: true
    dev: false

  /filelist/1.0.2:


@@ 6430,7 6433,7 @@ packages:
    resolution: {integrity: sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==}
    hasBin: true
    dependencies:
      minimist: 1.2.5
      minimist: 1.2.6
    dev: false

  /mkdirp/1.0.4: