Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
a86a545
Update README title for BYU team branch
amur-bashirov Jan 21, 2026
c69f6ff
created React Demo
amur-bashirov Jan 21, 2026
e41f690
Amur's React + Vite default app
amur-bashirov Jan 21, 2026
125eae9
Rename React app folder
amur-bashirov Jan 21, 2026
6872ffb
Created folders to begin developing
Samuelsotogit Jan 21, 2026
d7c15cb
Merge branch 'BYU-Development' of https://github.com/Samuelsotogit/sy…
Samuelsotogit Jan 21, 2026
cd99b03
put react empty app into web-apps folder
amur-bashirov Jan 21, 2026
dd5b89e
Update Nimble package
reouct Jan 22, 2026
0022308
Remove default React buttons
reouct Jan 22, 2026
f62b9bc
Added NI icon to the page
amur-bashirov Jan 22, 2026
684e857
added buttons colors
amur-bashirov Jan 22, 2026
91d5c64
Co-authored-by: Bowen Liu <[email protected]>
amur-bashirov Jan 22, 2026
0a24153
new path and css
amur-bashirov Jan 23, 2026
85d83b1
put a placeholder for config.js
amur-bashirov Jan 23, 2026
b1de94a
changed it to the typescript
amur-bashirov Jan 23, 2026
df1b8ce
put a placeholder for config
amur-bashirov Jan 23, 2026
71bb8d2
unable to use secrets not in pipline, reversed the proccess back
amur-bashirov Jan 23, 2026
fa85069
pit config.ts into gitignore
amur-bashirov Jan 23, 2026
51d0af9
tried to put it one more time
amur-bashirov Jan 23, 2026
5a10fcc
changed config back
amur-bashirov Jan 23, 2026
dff043c
Stop tracking config.ts
amur-bashirov Jan 23, 2026
9bc4478
push to delete config.ts
amur-bashirov Jan 23, 2026
6b4de7c
deleted dem_config
amur-bashirov Jan 23, 2026
9626c3b
finished creating demo config
amur-bashirov Jan 23, 2026
07aca10
finished config file and demo config file
amur-bashirov Jan 23, 2026
3fc1884
defined div for api call
amur-bashirov Jan 24, 2026
acef4c6
finished css for button and api
amur-bashirov Jan 24, 2026
3084d50
defined first div and title for the example css
amur-bashirov Jan 25, 2026
a2c4e9d
Set Up README.md on top and lower levels within the repo
Samuelsotogit Jan 26, 2026
5026d57
Merge branch 'BYU-Development' of https://github.com/Samuelsotogit/sy…
Samuelsotogit Jan 26, 2026
a2b111f
sussesfuly called api call
amur-bashirov Jan 26, 2026
805acec
Update README on how to run the app locally.
reouct Jan 26, 2026
d4c1875
fixed most of the issues with main description for now
amur-bashirov Jan 26, 2026
e5da9fa
Merge branch 'Bowen-Amur-Design' of https://github.com/Samuelsotogit/…
amur-bashirov Jan 26, 2026
4edeaad
CSS cleanup.
reouct Jan 26, 2026
96316c1
Update on displaying the response on the screen
reouct Jan 26, 2026
0824d32
Starting Blazor Work
Hecktomb200 Jan 30, 2026
b01f438
empty new blazor app
amur-bashirov Jan 30, 2026
00f5936
added html
amur-bashirov Jan 30, 2026
0e96f9b
renamed service to serviceProxy)
rockyRaccoon13 Feb 2, 2026
ef0e56f
dotnet changes
Samuelsotogit Feb 2, 2026
6027eee
added gitignore
amur-bashirov Feb 2, 2026
4d0c12f
Merge branch 'BYU-Development' into Bowen-Amur-Logan-Design
amur-bashirov Feb 2, 2026
ed6f6f1
ignore config (sensitive data) and node_modules (bloat)
rockyRaccoon13 Feb 2, 2026
cd37f3d
ignore node_modules, dist/, *.nipkg
rockyRaccoon13 Feb 2, 2026
614574b
fix(build) vite build now uses relative paths
rockyRaccoon13 Feb 2, 2026
29d2a33
fixed proxy setup. Add vite env files for dev and prod
rockyRaccoon13 Feb 2, 2026
7506bfa
update(README). proxy config and SL-CLI deployment instructions
rockyRaccoon13 Feb 2, 2026
c1bd8e7
Merge branch 'BYU-Development' into dev/benson
rockyRaccoon13 Feb 2, 2026
ab058fc
temp fix(proxyService) proxy works for specific endpoint and method
rockyRaccoon13 Feb 2, 2026
3ecb790
added notes on how dev/prod envs work
rockyRaccoon13 Feb 2, 2026
fe125a0
made service work for all methods and upstream paths
rockyRaccoon13 Feb 4, 2026
1e2a81e
Merge branch 'BYU-Development' into dev/benson
rockyRaccoon13 Feb 4, 2026
af1b8f5
Merge branch 'ni:main' into BYU-Development
rockyRaccoon13 Feb 4, 2026
b580e0c
added test
rockyRaccoon13 Feb 4, 2026
73453e1
updated css
amur-bashirov Feb 4, 2026
53eab0a
changed the structure of the design
amur-bashirov Feb 6, 2026
3da2929
imported font
amur-bashirov Feb 6, 2026
db4488d
Added Initial Blazor APP
Samuelsotogit Feb 6, 2026
a0b2bb9
Merge branch 'BYU-Development' of https://github.com/Samuelsotogit/sy…
Samuelsotogit Feb 6, 2026
4b584d3
Changed file names
Samuelsotogit Feb 8, 2026
af084c0
added dependencies via npm
Samuelsotogit Feb 8, 2026
610c690
Installed NimbleBlazor dependencies, created API component page with …
Samuelsotogit Feb 8, 2026
417f71f
Add Nimble components support to Blazor app
Samuelsotogit Feb 8, 2026
b0ba768
Merge branch 'blazor-API-call-feature' into BYU-Development
Samuelsotogit Feb 8, 2026
05adc20
fixed buttons and description css
amur-bashirov Feb 9, 2026
36bebdd
init(webapp-deployment ci)
rockyRaccoon13 Feb 9, 2026
9ab6fc5
fixed webapp-deploy.yml to run action on change to yml
rockyRaccoon13 Feb 9, 2026
681689e
Add interactive API call example page
Samuelsotogit Feb 9, 2026
80d3e06
figured out css for links
amur-bashirov Feb 9, 2026
82ee280
fix(webapp-deploy.yml) - actions versions, app paths, secrets keys
rockyRaccoon13 Feb 9, 2026
30e500f
fix(webapp workflow) - add slcli to github path
rockyRaccoon13 Feb 9, 2026
eee214e
fix(webapp workflow) - update login to match new slcli cmd
rockyRaccoon13 Feb 9, 2026
94c52c2
change(webapp-deploy) add Prod prefix to published name
rockyRaccoon13 Feb 9, 2026
10964a7
change
rockyRaccoon13 Feb 9, 2026
fce4987
refactor(webb-app deploy) 1 job (instead of 2)
rockyRaccoon13 Feb 9, 2026
c6be905
Merge branch 'ni:main' into BYU-Development
rockyRaccoon13 Feb 9, 2026
cce3084
Merge branch 'ni:main' into main
rockyRaccoon13 Feb 9, 2026
4a2a712
added test
rockyRaccoon13 Feb 4, 2026
1280d33
init(webapp-deployment ci)
rockyRaccoon13 Feb 9, 2026
d828e1a
fixed webapp-deploy.yml to run action on change to yml
rockyRaccoon13 Feb 9, 2026
436c0be
fix(webapp-deploy.yml) - actions versions, app paths, secrets keys
rockyRaccoon13 Feb 9, 2026
140d829
fix(webapp workflow) - add slcli to github path
rockyRaccoon13 Feb 9, 2026
1dd7b16
fix(webapp workflow) - update login to match new slcli cmd
rockyRaccoon13 Feb 9, 2026
0230da8
change(webapp-deploy) add Prod prefix to published name
rockyRaccoon13 Feb 9, 2026
3334e6c
change
rockyRaccoon13 Feb 9, 2026
fce8ba1
refactor(webb-app deploy) 1 job (instead of 2)
rockyRaccoon13 Feb 9, 2026
df0d79d
delete(unused)
rockyRaccoon13 Feb 10, 2026
2de2578
setup esLint using NI rules (plus, downgraded globals to make lintin…
rockyRaccoon13 Feb 10, 2026
9f3ed3b
Merge branch 'BYU-Development' into dev/benson
rockyRaccoon13 Feb 10, 2026
88fe2f5
mod(vite.config.ts) eslint ignore(no-default-export, no-extra-dep)
rockyRaccoon13 Feb 10, 2026
089eb71
add lint to webapp-deploy workflow
rockyRaccoon13 Feb 10, 2026
02e7519
dotnet changes
Samuelsotogit Feb 2, 2026
b1201fd
Added Initial Blazor APP
Samuelsotogit Feb 6, 2026
adf8bc4
Changed file names
Samuelsotogit Feb 8, 2026
883e029
Installed NimbleBlazor dependencies, created API component page with …
Samuelsotogit Feb 8, 2026
3a36716
Add Nimble components support to Blazor app
Samuelsotogit Feb 8, 2026
892f6c8
added test
rockyRaccoon13 Feb 4, 2026
858487d
init(webapp-deployment ci)
rockyRaccoon13 Feb 9, 2026
e4d1eb6
delete(unused)
rockyRaccoon13 Feb 10, 2026
0625fa0
setup esLint using NI rules (plus, downgraded globals to make lintin…
rockyRaccoon13 Feb 10, 2026
2b6cead
mod(vite.config.ts) eslint ignore(no-default-export, no-extra-dep)
rockyRaccoon13 Feb 10, 2026
c4ae11d
add lint to webapp-deploy workflow
rockyRaccoon13 Feb 10, 2026
71b963b
init(deployDev.sh) to automate adding webapp to SL website
rockyRaccoon13 Feb 10, 2026
da59ef1
Merge branch 'BYU-Development'
rockyRaccoon13 Feb 10, 2026
f1c33a7
addTo(webapp deployment workflow) run on angular folders
rockyRaccoon13 Feb 10, 2026
25eedc8
Merge branch 'BYU-Development'
rockyRaccoon13 Feb 10, 2026
5d00908
fix(env variable for apps dir react)
rockyRaccoon13 Feb 10, 2026
386de8e
Merge branch 'BYU-Development'
rockyRaccoon13 Feb 10, 2026
cb2fae3
changed the colors and some ui
amur-bashirov Feb 10, 2026
5b1f6f0
API call now functioning for local development
Samuelsotogit Feb 11, 2026
3f41680
fix(workflow) delete incorrect white space
rockyRaccoon13 Feb 11, 2026
569b283
Merge branch 'blazor-API-call-feature' into BYU-Development
Samuelsotogit Feb 11, 2026
ea2bfcf
saved fonts offline
amur-bashirov Feb 11, 2026
4471f7b
Merge branch 'main' of https://github.com/Samuelsotogit/systemlink-en…
reouct Feb 11, 2026
bccf25c
changed all the links to open tabs
amur-bashirov Feb 11, 2026
c72cdcd
Merge branch 'React'
amur-bashirov Feb 11, 2026
0afb87a
fix(workflow) fix typo in angular env variable
rockyRaccoon13 Feb 11, 2026
6e5888b
Merge branch 'devOps/CI_CD'
rockyRaccoon13 Feb 11, 2026
8087555
mv(serviceProxy) to Dev Tools/ApiServiceProxy
rockyRaccoon13 Feb 11, 2026
3aa315b
rename(amur-react-vite-app) to ApiKeyAuthApp
rockyRaccoon13 Feb 11, 2026
195361b
mv web_apps/** into examples/
rockyRaccoon13 Feb 11, 2026
9c9263e
update(workflow) to reflect path changes
rockyRaccoon13 Feb 11, 2026
c4389ee
implemented Nimble fonts
amur-bashirov Feb 11, 2026
bdc82b0
implemented Nimble fonts
amur-bashirov Feb 11, 2026
e203c5c
Merge branch 'main' into React -- restructured code
rockyRaccoon13 Feb 11, 2026
4e73c76
deleted Blazor apps
amur-bashirov Feb 11, 2026
c46a04e
deleted react workflow
amur-bashirov Feb 11, 2026
2b4e599
implemented Nimble fonts
amur-bashirov Feb 11, 2026
d65631e
edited Instructions. for running proxy server
rockyRaccoon13 Feb 11, 2026
694df61
edited Instructions. for running proxy server
rockyRaccoon13 Feb 11, 2026
1be8f3c
add webapp_deploy
rockyRaccoon13 Feb 11, 2026
032ae88
fix (workflow) app dirs
rockyRaccoon13 Feb 12, 2026
8fb5d11
fixed workflow target path
rockyRaccoon13 Feb 12, 2026
6006bac
rm(junk Readme_files folder)
rockyRaccoon13 Feb 13, 2026
f737b36
added green box border
amur-bashirov Feb 13, 2026
057cea9
edit(README) edit web_app examples
rockyRaccoon13 Feb 13, 2026
f8a6374
added green box border
amur-bashirov Feb 13, 2026
8090b68
Merge branch 'main' into React
rockyRaccoon13 Feb 13, 2026
9dc7710
added padding
amur-bashirov Feb 13, 2026
af2732f
changed the titles for the links
amur-bashirov Feb 13, 2026
c22cbb3
changed all the divs inside the header to make the tabs as links them…
amur-bashirov Feb 13, 2026
3611ec8
renamed title component to make css easier to work with
amur-bashirov Feb 13, 2026
e6ca6f7
polished design for links
amur-bashirov Feb 13, 2026
f62fceb
added logos folder
amur-bashirov Feb 13, 2026
adc2147
clean up(bad files)
rockyRaccoon13 Feb 13, 2026
bdfdfa2
remove react logo
rockyRaccoon13 Feb 13, 2026
44a7753
delete font files
rockyRaccoon13 Feb 13, 2026
fd194aa
Merge remote-tracking branch 'origin/NewReact' into React
rockyRaccoon13 Feb 18, 2026
2550523
Update README.md edit letter casing
rockyRaccoon13 Feb 19, 2026
500e5d7
Update .gitignore -- removed .net ignores
rockyRaccoon13 Feb 20, 2026
26ec764
change web app folder names to match casing
rockyRaccoon13 Feb 20, 2026
7528064
move .gitignore to parent folder (1 per project)
rockyRaccoon13 Feb 20, 2026
d65a7dc
Update .github/workflows/webapp-deploy.yml
rockyRaccoon13 Feb 20, 2026
fedfca4
fixed eslint config (app ts/tsx, js, and vite errors)
rockyRaccoon13 Feb 20, 2026
6295d5d
fix basic linting errors
rockyRaccoon13 Feb 20, 2026
ee663e5
changed term website to env to refer to SL UI env
rockyRaccoon13 Feb 20, 2026
31cfc8d
change package.json meta
rockyRaccoon13 Feb 20, 2026
60dd345
updated readme for service proxy
rockyRaccoon13 Feb 20, 2026
8e95274
merge css-> scss changes
amur-bashirov Feb 23, 2026
4ff4719
change css -> scss import
amur-bashirov Feb 23, 2026
f5b3dc9
solved lint issue with logging
amur-bashirov Feb 23, 2026
a6529f4
made lint to ignore dist folder
amur-bashirov Feb 27, 2026
6cd3b25
finished lint problems
amur-bashirov Feb 27, 2026
8ef850b
initiated default Angular app
amur-bashirov Feb 27, 2026
8f95e55
fixed index.html and deleted Angular icon
amur-bashirov Feb 27, 2026
d38de97
in the process of installing nimble
amur-bashirov Feb 27, 2026
1103cae
added new Angular app to run Analog and fit Angular 19 version for Ni…
amur-bashirov Mar 2, 2026
40ff328
successfully create default Angluar app with Angular version 19 and i…
amur-bashirov Mar 4, 2026
a706889
sussesfully build angular app to run nimble library and using nimble …
amur-bashirov Mar 9, 2026
455a05f
deleted unnessesery Angular apps
amur-bashirov Mar 10, 2026
34b70a8
implemented ui design for Angular app
amur-bashirov Mar 11, 2026
dd9ecb7
made a ssussesful api call in development envorioment
amur-bashirov Mar 11, 2026
b46aaa1
solved the problem with routing and base url for producation to Syste…
amur-bashirov Mar 11, 2026
d8b7ab3
sussesfully implemented API call environmental variables both for loc…
amur-bashirov Mar 11, 2026
4a617a7
renamed Angular app
amur-bashirov Mar 13, 2026
cc84326
renamed it back
amur-bashirov Mar 13, 2026
1ed8a26
changed depedency from nimble react
amur-bashirov Mar 13, 2026
4979430
ignore analytics prompt for angular
rockyRaccoon13 Mar 13, 2026
8d54185
updated the link to reference Angular npm package instead of React
amur-bashirov Mar 16, 2026
7c93966
created ReadMe for Angular app
amur-bashirov Mar 16, 2026
da3230c
solved spacing for header a
amur-bashirov Mar 16, 2026
bf27403
updated the links as described by Jesse in PR
amur-bashirov Mar 16, 2026
6d24758
updated scss to make border not to ass space anymore when hovered over
amur-bashirov Mar 18, 2026
45b86b6
updated the link to the future repo when it will be accepted and dele…
amur-bashirov Mar 18, 2026
5d005fb
renamed the Angular app to match react app name
amur-bashirov Mar 18, 2026
770ca09
Merge remote-tracking branch 'upstream/main' into Angular
rockyRaccoon13 Mar 18, 2026
0ea3f5e
installed dependencies
amur-bashirov Mar 23, 2026
b1c2c8e
Merge branch 'Angular' of https://github.com/Samuelsotogit/systemlink…
amur-bashirov Mar 23, 2026
84a569c
changed to the Angular version 20
amur-bashirov Mar 23, 2026
0ead436
changed back to version 19
amur-bashirov Mar 25, 2026
45e359e
working on fonts
amur-bashirov Mar 25, 2026
bdfa224
fix(workflow) - only run slcli cache on ni/main when it is needed for…
rockyRaccoon13 Mar 25, 2026
14f31a8
fix(deployment job) -- fix matrix strategy
rockyRaccoon13 Mar 25, 2026
1407206
deleted useless fonts
amur-bashirov Mar 27, 2026
58ae569
solved the problem with the fonts
amur-bashirov Mar 27, 2026
f2ad3a3
applied changes to the scss to use all the nimble variables and fonts
amur-bashirov Mar 30, 2026
13dfdf6
Merge branch 'ni:main' into main
rockyRaccoon13 Apr 8, 2026
63140da
Merge branch 'main' into Angular
amur-bashirov Apr 8, 2026
76df37f
put Angular in Web Apps folder and deleted Web Applications folder
amur-bashirov Apr 8, 2026
3655362
renamed the Angular app
amur-bashirov Apr 8, 2026
e85aaa7
edited Readme to referance Angular instead of React
amur-bashirov Apr 8, 2026
9b5f633
updated angular version to 20 and updated nimble library
amur-bashirov Apr 8, 2026
debcf52
deleted font depedency and change the title name
amur-bashirov Apr 8, 2026
6eb2894
cahnged link to work with renaming
amur-bashirov Apr 8, 2026
3ec277d
deleted test
amur-bashirov Apr 8, 2026
e309a06
got rid of font imports and cleaned up module imports
amur-bashirov Apr 9, 2026
a2d5dde
Update package-lock.json after font change
jattasNI Apr 13, 2026
b6ae8b3
Minor README edits
jattasNI Apr 13, 2026
a8e16c5
Add .npmrc for Angular
jattasNI Apr 13, 2026
8a088a2
Add .npmrc for all framework examples
jattasNI Apr 13, 2026
74ff372
Formatting
jattasNI Apr 13, 2026
a569e09
whitespace
jattasNI Apr 13, 2026
f302616
Consistent styling and text across apps
jattasNI Apr 13, 2026
80575c8
Remove unused tests
jattasNI Apr 13, 2026
567d35c
Remove nimble-components dep
jattasNI Apr 13, 2026
a6ce802
Configure linting
jattasNI Apr 13, 2026
3705888
lint:fix
jattasNI Apr 13, 2026
f48f78a
Configure i18n rule
jattasNI Apr 13, 2026
7ae6973
Manual lint fixes
jattasNI Apr 13, 2026
9e09c9e
Re-add empty test to fix lint error
jattasNI Apr 13, 2026
2b7d4fd
Consistent READMEs and links
jattasNI Apr 13, 2026
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
20 changes: 20 additions & 0 deletions examples/Web Apps/Framework Examples/Angular/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# SystemLink Angular Web Apps

This directory contains a collection of Angular-based web apps designed to work
with SystemLink services. Each app demonstrates how to build Web Apps that are
visually uniform with SystemLink's production environment and demonstrates how
to use SystemLink API's both from within and outside of the production
environment.

The [Nimble Angular package](https://www.npmjs.com/package/@ni/nimble-angular) can
be used to import components and styling that are uniform with those of the
SystemLink production environment.

- For more information about React see [here](https://angular.dev/).
- For more information about Nimble see [here](https://nimble.ni.dev/).

## Apps Included

- **[SystemLinkAuthExample](./SystemLinkAuthExample/)** – Demonstrates how to make API calls to
SystemLink by calling a simple endpoint and displaying information about a
user's API keys.
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Editor configuration, see https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true

[*.ts]
quote_type = single
ij_typescript_use_double_quotes = false

[*.md]
max_line_length = off
trim_trailing_whitespace = false
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# See https://docs.github.com/get-started/getting-started-with-git/ignoring-files for more about ignoring files.

# Compiled output
/dist
/tmp
/out-tsc
/bazel-out
*.nipkg


# Node
/node_modules
npm-debug.log
yarn-error.log

# IDEs and editors
.idea/
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace

# Visual Studio Code
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*

# Miscellaneous
/.angular/cache
.sass-cache/
/connect.lock
/coverage
/libpeerconnection.log
testem.log
/typings

# System files
.DS_Store
Thumbs.db
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org/
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
# Angular Demo for SystemLink
Comment thread
amur-bashirov marked this conversation as resolved.

A minimal setup to get this demo working on your local machine with a Angular
frontend and Node.js backend proxy.

For how to deploy the webapp to SystemLink, jump to
[here](#deploying-to-systemlink-website-using-the-systemlink-cli).

## Prerequisites

- **Node.js** v22.16.0 or higher

## Getting Started -- Running Locally

### Backend Proxy Setup

> **Note:** The frontend calls a backend proxy running on `localhost:4000`,
> which in turn calls the SystemLink API server. This avoids CORS errors that
> would occur from direct frontend-to-server calls.

Make sure you have the [ApiServiceProxy](../../../Dev%20Tools/ApiServiceProxy/)
installed and have followed the setup in the README.

### Frontend Setup

1. Install dependencies:

```bash
npm ci
```

2. Start the development server:

```bash
npm run start
```

3. Open your browser and navigate to the URL that was printed in the console. For example:

```
http://localhost:5173
```

Or type in `o + enter` to have vite open the browser and navigate for you.

## Testing

1. Click the **Make API Call** button in the application
2. You should see the response printed on the browser

---

## Deployment using the SystemLink CLI

Prereq:
**[Install](https://github.com/ni-kismet/systemlink-cli?tab=readme-ov-file#installation)**
the SystemLink CLI to your machine and
**[login](https://github.com/ni-kismet/systemlink-cli?tab=readme-ov-file#installation)**
to the CLI.

1. `cd` into the project folder and run `npm run build` to create `dist/` folder
2. Create .nipkg file using `slcli webapp pack dist/`
3. Publish the webapp with
`slcli webapp publish dist.nipkg --name NAME --workspace WORKSPACE`. Specify
the webapp NAME and the user WORKSPACE
4. After any changes are made, repack the webapp (step 2) and update the webapp
with `slcli webapp publish dist.nipkg --id ID`. (Use `slcli webapp list` to
get the ID)

For more details on
[WebApp Management](https://github.com/ni-kismet/systemlink-cli?tab=readme-ov-file#installation)
see the SL-CLI docs

#

For more information, visit the
[SystemLink Enterprise Examples repository](https://github.com/ni/systemlink-enterprise-examples)
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"SystemLinkAuthExample": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss",
"standalone": false
},
"@schematics/angular:directive": {
"standalone": false
},
"@schematics/angular:pipe": {
"standalone": false
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {
"outputPath": "dist/SystemLinkAuthExample",
"index": "src/index.html",
"browser": "src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "4kB",
"maximumError": "8kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular/build:dev-server",
"configurations": {
"production": {
"buildTarget": "SystemLinkAuthExample:build:production"
},
"development": {
"buildTarget": "SystemLinkAuthExample:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n"
},
"test": {
"builder": "@angular/build:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "tsconfig.spec.json",
"inlineStyleLanguage": "scss",
"assets": [
{
"glob": "**/*",
"input": "public"
}
],
"styles": [
"src/styles.scss"
],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.js",
"src/**/*.mjs",
"src/**/*.html"
]
}
}
}
}
},
"cli": {
"analytics": false,
"schematicCollections": [
"angular-eslint"
]
},
"schematics": {
"@schematics/angular:component": {
"type": "component"
},
"@schematics/angular:directive": {
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import { defineConfig } from 'eslint/config';
import { angularTypescriptConfig, angularTemplateConfig } from '@ni/eslint-config-angular';
import { javascriptConfig, importNodeEsmConfig } from '@ni/eslint-config-javascript';

export default defineConfig([
{
// JavaScript rules fail to parse the HTML files that are added below. Therefore, the JavaScript
// configuration must now match the correct files to avoid an error.
files: ['**/*.js', '**/*.mjs'],
extends: [javascriptConfig, importNodeEsmConfig]
},
{
files: ['**/*.ts'],
extends: angularTypescriptConfig,
languageOptions: {
parserOptions: {
// The `languageOptions.parserOptions.projectService` option is recommended but does not identify
// tsconfig.*.json files. Use the older `project` configuration instead. `project` has an order of
// precedence, so include `tsconfig.json` last.
// https://typescript-eslint.io/troubleshooting/typed-linting/#project-service-issues
project: ['tsconfig.app.json', 'tsconfig.spec.json', 'tsconfig.json']
// In projects (e.g. libraries) using `parserOptions.project`, Angular requires that the paths be
// relative to the root, but the VSCode extension requires them to be relative to the project
// directory. Set the root to be the project directory to satisfy both. The `parserOptions.projectService`
// configuration would likely resolve this, but is not used for reasons described above.
// https://typescript-eslint.io/blog/project-service
// tsconfigRootDir: import.meta.dirname
}

}
},
{
files: ['**/*.html'],
extends: angularTemplateConfig,
rules: {
// Disable internationalization for simplicity in this example app
"@angular-eslint/template/i18n": 'off'
}
}
]);
Loading
Loading