Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
id1945 committed Nov 5, 2023
0 parents commit 078fb5d
Show file tree
Hide file tree
Showing 43 changed files with 14,659 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Editor configuration, see http://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
max_line_length = off
trim_trailing_whitespace = false
33 changes: 33 additions & 0 deletions .github/workflows/actions-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Publish to GitHub Pages

on:
push:
branches:
- angular-6

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3 # Checks-out your repository under $GITHUB_WORKSPACE

- uses: actions/setup-node@v3 # Install Node and npm on Ubuntu
with:
node-version: 8.11.1

- name: Angular CLI
run: npm i -g @angular/cli@6 # Install angular cli v6 global

- name: Install dependencies
run: npm i -f # Install all package with --force

- name: Build
run: ng build --base-href="/ngx-scanner-qrcode/" # Build project with base href
# run: ng build --base-href="/ngx-scanner-qrcode/" # Build project with base href

- name: Deploy
uses: peaceiris/actions-gh-pages@v3 # Deploy copy files from dist/ngx-scanner-qrcode to gh-pages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: dist/ngx-scanner-qrcode
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# compiled output
/dist
/tmp
/out-tsc

# dependencies
/node_modules

# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings

# System Files
.DS_Store
Thumbs.db
504 changes: 504 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

Loading

0 comments on commit 078fb5d

Please sign in to comment.