Create basic scaffolding structure

pull/1/head
Starbeamrainbowlabs 2021-08-08 22:20:37 +01:00
commit d5160904ad
No known key found for this signature in database
GPG Key ID: 1BE5172E637709C2
6 changed files with 6290 additions and 0 deletions

141
.gitignore vendored Normal file
View File

@ -0,0 +1,141 @@
_site
# Created by https://www.toptal.com/developers/gitignore/api/node,git
# Edit at https://www.toptal.com/developers/gitignore?templates=node,git
### Git ###
# Created by git for backups. To disable backups in Git:
# $ git config --global mergetool.keepBackup false
*.orig
# Created by git when using merge tools for conflicts
*.BACKUP.*
*.BASE.*
*.LOCAL.*
*.REMOTE.*
*_BACKUP_*.txt
*_BASE_*.txt
*_LOCAL_*.txt
*_REMOTE_*.txt
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
.env.production
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
# End of https://www.toptal.com/developers/gitignore/api/node,git

16
build.sh Normal file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env bash
set -e;
# ██████ ██ ██ ██ ██ ██████
# ██ ██ ██ ██ ██ ██ ██ ██
# ██████ ██ ██ ██ ██ ██ ██
# ██ ██ ██ ██ ██ ██ ██ ██
# ██████ ██████ ██ ███████ ██████
log_msg "Installing website dependencies";
npm install;
log_msg "Building website";
npm run build;

6088
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

27
package.json Normal file
View File

@ -0,0 +1,27 @@
{
"name": "hullblogs.com",
"version": "1.0.0",
"description": "hullblogs.com feed aggregation website",
"private": true,
"main": "src/index.mjs",
"scripts": {
"test": "echo \"No tests have been implemented yet\"",
"start": "cd ./src && npx @11ty/eleventy --output=../_site --serve",
"build": "cd ./src && npx @11ty/eleventy --output=../_site"
},
"keywords": [
"blogs",
"aggregator",
"feed-aggregator",
"rss",
"atom",
"jamstack",
"eleventy"
],
"author": "Starbeamrainbowlabs",
"license": "Apache-2.0",
"dependencies": {
"@11ty/eleventy": "^0.12.1",
"feedme": "^2.0.2"
}
}

18
src/.eleventy.js Normal file
View File

@ -0,0 +1,18 @@
const os = require("os");
const fs = require("fs");
const path = require("path");
module.exports = function(eleventyConfig) {
// eleventyConfig.addAsyncShortcode("fetch", fetch);
//
// // eleventyConfig.addPassthroughCopy("images");
// // eleventyConfig.addPassthroughCopy("css");
// eleventyConfig.addShortcode("image", shortcode_image);
// eleventyConfig.addJavaScriptFunction("image", shortcode_image);
// // eleventyConfig.addNunjucksAsyncShortcode("image_url", shortcode_image_url);
// eleventyConfig.addAsyncShortcode("image_url", shortcode_image_url);
// eleventyConfig.addAsyncShortcode("image_urlpass", shortcode_image_urlpass);
// eleventyConfig.addNunjucksAsyncShortcode("image_urlpass", shortcode_image_urlpass);
// eleventyConfig.addPairedShortcode("gallerybox", shortcode_gallerybox);
}

0
src/index.html Normal file
View File