Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
645 commits
Select commit Hold shift + click to select a range
f6af9e3
add json dependency
lee-leonardo Mar 26, 2021
77271d1
chore(): need a simple express server
jgw96 Mar 29, 2021
c22610a
chore(): new deployment file
jgw96 Mar 29, 2021
7c397c9
chore(): need a docker container for azure
jgw96 Mar 29, 2021
2b57373
Merge pull request #1576 from pwa-builder/express
JudahGabriel Mar 29, 2021
ccfcdb3
Fixes #1474 for v3 (#1578)
JudahGabriel Mar 30, 2021
e6e9827
Merge branch 'v3.0' into congrats-page
jgw96 Mar 30, 2021
28407f3
feat(): blog cards layed out
jgw96 Mar 30, 2021
8cc861b
chore(): tool section cards
jgw96 Mar 30, 2021
4faa220
chore(): css fixes
jgw96 Mar 30, 2021
2817e6a
style(): mobile styles for grids
jgw96 Mar 30, 2021
6b056f8
added language
lee-leonardo Mar 30, 2021
1a96efa
Merge branch 'v3.0' into v3_manifest
lee-leonardo Mar 30, 2021
18bd53c
feat(): decide what posts to show based on platforms generated
jgw96 Mar 31, 2021
fbef7b7
feat(): logic to choose featured post
jgw96 Mar 31, 2021
577d971
chore(): cleanup
jgw96 Mar 31, 2021
791608c
Merge pull request #1582 from pwa-builder/congrats-page
lee-leonardo Mar 31, 2021
94d97fe
remove mode attribute, just use class string
lee-leonardo Apr 1, 2021
83ea8e5
ids to classes
lee-leonardo Apr 1, 2021
f98117e
use enums for classMap
lee-leonardo Apr 1, 2021
527f7ae
add resource hub here.
lee-leonardo Apr 1, 2021
a6b480c
css shuffle
lee-leonardo Apr 1, 2021
1c950ad
refactor out duplicate selector and a few tweaks
lee-leonardo Apr 1, 2021
5e8521d
use resource hub rather than cards directly
lee-leonardo Apr 1, 2021
2b3b36e
rm duplicate class entry causing css issues
lee-leonardo Apr 1, 2021
227ce18
slight style tweak
lee-leonardo Apr 2, 2021
73ddcb2
fix(): android options should close if err generating
jgw96 Apr 2, 2021
902393a
fix(): android package generate correctly
jgw96 Apr 2, 2021
c529094
Merge pull request #1590 from pwa-builder/v3_standalone_cards
JudahGabriel Apr 2, 2021
d2667fc
Merge branch 'v3.0' into android-fixes
JudahGabriel Apr 2, 2021
f9ef24f
Merge pull request #1594 from pwa-builder/android-fixes
JudahGabriel Apr 2, 2021
77c65b5
chore(): update dependencies
jgw96 Apr 5, 2021
eea4f5f
ts, prettier, eslint config changes. (#1595)
lee-leonardo Apr 5, 2021
52e1202
Merge branch 'v3.0' into update-deps
jgw96 Apr 5, 2021
f08e802
chore(): run action on v3 branch
jgw96 Apr 5, 2021
0b731ca
Merge pull request #1601 from pwa-builder/update-new-action
JudahGabriel Apr 5, 2021
409a701
Merge branch 'v3.0' into update-deps
JudahGabriel Apr 5, 2021
af76821
styles(): update sidebar container to latest design
jgw96 Apr 5, 2021
1f5147e
Merge pull request #1602 from pwa-builder/sidebar-update
lee-leonardo Apr 5, 2021
f6b82a4
chore(): new sidebar-card component
jgw96 Apr 5, 2021
e2cf719
Merge branch 'v3.0' into update-deps
jgw96 Apr 5, 2021
c62f9a9
chore(): fix missing comma
jgw96 Apr 5, 2021
5654574
chore(): remove trailing comma
jgw96 Apr 5, 2021
428b34d
Merge pull request #1600 from pwa-builder/update-deps
JudahGabriel Apr 5, 2021
1052bc0
Merge branch 'v3.0' into sidebar-card
lee-leonardo Apr 6, 2021
8a4b457
Merge pull request #1603 from pwa-builder/sidebar-card
lee-leonardo Apr 6, 2021
9bef849
Configs (#1604)
lee-leonardo Apr 6, 2021
990cc70
style(): remove lines + correct margin
jgw96 Apr 6, 2021
950120a
Merge pull request #1609 from pwa-builder/more-sidebar-updates
lee-leonardo Apr 6, 2021
5e39650
feat(): new score-card component in sidebar + updated scoring logic (…
jgw96 Apr 7, 2021
a05387a
New progress card (#1608)
jgw96 Apr 7, 2021
d4649ea
Rating dial (#1613)
jgw96 Apr 7, 2021
d16ccd8
chore(): cleanup
jgw96 Apr 7, 2021
ae4b1e2
fix(): style updates and fixes based on latest design
jgw96 Apr 7, 2021
3f5a838
Merge pull request #1615 from pwa-builder/sidebar-tweaks
lee-leonardo Apr 7, 2021
94590a7
Merge pull request #1617 from pwa-builder/report-card-design-updates
lee-leonardo Apr 7, 2021
55502a0
feat(): initial commit
jgw96 Apr 8, 2021
632084a
feat(): badge layout in card
jgw96 Apr 8, 2021
0635ab3
style(): finalize icon layout in card
jgw96 Apr 8, 2021
960aa4a
feat(): badge in total score section
jgw96 Apr 8, 2021
3b6e315
feat(): badges have locked style in badges card
jgw96 Apr 8, 2021
2bf23a1
feat(): badges in each report-card section
jgw96 Apr 8, 2021
8815578
feat(): badges
jgw96 Apr 12, 2021
d6ff12c
chore(): quick note on type
jgw96 Apr 12, 2021
4544b02
feat(): colors on scores
jgw96 Apr 12, 2021
49221e4
feat(): total score badge
jgw96 Apr 12, 2021
fcb9164
feat(): total score color
jgw96 Apr 12, 2021
027268a
Merge pull request #1624 from pwa-builder/badges
lee-leonardo Apr 12, 2021
f937280
styles(): more margins / padding / widths work
jgw96 Apr 13, 2021
b20539d
fix(): button is correct width on mobile
jgw96 Apr 13, 2021
b563173
styles(): resource hub on mobile
jgw96 Apr 13, 2021
cbe3e43
styles(): footer is correct on mobile
jgw96 Apr 13, 2021
25d22a6
style(): button styles + max width
jgw96 Apr 13, 2021
5f1767b
styles(): options buttons are centered on mobile
jgw96 Apr 13, 2021
3942eb8
styles(): modals fullscreen on mobile
jgw96 Apr 13, 2021
fea87e7
chore(): add icon for each platform
jgw96 Apr 13, 2021
d14a61c
Merge pull request #1625 from pwa-builder/design-review
lee-leonardo Apr 13, 2021
f0fe9cb
fix(): better error handling on the home page
jgw96 Apr 14, 2021
11b22d7
fix(): fixes some to-dos plus improvements to the findSuitableIcon me…
jgw96 Apr 14, 2021
4bc23ae
feat(): add report error button to alert
jgw96 Apr 14, 2021
37a0214
chore(): improvements to tablet sidebar
jgw96 Apr 14, 2021
626a96b
fix(): correct styles for next button on mobile
jgw96 Apr 14, 2021
e4df106
fix(): button in sidebar card header has cursor pointer as it should
jgw96 Apr 14, 2021
288b104
Merge pull request #1629 from pwa-builder/more-tweaks
lee-leonardo Apr 15, 2021
f9d4f9b
Merge branch 'v3.0' into v3_manifest
lee-leonardo Apr 16, 2021
cf17f3a
package lock update
lee-leonardo Apr 16, 2021
6892e35
feat(): rating component uses rating backend
jgw96 Apr 19, 2021
1326674
Merge pull request #1637 from pwa-builder/rating-backend
lee-leonardo Apr 19, 2021
fa0fc71
feat(): first bit of new graphics
jgw96 Apr 19, 2021
7b80324
chore(): blog background image
jgw96 Apr 20, 2021
24c76b0
chore(): updated report-card header graphic
jgw96 Apr 20, 2021
83182f8
chore(): update base-package header graphics
jgw96 Apr 20, 2021
a36ce66
chore(): publish page graphics + graphics tweaks
jgw96 Apr 20, 2021
0d28c61
chore(): graphics for congrats page
jgw96 Apr 20, 2021
f737a38
chore(): upgrade to webp for smaller size + we can now with support i…
jgw96 Apr 20, 2021
4068355
chore(): start on mobile graphics
jgw96 Apr 20, 2021
519807c
Merge pull request #1638 from pwa-builder/updated-graphics-two
lee-leonardo Apr 20, 2021
99b44b1
V3 Blog section corrections, some to the resource hub. (#1630)
lee-leonardo Apr 20, 2021
df462a0
download utility
lee-leonardo Apr 20, 2021
791e438
dl code for icons, using service
lee-leonardo Apr 20, 2021
076f221
fix(): tablet portrait styles
jgw96 Apr 21, 2021
1053c92
feat(): mobile graphics + tweaked styles
jgw96 Apr 21, 2021
a66b97a
Merge branch 'v3.0' into mobile-graphics
jgw96 Apr 21, 2021
4cbe3bd
fix typo
lee-leonardo Apr 21, 2021
3adfb68
Merge pull request #1641 from pwa-builder/mobile-graphics
lee-leonardo Apr 21, 2021
8c90b84
styles + download icons zip
lee-leonardo Apr 21, 2021
225dd78
rm unusedi import
lee-leonardo Apr 21, 2021
6490234
downloadjs
lee-leonardo Apr 21, 2021
7a8683a
some clean up
lee-leonardo Apr 21, 2021
3e6ab19
await
lee-leonardo Apr 21, 2021
f5aba71
basic html, now to style
lee-leonardo Apr 22, 2021
30bd1a1
fix(): remove red background on cards
jgw96 Apr 22, 2021
4bfc77c
Merge pull request #1644 from pwa-builder/css-fix
lee-leonardo Apr 22, 2021
5cc74df
V3 Manifest - language dropdown, screenshot validation, download icon…
lee-leonardo Apr 22, 2021
7fd959b
fix(): badge state is now saved correctly for reloads
jgw96 Apr 22, 2021
255e4d9
pass classes, fill out the appearance values, added class round for d…
lee-leonardo Apr 22, 2021
2d62af3
basic testing atm, the disabled buttons are working for hte most part…
lee-leonardo Apr 22, 2021
3840330
change to div for consistency
lee-leonardo Apr 22, 2021
aa101a1
fast button change - type
lee-leonardo Apr 23, 2021
5eaa590
fix(): bit more margin-top on duo sized devices
jgw96 Apr 23, 2021
e8972e0
Merge pull request #1650 from pwa-builder/duo-fixes
lee-leonardo Apr 23, 2021
302d0c7
feat(): content-header now handles mani and sw tabs (#1645)
jgw96 Apr 23, 2021
0b36396
fix(): start_url, not startUrl
jgw96 Apr 23, 2021
867ef10
Merge pull request #1652 from pwa-builder/start_url_fix
lee-leonardo Apr 23, 2021
b1e0a5d
Design Review - Score Centering and Blog Card changes (#1653)
lee-leonardo Apr 26, 2021
8ee2472
fix(): double border when closed
jgw96 Apr 26, 2021
327c79b
fix(): icons in header should be white on smaller screen sizes
jgw96 Apr 26, 2021
9947c6f
Lit update (#1651)
jgw96 Apr 26, 2021
a7a6059
fix(): background should be purple on very wide screens
jgw96 Apr 26, 2021
c216d7a
Merge branch 'v3.0' into state-fix
jgw96 Apr 26, 2021
52b7fa7
fix(): router outlet purple only on 1920+
jgw96 Apr 26, 2021
a8b344e
Merge pull request #1646 from pwa-builder/state-fix
JudahGabriel Apr 26, 2021
c1303cd
Merge pull request #1658 from pwa-builder/j-design-rev
JudahGabriel Apr 26, 2021
e8a3db4
fix(): line heights and bottom margins on headers
jgw96 Apr 26, 2021
0843fd0
fix(): padding is correct for each part of report-card
jgw96 Apr 26, 2021
64cf0be
fix(): badge text size etc is correct
jgw96 Apr 26, 2021
e0e47f0
fix(): update colors
jgw96 Apr 26, 2021
6efaf16
Merge pull request #1659 from pwa-builder/design-rev-2
lee-leonardo Apr 26, 2021
b54cd85
finished gallery behavior
lee-leonardo Apr 26, 2021
04a3b91
repopulate from search of refresh
lee-leonardo Apr 27, 2021
08fc36b
handle base64
lee-leonardo Apr 27, 2021
74cc881
chore(): go back to loading button
jgw96 Apr 28, 2021
56ef29e
fix(): progress ring should be white as loading button inherits the d…
jgw96 Apr 28, 2021
9494e44
settings item fix for lang string if they are using a subcode
lee-leonardo Apr 28, 2021
e419925
feat(): home page has a new site query param that automatically kicks…
jgw96 Apr 28, 2021
f171027
chore(): new offline detection code from Judah
jgw96 Apr 28, 2021
6199123
Merge pull request #1661 from pwa-builder/loading-button-home
JudahGabriel Apr 28, 2021
f155886
Merge pull request #1662 from pwa-builder/query-string
JudahGabriel Apr 28, 2021
210cbd3
Merge pull request #1663 from pwa-builder/new-offline-code
JudahGabriel Apr 28, 2021
db31cfd
calls service to retrieve if something like a reload happens
lee-leonardo Apr 28, 2021
9c23fd4
type and some cleanup
lee-leonardo Apr 29, 2021
907a5bf
manifest options with screenshots gallery no delete
lee-leonardo Apr 29, 2021
2987de3
various small fixes
lee-leonardo Apr 29, 2021
c92abc0
get same treatment.
lee-leonardo Apr 29, 2021
5782c54
Merge branch 'v3.0' into v3_manifest
lee-leonardo Apr 29, 2021
98aeee2
merging issues fixed
lee-leonardo Apr 29, 2021
cde639a
for alt
lee-leonardo Apr 29, 2021
683537b
perf(): change image to webp (#1665)
jgw96 Apr 29, 2021
58a46d3
Routes.json fix (#1664)
jgw96 Apr 29, 2021
29cc51d
other image in modal required alt
lee-leonardo Apr 29, 2021
07c9b68
small utils for code editor component
lee-leonardo Apr 30, 2021
f0d9f24
code mirror util
lee-leonardo Apr 30, 2021
e8d160a
add lodash and code mirror
lee-leonardo Apr 30, 2021
dc4c636
integration
lee-leonardo Apr 30, 2021
5dee66c
init code-editor
lee-leonardo Apr 30, 2021
be02870
V3 Manifest - App-Gallery, Code Mirror Editor + various small fixes (…
lee-leonardo Apr 30, 2021
0d8181c
chore(): remove un-needed import
jgw96 Apr 30, 2021
807c740
fix(): cleanUrl function should handle urls without https too
jgw96 Apr 30, 2021
130b3b8
update for removal of items
lee-leonardo Apr 30, 2021
7f39ee9
changes to editor
lee-leonardo Apr 30, 2021
00b74ac
lint + width adjustment
lee-leonardo Apr 30, 2021
9bf1283
icon gen append to currently list rather than depend on older functi…
lee-leonardo Apr 30, 2021
f971122
Merge pull request #1672 from pwa-builder/url-formatter
lee-leonardo May 3, 2021
c6f4bb5
fix for non static text menus
lee-leonardo May 3, 2021
f2d10d6
fix(): route import path standardized (#1677)
jgw96 May 3, 2021
04f19bd
style tweak
lee-leonardo May 3, 2021
fb73fec
whoops forgot to rename
lee-leonardo May 3, 2021
237a937
edits going one way, not to figure out the vv
lee-leonardo May 4, 2021
20f7368
chore(): update all lorem text
jgw96 May 4, 2021
df0c1eb
a little confusing, working on understanding this better. I need both…
lee-leonardo May 5, 2021
050c5b6
Merge pull request #1681 from pwa-builder/update-text
lee-leonardo May 5, 2021
9559e59
styles(): new sidebar width
jgw96 May 5, 2021
290ee51
chore(): remove text from badges in badge component
jgw96 May 5, 2021
4172a9e
fix(): margins and padding mobile
jgw96 May 5, 2021
3251aaf
fix(): publish blocks are correct on mobile
jgw96 May 5, 2021
e67409e
fix(): headers are correct on mobile
jgw96 May 5, 2021
e452e7d
clean up of interface, isolating them too
lee-leonardo May 6, 2021
6f86ee5
handle editor event, something is awry with the radios
lee-leonardo May 6, 2021
6ebcdbd
code editor interactions.
lee-leonardo May 6, 2021
5675234
fix(): publish cards on congrats now match publish page
jgw96 May 6, 2021
b22d39b
fix(): dont re-try in the could not get site error block
jgw96 May 6, 2021
ce91525
Merge pull request #1684 from pwa-builder/design-review-4
lee-leonardo May 6, 2021
27964f2
Merge pull request #1690 from pwa-builder/home-error-handling-update
lee-leonardo May 6, 2021
b77096c
fix(): toolbar is correct on tablets
jgw96 May 6, 2021
bdc08f6
Merge pull request #1691 from pwa-builder/toolbar-updates
lee-leonardo May 6, 2021
60aa938
exported dispatch function to use
lee-leonardo May 6, 2021
5a8d262
Merge branch 'v3.0' into v3_manifest
May 7, 2021
5449819
Merge pull request #1692 from pwa-builder/v3_manifest
JudahGabriel May 7, 2021
aa0435a
V3 Merge conflict issues (#1697)
lee-leonardo May 10, 2021
99fd1b2
fix(): service worker caching now works as expected (#1696)
jgw96 May 10, 2021
c1f5fc5
fix(): dont try to cache json (#1698)
jgw96 May 10, 2021
b65c891
Service worker fix 2 (#1699)
jgw96 May 10, 2021
57ad13f
fix(): import report-page directly again
jgw96 May 10, 2021
4e55252
Merge pull request #1700 from pwa-builder/import-fix
lee-leonardo May 10, 2021
0362f29
button css styles
lee-leonardo May 10, 2021
975f6ed
Merge pull request #1701 from pwa-builder/v3_ll_misc
lee-leonardo May 11, 2021
e242a85
V3 Miscellaneous Bug fixes p2 (#1706)
lee-leonardo May 12, 2021
e763bc8
chore(): new samsung modal
jgw96 May 12, 2021
07f15ec
chore(): more webp images
jgw96 May 12, 2021
f96126b
feat(): mobile toolbar matches design
jgw96 May 12, 2021
29ed5a9
Merge pull request #1708 from pwa-builder/webp-swap
lee-leonardo May 12, 2021
a7a822e
Merge pull request #1709 from pwa-builder/mobile-toolbar
lee-leonardo May 12, 2021
f0162b9
Merge pull request #1707 from pwa-builder/new-samsung
lee-leonardo May 12, 2021
d6c51e8
v3 additional style tweaks (#1712)
lee-leonardo May 14, 2021
08faa06
chore(): add needed typescript config
jgw96 May 14, 2021
7eb4add
fix(): misc typescript fixes
jgw96 May 14, 2021
04e0817
chore(): move to browser-fs-access for safari fallback support
jgw96 May 14, 2021
d6d9111
chore(): typescript fixes
jgw96 May 14, 2021
a2d132b
chore(): move to file-system-access lib for simplicity and ease of ma…
jgw96 May 14, 2021
a854fc4
chore(): add lodash-es types package
jgw96 May 14, 2021
ddd5c8f
fix(): backup implementation is correct
jgw96 May 14, 2021
c5ddecd
chore(): misc typescript fixes
jgw96 May 14, 2021
d09b07a
chore(): various typescript fixes
jgw96 May 14, 2021
6238129
chore(): delete old assets so they dont get pre-cached
jgw96 May 14, 2021
0d0e5b3
Merge pull request #1716 from pwa-builder/delete-old-assets
lee-leonardo May 14, 2021
f4e2e77
Merge pull request #1715 from pwa-builder/typescript-fixes
lee-leonardo May 14, 2021
d5d6eca
chore(): update screenshots
jgw96 May 17, 2021
52e4132
fix(): width of accordion heading block on xxxlarge screens
jgw96 May 17, 2021
090833a
fix(): various css tweaks to better match the design
jgw96 May 17, 2021
1390ea0
fix(): intro grid item paragraphs should have standard width
jgw96 May 17, 2021
1222dea
Merge pull request #1720 from pwa-builder/home-page-paragraph-widths
lee-leonardo May 17, 2021
c6f0e5c
Merge pull request #1719 from pwa-builder/manifest-editor-width
lee-leonardo May 17, 2021
32fcecf
Merge pull request #1718 from pwa-builder/update-screenshots
lee-leonardo May 17, 2021
63ddda2
V3 ll misc (#1721)
lee-leonardo May 18, 2021
5be4d43
fix(): check for existence of item.entry first
jgw96 May 18, 2021
7771dc2
Merge pull request #1722 from pwa-builder/manifest-fix
lee-leonardo May 18, 2021
8483a3c
CSS variable refactor for buttons, keep things simple, removes some d…
lee-leonardo May 19, 2021
c58be64
chore(): update waiting page graphic
jgw96 May 19, 2021
35b8937
chore(): un-comment again
jgw96 May 19, 2021
d69b650
Merge pull request #1725 from pwa-builder/waiting-page-graphic-update
lee-leonardo May 19, 2021
29cea67
Small style tweaks and error catch for msn.com (#1727)
lee-leonardo May 21, 2021
9c53117
chore(): update text on the test package download modal
jgw96 May 24, 2021
f188ea8
fix(): circles-box needs to ignore pointer events so the back button …
jgw96 May 24, 2021
ad0f6ac
Merge pull request #1732 from pwa-builder/mobile-back-button-fix
lee-leonardo May 24, 2021
3202659
Merge pull request #1731 from pwa-builder/update-test-package-text
lee-leonardo May 24, 2021
687daa5
feat(): simplify URL handling (#1729)
jgw96 May 24, 2021
d55ca66
chore(): update generate button on basepack bage to be download
jgw96 May 24, 2021
88abcda
chore(): get rid of rollup warning
jgw96 May 24, 2021
2a7e7df
fix(): misc typescript and rollup warning fixes
jgw96 May 24, 2021
0257028
revert(): remove pointer-events: none
jgw96 May 24, 2021
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
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .deployment

This file was deleted.

5 changes: 4 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
**/*.vue
node_modules
dist
build
coverage
41 changes: 41 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"root": true,
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "eslint-plugin-import"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/typescript",
"plugin:eslint-plugin-import/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"overrides": [
{
"files": ["src/**/*.ts"],
"rules": {
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/ban-ts-comment": ["off"],
"@typescript-eslint/no-var-requires": ["off"],
"@typescript-eslint/prefer-ts-expect-error": ["on"]
}
},
{
"files": ["./rollup.config.js", "./rollup.config.dev.js"],
"env": {
"node": true
},
"extends": ["eslint:recommended"],
"rules": {
"@typescript-eslint/no-var-requires": ["off"]
}
}
]
}
45 changes: 45 additions & 0 deletions .github/workflows/azure-static-web-apps-nice-field-047c1420f.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Azure Static Web Apps CI/CD

on:
push:
branches:
- v3.0
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v3.0

jobs:
build_and_deploy_job:
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
runs-on: ubuntu-latest
name: Build and Deploy Job
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Build And Deploy
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_NICE_FIELD_047C1420F }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
###### Repository/Build Configurations - These values can be configured to match you app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: "api" # Api source code path - optional
output_location: "dist" # Built app content directory - optional
###### End of Repository/Build Configurations ######

close_pull_request_job:
if: github.event_name == 'pull_request' && github.event.action == 'closed'
runs-on: ubuntu-latest
name: Close Pull Request Job
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v0.0.1-preview
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_NICE_FIELD_047C1420F }}
action: "close"
43 changes: 43 additions & 0 deletions .github/workflows/deploy_web_app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# This workflow will build and push a node.js application to an Azure Web App when a release is created.
#
# This workflow assumes you have already created the target Azure App Service web app.
# For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
#
# To configure this workflow:
#
# 1. For Linux apps, add an app setting called WEBSITE_WEBDEPLOY_USE_SCM and set it to true in your app **before downloading the file**.
# For more instructions see: https://docs.microsoft.com/azure/app-service/configure-common#configure-app-settings
#
# 2. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
# For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
#
# 3. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
#
# For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
# For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
on:
push:
branches:
- v3.0
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- v3.0

env:
NODE_VERSION: '14.x' # set this to the node version to use

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag pwabuilder.azurecr.io/pwa-site-dev:latest

- name: Login
run: docker login pwabuilder.azurecr.io -u pwabuilder --password ${{secrets.azure}}

- name: Push
run: docker push pwabuilder.azurecr.io/pwa-site-dev:latest
41 changes: 0 additions & 41 deletions .github/workflows/docker-publish.yml

This file was deleted.

53 changes: 3 additions & 50 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,51 +1,4 @@
# See http://help.github.com/ignore-files/ for more about ignoring files.

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

.DS_Store

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# compiled output
/dist
/tmp

# dependencies
/node_modules
/bower_components

# misc
/.sass-cache
/connect.lock
/coverage/*
/libpeerconnection.log
npm-debug.log
testem.log
.nuxt/
.vs/
.coverage/
.nyc_output/
e2e-logs/
package.json
package-lock.json
.vscode/launch.json
node_modules
dist
build
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.10.0
14 changes: 0 additions & 14 deletions .nycrc

This file was deleted.

11 changes: 11 additions & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"quoteProps": "consistent",
"trailingComma": "es5",
"endOfLine": "crlf",
"bracketSpacing": true,
"arrowParens": "avoid"
}
19 changes: 0 additions & 19 deletions .stylelintrc

This file was deleted.

12 changes: 12 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"recommendations": [
"bierner.lit-html",
"runem.lit-plugin",
"esbenp.prettier-vscode",
"eg2.vscode-npm-script",
"christian-kohler.npm-intellisense",
"msjsdiag.debugger-for-edge",
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-next"
]
}
22 changes: 22 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
// VS Code debugger launch file. When you press F5 in VS Code,
// this debugger configuration will launch.
"version": "0.2.0",
"configurations": [
{
"name": "Debug in VSCode",
"type": "edge",
"request": "launch",
"version": "stable",
"url": "http://localhost:8000",
"webRoot": "${workspaceFolder}/build",
"sourceMaps": true,
"skipFiles": ["node_modules"],
"smartStep": true,
"pathMapping": {
"/": "${workspaceFolder}/build/index.html"
},
"preLaunchTask": "npm: debug"
}
]
}
10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
{
}
"editor.tabSize": 2,
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"typescript.tsdk": "node_modules/typescript/lib",
"files.saveConflictResolution": "askUser",
"typescript.tsc.autoDetect": "on",
"typescript.reportStyleChecksAsWarnings": true,
"typescript.validate.enable": true,
"javascript.validate.enable": true
}
28 changes: 28 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "npm: debug",
"type": "npm",
"script": "debug",
"isBackground": true,
"problemMatcher": [
{
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "Web Dev Server started"
}
}
]
}
]
}
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:14

EXPOSE 3000

WORKDIR /app
COPY . .

ENV PORT 80
RUN npm install

CMD npm start
Loading