Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Angular integration #8

Open
wants to merge 45 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
a795b94
add init code for angular test
lmscunha Jun 25, 2024
57a6cba
render widget by adding script to all pages
lmscunha Jun 25, 2024
12ba6bf
render widget by adding script to the component
lmscunha Jun 25, 2024
aca3861
update style
lmscunha Jun 25, 2024
73eca16
add the widget to a component
lmscunha Jun 26, 2024
8f80e8b
add plugin initial code
lmscunha Jun 26, 2024
d7f6e3a
refactor component - remove unused files
lmscunha Jun 27, 2024
0142fdd
remove lint config
lmscunha Jun 27, 2024
6de993b
add license to lib
lmscunha Jun 27, 2024
3ebcc38
remove unused dep
lmscunha Jun 27, 2024
bde0226
remove unused files
lmscunha Jun 27, 2024
fdb2e98
v0.0.3
lmscunha Jun 27, 2024
9a36cdd
v0.0.4
lmscunha Jun 27, 2024
4983251
add async to script tag
lmscunha Jul 5, 2024
9c798dc
v0.5.0
lmscunha Jul 5, 2024
7ba6bf0
v0.9.0
lmscunha Jul 5, 2024
107c96c
update component name
lmscunha Jul 5, 2024
812451b
update component name
lmscunha Jul 5, 2024
445dc96
v0.9.1
lmscunha Jul 5, 2024
436181e
v0.9.1
lmscunha Jul 5, 2024
447b304
update component name
lmscunha Jul 5, 2024
0b6da06
update component name
lmscunha Jul 5, 2024
8895c5b
v0.9.2
lmscunha Jul 5, 2024
07a748f
update lib
lmscunha Jul 5, 2024
2d60036
return onInit method - add new test project
lmscunha Jul 10, 2024
55d7080
v0.9.3
lmscunha Jul 10, 2024
644a583
remove old test project
lmscunha Jul 10, 2024
e68afc0
reverse .gitignore change
lmscunha Jul 10, 2024
8f845f9
reverse .gitignore change
lmscunha Jul 10, 2024
83fba16
remove unused files
lmscunha Jul 11, 2024
853e1aa
add separate scripts
lmscunha Jul 11, 2024
1067e37
remove unused readme
lmscunha Jul 11, 2024
701a610
lint
lmscunha Jul 11, 2024
f860625
update lib readme
lmscunha Jul 11, 2024
3252ad5
v1.0.0
lmscunha Jul 11, 2024
8e03d47
update scripts
lmscunha Jul 11, 2024
4c6dcc6
update app initial test
lmscunha Jul 11, 2024
635740f
remove white space
lmscunha Jul 12, 2024
19e061f
add lib test
lmscunha Jul 12, 2024
f5459fc
update lib test
lmscunha Jul 12, 2024
c55ae4a
v1.0.1
lmscunha Jul 12, 2024
d025fc2
update readme
lmscunha Jul 17, 2024
8cc5f9f
v1.0.2
lmscunha Jul 17, 2024
0c51443
npm i
lmscunha Jul 17, 2024
252e704
v1.0.3
lmscunha Jul 17, 2024
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
42 changes: 42 additions & 0 deletions angular/plugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# 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

# 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
129 changes: 129 additions & 0 deletions angular/plugin/angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"@voxgig/podw-angular": {
"projectType": "library",
"root": "projects/voxgig/podw-angular",
"sourceRoot": "projects/voxgig/podw-angular/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/voxgig/podw-angular/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/voxgig/podw-angular/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/voxgig/podw-angular/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"tsConfig": "projects/voxgig/podw-angular/tsconfig.spec.json",
"polyfills": [
"zone.js",
"zone.js/testing"
]
}
}
}
},
"test": {
"projectType": "application",
"schematics": {},
"root": "projects/test",
"sourceRoot": "projects/test/src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/test",
"index": "projects/test/src/index.html",
"browser": "projects/test/src/main.ts",
"polyfills": [
"zone.js"
],
"tsConfig": "projects/test/tsconfig.app.json",
"assets": [
{
"glob": "**/*",
"input": "projects/test/public"
}
],
"styles": [
"projects/test/src/styles.css"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "500kB",
"maximumError": "1MB"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kB",
"maximumError": "4kB"
}
],
"outputHashing": "all"
},
"development": {
"optimization": false,
"extractLicenses": false,
"sourceMap": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"buildTarget": "test:build:production"
},
"development": {
"buildTarget": "test:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"tsConfig": "projects/test/tsconfig.spec.json",
"assets": [
{
"glob": "**/*",
"input": "projects/test/public"
}
],
"styles": [
"projects/test/src/styles.css"
],
"scripts": []
}
}
}
}
}
}
Loading