Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Toliak committed Aug 3, 2023
2 parents 4c89316 + 78c5b50 commit b6e9db1
Show file tree
Hide file tree
Showing 60 changed files with 11,296 additions and 3,479 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ dist
.tern-port

# Local
.idea
local.py
out

*.pdf
*.pdf
*.docx
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
dist
*.md
3 changes: 0 additions & 3 deletions .vscode/extensions.json

This file was deleted.

7 changes: 0 additions & 7 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Will execute the following chain:

# Showcase

The source MarkDown file can be found at [src/md/main.md](src/md/main.md)
The source MarkDown file can be found at [src/md/main.yaxm](boilerplate/generic/src/md/main.yaxm)

![](https://github.com/markdown-to-latex/manager/blob/master/.docs/doc.png?raw=true)
75 changes: 75 additions & 0 deletions boilerplate/configs/.github/workflows/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: NPM Package

on:
pull_request:
paths-ignore:
- '**.md'
push:
paths-ignore:
- '**.md'

jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node 14
uses: actions/[email protected]
with:
node-version: 14.x
- name: Cache Node files
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: |
~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Update NPM
run: npm install -g npm
- name: Install dependencies
run: npm ci
- name: Run prettier
run: npm run prettier
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node 14
uses: actions/[email protected]
with:
node-version: 14.x
- name: Cache Node files
uses: actions/[email protected]
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: |
~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Update NPM
run: npm install -g npm
- name: Install dependencies
run: npm install
- name: Install TexLive
run: |
sudo apt-get update -y
sudo apt-get install -y texlive-full
- name: Build project
run: npm run build
- name: Save showcase report
uses: actions/upload-artifact@v2
with:
name: ReportShowcase
path: |
*.pdf
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions boilerplate/configs/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"redhat.vscode-yaml",
"tomoki1207.pdf",
"streetsidesoftware.code-spell-checker-russian",
"streetsidesoftware.code-spell-checker",
"dbaeumer.vscode-eslint",
"mushan.vscode-paste-image"
]
}
22 changes: 22 additions & 0 deletions boilerplate/configs/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"yaml.schemas": {
"./node_modules/@md-to-latex/converter/yaxm-build.schema.json": "yaxm-build.yml",
"./node_modules/@md-to-latex/yaxm-printer-latex/yaxm-printer.schema.json": "yaxm-printer.yml",
"./node_modules/@md-to-latex/title/md-to-latex-title.schema.json": "md-to-latex-title.yml"
},
"redhat.telemetry.enabled": false,
"eslint.alwaysShowStatus": true,
"eslint.run": "onSave",
"eslint.validate": ["markdown", "yaxm"],
"pasteImage.namePrefix": "",
"pasteImage.nameSuffix": "",
"pasteImage.prefix": "",
"pasteImage.suffix": "",
"pasteImage.basePath": "${projectRoot}/assets/img/",
"pasteImage.insertPattern": "![](${imageSyntaxPrefix}${imageFilePath}${imageSyntaxSuffix})(@name )(@w )(@h )",
"pasteImage.showFilePathConfirmInputBox": true,
"pasteImage.path": "${projectRoot}/assets/img/",
"eslint.useESLintClass": true,
"cSpell.language": "en,ru",
"cSpell.enableFiletypes": ["yaxm"]
}
12 changes: 12 additions & 0 deletions boilerplate/generic/___eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
env:
es2021: true
node: true
extends:
- eslint:recommended
parserOptions:
ecmaVersion: 2021
sourceType: module
plugins:
- 'yaxm'
rules:
'MD2': off
112 changes: 112 additions & 0 deletions boilerplate/generic/___gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
# 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

# Local
.idea
local.py
out

*.pdf
*.docx
2 changes: 2 additions & 0 deletions boilerplate/generic/___prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist
*.md
9 changes: 9 additions & 0 deletions boilerplate/generic/___prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"$schema": "https://json.schemastore.org/prettierrc",
"arrowParens": "avoid",
"singleQuote": true,
"trailingComma": "all",
"tabWidth": 4,
"printWidth": 80,
"semi": true
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b6e9db1

Please sign in to comment.