Skip to content

Commit

Permalink
refactor: add angular 16 (#249)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Mar 14, 2024
1 parent e993d97 commit 1d986b5
Show file tree
Hide file tree
Showing 27 changed files with 9,602 additions and 7,200 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,13 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- uses: taiga-family/ci/actions/setup/checkout@v1.51.15
- uses: taiga-family/ci/actions/setup/node@v1.51.14
- run: npm run prettier -- --check
- run: npm run lint
- run: npm run test
- run: npm run build:library
- run: npm run build:demo
env:
NODE_OPTIONS: --openssl-legacy-provider

concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
Expand Down
10 changes: 0 additions & 10 deletions .npmrc

This file was deleted.

40 changes: 3 additions & 37 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,12 @@
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"aot": true,
"namedChunks": true
},
"configurations": {
"production": {
"aot": true,
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
Expand All @@ -70,7 +72,7 @@
"maximumWarning": "6kb"
}
],
"tsConfig": "tsconfig.json"
"tsConfig": "projects/demo/tsconfig.app.json"
}
},
"defaultConfiguration": ""
Expand All @@ -85,42 +87,6 @@
"browserTarget": "demo:build:production"
}
}
},
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/demo/server",
"main": "projects/demo/src/server.ts",
"tsConfig": "projects/demo/tsconfig.server.json",
"sourceMap": true,
"optimization": false
},
"configurations": {
"production": {
"outputHashing": "media",
"sourceMap": false,
"optimization": true
},
"development": {
"outputHashing": "media",
"sourceMap": true,
"optimization": false
}
},
"defaultConfiguration": "development"
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"options": {
"browserTarget": "demo:build",
"serverTarget": "demo:server"
},
"configurations": {
"production": {
"browserTarget": "demo:build:production",
"serverTarget": "demo:server:production"
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Config} from 'jest';
import type {Config} from 'jest';
import {resolve} from 'path';
import {pathsToModuleNameMapper} from 'ts-jest';

Expand Down
Loading

0 comments on commit 1d986b5

Please sign in to comment.