Skip to content

Commit f1cf405

Browse files
committed
initial commit
1 parent 8fcd83f commit f1cf405

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+21574
-1
lines changed

.editorconfig

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Editor configuration, see https://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.ts]
12+
quote_type = single
13+
14+
[*.md]
15+
max_line_length = off
16+
trim_trailing_whitespace = false

.github/FUNDING.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
github: chriskapp
3+
patreon: fusio
4+
custom: https://www.paypal.me/fusioapi

.github/workflows/build.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Build
2+
on:
3+
- pull_request
4+
- push
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- run: npm ci
11+
- run: npm run build

.github/workflows/npm.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-node@v3
11+
with:
12+
node-version: '16.x'
13+
registry-url: 'https://registry.npmjs.org'
14+
- run: npm ci
15+
- run: npm run build
16+
- run: cd dist/fusio-sdk && npm publish
17+
env:
18+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
# fusio-sdk-javascript-angular
1+
2+
# Fusio SDK Angular
3+
4+
This SDK provides several components and services which help to integrate
5+
Fusio into an existing Angular app.
6+

angular.json

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"fusio-sdk": {
7+
"projectType": "library",
8+
"root": "projects/fusio-sdk",
9+
"sourceRoot": "projects/fusio-sdk/src",
10+
"prefix": "lib",
11+
"architect": {
12+
"build": {
13+
"builder": "@angular-devkit/build-angular:ng-packagr",
14+
"options": {
15+
"project": "projects/fusio-sdk/ng-package.json"
16+
},
17+
"configurations": {
18+
"production": {
19+
"tsConfig": "projects/fusio-sdk/tsconfig.lib.prod.json"
20+
},
21+
"development": {
22+
"tsConfig": "projects/fusio-sdk/tsconfig.lib.json"
23+
}
24+
},
25+
"defaultConfiguration": "production"
26+
},
27+
"test": {
28+
"builder": "@angular-devkit/build-angular:karma",
29+
"options": {
30+
"main": "projects/fusio-sdk/src/test.ts",
31+
"tsConfig": "projects/fusio-sdk/tsconfig.spec.json",
32+
"karmaConfig": "projects/fusio-sdk/karma.conf.js"
33+
}
34+
}
35+
}
36+
}
37+
},
38+
"defaultProject": "fusio-sdk"
39+
}

0 commit comments

Comments
 (0)