-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
715 additions
and
759 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// https://github.com/nadeesha/ts-prune | ||
module.exports = { | ||
/** | ||
* arg-types: werden für die auto-generierten Storybook-Stories benötigt | ||
* form: die Formular-Daten werden in einer mdx-Datei verwendet | ||
* index: die Index-Datei exportiert die API für andere Module | ||
* stories: die Storybook-Datei exportiert die Storybook-Stories | ||
*/ | ||
ignore: 'assets|dist|(arg-types|form/form|mermaid|src/index|stories).tsx?|snippets|build.config.ts|utils.ts', | ||
skip: 'autogen', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 48 additions & 40 deletions
88
packages/create-kolibri/templates/kolibri-theme/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,66 @@ | ||
{ | ||
"name": "{{kebab name}}", | ||
"version": "0.0.0", | ||
"description": "{{description}}", | ||
"name": "@public-ui/kolibri-cli", | ||
"version": "2.0.3", | ||
"license": "EUPL-1.2", | ||
"homepage": "https://public-ui.github.io", | ||
"repository": "https://github.com/public-ui/kolibri", | ||
"bugs": { | ||
"url": "https://github.com/public-ui/kolibri/issues", | ||
"email": "kolibri@itzbund.de" | ||
}, | ||
"author": { | ||
"name": "{{author}}", | ||
"email": "{{email}}" | ||
"name": "Informationstechnikzentrum Bund", | ||
"email": "kolibri@itzbund.de" | ||
}, | ||
"license": "EUPL-1.2", | ||
"private": false, | ||
"bin": { | ||
"kolibri": "dist/index.js" | ||
}, | ||
"description": "CLI for executing some helpful commands for KoliBri projects.", | ||
"scripts": { | ||
"build": "unbuild", | ||
"depcheck": "depcheck", | ||
"format": "prettier --check src", | ||
"lint": "eslint src", | ||
"prepack": "unbuild", | ||
"test": "THEME_MODULE=src/index THEME_EXPORT={{capital name}} kolibri-visual-test", | ||
"test-update": "THEME_MODULE=src/index THEME_EXPORT={{capital name}} kolibri-visual-test --update-snapshots theme-snapshots.spec.js", | ||
"unused": "knip" | ||
"reset": "pnpm i @public-ui/components@1.1.7", | ||
"depcheck": "depcheck --ignores=\"@public-ui/components,deepmerge,loglevel,mocha\"", | ||
"format": "prettier -c src", | ||
"lint": "eslint src && tsc --noEmit", | ||
"prepack": "tsc", | ||
"start": "rimraf test && cpy \"../../samples/react/src/components\" test/src && cpy \"../../samples/react/public/*.html\" test/ && ts-node src/index.ts migrate --ignore-uncommitted-changes --test-tasks test", | ||
"restart": "pnpm reset && pnpm start", | ||
"unused": "knip", | ||
"watch": "nodemon --ignore package.json src/index.ts migrate --ignore-uncommitted-changes --test-tasks test" | ||
}, | ||
"type": "commonjs", | ||
"dependencies": { | ||
"chalk": "4.1.2", | ||
"commander": "11.1.0", | ||
"deepmerge": "4.3.1", | ||
"gradient-string": "2.0.2", | ||
"loglevel": "1.8.1", | ||
"prettier": "3.2.2", | ||
"semver": "7.5.4" | ||
}, | ||
"devDependencies": { | ||
"@public-ui/components": "2.0.3", | ||
"@public-ui/schema": "2.0.3", | ||
"@public-ui/visual-tests": "2.0.3", | ||
"@typescript-eslint/eslint-plugin": "6.8.0", | ||
"@typescript-eslint/parser": "6.8.0", | ||
"@types/gradient-string": "1.1.5", | ||
"@types/node": "20.11.4", | ||
"@typescript-eslint/eslint-plugin": "6.19.0", | ||
"@typescript-eslint/parser": "6.19.0", | ||
"cpy-cli": "5.0.0", | ||
"depcheck": "1.4.7", | ||
"eslint": "8.51.0", | ||
"eslint": "8.56.0", | ||
"eslint-config-prettier": "9.1.0", | ||
"eslint-plugin-html": "7.1.0", | ||
"eslint-plugin-jsdoc": "48.0.2", | ||
"eslint-plugin-json": "3.1.0", | ||
"eslint-plugin-jsx-a11y": "6.8.0", | ||
"eslint-plugin-no-loops": "0.3.0", | ||
"knip": "3.0.2", | ||
"npm-check-updates": "16.14.6", | ||
"prettier": "3.0.3", | ||
"unbuild": "1.2.1" | ||
}, | ||
"peerDependencies": { | ||
"@public-ui/components": "2.0.3" | ||
}, | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.cjs" | ||
} | ||
"eslint-plugin-react": "7.33.2", | ||
"knip": "4.0.1", | ||
"mocha": "10.2.0", | ||
"nodemon": "3.0.3", | ||
"rimraf": "3.0.2", | ||
"ts-node": "10.9.2", | ||
"typescript": "5.3.3" | ||
}, | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"assets", | ||
"dist" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.