Skip to content

Commit 02e821b

Browse files
feat: initialize updated-demo app with Angular components and configu… (#78)
* feat: initialize updated-demo app with Angular components and configuration * fix(package): fix broken packege in merge * fix(breakpoint): fix broken breakpoint * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml * Update ci.yml
1 parent 7fa47d7 commit 02e821b

File tree

84 files changed

+7491
-2690
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+7491
-2690
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,10 @@ jobs:
155155
pnpm build:universal-demo-app
156156
157157
publish_snapshots:
158+
environment: FLEX_LAYOUT_BUILDS_TOKEN
158159
runs-on: ubuntu-latest
159160
needs: [tests_local_browsers, integration_tests]
160-
if: github.event_name == 'push' && github.event.pull_request == null
161+
# if: github.event_name == 'push' && github.event.pull_request == null
161162
steps:
162163
- name: Checkout code
163164
uses: actions/checkout@v4

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add files here to ignore them from prettier formatting
2+
/dist
3+
/coverage
4+
/.nx/cache
5+
/.nx/workspace-data
6+
.angular

eslint.config.cjs

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
const nx = require('@nx/eslint-plugin');
2+
3+
module.exports = [
4+
...nx.configs['flat/base'],
5+
...nx.configs['flat/typescript'],
6+
...nx.configs['flat/javascript'],
7+
{
8+
ignores: ['**/dist'],
9+
},
10+
{
11+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
12+
rules: {
13+
'@nx/enforce-module-boundaries': [
14+
'error',
15+
{
16+
enforceBuildableLibDependency: true,
17+
allow: ['^.*/eslint(\\.base)?\\.config\\.[cm]?js$'],
18+
depConstraints: [
19+
{
20+
sourceTag: '*',
21+
onlyDependOnLibsWithTags: ['*'],
22+
},
23+
],
24+
},
25+
],
26+
},
27+
},
28+
{
29+
files: [
30+
'**/*.ts',
31+
'**/*.tsx',
32+
'**/*.js',
33+
'**/*.jsx',
34+
'**/*.cjs',
35+
'**/*.mjs',
36+
],
37+
// Override or add rules here
38+
rules: {},
39+
},
40+
];

migrations.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"migrations": [
3+
{
4+
"cli": "nx",
5+
"version": "20.4.0-beta.1",
6+
"requires": { "@angular/core": ">=19.1.0" },
7+
"description": "Update the @angular/cli package version to ~19.1.0.",
8+
"factory": "./src/migrations/update-20-4-0/update-angular-cli",
9+
"package": "@nx/angular",
10+
"name": "update-angular-cli-version-19-1-0"
11+
}
12+
]
13+
}

