Skip to content

Commit

Permalink
chore(release): 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
aitboudad committed Oct 13, 2024
1 parent 5dcdc4e commit 212ac60
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .config/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const execSync = require('child_process').execSync,
packages.map((package) => {
const packagePath = `${__dirname}/../dist/@ngx-loading-bar/${package}`;

execSync(`cd ${packagePath} && npm publish`);
execSync(`cd ${packagePath} && npm publish --access public`);
});
41 changes: 41 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Release

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/setup-node@v4
with:
# Setup .npmrc file to publish to npm
registry-url: 'https://registry.npmjs.org'
node-version: 20
cache: 'npm'

- name: Install Dependencies
run: npm install

- name: Build
run: npm run build

- name: Test
run: npm run test

- name: npm publish
run: npm run publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Github release
run: npm run github-release
env:
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [7.0.0](https://github.com/aitboudad/ngx-loading-bar/compare/v6.0.2...v7.0.0) (2024-10-13)


### Features

* **core:** update to angular 16 ([b8f0992](https://github.com/aitboudad/ngx-loading-bar/commit/b8f099229c685124ea674d8f48ec680e61d0eb47)), closes [#202](https://github.com/aitboudad/ngx-loading-bar/issues/202) [#200](https://github.com/aitboudad/ngx-loading-bar/issues/200)
* **http:** remove depracated http headers ignoreLoadingBar ([c4aee89](https://github.com/aitboudad/ngx-loading-bar/commit/c4aee8937bdef1d8c897c700912a42912045a30b)), closes [#201](https://github.com/aitboudad/ngx-loading-bar/issues/201)

### [6.0.2](https://github.com/aitboudad/ngx-loading-bar/compare/v6.0.1...v6.0.2) (2022-02-16)


Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngx-loading-bar/common",
"version": "6.0.2",
"version": "7.0.0",
"license": "MIT",
"author": "Abdellatif Ait boudad",
"description": "A fully automatic loading bar / progress bar with zero configuration for Angular app (http, http-client and router).",
Expand All @@ -23,7 +23,8 @@
"lint:fix": "tslint --fix 'src/**/*.ts' 'demo/**/*.ts' -p tsconfig.json",
"format": "prettier --list-different \"**/*.{js,ts,json,css,scss,md,html}\"",
"format:fix": "prettier --write \"**/*.{js,ts,json,css,scss,md,html}\"",
"release": "standard-version && npm run build && node .config/publish.js",
"release": "standard-version",
"publish": "node .config/publish.js",
"start": "ng serve --port 4501 --open",
"build": "npm run build:core && npm run build:http-client && npm run build:router && node .config/build.js",
"build:core": "ng build --configuration production @ngx-loading-bar/core",
Expand All @@ -33,7 +34,7 @@
"test": "jest --coverage",
"test:watch": "jest --watch",
"bundlesize": "bundlesize",
"github-release": "conventional-github-releaser -p angular -t $GH_TOKEN --draft"
"github-release": "conventional-github-releaser -p angular --draft"
},
"dependencies": {
"@angular/animations": "^16.2.12",
Expand Down

0 comments on commit 212ac60

Please sign in to comment.