Skip to content

Commit

Permalink
Merge branch 'develop' into feature/inputStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrisdo82 committed Apr 26, 2024
2 parents 14c01c7 + 088749a commit 24b08db
Show file tree
Hide file tree
Showing 247 changed files with 10,062 additions and 4,569 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/.husky/
/.idea/
/.nx/
/license-reports/*.html
Expand Down
46 changes: 46 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/sh

#
# Validate branch name and append the ticket ID (from branch name) to commit messages.
# Modified version of: https://medium.com/@adrian.garcia.estaun/add-the-ticket-id-to-your-commit-messages-automatically-2debfa0fbe9d
#

ERROR_MESSAGE="Error: Branch name does not start with a ticket ID. Format: ticketID-branch-description. E.g.: '1234-update-tests'"

# Gets the commit message received as parameter and the current branch name.
COMMIT_MSG_FILE="$1"
COMMIT_SOURCE="$2"

# Skip merge commits
if [ "$COMMIT_SOURCE" = merge ]; then
exit 0
fi

message=$(cat "$COMMIT_MSG_FILE")
branchName=$(git symbolic-ref --short HEAD)

# Get the last part of the branch name. feature/foo/42-bugfix -> 42-bugfix
normalizedBranchName=$(echo "$branchName" | awk -F'/' '{print $NF}')

# Branch name starts with a ticket ID
if echo "$normalizedBranchName" | grep -qE '^[0-9]+[-_]'; then
# Get ticketID from branch name. Works with `-` or `_` as separator. 123-foobar -> 123
ticketID=$(echo "$normalizedBranchName" | sed -nE 's,([0-9]+)[_-].+,\1,p')

if [ -z "$ticketID" ]; then
echo "$ERROR_MESSAGE"
exit 1
fi

# Message already contains the ticket ID
if echo "$message" | grep -qE '#[0-9]+'; then
exit 0
fi

output="$message"$'\n'$'\n'"Refs: #$ticketID"

echo "$output" > "$1"
else
echo "$ERROR_MESSAGE"
exit 1
fi
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@
"packages/tools/visual-tests"
],
"useNx": true,
"version": "2.0.12"
"version": "2.0.14"
}
20 changes: 7 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,38 +10,32 @@
"unused": "pnpm -r unused",
"ts-prune": "git clean -f -d -X packages/adapters/**/src && pnpm -r exec npx ts-prune src -e",
"ncu:major": "ncu && pnpm -r exec ncu",
"ncu:minor": "ncu -t minor -u && pnpm -r exec ncu -t minor -u",
"ncu:minor": "ncu -t minor -u && pnpm -r exec ncu -t minor -u -x @unocss/*",
"ncu:patch": "ncu -t patch -u && pnpm -r exec ncu -t patch -u",
"pack": "pnpm -r exec pnpm pack",
"prepare": "pnpm exec playwright install && echo \"Don't forget to build all packages once: pnpm -r build\"",
"prepare:husky": "rimraf .husky && husky && npm-run-all prepare:husky:*",
"prepare:husky:commitlint": "echo \"npx commitlint --edit $1\" >> .husky/commit-msg",
"prepare:husky:depcheck": "echo \"pnpm -r depcheck\" >> .husky/pre-push",
"prepare:husky:format": "echo \"pnpm -r format\" >> .husky/pre-push",
"prepare:husky:lint": "echo \"pnpm -r lint\" >> .husky/pre-commit",
"prepare:husky:unused": "echo \"pnpm -r unused\" >> .husky/pre-push",
"prepare": "pnpm exec playwright install && husky && echo \"Don't forget to build all packages once: pnpm -r build\"",
"reinstall": "pnpm clean:pnpm && pnpm i",
"test": "pnpm -r test",
"test-reset-and-update": "rimraf packages/themes/**/snapshots/** && pnpm test-update",
"test-update": "pnpm -r test-update",
"update": "pnpm ncu:patch && pnpm ncu:minor && pnpm ncu:major"
},
"devDependencies": {
"@commitlint/cli": "19.2.1",
"@commitlint/config-conventional": "19.1.0",
"@commitlint/cli": "19.3.0",
"@commitlint/config-conventional": "19.2.2",
"@types/node": "ts5.4",
"cross-env": "7.0.3",
"husky": "9.0.11",
"lerna": "8.1.2",
"license-report": "6.5.0",
"lint-staged": "15.2.2",
"npm-check-updates": "16.14.18",
"npm-check-updates": "16.14.20",
"npm-run-all": "4.1.5",
"pnpm": "8.15.5",
"pnpm": "8.15.7",
"prettier": "3.2.5",
"rimraf": "5.0.5",
"ts-node": "10.9.2",
"ts-prune": "0.10.3",
"typescript": "5.4.3"
"typescript": "5.4.5"
}
}
6 changes: 3 additions & 3 deletions packages/adapters/angular/v11/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v11",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "11.2.14",
"@angular/compiler-cli": "11.2.14",
"@angular/core": "11.2.14",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts4.1",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "11.2.14",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/angular/v12/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v12",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "12.2.17",
"@angular/compiler-cli": "12.2.17",
"@angular/core": "12.2.17",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts4.3",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "12.2.17",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/angular/v13/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v13",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "13.4.0",
"@angular/compiler-cli": "13.4.0",
"@angular/core": "13.4.0",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts4.6",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "13.4.0",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/angular/v14/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v14",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "14.3.0",
"@angular/compiler-cli": "14.3.0",
"@angular/core": "14.3.0",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts4.8",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "14.3.0",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/angular/v15/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v15",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "15.2.10",
"@angular/compiler-cli": "15.2.10",
"@angular/core": "15.2.10",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts4.9",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "15.2.10",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/angular/v16/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v16",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -70,7 +70,7 @@
"@angular/compiler": "16.2.12",
"@angular/compiler-cli": "16.2.12",
"@angular/core": "16.2.12",
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts5.1",
Expand All @@ -84,7 +84,7 @@
},
"peerDependencies": {
"@angular/core": "16.2.12",
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
18 changes: 9 additions & 9 deletions packages/adapters/angular/v17/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/angular-v17",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -66,11 +66,11 @@
"import": "./dist/index.js"
},
"devDependencies": {
"@angular/common": "17.3.1",
"@angular/compiler": "17.3.1",
"@angular/compiler-cli": "17.3.1",
"@angular/core": "17.3.1",
"@public-ui/components": "2.0.12",
"@angular/common": "17.3.6",
"@angular/compiler": "17.3.6",
"@angular/compiler-cli": "17.3.6",
"@angular/core": "17.3.6",
"@public-ui/components": "2.0.14",
"@types/minimatch": "5.1.2",
"@types/minimist": "1.2.5",
"@types/node": "ts5.3",
Expand All @@ -79,12 +79,12 @@
"rimraf": "5.0.5",
"rxjs": "7.8.1",
"tslib": "2.6.2",
"typescript": "5.4.3",
"typescript": "5.4.5",
"zone.js": "0.14.4"
},
"peerDependencies": {
"@angular/core": "17.3.1",
"@public-ui/components": "2.0.12"
"@angular/core": "17.3.6",
"@public-ui/components": "2.0.14"
},
"files": [
"dist"
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/hydrate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/hydrate",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -49,11 +49,11 @@
"prepack": "npm run build"
},
"devDependencies": {
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"rimraf": "5.0.5"
},
"peerDependencies": {
"@public-ui/components": "2.0.12"
"@public-ui/components": "2.0.14"
},
"sideEffects": false,
"type": "commonjs",
Expand Down
14 changes: 7 additions & 7 deletions packages/adapters/preact/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/preact",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -49,17 +49,17 @@
"prepack": "unbuild"
},
"dependencies": {
"@public-ui/react": "2.0.12"
"@public-ui/react": "2.0.14"
},
"devDependencies": {
"@public-ui/components": "2.0.12",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.4.3",
"@public-ui/components": "2.0.14",
"react": "18.3.0",
"react-dom": "18.3.0",
"typescript": "5.4.5",
"unbuild": "1.2.1"
},
"peerDependencies": {
"preact": ">=10.20.1"
"preact": ">=10.20.2"
},
"sideEffects": false,
"type": "module",
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/react-standalone/kolibri-rock's.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>

