Skip to content

Commit

Permalink
Release v1.0.0 (#51)
Browse files Browse the repository at this point in the history
Included in the release
- Support for SPFx 1.17.1
- Updated CI/CD pipelines
- Updated help and feedback section
- Support for every possible SPFx project scaffolding  
- Added SPFx web parts and extensions sample galleries
- Refactored code base, improve code quality and small bug fixes

---------

Co-authored-by: VesaJuvonen <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Adam-it <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
5 people authored May 30, 2023
1 parent 7d531aa commit 654072d
Show file tree
Hide file tree
Showing 78 changed files with 11,245 additions and 6,879 deletions.
29 changes: 24 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,32 @@
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-compare-neg-zero": "error",
"no-cond-assign": "error",
"no-const-assign": "error",
"no-debugger": "error",
"no-dupe-args": "error",
"no-dupe-else-if": "error",
"no-dupe-keys": "error",
"no-duplicate-case": "error",
"no-duplicate-imports": "error",
"no-unused-vars": "error",
"curly": "error",
"eqeqeq": "error",
"no-throw-literal": "warn",
"semi": "off",
"no-console": "error"
"semi": "error",
"no-extra-semi": "error",
"no-console": "error",
"no-else-return": "error",
"no-shadow":"error",
"no-var": "error",
"prefer-const": "error",
"no-multi-spaces": "error",
"no-multiple-empty-lines": "error",
"no-trailing-spaces": "error",
"quotes": ["error", "single"]
},
"ignorePatterns": [
"out",
Expand Down
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/---bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: "🐞 Bug report"
about: Create a report to help us improve
title: "🐞 [Bug]: "
labels: "🐞 bug"
assignees: ''

---

## 📝 Describe the bug

> provide a clear and concise description of the bug. [Remove this line]
## 👣 Steps To Reproduce

> add steps to reproduce the behavior [Remove this line]
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## 📜 Expected behavior

> A clear and concise description of what you expected to happen. [Remove this line]
## 📷 Screenshots

> If applicable, add screenshots to help explain your problem. [Remove this line]
## 💻 Desktop (please complete the following information):

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

## 🤔 Additional context

> Add any other context or information about the problem here. [Remove this line]
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/---feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: "💡 Feature request"
about: Suggest an idea for this project
title: "💡 [Feature]: "
labels: "⭐ enhancement"
assignees: ''

---

## 🎯 Aim of the feature

> provide a clear and concise description explaining the idea. [Remove this line]
## 📷 Images (if possible) with expected result

> If applicable, add screenshots or drawings to help explain your idea. [Remove this line]
## 🤔 Additional remarks or comments

> Add any other context or information about the idea here. [Remove this line]
20 changes: 20 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## 🎯 Aim

> describe the purpose of this pull request [Remove this line]
## 📷 Result

> include images or a movie with a result of your change [Remove this line]
## ✅ What was done

> clarify what was done and what still needs to be finished ex. [Remove this line]
- [] not done
- [X] done

## 🔗 Related issue

> each PR should be linked with a related issue [Remove this line]
Closes: #123
8 changes: 1 addition & 7 deletions .github/workflows/release-beta.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Pre-Release

on:
push:
branches:
- dev
workflow_dispatch:

jobs:
Expand All @@ -19,10 +16,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install the dependencies
run: npm ci

- name: Prepare BETA
run: node scripts/beta-release.js $GITHUB_RUN_ID
run: npm i

- name: Publish
run: npx vsce publish -p ${{ secrets.VSCE_PAT }} --pre-release --baseImagesUrl https://raw.githubusercontent.com/pnp/vscode-viva/dev
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
registry-url: https://registry.npmjs.org/

- name: Install the dependencies
run: npm ci
run: npm i

- name: Publish
run: npx vsce publish -p ${{ secrets.VSCE_PAT }}
55 changes: 55 additions & 0 deletions .github/workflows/update-samples.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Update samples data

on:
workflow_dispatch:
schedule:
- cron: '0 12 * * 6'

jobs:
update:
name: "Update samples json"
runs-on: windows-latest

steps:
- name: Checkout vscode-viva
uses: actions/checkout@v3

- name: Checkout sp-dev-fx-aces
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-aces
path: sp-dev-fx-aces

- name: Checkout sp-dev-fx-library-components
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-extensions
path: sp-dev-fx-extensions

- name: Checkout sp-dev-fx-library-components
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-library-components
path: sp-dev-fx-library-components

- name: Checkout sp-dev-fx-webparts
uses: actions/checkout@v3
with:
repository: pnp/sp-dev-fx-webparts
path: sp-dev-fx-webparts

- run: |
dir
- run: .\scripts\prepare-sample-data.ps1 -workspacePath "${{ github.workspace }}"
shell: pwsh
continue-on-error: true

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
commit-message: Updates sample data
branch: update-sample-data
title: Sample data update
body: Automated check and update of SPFx extensions and webparts samples data and aces sample data.
...
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,8 @@ dist
node_modules
.vscode-test/
*.vsix
.DS_Store
.DS_Store
sp-dev-fx-aces
sp-dev-fx-extensions
sp-dev-fx-library-components
sp-dev-fx-webparts
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ tailwind.config.js
postcss.config.js
webpack
.github
scripts
scripts
data
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,36 @@
# Change Log

## [1.0.0] - 2023-05-31

- Major release

## [0.5.3] - 2023-05-29

- Added link to Microsoft 365 & Power Platform Community Discord Server
- Code maintenance

## [0.5.2] - 2023-05-13

- Added support for creating and managing SPFx solutions
- Added SPFx web part and extension samples views

## [0.5.1] - 2023-05-03

- Updated help and feedback section

## [0.5.0] - 2023-05-01

- Updated documentation and guidance

## [0.4.5] - 2023-04-30

- Maintenance release

## [0.4.2] - 2023-04-20

- Updated to use SharePoint Framework version 1.17.1
- Updated to use CLI for Microsoft 365 version 6.6

## [0.4.1] - 2023-03-09

- Maintenance release to fix bug caused by branch conflict
Expand Down
Loading

0 comments on commit 654072d

Please sign in to comment.