Compare commits

..

8 Commits

Author SHA1 Message Date
Rainer Killinger
5c379a029a refactor: update to node 22
refactor: remove deprecated "jetifier"
refactor: base migration to Angular v18
fix: angular warning
refactor: update capacitor to v6
refactor: update ngx-markdown to v18
refactor: update to ionic v8
refactor: remove deprecated @ionic-native/core (replaced by @awesome-cordova-plugins/core)
fix: build
fix: test
feat: temporarily use external node image in ci
feat: update to node 22
refactor: rebase
fix: prettier depencencies
ci: update android commandline tools
fix: prettier package type
ci: let pnpm handle build dependencies
refactor: revert to pnpm 8, angular 17
2025-06-30 10:47:29 +02:00
Rainer Killinger
f188576ca9 refactor: update pnpm to v10 2025-06-30 10:47:10 +02:00
Rainer Killinger
a3af1677d2 refactor: test ubuntu image in build stage 2025-06-25 15:12:05 +02:00
Rainer Killinger
2bbb127efd fix: app e2e cypress tests 2025-06-25 15:12:04 +02:00
Rainer Killinger
cbecd75547 refactor: add vscode launch json 2025-06-25 15:12:04 +02:00
Rainer Killinger
edf7384698 fix: api-client e2e test 2025-06-25 15:12:04 +02:00
Rainer Killinger
52ad5c081f fix: tests aborting early 2025-06-25 15:12:04 +02:00
77f41e1b15 refactor: update to node 22
refactor: remove deprecated "jetifier"
refactor: base migration to Angular v18
fix: angular warning
refactor: update capacitor to v6
refactor: update ngx-markdown to v18
refactor: update to ionic v8
refactor: remove deprecated @ionic-native/core (replaced by @awesome-cordova-plugins/core)
fix: build
fix: test
feat: temporarily use external node image in ci
feat: update to node 22
refactor: rebase
fix: prettier depencencies
ci: update android commandline tools
fix: prettier package type
ci: let pnpm handle build dependencies
refactor: revert to pnpm 8, angular 17
2025-06-25 15:11:58 +02:00
62 changed files with 85 additions and 308 deletions

View File

@@ -0,0 +1,5 @@
---
"@openstapps/app": patch
---
Migrated IonIcons replacer to a custom component

View File

@@ -0,0 +1,7 @@
---
"@openstapps/app": patch
---
Migrated to Ionic standalone components
Angular ESBuild will not work with `IonicModule` apps

View File

@@ -0,0 +1,5 @@
---
"@openstapps/app": patch
---
Migrated to Angular ESBuild

View File

@@ -24,13 +24,16 @@ variables:
TURBO_CACHE_BYPASS: "--force --no-cache"
default:
image: registry.gitlab.com/openstapps/openstapps/node-builder
image: registry.gitlab.com/openstapps/openstapps/node-builder:node-22
tags:
- saas-linux-xlarge-amd64
interruptible: true
before_script:
- corepack enable
- corepack prepare pnpm@latest-10 --activate
# - echo TURBO_API=$TURBO_API >> .env.local
# - echo TURBO_TOKEN=$TURBO_TOKEN >> .env.local
# - echo TURBO_TEAM=$TURBO_TEAM >> .env.local
- pnpm config set store-dir .pnpm-store
cache: &pnpm_cache
key:
@@ -47,6 +50,16 @@ stages:
- audit
- publish
build ubuntu:
image: registry.gitlab.com/openstapps/openstapps/app-builder:node-22
stage: build
script:
- pnpm install
- pnpm build:full $TURBO_CACHE_BYPASS
cache: []
rules:
- !reference [.limit_pipelines, rules]
build:
stage: build
script:
@@ -92,11 +105,17 @@ stop review:
rules: *deploy-rules
unit:
image: registry.gitlab.com/openstapps/openstapps/app-builder
image: registry.gitlab.com/openstapps/openstapps/app-builder:node-22
stage: test
needs: ['build']
script:
# - pnpm config set recursive-install false
# - pnpm i --prefer-offline
# - pnpm test:skip || pnpm i -r --prefer-offline
- pnpm install
# - cd node_modules/.pnpm/re2*/node_modules/re2
# - npm run install
# - cd $CI_PROJECT_DIR
- pnpm test $TURBO_CACHE_BYPASS
coverage: '/Statements[^:]*\:[^:]*\s+([\d\.]+)%/'
artifacts:

