Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
César Alberca committed Jan 21, 2022
2 parents be4e150 + 40195cc commit c6c9b29
Show file tree
Hide file tree
Showing 73 changed files with 141,656 additions and 20,523 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
Expand All @@ -13,18 +10,18 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16.8.0'
node-version: '17.3.0'
- uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: install
run: yarn
run: npm ci
- name: build
run: yarn run build
run: npm run build
- name: compile
run: yarn run compile
run: npm run compile
- name: test
run: yarn run test:ci
run: npm run test:ci
38 changes: 0 additions & 38 deletions .github/workflows/publish-alpha.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions .github/workflows/publish-beta.yaml

This file was deleted.

34 changes: 16 additions & 18 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Publish
on: workflow_dispatch
on:
push:
branches:
- main
- beta
jobs:
publish:
runs-on: ubuntu-latest
Expand All @@ -9,30 +13,24 @@ jobs:
fetch-depth: '0'
- uses: actions/setup-node@v2
with:
node-version: 16.8.0
node-version: '17.3.0'
always-auth: true
registry-url: 'https://registry.npmjs.org'
scope: '@archimedes'
- uses: actions/cache@v2
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- name: Credentials
run: |
git config --global user.name 'archimedes-ci'
git config --global user.email '[email protected]'
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install
run: yarn install
- name: compile
run: yarn run build
- name: Version
run: yarn run compile
run: npm ci
- name: Build
run: yarn run version --conventional-graduate
- name: Publish
run: yarn run publish
run: npm run build
- name: Release
run: npm run release
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN }}
9 changes: 5 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@
log.txt
*.sublime-project
*.sublime-workspace
.vscode/
npm-debug.log*
builds/
loader/
tsconfig.tsbuildinfo
components.d.ts

.idea/
.gradle/
.vscode/

.sourcemaps/
.tmp/
.versions/
.parcel-cache/
coverage/
builds/
www/
node_modules/
tmp/
loader/
temp/

.DS_Store
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16.8.0
v17.3.0
6 changes: 6 additions & 0 deletions .parcelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": "@parcel/config-default",
"transformers": {
"*.{ts,tsx}": ["@parcel/transformer-typescript-tsc"]
}
}
25 changes: 25 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"branches": [
{
"name": "main"
},
{
"name": "beta",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
[
"@semantic-release/git",
{
"assets": ["package.json", "CHANGELOG.md"],
"message": "chore(release): ${nextRelease.version} [skip ci]"
}
]
]
}
13 changes: 4 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

# [1.5.0](https://github.com/archimedes-projects/archimedes-js/compare/v1.4.0...v1.5.0) (2021-11-23)


### Features

* add button tests ([2811db2](https://github.com/archimedes-projects/archimedes-js/commit/2811db253cb20c6623ab057b8636238d6da3c2bf))
* create button component ([6d8e2c8](https://github.com/archimedes-projects/archimedes-js/commit/6d8e2c8e8fd2758e8d415164d66d98f489a2b7a2))
* refactor button component ([b391434](https://github.com/archimedes-projects/archimedes-js/commit/b391434edc3120e53756778c77577e2810354bf9))
* return result in the after hook ([4f29d99](https://github.com/archimedes-projects/archimedes-js/commit/4f29d99cb2c4916f31975230e8c98280ecd7d993))




- add button tests ([2811db2](https://github.com/archimedes-projects/archimedes-js/commit/2811db253cb20c6623ab057b8636238d6da3c2bf))
- create button component ([6d8e2c8](https://github.com/archimedes-projects/archimedes-js/commit/6d8e2c8e8fd2758e8d415164d66d98f489a2b7a2))
- refactor button component ([b391434](https://github.com/archimedes-projects/archimedes-js/commit/b391434edc3120e53756778c77577e2810354bf9))
- return result in the after hook ([4f29d99](https://github.com/archimedes-projects/archimedes-js/commit/4f29d99cb2c4916f31975230e8c98280ecd7d993))

# [1.4.0](https://github.com/archimedes-projects/archimedes-js/compare/v1.4.0-beta.1...v1.4.0) (2021-09-16)

Expand Down
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,22 @@
<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/archimedesfw?sanitize=true">
</p>

# Archimedes
# ArchimedesJS

Archimedes is a series of architectural concepts that are implemented in different languages. Using a given Archimedes implementation provides a set of solid and flexible architectural pieces. This is the implementation of Archimedes in TypeScript.
Archimedes is a series of architectural concepts that are implemented in different languages. Using a given Archimedes
implementation provides a set of solid and flexible architectural pieces. This is the implementation of Archimedes in
TypeScript.

With `archimedes-js` you have:

- [Use cases](https://www.archimedesfw.io/docs/js/arch#use-cases) to define your business logic
- [Powerful runner](https://www.archimedesfw.io/docs/js/arch#runner) that handles [cache](https://www.archimedesfw.io/docs/js/arch#cachelink), [errors](https://www.archimedesfw.io/docs/js/arch#notificationlink), [logging](https://www.archimedesfw.io/docs/js/arch#loggerlink) and much more
- Utilities like [date handling](https://www.archimedesfw.io/docs/js/utils#datetime), a lightweight [http client](https://www.archimedesfw.io/docs/js/utils#httpclient), [monads](https://www.archimedesfw.io/docs/js/utils#maybe), etc
- [Powerful runner](https://www.archimedesfw.io/docs/js/arch#runner) that
handles [cache](https://www.archimedesfw.io/docs/js/arch#cachelink)
, [errors](https://www.archimedesfw.io/docs/js/arch#notificationlink)
, [logging](https://www.archimedesfw.io/docs/js/arch#loggerlink) and much more
- Utilities like [date handling](https://www.archimedesfw.io/docs/js/utils#datetime), a
lightweight [http client](https://www.archimedesfw.io/docs/js/utils#httpclient)
, [monads](https://www.archimedesfw.io/docs/js/utils#maybe), etc
- [Headless component library](https://www.archimedesfw.io/docs/js/components) (WIP)

## Installation
Expand Down
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

17 changes: 0 additions & 17 deletions bili.config.ts

This file was deleted.

11 changes: 11 additions & 0 deletions examples/example-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# example-angular 1.0.0-beta.1 (2022-01-04)

### Features

- add use cases subscriptions ([ae47e26](https://github.com/archimedes-projects/archimedes-js/commit/ae47e260255950c7f3272bec4e65389b744eccb1))
- pass result, param and executionOptions to subscribe callback ([a6f46a7](https://github.com/archimedes-projects/archimedes-js/commit/a6f46a754fa70661e40046d80974f2b5f155eb3b))
- **arch:** add base url ([f2a2f0b](https://github.com/archimedes-projects/archimedes-js/commit/f2a2f0b55e0d56b498b93f411d203060ade9dfe9))

### Dependencies

- **@archimedes/arch:** upgraded to 1.0.0-beta.1
Loading

0 comments on commit c6c9b29

Please sign in to comment.