Skip to content

Commit

Permalink
feat: Initial Release
Browse files Browse the repository at this point in the history
* Update version

* Update repo url

* Update packages

* Update node version

* Install conventional commits

* feat: Initial Release

* chore(release): 1.0.0-dev.1 [skip ci]

## 1.0.0-dev.1 (2023-01-29)

### Features

* Initial Release ([a265018](a265018))

* fix: run build for branch

* chore(release): 1.0.0-dev.2 [skip ci]

## [1.0.0-dev.2](v1.0.0-dev.1...v1.0.0-dev.2) (2023-01-29)

### Bug Fixes

* run build for branch ([f3b0479](f3b0479))

* fix: auto build

* chore(release): 1.0.0-dev.3 [skip ci]

## [1.0.0-dev.3](v1.0.0-dev.2...v1.0.0-dev.3) (2023-01-29)

### Bug Fixes

* auto build ([2dc0c5f](2dc0c5f))

---------

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
  • Loading branch information
Sese-Schneider and semantic-release-bot authored Jan 29, 2023
1 parent 958899f commit dd63a16
Show file tree
Hide file tree
Showing 7 changed files with 1,325 additions and 1,080 deletions.
File renamed without changes.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,27 @@ on:
pull_request:
branches:
- '*'
push:
branches:
- 'dev'
- 'master'

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2.1.4
with:
node-version: 12.x
node-version: 18.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-12.x-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.OS }}-node-18.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-12.x
${{ runner.OS }}-node-18.x
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -29,23 +33,19 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
- name: Use Node.js 18.x
uses: actions/setup-node@v2.1.4
with:
node-version: ${{ matrix.node-version }}
node-version: 18.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: ${{ runner.OS }}-node-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.OS }}-node-18.x-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.OS }}-node-${{ matrix.node-version }}
${{ runner.OS }}-node-18.x
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 18.x
uses: actions/setup-node@v2.1.4
with:
node-version: 12.x
node-version: 18.x
- name: Cache Node.js modules
uses: actions/cache@v2
with:
Expand All @@ -27,6 +27,8 @@ jobs:
${{ runner.OS }}-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build the project
run: npm run build --if-present
- name: Release
run: npx semantic-release
env:
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## [1.0.0-dev.3](https://github.com/Sese-Schneider/ha-energy-overview-card/compare/v1.0.0-dev.2...v1.0.0-dev.3) (2023-01-29)


### Bug Fixes

* auto build ([2dc0c5f](https://github.com/Sese-Schneider/ha-energy-overview-card/commit/2dc0c5f3e583176ac322e561cab3f385e0d77233))

## [1.0.0-dev.2](https://github.com/Sese-Schneider/ha-energy-overview-card/compare/v1.0.0-dev.1...v1.0.0-dev.2) (2023-01-29)


### Bug Fixes

* run build for branch ([f3b0479](https://github.com/Sese-Schneider/ha-energy-overview-card/commit/f3b0479fd4e5839632546d9979e8e0c2752c3f12))

## 1.0.0-dev.1 (2023-01-29)


### Features

* Initial Release ([a265018](https://github.com/Sese-Schneider/ha-energy-overview-card/commit/a2650185dba439edf2ba0fafe4c91aa93b082b60))
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "energy-overview-card",
"version": "1.1.0",
"version": "1.0.0-dev.3",
"description": "Lovelace energy-overview-card",
"keywords": [
"home-assistant",
Expand All @@ -11,7 +11,7 @@
"custom-cards"
],
"module": "energy-overview-card.js",
"repository": "git@github.com:Sese-Schneider/ha-energy-overview-card.git",
"repository": "https://github.com/Sese-Schneider/ha-energy-overview-card",
"author": "Sebastian Schneider <sese.tailor@gmx.net>",
"license": "MIT",
"dependencies": {
Expand All @@ -20,17 +20,18 @@
"lit": "^2.0.1"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/core": "^7.20.12",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.10",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^2.0.0",
"@typescript-eslint/parser": "^2.0.0",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^6.2.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.16.0",
Expand All @@ -41,7 +42,7 @@
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.24.0",
"rollup-plugin-uglify": "^6.0.2",
"semantic-release": "^17.3.8",
"semantic-release": "^20.1.0",
"typescript": "^3.6.2"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@ module.exports = {
],
],
preset: 'conventionalcommits',
branches: [{ name: 'master' }, { name: 'dev', channel: 'beta', prerelease: true }],
branches: [{ name: 'master' }, { name: 'dev', prerelease: true }],
};
Loading

0 comments on commit dd63a16

Please sign in to comment.