bases VS gitignore

Compare bases vs gitignore and see what are their differences.

bases

Hosts TSConfigs to extend in a TypeScript app, tuned to a particular runtime environment (by tsconfig)

gitignore

A collection of useful .gitignore templates (by github)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
bases gitignore
13 285
5,650 157,882
3.7% 0.7%
7.6 0.0
13 days ago 4 days ago
TypeScript
MIT License Creative Commons Zero v1.0 Universal
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bases

Posts with mentions or reviews of bases. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-18.
  • Configuring Jest for Typescript Unit Tests
    2 projects | dev.to | 18 Nov 2023
    We will install ready-to-use Typescript base configurations instead of starting from scratch. In this article, we will use Typescript base configurations for node version 20. If you are using a different version of node, visit the tsconfig bases docs to find out what you need. You can also create a Typescript configuration file with settings that work for you.
  • TSConfig Applier Extension :)
    2 projects | /r/vscode | 28 Sep 2023
    This Visual Studio Code extension simplifies the process of selecting and applying TypeScript configuration files (`tsconfig.json`) from the https://github.com/tsconfig/bases repository. With this extension, you can effortlessly browse through available configuration
  • The hardest thing in Typescript for me is...
    2 projects | /r/typescript | 25 May 2023
    Steal from this repo: https://github.com/tsconfig/bases/blob/main/bases/next.json
  • ๐ŸŽ“ Monorepo College Lecture 2: Build Me Up Buttercup
    6 projects | dev.to | 9 Apr 2023
    I personally am a big advocate for writing the least amount of tsconfig possible, and the tsconfig/bases package serves as a great source for getting tsconfig templates.
  • Use Mocha instead of Jest and boost your tests speed
    1 project | /r/javascript | 10 Feb 2023
    Possibly depends on your tsconfig. We use the recommended base configs from here https://github.com/tsconfig/bases
  • Achieving end-to-end type safety in a modern JS GraphQL stack
    9 projects | dev.to | 24 Nov 2022
    A tsconfig.json preset that ensures type safety;
  • Create a NodeJS Boilerplate with Typescript
    2 projects | dev.to | 14 Jul 2022
    The same configuration is also available for other nodejs versions like 14 and 12.
  • Converting your vanilla Javascript app to TypeScript
    5 projects | dev.to | 9 May 2022
    After installing, we also need to set up a basic tsconfig.json file for how we want tsc to behave with our app. We will use one of the recommended tsconfig files here: https://github.com/tsconfig/bases#centralized-recommendations-for-tsconfig-bases. This contains a list of community recommended configs depending on your app type. Weโ€™re using Node 16 and want to be extremely strict on the first pass to clean up any bad code habits and enforce some consistency. Weโ€™ll use the one located: https://github.com/tsconfig/bases/blob/main/bases/node16-strictest.combined.json.
  • Possibly moving from JS to TS - have a few questions
    1 project | /r/typescript | 3 Apr 2022
    You'll need @typescript-eslint/parser to get it working with eslint, then I would add @typescript-eslint/recommended as a plugin, then add prettier-eslint for formatting. What's more important is having a really good tsconfig file, I would recommend extending something from https://github.com/tsconfig/bases
  • How to Set Up a Node.js Project with TypeScript
    11 projects | dev.to | 26 Jan 2022
    The above configuration file extends the base configuration provided by the TypeScript team for Node.js v16. Additional options or overrides may be included through the compilerOptions property. It also specifies that all the files in the src directory should be included in the program, but everything in the node_modules directory is skipped entirely. Both the include and exclude properties support glob patterns.

gitignore

