Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Commit 7c097aa

Browse files
authored
Merge pull request #103 from gentics/11.x-beta-ng13
11.x beta ng13
2 parents 4683257 + a8a12d9 commit 7c097aa

File tree

90 files changed

+43026
-9812
lines changed

Some content is hidden

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

90 files changed

+43026
-9812
lines changed

.browserslistrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
last 1 Chrome version
2+
last 1 Firefox version
3+
last 2 Edge major versions
4+
last 2 Safari major versions
5+
last 2 iOS major versions
6+
Firefox ESR
7+
not IE 11 # Angular supports IE 11 only as an opt-in. To opt-in, remove the 'not' prefix on this line.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ speed-measure-plugin.json
2626
.history/*
2727

2828
# misc
29+
/.angular/cache
2930
/.sass-cache
3031
/connect.lock
3132
/coverage

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16.14

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Gentics UI Core Changelog
22

3+
## 13.0.2 (2022-06-30)
4+
5+
### Features
6+
7+
* Add official support for Angular 13
8+
39
## 7.10.3 (2021-02-04)
410

511
### Fixes

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ platformBrowserDynamic().bootstrapModule(AppModule,
6363
6464
## View Encapsulation
6565
66-
Do not use any ViewEncapsulation other than `ViewEncapsulation.None` (which is the default), because some UI Core components use the CSS `/deep/` selector.
66+
Do not use any ViewEncapsulation other than `ViewEncapsulation.None` (which is the default), because some UI Core components use the CSS `::ng-deep` selector.
6767
6868
## Lazy Loading of Routes
6969
@@ -127,9 +127,9 @@ import 'web-animations-js'; // Run `npm install --save web-animations-js`.
127127
128128
```SCSS
129129
// styles.scss
130-
@import "~gentics-ui-core/styles/variables";
131-
@import "~gentics-ui-core/styles/mixins";
132-
@import "~gentics-ui-core/styles/core";
130+
@import "node_modules/gentics-ui-core/styles/variables";
131+
@import "node_modules/gentics-ui-core/styles/mixins";
132+
@import "node_modules/gentics-ui-core/styles/core";
133133

134134
// ...
135135
```

angular.json

Lines changed: 9 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"cli": {
4+
"analytics": "cf0654bf-8cab-499a-9d12-97a0bb50a155"
5+
},
36
"version": 1,
47
"newProjectRoot": "projects",
58
"projects": {
69
"gentics-ui-core": {
7-
"root": "",
10+
"root": "projects/gentics-ui-core",
811
"sourceRoot": "src",
912
"projectType": "library",
1013
"prefix": "gtx",
@@ -23,18 +26,6 @@
2326
"tsConfig": "projects/gentics-ui-core/tsconfig.spec.json",
2427
"karmaConfig": "projects/gentics-ui-core/karma.conf.js"
2528
}
26-
},
27-
"lint": {
28-
"builder": "@angular-devkit/build-angular:tslint",
29-
"options": {
30-
"tsConfig": [
31-
"projects/gentics-ui-core/tsconfig.lib.json",
32-
"projects/gentics-ui-core/tsconfig.spec.json"
33-
],
34-
"exclude": [
35-
"**/node_modules/**"
36-
]
37-
}
3829
}
3930
}
4031
},
@@ -45,23 +36,23 @@
4536
"prefix": "app",
4637
"schematics": {
4738
"@schematics/angular:component": {
48-
"styleext": "scss"
39+
"style": "scss"
4940
}
5041
},
5142
"architect": {
5243
"build": {
53-
"builder": "ngx-build-plus:build",
44+
"builder": "ngx-build-plus:browser",
5445
"options": {
5546
"outputPath": "dist/docs",
5647
"index": "src/docs/index.html",
5748
"main": "src/docs/main.ts",
5849
"polyfills": "src/docs/polyfills.ts",
5950
"tsConfig": "projects/docs/tsconfig.app.json",
60-
"extraWebpackConfig": "webpack.partial.js",
51+
"extraWebpackConfig": "projects/docs/webpack.partial.js",
6152
"assets": [
6253
"src/docs/assets",
6354
{ "glob": "**/*", "input": "../../node_modules/roboto-fontface-woff/fonts/roboto", "output": "./assets/fonts" },
64-
{ "glob": "**/*", "input": "../../node_modules/material-icons-font/fonts", "output": "./assets/fonts" },
55+
{ "glob": "**/*", "input": "../../node_modules/material-icons-font/fonts", "output": "./assets/fonts" }
6556
],
6657
"styles": [
6758
"src/docs/app.scss",
@@ -106,7 +97,7 @@
10697
"builder": "ngx-build-plus:dev-server",
10798
"options": {
10899
"browserTarget": "docs:build",
109-
"extraWebpackConfig": "webpack.partial.js"
100+
"extraWebpackConfig": "projects/docs/webpack.partial.js"
110101
},
111102
"configurations": {
112103
"production": {
@@ -136,18 +127,6 @@
136127
"src/docs/assets"
137128
]
138129
}
139-
},
140-
"lint": {
141-
"builder": "@angular-devkit/build-angular:tslint",
142-
"options": {
143-
"tsConfig": [
144-
"projects/docs/tsconfig.app.json",
145-
"projects/docs/tsconfig.spec.json"
146-
],
147-
"exclude": [
148-
"**/node_modules/**"
149-
]
150-
}
151130
}
152131
}
153132
}

gulpfile.js

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ const del = require('del');
66
const filter = require('gulp-filter');
77
const gutil = require('gulp-util');
88
const path = require('path');
9-
const sass = require('gulp-sass');
9+
const sass = require('gulp-sass')(require('sass'));
1010
const tildeImporter = require('node-sass-tilde-importer');
11-
const npmArgs = JSON.parse(process.env.npm_config_argv);
1211

1312
const paths = {
1413
src: {
@@ -43,22 +42,16 @@ gulp.task('assets', gulp.series(
4342

4443
// Run only when gentics-ui-core is building
4544
function buildDocsTasks() {
46-
if(npmArgs.remain.indexOf('gentics-ui-core') === -1) {
47-
return new Promise(gulp.series(
48-
cleanDocsFolder,
49-
copyDocsFiles,
50-
copyJekyllConfig
51-
));
52-
}
53-
return resolvePromiseDummy();
45+
return new Promise(gulp.series(
46+
cleanDocsFolder,
47+
copyDocsFiles,
48+
copyJekyllConfig
49+
));
5450
}
5551

5652
// Run only when gentics-ui-core is not building
5753
function buildUiCoreTasks() {
58-
if(npmArgs.remain.indexOf('gentics-ui-core') !== -1) {
59-
return new Promise(gulp.series(compileDistStyles, copyDistReadme));
60-
}
61-
return resolvePromiseDummy();
54+
return new Promise(gulp.series(compileDistStyles, copyDistReadme));
6255
}
6356

6457
function cleanDocsFolder() {

0 commit comments

Comments
 (0)