Skip to content

Commit

Permalink
initial commits
Browse files Browse the repository at this point in the history
  • Loading branch information
zahmo committed Sep 4, 2024
1 parent cc7f0aa commit 1a163af
Show file tree
Hide file tree
Showing 228 changed files with 532 additions and 514 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/createdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,87 +25,87 @@ jobs:
- name: version core
uses: nyaa8/package-version@v1
with:
path: './dist/@zajsf/core/package.json'
path: './dist/@ng-formworks/core/package.json'

- name: dist core versioned
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_core_v${{ env.PACKAGE_VERSION }}
FOLDER: ./dist/@zajsf/core
FOLDER: ./dist/@ng-formworks/core
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: dist core
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_core
FOLDER: ./dist/@zajsf/core
FOLDER: ./dist/@ng-formworks/core
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: version bootstrap3
uses: nyaa8/package-version@v1
with:
path: './dist/@zajsf/bootstrap3/package.json'
path: './dist/@ng-formworks/bootstrap3/package.json'

- name: dist bootstrap3 versioned
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_bootstrap3_v${{ env.PACKAGE_VERSION }}
FOLDER: ./dist/@zajsf/bootstrap3
FOLDER: ./dist/@ng-formworks/bootstrap3
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: dist bootstrap3
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_bootstrap3
FOLDER: ./dist/@zajsf/bootstrap3
FOLDER: ./dist/@ng-formworks/bootstrap3
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: version bootstrap4
uses: nyaa8/package-version@v1
with:
path: './dist/@zajsf/bootstrap4/package.json'
path: './dist/@ng-formworks/bootstrap4/package.json'


- name: dist_bootstrap4 versioned
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_bootstrap4_v${{ env.PACKAGE_VERSION }}
FOLDER: ./dist/@zajsf/bootstrap4
FOLDER: ./dist/@ng-formworks/bootstrap4
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: dist_bootstrap4
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_bootstrap4
FOLDER: ./dist/@zajsf/bootstrap4
FOLDER: ./dist/@ng-formworks/bootstrap4
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


- name: version material
uses: nyaa8/package-version@v1
with:
path: './dist/@zajsf/material/package.json'
path: './dist/@ng-formworks/material/package.json'

- name: dist material versioned
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_material_v${{ env.PACKAGE_VERSION }}
FOLDER: ./dist/@zajsf/material
FOLDER: ./dist/@ng-formworks/material
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: dist material
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist_material
FOLDER: ./dist/@zajsf/material
FOLDER: ./dist/@ng-formworks/material
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}


Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@ updates:
# Prefix all commit messages with "build"
prefix: "build"
- package-ecosystem: "npm"
directory: "/projects/zajsf-core"
directory: "/projects/ng-formworks-core"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 5
commit-message:
prefix: "build"
- package-ecosystem: "npm"
directory: "/projects/zajsf-material"
directory: "/projects/ng-formworks-material"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 5
commit-message:
prefix: "build"
- package-ecosystem: "npm"
directory: "/projects/zajsf-bootstrap3"
directory: "/projects/ng-formworks-bootstrap3"
schedule:
interval: "weekly"
day: "sunday"
open-pull-requests-limit: 5
commit-message:
prefix: "build"
- package-ecosystem: "npm"
directory: "/projects/zajsf-bootstrap4"
directory: "/projects/ng-formworks-bootstrap4"
schedule:
interval: "weekly"
day: "sunday"
Expand Down
30 changes: 15 additions & 15 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Contributing to zajsf
# Contributing to ng-formworks

zajsf is an open project and welcomes contributions. These guidelines are provided to help you understand how the project works and to make contributing smooth and fun for everybody involved.
ng-formworks is an open project and welcomes contributions. These guidelines are provided to help you understand how the project works and to make contributing smooth and fun for everybody involved.

There are two main forms of contribution: reporting issues and performing code changes.

## Reporting Issues

If you find a problem with zajsf, report it using [GitHub issues](https://github.com/zahmo/zajsf/issues/new).
If you find a problem with ng-formworks, report it using [GitHub issues](https://github.com/zahmo/ng-formworks/issues/new).

Before reporting a new issue, please take a moment to check whether it has already been reported
[here](https://github.com/zahmo/zajsf/issues). If this is the case, please:
[here](https://github.com/zahmo/ng-formworks/issues). If this is the case, please:

- Read all the comments to confirm that it's the same issue you're having.
- Refrain from adding "same thing here" or "+1" comments. Just hit the
Expand Down Expand Up @@ -43,7 +43,7 @@ To send your code change, use GitHub pull requests. The workflow is as follows:

1. Publish the branch and create a pull request.

1. zajsf developers will review your change and possibly point out issues.
1. ng-formworks developers will review your change and possibly point out issues.
Adapt the code under their guidance until all issues are resolved.

1. Finally, the pull request will get merged or rejected.
Expand All @@ -58,15 +58,15 @@ requests.
Let's first generate all the bundles we need to start the demo:

```bash
$ cd zajsf
$ cd ng-formworks
$ yarn install or npm install
$ yarn start
```

You can stop the demo application.
The tricky part now is to run concurrently both the demo application & the library in watch mode.
So, first choose which library you want to change then run `$ ng build @zajsf/core --watch` for example
to build in watch mode the `@zajsf/core`.
So, first choose which library you want to change then run `$ ng build @ng-formworks/core --watch` for example
to build in watch mode the `@ng-formworks/core`.
Now let's start the demo application in watch mode too. So, open a new terminal and run `$ ng serve` and there you go.
This method is tricky but it works perfectly in all environments (I tried other methods like npm-run-all
or concurrently packages but angular-cli build doesn't restart after a failed build).
Expand Down Expand Up @@ -128,13 +128,13 @@ The scope should be the name of the npm package affected (as perceived by the pe

The following is the list of supported scopes:

* **zajsf/core**
* **zajsf/cssfw**
* **zajsf/bs3**
* **zajsf/bs4**
* **zajsf/bs5**
* **zajsf/daisyui**
* **zajsf/material**
* **ng-formworks/core**
* **ng-formworks/cssfw**
* **ng-formworks/bs3**
* **ng-formworks/bs4**
* **ng-formworks/bs5**
* **ng-formworks/daisyui**
* **ng-formworks/material**
* **locales**
* **demo**
* ...
Expand Down
Loading

0 comments on commit 1a163af

Please sign in to comment.