-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(version): Bump version to v1.0.0.2 & Optimize package structure…
… and minify data files
- Loading branch information
Showing
31 changed files
with
777 additions
and
493 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
name: Publish Package to NPM | ||
|
||
on: | ||
# release: | ||
# types: [created] | ||
workflow_dispatch: # Accept manual trigger | ||
# release: | ||
# types: [created] | ||
workflow_dispatch: # Accept manual trigger | ||
|
||
jobs: | ||
build-and-publish: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Build package | ||
run: bun run build | ||
|
||
- name: Setup Node.js for NPM | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Publish to NPM | ||
run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
"printWidth": 100, | ||
"bracketSpacing": true, | ||
"arrowParens": "avoid" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [1.0.2] - 2024-02-09 | ||
|
||
### Changed | ||
- Optimized build output structure for better module consumption | ||
- Separated Node.js and browser builds into distinct directories | ||
- Added proper CommonJS support for Node.js environment | ||
- Improved ESM module format for browser environment | ||
- Enhanced type declarations generation | ||
- Added separate type declarations for Node.js and browser builds | ||
- Improved type definitions organization | ||
|
||
### Optimized | ||
- Significantly reduced JSON data file sizes through minification | ||
- Improved module tree-shaking support | ||
- Better source maps generation for both Node.js and browser builds | ||
|
||
### Fixed | ||
- Fixed incorrect file extensions in package exports | ||
- Resolved module format compatibility issues | ||
- Fixed type declarations path in package.json | ||
|
||
[1.0.2]: https://github.com/alice39s/ourairports-data-js/compare/v1.0.1...v1.0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.