Skip to content

Commit

Permalink
Angular 16 upgrade (#92)
Browse files Browse the repository at this point in the history
* @angular-eslint/schematics@14

* schematics

* update angular@14

* update angular@15

* @angular-eslint/schematics@15

* update angular@16

* @angular-eslint/schematics@16

* update tailwindcss

* chore: update webpack and eslint

* chore: update dependencies

* Update buildsize.yml

* Update cypress-tests.yml

* Update lighthouse.yml

* Update tests.yml

* Update cypress-tests.yml

* Update cypress-tests.yml

* chore: update cypress

* fix: prod build
  • Loading branch information
Microwawe authored Oct 21, 2023
1 parent 0fb15b8 commit 0ac37b9
Show file tree
Hide file tree
Showing 11 changed files with 14,350 additions and 9,044 deletions.
18 changes: 0 additions & 18 deletions .browserslistrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/buildsize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16'
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
with:
component: true
command: npm run test:component
env:
ELECTRON_EXTRA_LAUNCH_ARGS: '--disable-gpu'
6 changes: 3 additions & 3 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
lighthouseci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16'
Expand All @@ -16,8 +16,8 @@ jobs:
${{ runner.os }}-node-
- run: npm install
- run: npm install -g @angular/cli
- run: npm install -g @lhci/cli@0.6.x
- run: ng build --prod
- run: npm install -g @lhci/cli
- run: ng build
- run: lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: '16.x'
Expand All @@ -15,5 +15,5 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- run: npm install
- run: npm install -g @angular/cli@13
- run: npm install -g @angular/cli
- run: ng test --watch=false
10 changes: 7 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"customWebpackConfig": {
"path": "./webpack.config.js"
},
"allowedCommonJsDependencies": ["prismjs", "tailwindcss/colors"],
"outputPath": "dist/mamba-ui",
"index": "src/index.html",
"main": "src/main.ts",
Expand Down Expand Up @@ -62,7 +63,11 @@
"with": "src/environments/environment.prod.ts"
}
],
"optimization": true,
"optimization": {
"styles": {
"inlineCritical": false
}
},
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
Expand Down Expand Up @@ -174,6 +179,5 @@
}
}
}
},
"defaultProject": "mamba-ui"
}
}
Loading

1 comment on commit 0ac37b9

@vercel
Copy link

@vercel vercel bot commented on 0ac37b9 Oct 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mamba-ui – ./

mamba-ui-git-master-microwawe.vercel.app
mamba-ui-microwawe.vercel.app

Please sign in to comment.