Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: merge docs-less v1.0.3 full release to main #1

Merged
merged 13 commits into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#
# Per push, PR, or manual trigger,
# run Super-Linter and report coverage to Codecov.
name: Lint and Test

# Run all-around linting and testing per every push and PR.
on:
Expand All @@ -16,21 +17,20 @@ jobs:

permissions:
contents: read # For checking out the code.
packages: read # For installing pnpm and other packages.
statuses: write # For reporting GitHub Actions status checks.

steps:
- name: Checkout code
uses: 'actions/checkout@v4'
with:
# super-linter needs the full git history to get the
# list of files that changed across commits
# list of files that changed across commits.
fetch-depth: 0

- name: Run super-linter
uses: 'super-linter/super-linter@v6'
env :
# For reporting GitHub Actions status checks
# For reporting GitHub Actions status checks.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

report-codecov:
Expand All @@ -39,7 +39,15 @@ jobs:

permissions:
contents: read
packages: read
statuses: write

# Current default Node.js version is 18.x.
strategy:
matrix:
node-version:
- ${{ vars.DEFAULT_NODE_MAJOR_VERSION }}.x
- 20.x
- 22.x

steps:
- name: Checkout code
Expand All @@ -55,26 +63,28 @@ jobs:
- name: Install pnpm
uses: 'pnpm/action-setup@v4'
with:
version: 9.6.0
version: ${{ vars.DEFAULT_PNPM_FULL_VERSION }}
# WARNING!
# Do NOT use 'latest' as the version for pnpm.
# 'latest' may fall behind the actual latest stable release of pnpm.

- name: Install dependencies
run : pnpm install

- name: Set up Node.js 18
- name: Set up Node.js ${{ vars.DEFAULT_NODE_MAJOR_VERSION }}
uses: 'actions/setup-node@v4'
with:
node-version: 18.x
node-version: ${{ matrix.node-version }}
cache : pnpm

- name: Run tests
run : pnpm test:coverage

# Only upload coverage reports for the default Node.js version.
- name: Upload coverage reports to Codecov
if : matrix.node-version == ${{ vars.DEFAULT_NODE_MAJOR_VERSION }}.x
uses: codecov/codecov-action@v4
with:
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug : KemingHe/OSU

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
22
18
2 changes: 1 addition & 1 deletion .release-it.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"tagName": "v${version}",
"requireCleanWorkingDir": true,
"commit": true,
"commitMessage": "chore(release): v${version} via release-it (auto, ci env)",
"commitMessage": "chore(changelog): v${version} via release-it (auto, ci env)",
"commitArgs": ["--no-verify"],
"push": false
},
Expand Down
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# Changelog

## [1.0.3](https://github.com/KemingHe/OSU/compare/v1.0.2...v1.0.3) (2024-08-02)


### Bug Fixes

* **csv2ts.test.ts:** further removed error snapshot to accommodate Actions file path ([29dbdbb](https://github.com/KemingHe/OSU/commit/29dbdbbd3024c198781ef07b545d6d61925eca9c))

## [1.0.2](https://github.com/KemingHe/OSU/compare/v1.0.1...v1.0.2) (2024-08-02)

## [1.0.1](https://github.com/KemingHe/OSU/compare/v1.0.0...v1.0.1) (2024-08-02)


### Bug Fixes

* **scripts/utils/csv2ts.test.ts:** removed snapshot test to accommodate diff test env file paths ([f461757](https://github.com/KemingHe/OSU/commit/f4617575b4292c5c751830cb3ab912d75938e825))

## [1.0.0](https://github.com/KemingHe/OSU/compare/v0.4.0...v1.0.0) (2024-08-02)


### ⚠ BREAKING CHANGES

* **tsup.config.ts:** to unify exports, removed `osu` from default export, added `osu` back as a name
export, now must use `import { osu } from "@keminghe/osu";` to use the osu namespace and subsequent
namespaces, classes, and constants.

### Features

* **tsup.config.ts:** adopted tsup as bundler, enforced uniform named exports ([ef24365](https://github.com/KemingHe/OSU/commit/ef2436513c390c9cb203a2f0bd5cdfbe85f34e34))

## [0.4.0](https://github.com/KemingHe/OSU/compare/v0.3.0...v0.4.0) (2024-08-01)


### Features

* **csv2ts.ts:** extended generic csv 2 ts array util funtions ([7537250](https://github.com/KemingHe/OSU/commit/75372500acb1a3c268d50a34fbc3d1c92a3993b1))

## [0.3.0](https://github.com/KemingHe/OSU/compare/v0.2.0...v0.3.0) (2024-08-01)


### Features

* **scripts dir:** fully implemented and tested csv to ts auto generation scripts ([679bcb4](https://github.com/KemingHe/OSU/commit/679bcb4212a04b1dc22dbfa69186881a3f9d002f))

## 0.2.0 (2024-07-31)


Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

Unofficial and publicly-available data about The Ohio State University.

## Features
## API

1. OSU and buckeyemail email validator.
2. OSU all majors and degress.
1. Manually scraped as a .csv file into data/ dir.
2. Use util scripts to...
3. OSU all student orgs: name, mission statement, and catetories.
TODO
9 changes: 8 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
},
"files": {
"include": [],
"ignore": ["dist", "coverage", "node_modules", "./*.json"],
"ignore": [
"dist",
"coverage",
"node_modules",
"./*.json",
"src/autoGenerated",
"**/__snapshots__"
],
"ignoreUnknown": true
},
"organizeImports": {
Expand Down
Loading