Skip to content

neutron0831/nlp100-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Release Test Netlify Status

NLP 100 Exercise is a bootcamp designed for learning skills for programming, data analysis, and research activities by taking practical and exciting assignments.
The aim of this project is to implement all of its exercises in TypeScript.

Prerequisites

Installation

pnpm install

Development

pnpm dev

Lint and Format

pnpm lint   # ESLint
pnpm format # Prettier

Test

pnpm test          # test all Chapters
ch=01 pnpm test:ch # test only Chapter 01

Note
Staged files are automatically linted, formatted and tested before committing.

module.exports = {
'*.{js,ts,vue}': ['eslint --fix'],
'*.{js,ts,json}': ['prettier --write'],
'*.test.{js,ts}': [
'cross-env NODE_OPTIONS="--max-old-space-size=6144" vitest --silent --run',
],
}

Newly added or modified *.test.ts files will also be tested by test.yml when a pull request is created.

Commit

gitmoji -c
pnpm changelog

By updating the version field in package.json and creating a pull request, a new version will be automatically released by release.yml when the pull request is closed.

"version": "0.0.0",

Deployment

If there is a push to the main branch, whether directly or by a pull request, Netlify will automatically deploy the new version to https://nlp100-ts.netlify.app/.