Skip to content

Commit

Permalink
Merge pull request #12 from TessavWalstijn/develop
Browse files Browse the repository at this point in the history
Release v3.0.1
  • Loading branch information
TessavWalstijn authored Feb 12, 2024
2 parents 105bd0c + 0eeb53a commit 012ff6f
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 14 deletions.
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: TessavWalstijn
ko_fi: tess
4 changes: 2 additions & 2 deletions .github/workflows/publish-collection.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: 'Publish browser-agent/collection to npm'
name: 'Publish browser-agent-collection to npm'

on:
push:
branches: [main]

jobs:
publish-coll:
name: Publish browser-agent/collection
name: Publish browser-agent-collection
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Pull Request browser-id test'
name: 'Pull Request browser-agent test'

on:
pull_request:
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,5 @@ dist
*.sw?

# Ignore collection generated code
collection
collection/*
!collection/.gitkeep
14 changes: 11 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
# Browser Agent Changelog

## Release [v3.0.0](https://github.com/TessavWalstijn/browser-agent/releases/tag/v2.0.2) - 2024-02-09
## Release [v3.0.1](https://github.com/TessavWalstijn/browser-agent/releases/tag/v3.0.1) - 2024-02-12

### Fixed

- `browser-agent-collection` build script
- collection folder in repository


## Release [v3.0.0](https://github.com/TessavWalstijn/browser-agent/releases/tag/v3.0.0) - 2024-02-09

### Added

- npm package `browser-agent/collection`
- npm package `browser-agent-collection`
the place for the userAgent collection
- Changelog

Expand Down Expand Up @@ -81,7 +89,7 @@

### Fixed

- Typo in Firefox.js
- Typo in Firefox.js

## Release [v1.0.0](https://github.com/TessavWalstijn/browser-agent/releases/tag/v1.0.0) - 2022-12-26

Expand Down
2 changes: 1 addition & 1 deletion README-COLLECTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@

Before starting, please read our [Code of Conduct](./CODE_OF_CONDUCT./) and [Contributing Guidelines](./CONTRIBUTING_GUIDELINES.md) for detailed information and instructions on contributing to this repository.

Please note that `browser-agent/collection` is a generated collection from the code-base of `browser-agent`
Please note that `browser-agent-collection` is a generated collection from the code-base of `browser-agent`
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ const shortcutToolTipLabel = (event) => {
## Browser Agent packages notice

The npm packages:

- `browser-agent`
- `browser-agent/collection`
- `browser-agent-collection`

Have the same version to garuntee compatibility with each other.
Have the same version to grantee compatibility with each other.

## How to contribute

Expand Down
File renamed without changes.
Empty file added collection/.gitkeep
Empty file.
4 changes: 2 additions & 2 deletions package-collection.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "browser-agent/collection",
"name": "browser-agent-collection",
"description": "Use userAgent collection of browser-agent",
"type": "module",
"repository": "[email protected]:TessavWalstijn/browser-id.git",
"repository": "[email protected]:TessavWalstijn/browser-agent.git",
"author": "TessavWalstijn <[email protected]>",
"license": "MIT",
"types": "./dist/userAgents.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "browser-agent",
"version": "3.0.0",
"version": "3.0.1",
"description": "Get users browser & os information (Uses userAgent)",
"type": "module",
"repository": "[email protected]:TessavWalstijn/browser-agent.git",
Expand All @@ -14,7 +14,7 @@
},
"main": "./dist/index.cjs",
"scripts": {
"collection:update": "ts-node --project tsconfig.dev.json ./build/collection",
"collection:update": "node ./build/collection",
"collection:build": "cd ./collection && tsup ../source/browsers/userAgents.ts --format esm,cjs,iife --dts",
"collection:publish": "cd ./collection && npm publish --access public",
"dev": "ts-node --project tsconfig.dev.json ./source/dev",
Expand Down

0 comments on commit 012ff6f

Please sign in to comment.