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

[AutoPR @azure/arm-cdn] Update cdn.json #2

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
374 commits
Select commit Hold shift + click to select a range
7d4a3f1
Add "sideEffects": false for webpack 4
RikkiGibson Aug 2, 2018
066aa73
Merge pull request #47 from Azure/RikkiGibson-patch-1
RikkiGibson Aug 3, 2018
68db1f1
Update ms-rest-js to v0.18 and bump to v0.13
RikkiGibson Aug 9, 2018
cd71ffe
Merge pull request #48 from Azure/UpdateMsRest
RikkiGibson Aug 9, 2018
6c48368
Merge branch 'master' into daschult/lroresponse
Aug 15, 2018
27c50fa
Merge pull request #46 from Azure/daschult/lroresponse
Aug 15, 2018
d5de4bb
Export HttpLongRunningOperationResponse
Aug 15, 2018
e757271
Merge pull request #49 from Azure/daschult/export
Aug 15, 2018
98f4cb8
Update ms-rest-js and bump to v0.14
RikkiGibson Aug 16, 2018
9133462
Merge pull request #50 from Azure/UpdateMsRest
RikkiGibson Aug 16, 2018
aeb53e6
Rename HttpLongRunningOperationResponse to LROPoller
Aug 16, 2018
ce4a269
Rename some of the LROPollStrategy methods, add LROPoller.getOperatio…
Aug 16, 2018
ca3a86a
Merge branch 'master' into daschult/poller
Aug 16, 2018
3bf8968
Update local script
Aug 20, 2018
784ed48
Various improvements to our script infrastructure
Aug 21, 2018
ca2f6d3
Remove RefreshNodeModulesOptions and unnecessary checks
Aug 21, 2018
39743c9
Merge branch 'daschult/scripts' into daschult/poller
Aug 21, 2018
25513de
Merge pull request #51 from Azure/daschult/scripts
Aug 21, 2018
853ccb0
Merge branch 'master' into daschult/poller
Aug 21, 2018
99fca76
Rename HttpLongRunningOperationResponse to LROPoller
Aug 22, 2018
e013adb
Merge pull request #52 from Azure/daschult/poller
Aug 22, 2018
fcda3ec
Small script fixes
Aug 23, 2018
2e05a54
Merge pull request #54 from Azure/daschult/scriptfixes
Aug 23, 2018
446a679
Remove Promise return types
Aug 24, 2018
2f0a670
Fix case-sensitivity test failure
Aug 24, 2018
bbcea90
Fix getProvisioningState() and bump minor version
Aug 24, 2018
c0fa880
Simplify logic for getting 200 operationResponse
Aug 24, 2018
edf8a2a
Merge pull request #56 from Azure/daschult/lrodeserialize
Aug 24, 2018
cea8981
Grab credentials.environment.baseUri if present
RikkiGibson Aug 22, 2018
cefed74
Add resourceManagerEndpointUri test
RikkiGibson Aug 27, 2018
90f2639
Merge pull request #53 from Azure/azure-environment
RikkiGibson Aug 27, 2018
023b1cc
Updates for RestResponse compatibility (#58)
RikkiGibson Aug 29, 2018
54d428d
Add innererror property to CloudError (#59)
kpajdzik Sep 5, 2018
b9ef483
Enable strict on scripts, fix problems
Sep 5, 2018
dd64754
Merge pull request #60 from Azure/daschult/scripts
Sep 5, 2018
e13dc6b
Update dependency versions
Sep 5, 2018
5079e57
Update version to 0.17.0
Sep 5, 2018
dd24fa3
Merge pull request #61 from Azure/daschult/versions
Sep 5, 2018
80871b2
Fix build in Windows environment
Sep 13, 2018
eb2d3b9
Merge pull request #62 from Azure/daschult/fixBuild
Sep 13, 2018
059b674
Add additionalInfo to CloudError (#63)
kpajdzik Sep 20, 2018
2fb7c93
Rollup (#65)
RikkiGibson Oct 4, 2018
793840b
Change browser to module in package.json (#66)
RikkiGibson Oct 5, 2018
9f8fca3
Remove step from scripts that changed package.json main property
Oct 12, 2018
37e226a
Remove writePackageJson()
Oct 12, 2018
25536e7
Merge pull request #69 from Azure/daschult/scripts
Oct 12, 2018
345aac9
Change tilde to caret
Oct 12, 2018
e4ce167
Merge pull request #70 from Azure/daschult/caret
Oct 12, 2018
7eebf5d
Update script regular expressions to be non-greedy
Oct 12, 2018
fb35857
Merge pull request #71 from Azure/daschult/scripts
Oct 15, 2018
1d6e97e
Remove package-lock.json from repository
Oct 15, 2018
edff174
Merge pull request #72 from Azure/daschult/removePackageLock
Oct 15, 2018
b04a31a
LRO status comparisons should be case insensitive
Oct 26, 2018
bc064af
Add Cancelled as a possible LRO state
Oct 26, 2018
49b02ca
Merge pull request #73 from Azure/daschult/caseinsensitiveLRO
Oct 26, 2018
5dba586
Fix ms-rest-azure-js user agent telemetry (#74)
kpajdzik Nov 1, 2018
ab09348
Add missing user-agent export (#75)
kpajdzik Nov 1, 2018
71b0b77
Rename NPM package to @azure/ms-rest-azure-js (#77)
kpajdzik Nov 10, 2018
6a07b5f
Update issue templates
amarzavery Nov 10, 2018
9358628
Fix npm run local to support projects with different NPM name than it…
kpajdzik Nov 12, 2018
f04888b
Merge branch 'master' into amarzavery-patch-1
Nov 12, 2018
3d4302e
Merge pull request #79 from Azure/amarzavery-patch-1
amarzavery Nov 12, 2018
09611b6
Add Azure Pipelines configuration (#80)
kpajdzik Nov 12, 2018
bed3fe8
Add prepack script (#82)
kpajdzik Nov 12, 2018
8f4ffba
Update README.md to include build badge (#84)
kpajdzik Nov 13, 2018
18082ea
Add code owners (#83)
kpajdzik Nov 13, 2018
47b2331
Add better sourcemap support for debugging
Nov 14, 2018
2dcb9ba
Bump patch version number and update changelog
Nov 14, 2018
824ab5f
Merge pull request #85 from Azure/daschult/sourcemaps
Nov 14, 2018
8c0914d
Upgrade all dependencies (#88)
kpajdzik Nov 27, 2018
fd2bac3
Update npm-run-all (#89)
kpajdzik Nov 28, 2018
c14db65
Add no-return-await TSLint rule
kpajdzik Nov 29, 2018
2380e81
Add isLernaPackage changes from autorest.typescript
Nov 29, 2018
c97433e
Update ms-rest-js (#94)
kpajdzik Dec 4, 2018
b0e3ac3
Merge branch 'master' into daschult/removePreview
Dec 4, 2018
af2890e
Revert back to refreshPackageFolder
Dec 4, 2018
bd76e77
Merge pull request #92 from Azure/daschult/removePreview
Dec 4, 2018
6b0cdbb
Extract dependencies-related scripts to an external package (#96)
kpajdzik Dec 6, 2018
85728e7
Merge branch 'master' into kamip/no-return-await
Dec 6, 2018
1399d59
Merge pull request #90 from Azure/kamip/no-return-await
Dec 6, 2018
55e00bc
Enable coverage in ci
Dec 14, 2018
0a8276b
Merge pull request #98 from Azure/daschult/publishcoverage
Dec 14, 2018
c0cc7a9
Add package.json version check
Dec 17, 2018
f3a53fe
Update version to 1.2.1
Dec 17, 2018
6061605
Merge pull request #99 from Azure/daschult/versioncheck
Dec 17, 2018
066761e
Initial work to add support back for local and latest scripts
Dec 18, 2018
0f441c3
Update cloned dependencies
Dec 19, 2018
bc3849b
Update version to 1.2.2
Dec 19, 2018
6a1b5ab
Merge pull request #100 from Azure/daschult/local
Dec 19, 2018
0fcc86d
Add only() check
Dec 20, 2018
a8c34a5
Merge pull request #101 from Azure/daschult/only
Dec 20, 2018
a97f42f
Add checkEverything.ts
Dec 20, 2018
7862424
Merge pull request #102 from Azure/daschult/everything
Dec 20, 2018
cee5adb
Remove final GET on POST 202 long running operations (#103)
kpajdzik Jan 7, 2019
56432e0
Fix LRO RestErrors parsing (#104)
kpajdzik Jan 7, 2019
2e2abb0
Fix User-Agent tests (#105)
kpajdzik Jan 28, 2019
f75b08d
Update @azure/ms-rest-js (#106)
kpajdzik Apr 5, 2019
3807aff
Extract userAgent variable to fix tests in Azure DevOps CI/CD (#107)
kpajdzik May 10, 2019
17d5bba
Add userAgent casting (#108)
kpajdzik May 10, 2019
535ba9b
Add any casting to fix TypeScript bug (#109)
kpajdzik May 10, 2019
773f4d9
Revert changes to make test work in CI (#110)
kpajdzik May 10, 2019
22d18ed
Set up CI with Azure Pipelines
kpajdzik May 11, 2019
fb93d01
Merge pull request #111 from Azure/azure-pipelines-2
amarzavery May 11, 2019
30e07c2
Add seperate build definitions for CI and PR builds (#112)
kpajdzik May 13, 2019
9559246
Update build status badge in README.md
kpajdzik May 13, 2019
cc9c3f4
Move artifacts publishing to CI job (#113)
kpajdzik May 13, 2019
625fb9d
Remove master from PR trigger (#114)
kpajdzik May 13, 2019
ca8d5e6
Skip CI build on pull requests (#116)
kpajdzik May 13, 2019
e5602b0
Remove explicit branch trigger on PR build (#117)
kpajdzik May 13, 2019
4aae0b3
Update version (#115)
kpajdzik May 13, 2019
74c3955
Add missing exports (#118)
kpajdzik May 18, 2019
8f1e918
Handle 404 properly in the final GET of an LRO DELETE operation
amarzavery Jun 2, 2019
06e0c03
update min version of ms-rest-js
amarzavery Jun 3, 2019
c353d93
Merge pull request #119 from amarzavery/lro
amarzavery Jun 3, 2019
c512fa1
update min version of @azure/ms-rest-js to 1.8.10
amarzavery Jun 5, 2019
a0ba077
Merge branch 'master' of github.com:azure/ms-rest-azure-js into lro
amarzavery Jun 5, 2019
b3bdb88
Merge pull request #120 from amarzavery/lro
amarzavery Jun 5, 2019
4c97c47
Fix tests to pass when -preview suffix set in version (#121)
kpajdzik Jun 6, 2019
96b0847
Update sdk automation configuration (#3970)
Jun 20, 2019
6dc526c
[JS] [KeyVault] Copyright headers (#3911)
sadasant Jun 20, 2019
69ee742
[KeyVault] Use cross-env in package.json scripts (#3979)
mikeharder Jun 21, 2019
5bc173b
[JS] [KeyVault] backupSecret signature fix (#3978)
sadasant Jun 21, 2019
8d73e2b
[Storage] update scripts - to run tests in playback mode (#3982)
HarshaNalluru Jun 21, 2019
d6259dd
[JS] [KeyVault] ESLint on keyvault-keys and keyvault-secrets (#3975)
sadasant Jun 21, 2019
9ac420a
[KeyVault] Disable parallel test execution (#4009)
mikeharder Jun 21, 2019
add32b9
[Service Bus] Set isClosed flag at start of close() call (#3937)
ramya0820 Jun 21, 2019
5a363fa
[Event Hubs] Merge track2 feature branch (#3962)
ramya-rao-a Jun 21, 2019
40f4a99
[Event Hubs] Remove no-op browser tests from CI (#4013)
mikeharder Jun 21, 2019
b813bbf
[core-amqp] Fix 2 build warnings (#3996)
ramya0820 Jun 21, 2019
8493a18
[JS] [Storage] Replaced sleep and wait with a delay function that doe…
sadasant Jun 21, 2019
347481d
[Event Hubs] improve consumer tests (#4017)
chradek Jun 24, 2019
dad998d
[Event Hubs] harden tests and update error messages (#4029)
chradek Jun 24, 2019
dc1154e
[Storage] Updating test scripts (#4020)
HarshaNalluru Jun 24, 2019
5596351
[Event Hubs] Add test for Azure Identity (#4031)
ShivangiReja Jun 24, 2019
653721f
types/node dev-dependency added for three keyvault packages, to preve…
KarishmaGhiya Jun 24, 2019
8bb1cac
[JS] [KeyVault] No query-string in keyvault-keys (#4016)
sadasant Jun 24, 2019
eae61d8
add env variables for event-hubs livetests (#4040)
KarishmaGhiya Jun 24, 2019
35a2c69
Generate @azure/arm-cognitiveservices package (#4042)
kpajdzik Jun 24, 2019
fd4406c
Generate @azure/arm-machinelearningservices package (#4044)
kpajdzik Jun 24, 2019
d7fb51a
[core-http] Add dependency "process" (#4043)
mikeharder Jun 24, 2019
9671796
[core-http] Add "proxyPolicy" to "browser" config (#4045)
mikeharder Jun 24, 2019
41e716c
[core-http] Update @azure/core-http version, license headers, and REA…
daviwil Jun 25, 2019
2eab11f
Update rollup-plugin-node-resolve to 5.0.2 (#3997)
mikeharder Jun 25, 2019
d277739
[Event Hubs] standardize JSDocs for public API (#4032)
chradek Jun 25, 2019
46902d7
added env var for eventhubs (#4051)
KarishmaGhiya Jun 25, 2019
194f683
[core-http] Set @azure/core-http version to 1.0.0-preview.1 (#4067)
daviwil Jun 25, 2019
762e03b
[Identity] Update @azure/identity version, license headers, and… (#4048)
daviwil Jun 25, 2019
95d09d6
[Event Hubs] update docs with explicit ignores (#4073)
chradek Jun 25, 2019
3d70755
Update dev dependency "resolve" to latest (#4072)
mikeharder Jun 25, 2019
b7480d8
Document generation (#4008)
KarishmaGhiya Jun 26, 2019
e61dc60
[Event Hubs] [Preview 1] Version and copyright updates (#4065)
ShivangiReja Jun 26, 2019
9853322
[Event Hubs] update tests to use rollup (#4075)
chradek Jun 26, 2019
4285e18
[Storage] Guidelines for record and playback (#3504)
HarshaNalluru Jun 26, 2019
9003ff3
[Identity] Enable managed identity auth for App Service and Cloud She…
daviwil Jun 26, 2019
9289621
Async iter (#4080)
Jun 26, 2019
a10f5ff
"Un-private packages so we can publish" (#4092)
Jun 26, 2019
78e28b3
[core-amqp] removes ms-rest-nodeauth dependency (#4104)
chradek Jun 27, 2019
ea8b637
[core-amqp] Update samples (#3998)
ShivangiReja Jun 27, 2019
f944f51
Improvements to abort-controller readme (#4103)
ramya-rao-a Jun 27, 2019
a43f54b
Muted testhub. (#4101)
mitchdenny Jun 27, 2019
017c963
[Event Hubs] update readme (#4100)
chradek Jun 27, 2019
5c7ddb3
Migrate over fixes from @azure/ms-rest-js for storage libs (#4106)
daviwil Jun 27, 2019
11d178f
Set @azure/identity version to 1.0.0-preview.1 (#4107)
daviwil Jun 27, 2019
1349b2c
Improve README for polyfill and core-paging library (#4105)
ramya-rao-a Jun 27, 2019
02e4344
[Event Hubs] adds asyncIterator symbol pollyfill (#4109)
chradek Jun 27, 2019
5f04591
[JS] [KeyVault] CHANGELOG files (#4118)
sadasant Jun 28, 2019
799428d
[core-amqp] Improved README and Changelog (#4119)
ramya-rao-a Jun 28, 2019
85ac748
Generate @azure/arm-netapp package (#4120)
kpajdzik Jun 28, 2019
3c36b8d
[Event Hubs] updates README authentication and examples (#4121)
chradek Jun 28, 2019
b8af0ab
[Core AMQP] update samples in readme (#4125)
chradek Jun 28, 2019
a980e2a
[Event Hubs] Changelog for Event Hubs Preview 1 (#4124)
ramya-rao-a Jun 28, 2019
6780a86
[Event Hubs] Remove browserSample (#4126)
ShivangiReja Jun 28, 2019
c1240b8
[Event Hubs] Add links in changelog (#4127)
ramya-rao-a Jun 28, 2019
1050d28
Update dependency "typescript-eslint" to latest (#4128)
mikeharder Jun 28, 2019
7c9605c
Generate @azure/arm-containerregistry package (#4129)
kpajdzik Jun 29, 2019
ee01e4d
Copy browser bundles to artifacts (#4131)
mikeharder Jun 29, 2019
f9ac646
[JS] [KeyVault] Parallel-friendly and delay-lacking tests (#4054)
sadasant Jul 1, 2019
5e32b87
Adds sdk-type to package.json to support CI/PR validation. (#4096)
mitchdenny Jul 1, 2019
a321fb2
Update some bad links in the READMEs (#4133)
Jul 1, 2019
1f4217d
[JS] [KeyVault] TypeDoc documentation cleanup (#4142)
sadasant Jul 1, 2019
54c0f6e
Support doc generation for "feature" branches other than master (#4115)
KarishmaGhiya Jul 2, 2019
86d1791
Add samples to API docs (#4143)
Jul 2, 2019
636d56b
[JS] [KeyVault] Fixed the LICENSE files (#4138)
sadasant Jul 2, 2019
5483598
Bump versions to .2 (#4144)
Jul 2, 2019
303488d
Update typedoc to block the prebuilt definitions (#4152)
Jul 2, 2019
8f444e8
Apply tag to scheduled builds (#4159)
bsiegel Jul 3, 2019
c194269
[JS] [KeyVault] User agent fixed (#4151)
sadasant Jul 3, 2019
1ec40b6
[core-auth] Create @azure/core-auth for base authentication interface…
daviwil Jul 3, 2019
76187a1
[KeyVault] Using the proxy only if isNode (#4170)
sadasant Jul 5, 2019
a9bd621
[core-amqp] [Event Hubs] Update retry count related parameters to use…
ramya0820 Jul 5, 2019
1113410
Clean up leftover files from onboarded libraries (#3683)
bsiegel Jul 5, 2019
ee9b4a9
Add feature branch triggers. (#4116)
mitchdenny Jul 5, 2019
6516e69
[core-amqp] Minor edits to docs (#4184)
ramya0820 Jul 5, 2019
be8fccf
[Identity] Enable @azure/identity to build for the browser (#4165)
daviwil Jul 8, 2019
f05a31c
Generate @azure/arm-hanaonazure package (#4198)
kpajdzik Jul 8, 2019
7901f4c
Generate @azure/arm-sqlvirtualmachine package (#4197)
kpajdzik Jul 8, 2019
2103d89
[core-http] Use an external token cache in BearerTokenAuthenticationP…
daviwil Jul 8, 2019
4544bbf
Update dev dependency "rollup" to latest (#4079)
mikeharder Jul 8, 2019
cae0657
[Storage] Update storage-js to sdk-for-js (#4204)
HarshaNalluru Jul 8, 2019
2bbc60a
Update event-hubs.api.md (#4214)
mikeharder Jul 9, 2019
5a624f8
Update dev dependency "rollup-plugin-node-resolve" to latest (#4215)
mikeharder Jul 9, 2019
64c5e98
Update dev dependency "rollup-plugin-json" to latest (#4216)
mikeharder Jul 9, 2019
af04c5e
Add warning about missing keys api (#3932)
Jul 9, 2019
d20aa79
[Service Bus] Absorb amqp-common fix to not hard-code token audience …
ramya0820 Jul 9, 2019
b87400b
Update dev dependency "rollup-plugin-terser" to latest (#4217)
mikeharder Jul 9, 2019
6d845f0
updated test matrix to include more node versions for eventhubs tests…
KarishmaGhiya Jul 9, 2019
0a6bcbe
account for restructure (#4218)
scbedd Jul 9, 2019
5cd9f08
Update dev dependency "rollup-plugin-visualizer" to latest (#4224)
mikeharder Jul 9, 2019
72eff65
Add 'sdk/core/core-arm/' from commit '4c97c47d63d697b3927b1ff1c46c1e6…
daviwil Jul 9, 2019
5079782
run service bus live-tests in parallel (#3820)
KarishmaGhiya Jul 9, 2019
b22361d
Rename @azure/ms-rest-azure-js to @azure/core-arm
daviwil Jul 8, 2019
45bd3e3
Merge pull request #4213 from daviwil/add-core-arm
weshaggard Jul 9, 2019
642d11d
Update readme.md with global template (#4211)
bterlson Jul 9, 2019
97ae334
[Service Bus] Version update 1.0.3 (#4234)
ramya0820 Jul 9, 2019
261ef2e
Add TokenCredential type to AzureServiceClient constructor (#4235)
daviwil Jul 10, 2019
30c3daa
[Service Bus] Improve message logging (#4236)
ramya0820 Jul 10, 2019
9471b5c
Tag scheduled builds
Jul 10, 2019
97299d9
remove storage-datalake from rush.json (#4238)
KarishmaGhiya Jul 10, 2019
a6d125a
[Core Auth] (minor) typo (#4254)
HarshaNalluru Jul 11, 2019
7930bf8
[Event Hubs] format source files with prettier (#4253)
chradek Jul 11, 2019
6d4c34a
[Storage] Rollback query-string version from V6 to V5 in the storage …
HarshaNalluru Jul 11, 2019
59eec86
add CODEOWNERS (#4259)
danieljurek Jul 11, 2019
489fd56
[core-amqp] Implement exponential retry mechanism (#4175)
ramya0820 Jul 11, 2019
40fe1af
[Event Hubs] Introduce operationTimeoutInMs (#4239)
ramya0820 Jul 11, 2019
399d87a
Update rush and pnpm to latest (#4270)
mikeharder Jul 11, 2019
4125def
[Event Hubs] Update event-hubs.api.md file (#4280)
ramya0820 Jul 11, 2019
130400d
[core-amqp] Update to use and handle OperationTimeoutError (#4186)
ramya0820 Jul 12, 2019
fea8e24
[Identity] referencing developer guide in the readme and contribute.m…
KarishmaGhiya Jul 12, 2019
c633506
referencing developer guide in the readme.md (#4272)
KarishmaGhiya Jul 12, 2019
02768a1
remove duplicate 'the' (#4296)
KarishmaGhiya Jul 12, 2019
2009f05
Switch Rollup minifier plugin to rollup-plugin-terser (#4203)
daviwil Jul 12, 2019
73f7f90
[event-hubs, service-bus] referencing developer guide in the readme a…
KarishmaGhiya Jul 12, 2019
cf4b098
[core] referencing developer guide in the readme and remove old contr…
KarishmaGhiya Jul 12, 2019
e7cd4d9
Add "sdk-type": "client" to more core libraries (#4283)
daviwil Jul 12, 2019
4cf8874
Update client status badge (#4299)
mikeharder Jul 12, 2019
8801fca
update CODEOWNERS links to point to sync documentation (#4263)
danieljurek Jul 12, 2019
61efc16
[Template] Update "template" with karma and a sample browser test-sui…
HarshaNalluru Jul 12, 2019
948a3e4
generated kusto and app service mgmt plane packages (#4312)
amarzavery Jul 15, 2019
7369bfb
Update pnpm-lock.yaml (#4308)
mikeharder Jul 15, 2019
b05ee9c
Refactor cosmos integration pipeline (#4255)
bsiegel Jul 15, 2019
4032855
Remove deprecated dev dependency @types/form-data (#4313)
mikeharder Jul 15, 2019
e1e7386
[Event Hub] Support for creating a batch when sending events (#4268)
ShivangiReja Jul 15, 2019
ef2b4e6
[Event Hubs] [Service Bus] Added event handlers for `error` and `prot…
ShivangiReja Jul 16, 2019
7c7e810
Fix dependencies for @typescript-eslint/eslint-plugin (#4327)
mikeharder Jul 16, 2019
4a5a8f3
Remove enginesStrict from root package.json
bterlson Jul 16, 2019
fd7ac94
[Service Bus] Update version in constants.ts (#4332)
ramya0820 Jul 16, 2019
e2d0341
[Event Hubs] Ensure fallbacks exist for retryOptions (#4326)
ramya0820 Jul 16, 2019
9128a46
[EPH] Update event-hub version to 2.1.1 and make it compatible with E…
ShivangiReja Jul 16, 2019
1fefbd2
Merge branch 'master' of https://github.com/Azure/azure-sdk-for-js
Jul 17, 2019
b7e603b
Generated from 47915530c58914f6d82019b48b33bd0b51094b83
Jul 17, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 9 additions & 2 deletions .azure-pipelines/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
vmImage: 'ubuntu-16.04'

steps:
- script: |
echo "##vso[build.addbuildtag]Scheduled"
displayName: 'Tag scheduled builds'
condition: and(eq(variables['Build.SourceBranchName'],'master'),eq(variables['Build.Reason'],'Schedule'))

- task: NodeTool@0
inputs:
versionSpec: '$(NodeVersion)'
Expand All @@ -41,7 +46,9 @@ jobs:

- task: CopyFiles@2
inputs:
contents: 'sdk/**/**/*.tgz'
contents: |
sdk/**/**/*.tgz
sdk/**/**/browser/*.zip
targetFolder: $(Build.ArtifactStagingDirectory)
flattenFolders: true
displayName: 'Copy packages'
Expand Down Expand Up @@ -162,7 +169,7 @@ jobs:

- script: |
node common/scripts/install-run-rush.js build $(rushFlags)
displayName: 'Build libraries"'
displayName: 'Build libraries'

- script: |
node common/scripts/install-run-rush.js build:test $(rushFlags)
Expand Down
4 changes: 2 additions & 2 deletions .docsettings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ known_content_issues:
- ["sdk/cognitiveservices/cognitiveservices-websearch/README.md", "#1583"]
- ["sdk/eventgrid/eventgrid/README.md", "#1583"]
- ["sdk/core/abort-controller/README.md", "#1583"]
- ["sdk/core/core-http/README.md", "#1583"]
- ["sdk/identity/identity/README.md", "#1583"]
- ["sdk/core/core-auth/README.md", "#1583"]
- ["sdk/core/core-arm/README.md", "#1583"]
- ["sdk/cosmosdb/cosmos/README.md", "#1583"]
- ["sdk/cosmosdb/cosmos/src/test/readme.md", "#1583"]
- ["sdk/cosmosdb/cosmos/samples/readme.md", "#1583"]
Expand Down
25 changes: 25 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Instructions for CODEOWNERS file format and automatic build failure notifications:
# https://github.com/Azure/azure-sdk/blob/master/docs/engineering-system/codeowners.md

###########
# SDK
###########

# Catch all
# /sdk/ @ramya-rao-a

# Core
# /sdk/core/

# Service teams
# /sdk/eventhub/
# /sdk/identity/
# /sdk/keyvault/
# /sdk/storage/

###########
# Eng Sys
###########
/eng/ @weshaggard @KarishmaGhiya @mikeharder @mitchdenny @danieljurek
/**/tests.yml @danieljurek
/**/ci.yml @mitchdenny
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,15 @@ test-browser
typings
typedoc
types
es
sdk/cosmosdb/cosmos/lib
*.test.js
*.test.js.map
*lintReport.html

# autorest generated files
swagger/*.json

# library-specific ignores
sdk/keyvault/*/src/**/*.js
sdk/keyvault/*/samples/**/*.js
18 changes: 17 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
{
"editor.autoIndent": true,
"editor.detectIndentation": false,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"eslint.validate": [
"javascript",
"javascriptreact",
{ "language": "typescript", "autoFix": true }
],
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.DS_Store": true
},
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"typescript.disableAutomaticTypeAcquisition": true
"javascript.preferences.quoteStyle": "double",
"prettier.eslintIntegration": true,
"typescript.disableAutomaticTypeAcquisition": true,
"typescript.preferences.quoteStyle": "double"
}
52 changes: 41 additions & 11 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,42 @@
# How to contribute to the Azure SDK for Javascript
# Contributing

You found something you'd like to change? Great! Please submit a pull request and we'll do our best to work with you to get your code included into the project.
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

1. Commit your changes (`git commit -am 'Add some feature'`)
2. Push to the branch (`git push origin my-new-feature`)
3. Create new Pull Request
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

# How to contribute to the Azure SDK for Javascript

For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
There are many ways that you can contribute to the Azure Event Hubs client project:

If you would like to become an active contributor to this project please follow the instructions provided in [Microsoft Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).
- Submit a bug
- Submit a code fix for a bug
- Submit additions or modifications to the documentation
- Submit a feature request

All code submissions will be reviewed and tested by the team, and those that meet a high bar for both quality and design/roadmap appropriateness will be merged into the source. Be sure to follow the existing file/folder structure when adding new boards or sensors.

If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-sdk-for-js/issues) section of the project.

## Things to keep in mind when contributing

Some guidance for when you make a contribution:

- Add/update unit tests and code as required by your change
- Make sure you run all the unit tests on the affected platform(s)/languages. If the change is in common code, generally running on one platform would be acceptable.
- Run end-to-end tests or simple sample code to make sure the lib works in an end-to-end scenario.

## Big contributions

If your contribution is significantly big it is better to first check with the project developers in order to make sure the change aligns with the long term plans. This can be done simply by submitting a question via the GitHub Issues section.

## Project orchestration

This project uses [Rush](https://rushjs.io) to manage our many Azure SDK libraries within a single repository. It is highly recommended that you read the [Rush Developer Tutorials](https://rushjs.io/pages/developer/new_developer/) to familiarize yourself with the tool.
Expand All @@ -33,6 +56,7 @@ can continue to contribute to the project using the standard `npm` workflow, ado
Want to get started hacking on the code? Super! Follow these instructions to get up and running.

First, make sure you have the prerequisites installed and available on your `$PATH`:

- Git
- Node 8.x or higher
- Rush 5.7.3 or higher (install / update globally via `npm install -g @microsoft/rush`)
Expand All @@ -44,14 +68,16 @@ Next, get the code:
3. Open a terminal and move into your local copy (`cd azure-sdk-for-js`)
4. Install and link all dependencies (`rush update`)


### Making the switch

If you have previously worked in this repo using the `npm` workflow, the first time you switch to using Rush you should commit or stash any untracked files and then get back to a clean state by running `rush reset-workspace` before proceeding any further. This will get rid of any latent package-lock files, as well as your existing (incompatible) node_modules directories. You can then proceed down the path outlined below.

### Warnings for VSCode users

Visual Studio Code has a feature which will automatically fetch and install @types packages for you, using the standard npm package manager. This will cause problems with your node_modules directory, since Rush uses PNPM which lays out this directory quite differently. It's highly recommended that you ensure "Typescript: Disable Automatic Type Acquisition" is checked in your VSCode Workspace Settings (or ensure `typescript.disableAutomaticTypeAcquisition` is present in your .vscode/settings.json file).

The current version of VSCode for Windows has a bug that may cause a "file locked" error when you run any Rush command that modifies your node_modules directory:

```
ERROR: Error: Error: EPERM: operation not permitted, mkdir 'C:\XXXXX\node_modules'
Often this is caused by a file lock from a process such as your text editor, command prompt, or "gulp serve"
Expand All @@ -60,6 +86,7 @@ Often this is caused by a file lock from a process such as your text editor, com
This bug is fixed in the Insiders build of VSCode (1.34), and will be included in the next release. Until then, you can resolve this by running the "Typescript: Restart TS server" command from the Command Palette to release the lock on the files.

### Warnings for Windows users

Git for Windows has a bug where repository files may be unintentionally removed by `git clean -df` when a directory is locally linked. Because Rush creates local links between packages, you may encounter this. It's highly recommended to use the `rush reset-workspace` command to get your working directory back to a clean state instead. If you prefer to run `git clean -df` manually, you must first run `rush unlink` so that the operation can be performed safely.

## Inner loop developer workflow with Rush
Expand Down Expand Up @@ -104,6 +131,7 @@ By default, Rush only displays things written to `STDERR`. If you want to see th
Most package scripts are exposed as Rush commands. Use `rush <scriptname>` in place of `npm run <scriptname>` to run the package script in all projects. Navigate to a project's directory and substitute `rushx` for `rush` to run the script for just the current project. Run `rush <scriptname> --help` for more information about each script.

All projects have at least the following scripts:

- `audit`: Run `npm audit` on the project (with some workarounds for Rush)
- `build`: Build the project's production artifacts (Node and browser bundles)
- `build:test`: Build the project's test artifacts only
Expand All @@ -124,6 +152,7 @@ All projects have at least the following scripts:
- `unit-test`: Execute all unit tests

Projects may optionally have the following scripts:

- `extract-api`: Run API Extractor to show API issues and generate API reports

### Getting back to a clean state
Expand All @@ -137,7 +166,7 @@ If you want to get back to a completely clean state, you can instead run `rush r
Generally speaking, the following commands are roughly equivalent:

| NPM command | Rush command | Rush command effect |
|------------------------------------- | ------------------------------------ | ---------------------------------------------------------------- |
| ------------------------------------ | ------------------------------------ | ---------------------------------------------------------------- |
| `npm install` | `rush update` | Install dependencies for all projects in the Rush workspace |
| `npm install --save[-dev] <package>` | `rush add -p <package> [--dev]` | Add or update a dependency in the current project |
| `npm build` | `rush [re]build` | Build all projects in the Rush workspace |
Expand All @@ -155,11 +184,11 @@ Generally speaking, the following commands are roughly equivalent:

To add a new library to the repo, update `rush.json` in the root of the repo and add a new entry to the `projects` array at the bottom of the file. The package name must be the full name of the package as specified in its package.json. Your new library must follow our [repository structure](https://github.com/Azure/azure-sdk/blob/master/docs/engineering-system/repo-structure.md) (specifically, it must be located at `sdk/<servicename>/<packagename>`) and your library's package.json must contain the required scripts as documented [above](#other-npm-scripts). Once the library is added, run `rush update` to install and link dependencies. If your new library has introduced a dependency version conflict, this command will fail. See [above](#resolving-dependency-version-conflicts) to learn how to resolve dependency version conflicts.

Rush assumes that anything printed to `STDERR` is a warning. Your package scripts should avoid writing to `STDERR` unless emitting warnings or errors, since this will cause Rush to flag them as warnings during the execution of your build or script command. If your library uses a tool that can't be configured this way, you can still append ` 2>&1` to the command which will redirect all output to `STDOUT`. You won't see warnings show up, but Rush will still consider the command to have failed as long as it returns a nonzero exit code.
Rush assumes that anything printed to `STDERR` is a warning. Your package scripts should avoid writing to `STDERR` unless emitting warnings or errors, since this will cause Rush to flag them as warnings during the execution of your build or script command. If your library uses a tool that can't be configured this way, you can still append `2>&1` to the command which will redirect all output to `STDOUT`. You won't see warnings show up, but Rush will still consider the command to have failed as long as it returns a nonzero exit code.

In general, it's recommended to avoid using NPM [hook scripts](https://docs.npmjs.com/misc/scripts) (those starting with `pre` / `post`). The build system will always explicitly run the `install`, `build`, `build:test`, `pack`, `audit`, `lint`, `unit-test`, and `integration-test` scripts at the appropriate times during the build. Adding hooks that performs steps like installing dependencies or compiling the source code will at best slow down the build, and at worst may lead to difficult to diagnose build failures.

Because Rush uses PNPM to download and manage dependencies, it's ***especially*** important to make sure that none of your package scripts are calling `npm install` when your library is built via the Rush toolchain. Most commonly this occurs in a `prepack` or `prebuild` script. Ensure your library does not contain these scripts - or if you determine that such a script is required, ensure that it doesn't run `npm install`.
Because Rush uses PNPM to download and manage dependencies, it's **_especially_** important to make sure that none of your package scripts are calling `npm install` when your library is built via the Rush toolchain. Most commonly this occurs in a `prepack` or `prebuild` script. Ensure your library does not contain these scripts - or if you determine that such a script is required, ensure that it doesn't run `npm install`.

### Issues with Rollup

Expand All @@ -178,6 +207,7 @@ equal is not exported by ..\..\..\common\temp\node_modules\.registry.npmjs.org\a
```

This is due to an open issue with one of Rollup's plugins (if you want the details, refer to this [GitHub issue](https://github.com/rollup/rollup-plugin-node-resolve/issues/94)). To work around the issue, locate the Rollup configuration object for your browser bundle and modify the configuration for the nodeResolve plugin to match the following:

```
nodeResolve({
mainFields: ['module', 'browser'],
Expand Down
Loading