From 60f3032e8b602be2ba5241086bd2bedb66703268 Mon Sep 17 00:00:00 2001 From: Brian Sakal Date: Tue, 9 Mar 2021 00:46:42 -0500 Subject: [PATCH] Copied-in mithril skeleton --- skel/src/App.js => App.js | 0 skel/src/index.css => index.css | 0 skel/src/index.html => index.html | 0 skel/src/index.js => index.js | 0 skel/src/mithril.min.js => mithril.min.js | 0 skel/.gitignore | 109 ---------------------- skel/LICENSE | 19 ---- skel/README.md | 20 ---- 8 files changed, 148 deletions(-) rename skel/src/App.js => App.js (100%) rename skel/src/index.css => index.css (100%) rename skel/src/index.html => index.html (100%) rename skel/src/index.js => index.js (100%) rename skel/src/mithril.min.js => mithril.min.js (100%) delete mode 100644 skel/.gitignore delete mode 100644 skel/LICENSE delete mode 100644 skel/README.md diff --git a/skel/src/App.js b/App.js similarity index 100% rename from skel/src/App.js rename to App.js diff --git a/skel/src/index.css b/index.css similarity index 100% rename from skel/src/index.css rename to index.css diff --git a/skel/src/index.html b/index.html similarity index 100% rename from skel/src/index.html rename to index.html diff --git a/skel/src/index.js b/index.js similarity index 100% rename from skel/src/index.js rename to index.js diff --git a/skel/src/mithril.min.js b/mithril.min.js similarity index 100% rename from skel/src/mithril.min.js rename to mithril.min.js diff --git a/skel/.gitignore b/skel/.gitignore deleted file mode 100644 index d333b23..0000000 --- a/skel/.gitignore +++ /dev/null @@ -1,109 +0,0 @@ -# ---> Node -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -lerna-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/ - -# TypeScript v1 declaration files -typings/ - -# 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 - -# parcel-bundler cache (https://parceljs.org/) -.cache - -# Next.js build output -.next - -# 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 - diff --git a/skel/LICENSE b/skel/LICENSE deleted file mode 100644 index 204b93d..0000000 --- a/skel/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -MIT License Copyright (c) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished -to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next -paragraph) shall be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS -FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS -OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/skel/README.md b/skel/README.md deleted file mode 100644 index 496a9cd..0000000 --- a/skel/README.md +++ /dev/null @@ -1,20 +0,0 @@ -# mithril-js-skeleton - -Bare minimum to start a Mithril JS project. - -## Installation - -Start your new git repo: - -```bash -git init -git --allow-empty commit -m "Intial commit" -``` - -Copy-in skeleton files: - -```bash -git subtree add -P skel --squash https://git.sakal.us/brian/mithril-js-skeleton.git master -mv skel/src/* ./ && rm -rf skel -git commit -m "Copied-in mithril skeleton" -``` \ No newline at end of file