Skip to content

Commit 5820359

Browse files
committed
Initial commit
0 parents  commit 5820359

39 files changed

+7857
-0
lines changed

.circleci/config.yml

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
version: 2.1
2+
orbs:
3+
release-management: salesforce/npm-release-management@4
4+
workflows:
5+
version: 2
6+
test-and-release:
7+
jobs:
8+
- release-management/validate-pr:
9+
filters:
10+
branches:
11+
ignore: main
12+
release-management/test-package:
13+
matrix:
14+
parameters:
15+
os:
16+
- linux
17+
- windows
18+
node_version:
19+
- latest
20+
- lts
21+
- maintenance
22+
exclude:
23+
- os: windows
24+
node_version: lts
25+
- os: windows
26+
node_version: maintenance
27+
- release-management/test-package:
28+
matrix:
29+
parameters:
30+
os:
31+
- linux
32+
- windows
33+
node_version:
34+
- latest
35+
- lts
36+
- maintenance
37+
exclude:
38+
- os: windows
39+
node_version: lts
40+
- os: windows
41+
node_version: maintenance
42+
- release-management/release-package:
43+
sign: true
44+
github-release: true
45+
requires:
46+
- release-management/test-package
47+
filters:
48+
branches:
49+
only: main
50+
when: << pipeline.parameters.run-auto-workflows >>
51+
test-ts-update:
52+
triggers:
53+
- schedule:
54+
cron: 0 0 * * *
55+
filters:
56+
branches:
57+
only:
58+
- main
59+
jobs:
60+
- release-management/test-ts-update
61+
just-nuts:
62+
when: << pipeline.parameters.run-just-nuts >>
63+
jobs:
64+
- release-management/test-nut:
65+
name: just-nuts-<< matrix.os >>
66+
sfdx_version: << pipeline.parameters.sfdx_version >>
67+
sfdx_executable_path: sfdx
68+
repo_tag: << pipeline.parameters.repo_tag >>
69+
matrix:
70+
parameters:
71+
os:
72+
- linux
73+
- windows
74+
parameters:
75+
run-auto-workflows:
76+
description: >
77+
Boolean that controls when an workflow would run.
78+
79+
It is used to gate which workflows should run when github events occur.
80+
81+
This parameter is used by automation to determine if a workflow will run
82+
within a pipeline.
83+
default: true
84+
type: boolean
85+
run-just-nuts:
86+
description: >
87+
Boolean that controls when the just-nuts will run.
88+
89+
Default value is false and this parameter is used by automation to
90+
determine if
91+
92+
the just-nuts workflow will run.
93+
default: false
94+
type: boolean
95+
sfdx_version:
96+
description: |
97+
By default, the latest version of the standalone CLI will be installed.
98+
To install via npm, supply a version tag such as "latest" or "6".
99+
default: ''
100+
type: string
101+
repo_tag:
102+
description: 'The tag of the module repo to checkout, '''' defaults to branch/PR'
103+
default: ''
104+
type: string

.codecov.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
coverage:
2+
# See http://docs.codecov.io/docs/ignoring-paths
3+
ignore:
4+
# compiled output
5+
- 'lib/'
6+
# dependencies
7+
- '**/node_modules'
8+
# IDEs and editors
9+
- '.vscode'
10+
# other (more specific)
11+
- 'bin'
12+
- 'messages'

.editorconfig

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

.eslintrc.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) 2020, salesforce.com, inc.
3+
* All rights reserved.
4+
* Licensed under the BSD 3-Clause license.
5+
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
6+
*/
7+
module.exports = {
8+
extends: ['eslint-config-salesforce-typescript', 'eslint-config-salesforce-license'],
9+
};

.github/CODEOWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# These owners will be the default owners for everything in
2+
# the repo. Unless a later match takes precedence,
3+
# @forcedotcom/pdt will be requested for
4+
# review when someone opens a pull request.
5+
* @forcedotcom/pdt
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
<!--
7+
NOTICE: While GitHub is the preferred channel for reporting issues/feedback, this is not a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, please use official support channels.
8+
-->
9+
10+
<!--
11+
FOR BUGS RELATED TO THE SALEFORCE CLI, please use this repository: https://github.com/forcedotcom/cli-packages
12+
-->
13+
14+
### Summary
15+
16+
_Short summary of what is going on or to provide context_.
17+
18+
### Steps To Reproduce:
19+
20+
1. This is step 1.
21+
1. This is step 2. All steps should start with '1.'
22+
23+
### Expected result
24+
25+
_Describe what should have happened_.
26+
27+
### Actual result
28+
29+
_Describe what actually happened instead_.
30+
31+
### Additional information
32+
33+
_Feel free to attach a screenshot_.
34+
35+
**VS Code Version**:
36+
37+
**SFDX CLI Version**:
38+
39+
**OS and version**:
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### What does this PR do?
2+
3+
### What issues does this PR fix or reference?

.github/autointegrator.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
triggers:
2+
master: [develop]

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "monthly"
7+
labels:
8+
- "dependencies"
9+
open-pull-requests-limit: 100
10+
pull-request-branch-name:
11+
separator: "-"
12+
ignore:
13+
- dependency-name: "typescript"

0 commit comments

Comments
 (0)