Skip to content

Commit

Permalink
Add CommonJS Support to UI component package (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBurnside authored Mar 26, 2021
1 parent cbb60d5 commit eeb1794
Show file tree
Hide file tree
Showing 51 changed files with 551 additions and 309 deletions.
7 changes: 7 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Add top level eslintignore file to be picked up by the eslint vscode extension
docs/
public/
dist/
node_modules/
storybook-static/
scripts/
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
# Deploy Storybook - only perform this step on main branch CI
- name: Deploy Storybook
if: github.ref == 'refs/heads/main'
run: npm run deploy-storybook -- --ci
run: rushx deploy-storybook -- --ci
working-directory: ./packages/communication-ui
env:
GH_TOKEN: ${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update to remove usage of npm run",
"packageName": "@azure/acs-calling-declarative",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update to remove usage of npm run",
"packageName": "@azure/acs-chat-declarative",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Update to remove usage of npm run",
"packageName": "@azure/acs-chat-selector",
"email": "[email protected]",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Add support for CommonJS",
"packageName": "@azure/communication-ui",
"email": "[email protected]",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion common/api-extractor/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "<projectFolder>/dist/index.d.ts",
"mainEntryPointFilePath": "<projectFolder>/dist/dist-esm/index.d.ts",
"apiReport": {
"enabled": true,
"reportFolder": "<projectFolder>/review/"
Expand Down
3 changes: 2 additions & 1 deletion common/config/rush/command-line.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"commandKind": "bulk",
"name": "build:watch",
"summary": "Trigger incremental build with watch command.",
"enableParallelism": false
"enableParallelism": false,
"watchForChanges": true
}
],
"parameters": []
Expand Down
Loading

0 comments on commit eeb1794

Please sign in to comment.