<!-- KoliBri -->
<script crossorigin src="https://unpkg.com/@public-ui/components@2.0.12/dist/kolibri/kolibri.esm.js" type="module"></script>
<script crossorigin src="https://unpkg.com/@public-ui/react-standalone@2.0.12/dist/index.mjs" type="module"></script>
<script crossorigin src="https://unpkg.com/@public-ui/components@2.0.14/dist/kolibri/kolibri.esm.js" type="module"></script>
<script crossorigin src="https://unpkg.com/@public-ui/react-standalone@2.0.14/dist/index.mjs" type="module"></script>

<!-- Babel -->
<script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>
Expand All @@ -23,7 +23,7 @@
<main id="app"></main>

<script type="module">
import { register } from 'https://unpkg.com/@public-ui/components@2.0.12/dist/esm/index.js';
import { register } from 'https://unpkg.com/@public-ui/components@2.0.14/dist/esm/index.js';
import { DEFAULT } from 'https://unpkg.com/@public-ui/themes/dist/index.mjs';
register(DEFAULT, []).catch(console.warn);
</script>
Expand Down
6 changes: 3 additions & 3 deletions packages/adapters/react-standalone/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@public-ui/react-standalone",
"version": "2.0.12",
"version": "2.0.14",
"license": "EUPL-1.2",
"homepage": "https://public-ui.github.io",
"repository": {
Expand Down Expand Up @@ -50,12 +50,12 @@
"prepare": "rimraf dist && cpy \"node_modules/@public-ui/react/dist/*.mjs\" dist --dot"
},
"devDependencies": {
"@public-ui/react": "2.0.12",
"@public-ui/react": "2.0.14",
"cpy-cli": "5.0.0",
"rimraf": "5.0.5"
},
"peerDependencies": {
"@public-ui/components": "2.0.12",
"@public-ui/components": "2.0.14",
"react": ">=16.14.0",
"react-dom": ">=16.14.0"
},
Expand Down
Loading

0 comments on commit 24b08db

Please sign in to comment.