Posts with mentions or reviews of gitignore. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-03.
  • Streamlining Software Development: The Power of .gitignore Templates
    1 project | dev.to | 13 Mar 2024
    In conclusion, the Gitignore repository stands as a testament to the power of collective knowledge and collaboration in software development. By providing a centralized repository of .gitignore templates, it empowers developers to streamline their workflow, maintain cleaner repositories, and focus on what they do best โ€“ writing exceptional code. As the software development landscape continues to evolve, the significance of .gitignore templates as indispensable tools for developers is set to endure.
  • Release 0.12.0 of stevedore - minor feature enhancement
    3 projects | dev.to | 3 Mar 2024
    The challenge here was actually from my #48in28 Exercism participation, where I am pretty familiar the standard layout for some repositories since I am familiar with tooling and language, working with new languages does not come with the same familiarity, so I found it made sense to use canonical definitions, hence the use of github/gitignore.
  • How to Use Environment Variables in Node.js
    2 projects | dev.to | 23 Feb 2024
    Add .env to your .gitignore file to prevent it from being committed. Here's an example file with it already added. You may also use dotenv for advanced configuration and it will automatically load environment variables from a .env file into process.env.
  • Git Lesson: How to Use .gitignore and .gitkeep?
    1 project | dev.to | 16 Jan 2024
    Here you can find ready-made .gitignore templates for various technologies and languages such as Python, Java, Kotlin, Go, and many others: https://github.com/github/gitignore/tree/main.
  • New to Git/GitHub/Terraform, some questions about Terraform and pushing to GitHub
    1 project | /r/Terraform | 5 Dec 2023
    You could also use this git ignore template. Create you .gitignore and add the contents from that file in.
  • Is there a free way to use unity for creating group projects?
    1 project | /r/unity | 28 Nov 2023
    I've only used free Unity with GitHub or GitLab, professionally and reaching back into internships. One recommendation would be to use a slightly longer .gitignore than the default, like this one.
  • Basic Python Project Layout
    2 projects | dev.to | 8 Oct 2023
    Virtual Environments are a feature that has been part of python itself since version 3.3. It allows you to isolate both a python version and any packages you install with it. Every python project I develop with uses a virtual environment for such isolation purposes. Now I generally like to create these virtual environments inside the target project's directory so I know exactly what it's tied to. If you use GitHub's python gitignore file naming the virtual environment folder as venv or .venv will ensure it doesn't get committed (which you don't want). So I'll make a new project folder and create a virtual environment inside of it:
  • Node.js 20.6.0 will include built-in support for .env files
    7 projects | news.ycombinator.com | 18 Aug 2023
    Especially considering the GitHub .gitignore template for Node only ignores .env.local, not .local.env: https://github.com/github/gitignore/blob/main/Node.gitignore...
  • Where can I find common .gitignores for C# Web API projects?
    1 project | /r/learncsharp | 22 Jul 2023
  • Unable to push to github via github desktop. I added it to GitIgnore and it yielded another issue
    1 project | /r/Unity2D | 12 Jul 2023
    # Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore

What are some alternatives?

When comparing bases and gitignore you can also consider the following projects:

node-express-boilerplate - A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose

terragrunt - Terragrunt is a thin wrapper for Terraform that provides extra tools for working with multiple Terraform modules.

tsconfig-applier - Welcome to `tsconfig-applier`! This Visual Studio Code extension simplifies the process of selecting and applying TypeScript configuration files (`tsconfig.json`) from the https://github.com/tsconfig/bases repository. With this extension, you can effortlessly browse through available configuration

git-lfs - Git extension for versioning large files

piscina - A fast, efficient Node.js Worker Thread Pool implementation

bfg-repo-cleaner - Removes large or troublesome blobs like git-filter-branch does, but faster. And written in Scala

Bee-Queue - A simple, fast, robust job/task queue for Node.js, backed by Redis.

gitlab

anvil-ts-upgrade-example - Example repository for Javascript to TypeScript upgrade blog post

parcel - The zero configuration build tool for the web. ๐Ÿ“ฆ๐Ÿš€

volta - Volta: JS Toolchains as Code. โšก

gitignore.plugin.zsh - ZSH plugin for creating .gitignore files.