Skip to content
Open
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
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: "\U0001F41B Bug report"
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

## 🐛 Bug Report

<!-- A clear and concise description of what the bug is. -->

## To Reproduce

Steps to reproduce the behavior:

## Expected behavior

<!-- A clear and concise description of what you expected to happen. -->

## Eva version

| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | |

16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/---question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: "\U0001F4AC Question"
about: Submit a question related to Eva
title: ''
labels: ":grey_question: Help wanted"
assignees: ''

---

## 💬 Question

## Eva version

| Package | Version |
| ----------- | ----------- |
| @eva-design/eva | |
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/--feature-proposal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "\U0001F680Feature Proposal"
about: Submit a proposal for a new feature
title: ''
labels: ":bulb: Proposal"
assignees: ''

---

## 🚀 Feature Proposal

A clear and concise description of what the feature is.

## Motivation

Please outline the motivation for the proposal.

## Example

Please provide an example for how this feature would be used.
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### Please read and mark the following check list before creating a pull request:

#### Short description of what this resolves:
33 changes: 33 additions & 0 deletions .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build
on:
push:
branches:
- master

pull_request:
branches:
- master

jobs:
build:
name: Running TypeScript compiler, TSLint and Jest
runs-on: macos-latest
steps:
- uses: actions/checkout@v1

- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: '13.x'

- name: Install
run: yarn

- name: Lint
run: npm run lint

- name: Build
run: npm run build

- name: Test
run: npm run test
15 changes: 0 additions & 15 deletions .travis.yml

This file was deleted.

30 changes: 16 additions & 14 deletions DEV_DOCS.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
- [Release](#release)

# Release

0. For major version, search for `@breaking-change` to make sure all breaking changes are covered.

To start a new release (publish the framework packages on NPM) you need:

1. Create a new release branch called `release:v1.0.2`
2. `npm run release:validate` - this will check linter issues and tests.
3. `npm run release:prepare` - this will create ready for publishing packages in `./dist`.
4. MANUALLY update a version in main ./package.json to a new one.
5. `npm run version:bump` - this will update versions of `dss`, `eva`, `processor` packages.
6. Update version in `package-lock.json`.
7. Update devDependency `@eva-design/dss` version under the `processor`.
8. `npm run version:changelog` - this will update `CHANGELOG.md` file.
9. Fix/expand changelog manually.
10. Push the branch, create PR, approve - merge.
11. Pull the upstream (master).
12. `npm run release` - run prepare & validate and finally publish the packages to NPM.
13. Create and push git tag.
14. Create release on github.
1. Create a new release branch with template `release/vX.X.X`
2. Run tests: `npm run lint && npm run test`
3. MANUALLY update a version in main ./package.json to a new one
4. Generate changelog: `npm run bump-version`
5. Fix/expand changelog manually
6. Update documentation (e.g [DEV_DOCS.md](./DEV_DOCS.md)) files if needed
7. Push the branch, create PR, approve - merge
8. Pull the upstream (master or another version branch (e.g. 4.0.1, next))
9. Publish documentation: `npm run publish-docs`
10. Publish framework packages: `npm run publish-packages`
11. Create and push [git tag](https://git-scm.com/book/en/v2/Git-Basics-Tagging) with template `(vX.X.X)`
12. Create release on GitHub for the tag
11 changes: 3 additions & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
'use strict';
/**
* Load the TypeScript compiler and then load the tasks from 'scripts/gulp'.
*/
const path = require('path');
const gulpPath = path.join(__dirname, 'scripts/gulp');
const tsconfigPath = path.join(gulpPath, 'tsconfig.json');

// Register TypeScript.
require('ts-node').register({ project: tsconfigPath });
const gulpPath = path.join(__dirname, 'scripts');

require('ts-node').register({ project: path.resolve('tsconfig.json') });
require(path.join(gulpPath, 'gulpfile'));
2 changes: 1 addition & 1 deletion jest.config.snapshot.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ module.exports = {
resolveTestPath: (path, extension) => {
return path.slice(0, -extension.length);
},
testPathForConsistencyCheck: 'some/example.spec.ts',
testPathForConsistencyCheck: 'module/testable.spec.ts'
};
Loading