Skip to content

Issue 70 manual release better #71

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

Merged
merged 4 commits into from
Apr 23, 2021
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
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Prepare 'data-tier' release
name: Trigger 'data-tier' release

on:
push:
tags:
- release
workflow_dispatch:
inputs:
version:
description: 'Version to bump to'
required: false

jobs:
prepare-verify:
prepare-verify-trigger:
runs-on: ubuntu-18.04

steps:
Expand All @@ -15,9 +17,6 @@ jobs:
with:
token: ${{ secrets.DT_CI_AT }}

- name: Delete temporary trigger tag
run: git push origin --delete release

- name: Setup NodeJS 14
uses: actions/setup-node@v2
with:
Expand All @@ -26,7 +25,10 @@ jobs:
- name: Install
run: npm install

# Bump
# Bump version
- name: Bump to target version, if any
if: ${{ github.event.inputs.version }}
run: npm run bump -- --version=${{ github.event.inputs.version }}
- name: Bump release version
run: |
npm run bump -- --release
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.1.5] - 2021-04-24
### Added
- [Issue #70](https://github.com/gullerya/data-tier/issues/70) - added manually triggered release
### Changed
- documentation updated
- dependencies maintainance

## [3.1.4] - 2021-03-29
### Changed
- documentation updated
Expand Down
137 changes: 36 additions & 101 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@
"bump": "node ./ci/tools/version-utils.js"
},
"dependencies": {
"object-observer": "^4.2.1"
"object-observer": "^4.2.2"
},
"devDependencies": {
"eslint": "^7.23.0",
"eslint": "^7.24.0",
"just-test": "2.3.2",
"puppeteer": "^8.0.0",
"puppeteer": "^9.0.0",
"uglify-es": "^3.3.9",
"fs-extra": "^9.1.0"
}
Expand Down
26 changes: 5 additions & 21 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,24 @@

# `data-tier`

`data-tier` ('tier' from 'to tie') is a two way binding (MVVM) library targeting client (browser) HTML/Javascript applications.
`data-tier` ('tier' from 'to tie') is a two way binding (MVVM) library targeting client (browser) HTML/JavaScript applications.
`data-tier` relies on an [`Observable`](https://github.com/gullerya/object-observer/blob/master/docs/observable.md)-driven event cycle, having an embedded [`object-observer`](https://github.com/gullerya/object-observer) as the default `Observable` provider.

It is highly advised to briefly review the library's [Lifecycle](./docs/lifecycle.md) documentation for a main concepts. Once ready, [`data-tier`'s approach to client app architecture](./docs/client-app-architecture.md) will also have a bunch of useful information on when and how to employ data binding in a modern client applications in a non-intrusive, non-prisoning, managable and extensible way.

#### Support matrix
![CHROME](./docs/icons/chrome.png)<sub>61+</sub> | ![FIREFOX](./docs/icons/firefox.png)<sub>60+</sub> | ![EDGE](./docs/icons/edge-chromium.png)<sub>79+</sub>

#### Versions ([full changelog](./docs/changelog.md))

- __3.1.4__
- documentation
- dependencies maintenance

- __3.1.3__
- implemented [Issue #68](https://github.com/gullerya/data-tier/issues/68) - exposing `Observable` implementation that is bundled with this `data-tier` version
- added `cache-control` to the CDN deployment

- __3.1.0__
- implemented [Issue #58](https://github.com/gullerya/data-tier/issues/58) - allowed to create/update ties with primitive model (`boolean`, `number`, `string`)
- implemented [Issue #59](https://github.com/gullerya/data-tier/issues/59) - capable of create/update ties with null
- nullish model values (`null`, `undefined`) transformation into an empty string is now limited to only:
- `textContent` target property for any element
- `value` target property for these: `INPUT`, `SELECT`, `TEXTAREA`
#### Changelog is found [here]](./docs/changelog.md)

## Installation

Use regular `npm install data-tier --save-prod` to use the library from your local environment.

Use regular `npm install data-tier --save-prod` to use the library from your local environment:
```js
import * as DataTier from './node_modules/dist/data-tier.min.js';
import * as DataTier from 'node_modules/data-tier/dist/data-tier.min.js';
```

Additionally, a __CDN__ deployment available (AWS driven), so one can import it as following:
Alternatively, a __CDN__ deployment available (AWS driven), so one can import it as following:
```js
import * as DataTier from 'https://libs.gullerya.com/data-tier/x.y.z/data-tier.min.js';
```
Expand Down
Loading