Skip to content

Commit

Permalink
Merge pull request #15 from Shivansh-Khunger/transition/NPM
Browse files Browse the repository at this point in the history
🍬 Enhancement: NPM Transition
  • Loading branch information
Shivansh-Khunger authored May 19, 2024
2 parents a258d98 + de2cb55 commit 0e84a92
Show file tree
Hide file tree
Showing 65 changed files with 3,279 additions and 226 deletions.
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# .editorconfig

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = false

# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,ts,css,html}]
charset = utf-8

# Space indentation
[*.{js,ts,css,html,json}]
indent_style = space
indent_size = 4

# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space

# Indentation override for all JS under lib directory
[*.js]
indent_style = space
indent_size = 4

# Matches the exact file .editorconfig
[.editorconfig]
indent_style = space
indent_size = 4

# Markdown files often use trailing whitespace to indicate line breaks
[*.md]
trim_trailing_whitespace = false
286 changes: 175 additions & 111 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,136 +1,200 @@
# .gitignore for a Python-based script project
# Created by https://www.gitignore.io/api/git,node,macos,windows,visualstudiocode
# Edit at https://www.gitignore.io/?templates=git,node,macos,windows,visualstudiocode

### 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

### macOS ###
# General
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# C extensions
*.so
# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
# 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

# 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
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot
# next.js build output
.next

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# nuxt.js build output
.nuxt

# rollup.js default build output
dist/

# Flask stuff:
instance/
.webassets-cache
# Uncomment the public line if your project uses Gatsby
# https://nextjs.org/blog/next-9-1#public-directory-support
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav
# public

# Scrapy stuff:
.scrapy
# Storybook build outputs
.out
.storybook-out

# Sphinx documentation
docs/_build/
# vuepress build output
.vuepress/dist

# PyBuilder
target/
# Serverless directories
.serverless/

# Jupyter Notebook
.ipynb_checkpoints
# FuseBox cache
.fusebox/

# IPython
profile_default/
ipython_config.py
# DynamoDB Local files
.dynamodb/

# pyenv
.python-version
# Temporary folders
tmp/
temp/

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
### VisualStudioCode Patch ###
# Ignore all local history of files
.history

# Celery stuff
celerybeat-schedule
celerybeat.pid
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db

# SageMath parsed files
*.sage.py
# Dump file
*.stackdump

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Folder config file
[Dd]esktop.ini

# Spyder project settings
.spyderproject
.spyproject
# Recycle Bin used on file shares
$RECYCLE.BIN/

# Rope project settings
.ropeproject
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp

# mkdocs documentation
/site
# Windows shortcuts
*.lnk

# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Enviorment variables
.env.*

# Pyre type checker
.pyre/
# Test data
*.csv
test-data.json

# pytype static type analyzer
.pytype/
# SSL certificates
ssl

# Cython debug symbols
cython_debug/
# End of https://www.gitignore.io/api/git,node,macos,windows,visualstudiocode
11 changes: 11 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"semi": true,
"trailingComma": "all",
"singleQuote": true,
"printWidth": 80,
"tabWidth": 4,
"useTabs": false,
"bracketSpacing": true,
"arrowParens": "avoid",
"endOfLine": "lf"
}
14 changes: 6 additions & 8 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"recommendations": [
"ms-python.autopep8",
"ms-python.vscode-pylance",
"ms-python.pylint",
"ms-python.python",
"ms-vscode.powershell",
"timonwong.shellcheck"
]
"recommendations": [
"biomejs.biome",
"esbenp.prettier-vscode",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint"
]
}
Loading

0 comments on commit 0e84a92

Please sign in to comment.