-
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
11 changed files
with
107 additions
and
108 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# - npm | ||
legacy-peer-deps=true | ||
save-exact=true | ||
|
||
# - pnpm | ||
auto-install-peers=true | ||
prefer-offline=true | ||
shamefully-hoist=true | ||
strict-peer-dependencies=false |
25 changes: 25 additions & 0 deletions
25
packages/create-kolibri/templates/kolibri-theme/.eslintrc.cjs
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,25 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
es6: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:@typescript-eslint/recommended-requiring-type-checking', | ||
'plugin:jsdoc/recommended', | ||
'plugin:json/recommended', | ||
'prettier', | ||
], | ||
parserOptions: { | ||
project: 'tsconfig.json', | ||
sourceType: 'module', | ||
tsconfigRootDir: __dirname, | ||
}, | ||
plugins: [ | ||
'html', | ||
// 'jsdoc', | ||
// 'json', | ||
'no-loops', | ||
], | ||
}; |
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,9 @@ | ||
{ | ||
"entry": ["src/index.ts"], | ||
"ignoreBinaries": [], | ||
"ignoreDependencies": [], | ||
"project": ["src/**/*.ts"], | ||
"rules": { | ||
"classMembers": "warn" | ||
} | ||
} |
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
3 changes: 0 additions & 3 deletions
3
packages/create-kolibri/templates/kolibri-theme/prettier.config.mjs
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
2 changes: 1 addition & 1 deletion
2
packages/create-kolibri/templates/kolibri-theme/src/themes/index.ts
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,3 +1,3 @@ | ||
import { KoliBri } from '@public-ui/components'; | ||
import { KoliBri } from '@public-ui/schema'; | ||
|
||
export const {{capital name}} = KoliBri.createTheme('{{kebab name}}', {}); |
2 changes: 1 addition & 1 deletion
2
packages/create-kolibri/templates/kolibri-theme/src/translations/de.ts
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,3 +1,3 @@ | ||
import { KoliBri } from '@public-ui/components'; | ||
import { KoliBri } from '@public-ui/schema'; | ||
|
||
export const DE = KoliBri.createTranslation('de', {}); |
2 changes: 1 addition & 1 deletion
2
packages/create-kolibri/templates/kolibri-theme/src/translations/en.ts
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,3 +1,3 @@ | ||
import { KoliBri } from '@public-ui/components'; | ||
import { KoliBri } from '@public-ui/schema'; | ||
|
||
export const EN = KoliBri.createTranslation('en', {}); |
23 changes: 2 additions & 21 deletions
23
packages/create-kolibri/templates/kolibri-theme/tsconfig.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,28 +1,9 @@ | ||
{ | ||
"compilerOptions": { | ||
"allowUnreachableCode": false, | ||
"allowSyntheticDefaultImports": true, | ||
"declaration": true, | ||
"emitDecoratorMetadata": true, | ||
"experimentalDecorators": true, | ||
"esModuleInterop": true, | ||
"lib": ["dom", "es2015"], | ||
"module": "ESNext", | ||
"preserveSymlinks": true, | ||
"moduleResolution": "node", | ||
"noImplicitAny": true, | ||
"noImplicitReturns": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"outDir": "dist", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"jsx": "react", | ||
"target": "es2015", | ||
"forceConsistentCasingInFileNames": false, | ||
"importHelpers": false, | ||
"strict": true | ||
}, | ||
"compileOnSave": false, | ||
"buildOnSave": false | ||
"include": ["src/index.ts"], | ||
"exclude": ["node_modules", "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
Oops, something went wrong.