Skip to content

Commit 2fe6484

Browse files
author
andrew.barnes
committed
Completed Component
0 parents  commit 2fe6484

33 files changed

+30516
-0
lines changed

.builderrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
archetypes:
3+
- "@servicenow/cli-archetype"
4+
- "@servicenow/cli-component-archetype"

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
root = true
2+
3+
[*.js]
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
insert_final_newline = true
8+
indent_style = tab
9+
10+
[*.md]
11+
trim_trailing_whitespace = false

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
test
2+
scripts

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
.DS_Store
2+
node_modules
3+
lib
4+
dist
5+
target
6+
node
7+
node_tmp
8+
npm-debug.log
9+
*.iml
10+
*.tgz
11+
coverage
12+
.now-cli
13+
.babelrc
14+
/clover.xml
15+
/coverage-final.json
16+
/lcov-report/
17+
/lcov.info
18+
/dist/
19+
/lib/
20+
/target/

.npmignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
*.swp
2+
*~
3+
*.iml
4+
*.tgz
5+
.*.haste_cache.*
6+
.DS_Store
7+
.idea
8+
.babelrc
9+
.eslintrc
10+
npm-debug.log
11+
!lib
12+
!dist
13+
__tests__
14+
__mocks__
15+
target
16+
coverage
17+
node_modules
18+
node
19+
node_tmp
20+
/.now-cli/
21+
/lcov-report/
22+
!/now-cli.*
23+
!/dist/
24+
!/lib/
25+
!/target/

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
now-experience-dashboard
2+
===============================================
3+
4+
5+
Component Authors, provide some documentation for your users here!

example/element.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import '../src/cdltd-now-experience-dashboard';
2+
3+
const el = document.createElement('DIV');
4+
document.body.appendChild(el);
5+
6+
el.innerHTML = `
7+
<cdltd-now-experience-dashboard></cdltd-now-experience-dashboard>
8+
`;

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = {};

now-cli.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"development": {
3+
"proxy": {
4+
"proxies": ["/api"]
5+
}
6+
},
7+
"styles": {
8+
"themes": [{
9+
"module": "@servicenow/sass-theme",
10+
"main": ["theme.scss"],
11+
"copyFiles": ["type/*", "*.scss"]
12+
}]
13+
}
14+
}

now-ui.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"components": {
3+
"cdltd-now-experience-dashboard": {
4+
"uiBuilder": {
5+
"associatedTypes": ["global.core"],
6+
"label": "Now Task Dashboard",
7+
"icon": "chart-forecast-fill",
8+
"description": "A task dashboard component"
9+
},
10+
"innerComponents": []
11+
}
12+
},
13+
"scopeName": "x_cdltd_now_expe_0"
14+
}

0 commit comments

Comments
 (0)