nx.json

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,31 @@
33
"targetDefaults": {
44
"build": {
55
"cache": true,
6-
"dependsOn": [
7-
"^build"
8-
],
9-
"inputs": [
10-
"production",
11-
"^production"
12-
]
6+
"dependsOn": ["^build"],
7+
"inputs": ["production", "^production"]
138
},
149
"test": {
10+
"cache": true,
11+
"inputs": ["default", "^production"]
12+
},
13+
"@angular-devkit/build-angular:application": {
14+
"cache": true,
15+
"dependsOn": ["^build"],
16+
"inputs": ["production", "^production"]
17+
},
18+
"@nx/eslint:lint": {
1519
"cache": true,
1620
"inputs": [
1721
"default",
18-
"^production"
22+
"{workspaceRoot}/.eslintrc.json",
23+
"{workspaceRoot}/.eslintignore",
24+
"{workspaceRoot}/eslint.config.cjs"
1925
]
2026
}
2127
},
2228
"namedInputs": {
2329
"sharedGlobals": [],
24-
"default": [
25-
"{projectRoot}/**/*",
26-
"sharedGlobals"
27-
],
30+
"default": ["{projectRoot}/**/*", "sharedGlobals"],
2831
"production": [
2932
"default",
3033
"!{projectRoot}/tsconfig.spec.json",

package.json

Lines changed: 46 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"start": "nx serve demo-app",
1919
"build": "nx build @ngbracket/ngx-layout",
2020
"demo:serve": "nx serve demo-app",
21+
"updated:demo": "nx serve updated-demo",
2122
"stamp": "ts-node tools/package-tools/version-placeholders.ts --module=commonjs",
2223
"build:demo-app": "nx run demo-app:build:production",
2324
"build:universal-demo-app": "nx run universal-demo-app:build:production",
@@ -32,42 +33,54 @@
3233
"private": true,
3334
"requiredAngularVersion": ">=19.0.0",
3435
"dependencies": {
35-
"@angular/animations": "19.0.3",
36-
"@angular/common": "19.0.3",
37-
"@angular/compiler": "19.0.3",
38-
"@angular/core": "19.0.3",
39-
"@angular/forms": "19.0.3",
40-
"@angular/material": "^19.0.2",
41-
"@angular/platform-browser": "19.0.3",
42-
"@angular/platform-browser-dynamic": "19.0.3",
43-
"@angular/platform-server": "19.0.3",
44-
"@angular/router": "19.0.3",
45-
"@angular/ssr": "^19.0.4",
36+
"@angular/animations": "19.1.6",
37+
"@angular/common": "19.1.6",
38+
"@angular/compiler": "19.1.6",
39+
"@angular/core": "19.1.6",
40+
"@angular/forms": "19.1.6",
41+
"@angular/material": "19.1.4",
42+
"@angular/platform-browser": "19.1.6",
43+
"@angular/platform-browser-dynamic": "19.1.6",
44+
"@angular/platform-server": "19.1.6",
45+
"@angular/router": "19.1.6",
46+
"@angular/ssr": "19.1.7",
4647
"express": "^4.21.2",
4748
"rxjs": "^7.8.1",
4849
"tslib": "^2.8.1",
4950
"zone.js": "^0.15.0"
5051
},
5152
"devDependencies": {
52-
"@angular-devkit/build-angular": "^19.0.4",
53-
"@angular-devkit/core": "19.0.4",
54-
"@angular-devkit/schematics": "19.0.4",
55-
"@angular/cdk": "^19.0.2",
56-
"@angular/cli": "19.0.4",
57-
"@angular/compiler-cli": "19.0.3",
58-
"@angular/language-service": "19.0.3",
59-
"@ngtools/webpack": "19.0.4",
60-
"@nx/angular": "20.3.2",
61-
"@nx/workspace": "20.3.2",
62-
"@schematics/angular": "19.0.4",
53+
"@angular-devkit/build-angular": "19.1.7",
54+
"@angular-devkit/core": "19.1.7",
55+
"@angular-devkit/schematics": "19.1.7",
56+
"@angular/cdk": "19.1.4",
57+
"@angular/cli": "~19.1.7",
58+
"@angular/compiler-cli": "19.1.6",
59+
"@eslint/js": "^9.20.0",
60+
"@angular/language-service": "19.1.6",
61+
"@ngtools/webpack": "^19.1.7",
62+
"@nx/angular": "20.4.4",
63+
"@nx/eslint": "20.4.4",
64+
"@nx/eslint-plugin": "20.4.4",
65+
"@nx/js": "20.4.4",
66+
"@nx/web": "20.4.4",
67+
"@nx/workspace": "20.4.4",
68+
"@schematics/angular": "19.1.7",
69+
"@swc-node/register": "~1.9.2",
70+
"@swc/core": "~1.5.29",
71+
"@swc/helpers": "~0.5.15",
6372
"@types/express": "^4.17.21",
64-
"@types/jasmine": "^5.1.5",
73+
"@types/jasmine": "^5.1.6",
6574
"@types/minimatch": "^5.1.2",
66-
"@types/node": "^20.17.9",
75+
"@types/node": "^20.17.19",
76+
"@typescript-eslint/utils": "^8.24.0",
77+
"angular-eslint": "^19.1.0",
6778
"autoprefixer": "^10.4.0",
6879
"conventional-changelog-cli": "^4.1.0",
69-
"jasmine": "^5.5.0",
70-
"jasmine-core": "^5.5.0",
80+
"eslint": "^9.20.1",
81+
"eslint-config-prettier": "^9.1.0",
82+
"jasmine": "^5.6.0",
83+
"jasmine-core": "^5.6.0",
7184
"karma": "^6.4.4",
7285
"karma-browserstack-launcher": "^1.6.0",
7386
"karma-chrome-launcher": "^3.2.0",
@@ -78,18 +91,20 @@
7891
"karma-parallel": "^0.3.1",
7992
"karma-sauce-launcher": "^4.3.6",
8093
"minimatch": "^9.0.5",
81-
"ng-packagr": "^19.0.1",
82-
"nx": "20.3.2",
83-
"postcss": "^8.4.49",
94+
"ng-packagr": "19.1.2",
95+
"nx": "20.4.4",
96+
"postcss": "^8.5.2",
8497
"postcss-scss": "^4.0.9",
98+
"prettier": "^2.8.8",
8599
"postcss-url": "~10.1.3",
86100
"protractor": "^7.0.0",
87101
"stylelint": "^15.11.0",
88102
"ts-node": "^10.9.2",
89103
"tslint": "^6.1.3",
90104
"tsutils": "^3.21.0",
91-
"typescript": "^5.5.3",
92-
"webpack": "^5.97.1",
105+
"typescript": "^5.7.3",
106+
"typescript-eslint": "^8.24.0",
107+
"webpack": "^5.98.0",
93108
"webpack-cli": "^5.1.4"
94109
},
95110
"pnpm": {

0 commit comments

Comments
 (0)