Skip to content

Commit

Permalink
Merge branch 'release/[email protected]'
Browse files Browse the repository at this point in the history
  • Loading branch information
brunobuddy committed Dec 18, 2024
2 parents be7a97a + af49237 commit 70f2a88
Show file tree
Hide file tree
Showing 83 changed files with 36,648 additions and 8,624 deletions.
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ Check the NPM packages that require a new publication or release:
- [ ] I have performed a self-review of my code (no debugs, no commented code, good naming, etc.)
- [ ] I wrote the relative tests
- [ ] I created a PR for the [documentation](https://github.com/mnfst/docs) if necessary and attached the link to this PR
- [ ] I updated the "examples" dependencies is new packages have been released
- [ ] This PR is wrote in a clear language and correctly labeled
23 changes: 23 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Code coverage
on: [pull_request]
jobs:
run:
runs-on: ubuntu-latest

env:
HUSKY: 0

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node 18
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies (workspaces)
run: npm ci --workspaces --ignore-scripts
- name: Run tests and collect coverage
run: npm run test:cov
working-directory: ./packages/core/manifest
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
16 changes: 0 additions & 16 deletions .github/workflows/hacktoberfest-label.yml

This file was deleted.

8 changes: 4 additions & 4 deletions examples/main-demo/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/main-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
"manifest:seed": "node node_modules/manifest/dist/manifest/src/seed/scripts/seed.js"
},
"dependencies": {
"manifest": "^4.1.5"
"manifest": "^4.1.6"
}
}
4 changes: 4 additions & 0 deletions examples/website/auth/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

node_modules
.env
public
5 changes: 5 additions & 0 deletions examples/website/auth/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"redhat.vscode-yaml"
]
}
5 changes: 5 additions & 0 deletions examples/website/auth/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"yaml.schemas": {
"https://schema.manifest.build/schema.json": "**/manifest/**/*.yml"
}
}
58 changes: 58 additions & 0 deletions examples/website/auth/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<br>
<p align="center">
<a href="https://manifest.build/#gh-light-mode-only">
<img alt="manifest" src="https://manifest.build/assets/images/logo-transparent.svg" height="55px" alt="Manifest logo" title="Manifest - A backend so simple that it fits in a YAML file" />
</a>
<a href="https://manifest.build/#gh-dark-mode-only">
<img alt="manifest" src="https://manifest.build/assets/images/logo-light.svg" height="55px" alt="Manifest logo" title="Manifest - A backend so simple that it fits in a YAML file" />
</a>
</p>

<p align='center'>
<strong>A backend so simple that it fits into 1 YAML file</strong>
<br><br>
<a href="https://www.npmjs.com/package/manifest" target="_blank"><img alt="npm" src="https://img.shields.io/npm/v/manifest"></a>
<a href="https://www.codefactor.io/repository/github/mnfst/manifest" target="_blank"><img alt="CodeFactor Grade" src="https://img.shields.io/codefactor/grade/github/mnfst/manifest"></a>
<a href="https://discord.com/invite/FepAked3W7" target="_blank"><img alt="Discord" src="https://img.shields.io/discord/1089907785178812499?label=discord"></a>
<a href="https://opencollective.com/mnfst" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a>
<a href="https://www.codetriage.com/mnfst/manifest" target="_blank"><img alt="CodeTriage" src="https://www.codetriage.com/mnfst/manifest/badges/users.svg"></a>
<a href="https://github.com/mnfst/manifest/blob/develop/LICENSE" target="_blank"><img alt="License MIT" src="https://img.shields.io/badge/licence-MIT-green"></a>
<br>
</p>

## Description

This project was made with [Manifest](https://github.com/mnfst/manifest).

## Installation

```bash
$ npm install
```

## Running the app

To run the app in the development mode:

```bash
npm run manifest
```

- Open [http://localhost:1111](http://localhost:1111) to open your admin UI it in your browser
- Open [http://localhost:1111/api](http://localhost:111/api) to view your REST API documentation

The page will reload when you make changes.

## Seed dummy data

Seeds some dummy data for your entities:

```bash
npm run manifest:seed
```

## Community & Resources

- [Docs](https://manifest.build/docs) - Get started with Manifest
- [Discord](https://discord.gg/FepAked3W7) - Come chat with the community
- [Github](https://github.com/mnfst/manifest/issues) - Report bugs and share ideas to improve the product.
Binary file added examples/website/auth/manifest/backend.db
Binary file not shown.
22 changes: 22 additions & 0 deletions examples/website/auth/manifest/backend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Invoice Management System 🗂️

entities:
User 👩🏻‍💼:
authenticable: true

Accountant 👔:
authenticable: true

Invoice 🧾:
properties:
- number
- { name: amount, type: money, options: { currency: 'EUR' } }
policies:
create:
- { access: restricted, allow: Accountant }
read:
- { access: restricted, allow: [Accountant, User] }
update:
- access: admin
delete:
- access: forbidden
Loading

0 comments on commit 70f2a88

Please sign in to comment.