View File

@@ -27,7 +27,7 @@ publish image:
- tags
needs: ['deploy']
image:
name: gcr.io/kaniko-project/executor:v1.24.0-debug
name: gcr.io/kaniko-project/executor:v1.12.1-debug
entrypoint: [""]
script:
- >

View File

@@ -1,5 +1,5 @@
integration:
image: registry.gitlab.com/openstapps/openstapps/node-builder
image: registry.gitlab.com/openstapps/openstapps/node-builder:node-22
stage: test
needs: ['build']
variables:
@@ -10,7 +10,7 @@ integration:
alias: elasticsearch
script:
- pnpm install
- pnpm test:integration:backend --force --no-cache
- pnpm test:integration:backend
artifacts:
when: on_failure
paths:

View File

@@ -1,18 +1,5 @@
# @openstapps/backend
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/core@4.0.0
- @openstapps/core-tools@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/backend",
"description": "A reference implementation for a StApps backend",
"version": "4.0.0",
"version": "3.3.2",
"private": true,
"type": "module",
"license": "AGPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/database
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.2.0
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/database",
"version": "4.0.0",
"version": "3.2.0",
"private": true,
"files": [
"config",

View File

@@ -1,16 +1,5 @@
# @openstapps/proxy
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/logger@4.0.0
## 3.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/proxy",
"description": "NGINX proxy that is dynamically configured by a Node.js script",
"version": "4.0.0",
"version": "3.0.0",
"private": true,
"type": "module",
"license": "AGPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/backend-config
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Major Changes
@@ -36,7 +30,7 @@
```js
#!/usr/bin/env node
import "./lib/app.js";
import './lib/app.js';
```
- 64caebaf: Migrate to ESM
@@ -111,7 +105,7 @@
```js
#!/usr/bin/env node
import "./lib/app.js";
import './lib/app.js';
```
- 64caebaf: Migrate to ESM

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/backend-config",
"description": "Backend Configuration for OpenStApps",
"version": "4.0.0",
"version": "3.0.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/eslint-config
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Major Changes
@@ -36,7 +30,7 @@
```js
#!/usr/bin/env node
import "./lib/app.js";
import './lib/app.js';
```
- 64caebaf: Migrate to ESM
@@ -81,14 +75,11 @@
- 64caebaf: Migrated changelogs to changeset format
```js
import fs from "fs";
import fs from 'fs';
const path = "packages/logger/CHANGELOG.md";
const path = 'packages/logger/CHANGELOG.md';
fs.writeFileSync(
path,
fs.readFileSync(path, "utf8").replace(/^#+\s+\[/gm, "## ["),
);
fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## ['));
```
- 98546a97: Migrate away from @openstapps/configuration
@@ -131,7 +122,7 @@
```js
#!/usr/bin/env node
import "./lib/app.js";
import './lib/app.js';
```
- 64caebaf: Migrate to ESM
@@ -176,14 +167,11 @@
- 64caebaf: Migrated changelogs to changeset format
```js
import fs from "fs";
import fs from 'fs';
const path = "packages/logger/CHANGELOG.md";
const path = 'packages/logger/CHANGELOG.md';
fs.writeFileSync(
path,
fs.readFileSync(path, "utf8").replace(/^#+\s+\[/gm, "## ["),
);
fs.writeFileSync(path, fs.readFileSync(path, 'utf8').replace(/^#+\s+\[/gm, '## ['));
```
- 98546a97: Migrate away from @openstapps/configuration

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/eslint-config",
"description": "A collection of configuration base files for StApps projects. Just an (unused) experiment for now.",
"version": "4.0.0",
"version": "3.0.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/eslint-config.git",

View File

@@ -1,11 +1,5 @@
# @openstapps/prettier-config
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.2.0
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/prettier-config",
"description": "StApps Prettier Config",
"version": "4.0.0",
"version": "3.2.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/prettier-config.git",

View File

@@ -1,18 +1,5 @@
# @openstapps/projectmanagement
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/collection-utils@4.0.0
- @openstapps/gitlab-api@4.0.0
- @openstapps/logger@4.0.0
## 3.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/projectmanagement",
"description": "Main documentation and scripts for maintenance.",
"version": "4.0.0",
"version": "3.0.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/tsconfig
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.3.0
### Minor Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/tsconfig",
"description": "The tsconfig for the openstapps project",
"version": "4.0.0",
"version": "3.3.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/eslint-config.git",

View File

@@ -1,18 +1,5 @@
# @openstapps/minimal-connector
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/api@4.0.0
- @openstapps/core@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/minimal-connector",
"description": "This is a minimal connector which serves as an example",
"version": "4.0.0",
"version": "3.3.2",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/minimal-deployment
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/minimal-deployment",
"version": "4.0.0",
"version": "3.0.0",
"private": true,
"files": [
"database",

View File

@@ -1,20 +1,5 @@
# @openstapps/minimal-plugin
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/api@4.0.0
- @openstapps/api-plugin@4.0.0
- @openstapps/core@4.0.0
- @openstapps/core-tools@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/minimal-plugin",
"description": "Minimal Plugin",
"version": "4.0.0",
"version": "3.3.2",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,10 +1,13 @@
e2e:
image: registry.gitlab.com/openstapps/openstapps/app-cypress
image: registry.gitlab.com/openstapps/openstapps/app-cypress:node-22
stage: test
script:
- pnpm install
- pnpm --filter=@openstapps/app exec cypress install
- pnpm test:integration:app --force --no-cache
# - cd node_modules/.pnpm/re2*/node_modules/re2
# - npm run install
# - cd $CI_PROJECT_DIR
- pnpm test:integration:app
artifacts:
when: on_failure
paths:

View File

@@ -1,24 +1,5 @@
# @openstapps/app
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- b8ac30b9: Migrated IonIcons replacer to a custom component
- b8ac30b9: Migrated to Ionic standalone components
Angular ESBuild will not work with `IonicModule` apps
- b8ac30b9: Migrated to Angular ESBuild
- Updated dependencies [c8e29020]
- @openstapps/api@4.0.0
- @openstapps/collection-utils@4.0.0
- @openstapps/core@4.0.0
## 3.3.5
### Patch Changes

View File

@@ -16,8 +16,7 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import equal from 'fast-deep-equal';
import {extendsDeepEqual} from '@openstapps/collection-utils';
import {CORE_VERSION, SCIndexResponse, SCSearchRequest, SCSearchResponse} from '@openstapps/core';
import * as defaultConfig from '../../fixtures/config/default-config.json';
import {SCSearchRequest, SCSearchResponse} from '@openstapps/core';
type InterceptArguments = {
fixture?: string | SCSearchResponse | ((request: SCSearchRequest) => SCSearchResponse);
@@ -35,12 +34,7 @@ type InterceptArguments = {
*
*/
export function interceptConfig(config?: string) {
let localConfig: SCIndexResponse = defaultConfig as unknown as SCIndexResponse;
localConfig.backend.SCVersion = CORE_VERSION;
cy.intercept(
{url: '/', method: 'POST'},
config ? {fixture: config} : {body: JSON.stringify(localConfig)},
).as('config');
cy.intercept({url: '/', method: 'POST'}, {fixture: config || 'config/default-config.json'}).as('config');
}
/**

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/app",
"description": "The generic app tailored to fulfill needs of German universities, written using Ionic Framework.",
"version": "4.0.0",
"version": "3.3.5",
"private": true,
"license": "GPL-3.0-only",
"author": "Karl-Philipp Wulfert <krlwlfrt@gmail.com>",

View File

@@ -1,11 +1,5 @@
# @openstapps/app-builder-image
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.1.0
### Minor Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/app-builder-image",
"version": "4.0.0",
"version": "3.1.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,9 +1,3 @@
# @openstapps/app-cypress
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/app-cypress",
"version": "4.0.0",
"version": "3.0.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/node-base
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.2.0
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/node-base",
"version": "4.0.0",
"version": "3.2.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -1,11 +1,5 @@
# @openstapps/node-builder
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.2.0
### Patch Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/node-builder",
"version": "4.0.0",
"version": "3.2.0",
"private": true,
"type": "module",
"license": "GPL-3.0-only",

View File

@@ -32,12 +32,12 @@
"devDependencies": {
"@changesets/changelog-git": "0.1.14",
"@changesets/cli": "2.26.1",
"merge-cobertura": "1.0.1",
"deepmerge": "4.3.1",
"dotenv-cli": "7.2.1",
"glob": "10.3.10",
"http-server": "14.1.1",
"junit-report-merger": "6.0.3",
"merge-cobertura": "1.0.1",
"prettier": "3.1.1",
"syncpack": "12.3.0",
"turbo": "1.13.4",

View File

@@ -1,19 +1,5 @@
# @openstapps/api-cli
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/api@4.0.0
- @openstapps/core@4.0.0
- @openstapps/core-tools@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/api-cli",
"description": "CLI client for @openstapps/api",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/api.git",

View File

@@ -1,19 +1,5 @@
# @openstapps/api-plugin
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/api@4.0.0
- @openstapps/core@4.0.0
- @openstapps/core-tools@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/api-plugin",
"description": "Node.js library to interact with the StApps backend service",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/api.git",

View File

@@ -1,16 +1,5 @@
# @openstapps/api
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/core@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/api",
"description": "Node.js library to interact with the StApps backend service",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/api.git",

View File

@@ -1,11 +1,5 @@
# @openstapps/collection-utils
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Major Changes

View File

@@ -1,6 +1,6 @@
{
"name": "@openstapps/collection-utils",
"version": "4.0.0",
"version": "3.0.0",
"type": "module",
"license": "GPL-3.0-only",
"main": "lib/index.js",

View File

@@ -1,18 +1,5 @@
# @openstapps/core-tools
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/collection-utils@4.0.0
- @openstapps/easy-ast@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/core-tools",
"description": "Tools to convert and validate StAppsCore",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/core-tools.git",

View File

@@ -1,16 +1,5 @@
# @openstapps/core
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/core-tools@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/core",
"description": "StAppsCore - Generalized model of data",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/core.git",

View File

@@ -1,17 +1,5 @@
# @openstapps/easy-ast
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/collection-utils@4.0.0
- @openstapps/logger@4.0.0
## 3.3.2
### Patch Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/easy-ast",
"description": "Tool to easily handle TypeScript AST",
"version": "4.0.0",
"version": "3.3.2",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/core-tools.git",

View File

@@ -1,11 +1,5 @@
# @openstapps/es-mapping-generator
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/es-mapping-generator",
"description": "Tool to convert TypeScript Interfaces to Elasticsearch Mappings",
"version": "4.0.0",
"version": "3.0.0",
"type": "commonjs",
"license": "GPL-3.0-only",
"author": "Thea Schöbl <dev@theaninova.de>",

View File

@@ -1,16 +1,5 @@
# @openstapps/gitlab-api
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
### Patch Changes
- Updated dependencies [c8e29020]
- @openstapps/logger@4.0.0
## 3.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/gitlab-api",
"description": "Wraps common GitLab API calls in a TypeScript class.",
"version": "4.0.0",
"version": "3.0.0",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/gitlab-api.git",

View File

@@ -1,11 +1,5 @@
# @openstapps/logger
## 4.0.0
### Major Changes
- c8e29020: Update to Node 22
## 3.0.0
### Major Changes

View File

@@ -1,7 +1,7 @@
{
"name": "@openstapps/logger",
"description": "A cli logger with colors, log-levels and the possibility to use a transport system for errors",
"version": "4.0.0",
"version": "3.0.0",
"type": "module",
"license": "GPL-3.0-only",
"repository": "git@gitlab.com:openstapps/logger.git",

View File

@@ -17,8 +17,6 @@ onlyBuiltDependencies:
- ssh2
- swiper
# PNPM 8 defaults:
forceLegacyDeploy: True
# linkWorkspacePackages: true
# hoistWorkspacePackages: false
# dedupePeerDependents: false