Skip to content

Commit c0ac645

Browse files
committed
Initial commit of the react components
1 parent e3a757d commit c0ac645

Some content is hidden

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

47 files changed

+1683
-43
lines changed

.editorconfig

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
8+
[*]
9+
10+
# change these settings to your own preference
11+
indent_style = space
12+
indent_size = 2
13+
14+
# we recommend you to keep these unchanged
15+
end_of_line = lf
16+
charset = utf-8
17+
trim_trailing_whitespace = true
18+
insert_final_newline = true
19+
20+
[*.md]
21+
trim_trailing_whitespace = false
22+
23+
[{package,bower}.json]
24+
indent_style = space
25+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto

.gitignore

Lines changed: 22 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,37 @@
22
logs
33
*.log
44
npm-debug.log*
5-
yarn-debug.log*
6-
yarn-error.log*
75

8-
# Runtime data
9-
pids
10-
*.pid
11-
*.seed
12-
*.pid.lock
6+
# Dependency directories
7+
node_modules
138

14-
# Directory for instrumented libs generated by jscoverage/JSCover
15-
lib-cov
9+
# Build generated files
10+
dist
11+
lib
12+
solution
13+
temp
14+
*.sppkg
1615

1716
# Coverage directory used by tools like istanbul
1817
coverage
1918

20-
# nyc test coverage
21-
.nyc_output
22-
23-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24-
.grunt
25-
26-
# Bower dependency directory (https://bower.io/)
27-
bower_components
28-
29-
# node-waf configuration
30-
.lock-wscript
31-
32-
# Compiled binary addons (http://nodejs.org/api/addons.html)
33-
build/Release
19+
# OSX
20+
.DS_Store
3421

35-
# Dependency directories
36-
node_modules/
37-
jspm_packages/
38-
39-
# Typescript v1 declaration files
40-
typings/
41-
42-
# Optional npm cache directory
43-
.npm
22+
# Visual Studio files
23+
.ntvs_analysis.dat
24+
.vs
25+
bin
26+
obj
4427

45-
# Optional eslint cache
46-
.eslintcache
28+
# Resx Generated Code
29+
*.resx.ts
4730

48-
# Optional REPL history
49-
.node_repl_history
31+
# Styles Generated Code
32+
*.scss.ts
5033

51-
# Output of 'npm pack'
34+
# NPM packages
5235
*.tgz
5336

54-
# Yarn Integrity file
55-
.yarn-integrity
56-
57-
# dotenv environment variables file
58-
.env
59-
37+
# VSCode
38+
.vscode

.npmignore

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Folders
2+
.vscode
3+
coverage
4+
node_modules
5+
sharepoint
6+
src
7+
temp
8+
config
9+
typings
10+
lib/webparts
11+
assets
12+
dist
13+
14+
# Files
15+
*.csproj
16+
.git*
17+
.yo-rc.json
18+
.editorconfig
19+
gulpfile.js
20+
tsconfig.json
21+
yarn.lock
22+
*.tgz

.yo-rc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"@microsoft/generator-sharepoint": {
3+
"version": "1.2.0",
4+
"libraryName": "sp-dev-fx-controls-react",
5+
"libraryId": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
6+
"environment": "spo"
7+
}
8+
}

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# sp-dev-fx-controls-react
2+
3+
React controls for the SharePoint Framework solutions.
4+
5+
# work in progress
16

27
# Contributing
38

config/config.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"$schema": "https://dev.office.com/json-schemas/spfx-build/config.2.0.schema.json",
3+
"version": "2.0",
4+
"bundles": {
5+
"controls-test-web-part": {
6+
"components": [{
7+
"entrypoint": "./lib/webparts/controlsTest/ControlsTestWebPart.js",
8+
"manifest": "./src/webparts/controlsTest/ControlsTestWebPart.manifest.json"
9+
}]
10+
}
11+
},
12+
"externals": {},
13+
"localizedResources": {
14+
"ControlStrings": "lib/loc/{locale}.js",
15+
"ControlsTestWebPartStrings": "lib/webparts/controlsTest/loc/{locale}.js"
16+
}
17+
}

config/copy-assets.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "https://dev.office.com/json-schemas/spfx-build/copy-assets.schema.json",
3+
"deployCdnPath": "temp/deploy"
4+
}

config/deploy-azure-storage.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"$schema": "https://dev.office.com/json-schemas/spfx-build/deploy-azure-storage.schema.json",
3+
"workingDir": "./temp/deploy/",
4+
"account": "<!-- STORAGE ACCOUNT NAME -->",
5+
"container": "sp-dev-fx-controls-react",
6+
"accessKey": "<!-- ACCESS KEY -->"
7+
}

config/package-solution.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://dev.office.com/json-schemas/spfx-build/package-solution.schema.json",
3+
"solution": {
4+
"name": "sp-dev-fx-controls-react-client-side-solution",
5+
"id": "92b1e52c-a5fa-490a-bcf4-76080f39442c",
6+
"version": "1.0.0.0",
7+
"skipFeatureDeployment": true
8+
},
9+
"paths": {
10+
"zippedPackage": "solution/sp-dev-fx-controls-react.sppkg"
11+
}
12+
}

0 commit comments

Comments
 (0)