-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
0e3ecde
commit 52fc109
Showing
7 changed files
with
114 additions
and
23 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
export default { | ||
config: { | ||
locales: [ | ||
// 'ar', | ||
// 'fr', | ||
// 'cs', | ||
// 'de', | ||
// 'dk', | ||
// 'es', | ||
// 'he', | ||
// 'id', | ||
// 'it', | ||
// 'ja', | ||
// 'ko', | ||
// 'ms', | ||
// 'nl', | ||
// 'no', | ||
// 'pl', | ||
// 'pt-BR', | ||
// 'pt', | ||
// 'ru', | ||
// 'sk', | ||
// 'sv', | ||
// 'th', | ||
// 'tr', | ||
// 'uk', | ||
// 'vi', | ||
// 'zh-Hans', | ||
// 'zh', | ||
], | ||
}, | ||
bootstrap() {}, | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
export default { | ||
config: { | ||
// Add slovak as option for strapi admin | ||
locales: ["sk"], | ||
|
||
// Disable video tutorials | ||
tutorials: false, | ||
|
||
// Disable notifications about new Strapi releases | ||
notifications: { | ||
releases: false, | ||
}, | ||
|
||
translations: { | ||
sk: { | ||
"content-manager.components.LeftMenu.collection-types": "Kolekcie", | ||
"content-manager.components.LeftMenu.single-types": "Jednoduché typy", | ||
"content-manager.containers.Edit.information.lastUpdate": | ||
"Aktualizoané", | ||
"modal.upload-list.sub-header.add-folder": "Pridať priečinok", | ||
"app.components.LeftMenu.general": "Všeobecné", | ||
"Auth.form.username.placeholder": "napr. jankohrasko", | ||
"Auth.form.email.placeholder": "napr. janko.hrasko@bratislava.sk", | ||
"Settings.webhooks.trigger.test": "Testovací beh", | ||
}, | ||
en: {}, | ||
}, | ||
}, | ||
bootstrap() {}, | ||
}; |
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,13 @@ | ||
{ | ||
"extends": "@strapi/typescript-utils/tsconfigs/admin", | ||
"include": [ | ||
"../plugins/**/admin/src/**/*", | ||
"./" | ||
], | ||
"exclude": [ | ||
"node_modules/", | ||
"build/", | ||
"dist/", | ||
"**/*.test.ts" | ||
] | ||
} |
9 changes: 3 additions & 6 deletions
9
strapi/src/admin/webpack.config.example.js → strapi/src/admin/webpack.config.example.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,9 +1,6 @@ | ||
'use strict'; | ||
|
||
/* eslint-disable no-unused-vars */ | ||
module.exports = (config, webpack) => { | ||
export default (config: any, webpack: any) => { | ||
// Note: we provide webpack above so you should not `require` it | ||
// Perform customizations to webpack config | ||
// Important: return the modified config | ||
return config; | ||
}; | ||
return config | ||
} |
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,14 @@ | ||
export default (config: any, webpack: any) => { | ||
// Note: we provide webpack above so you should not `require` it | ||
// Perform customizations to webpack config | ||
// Important: return the modified config | ||
// | ||
// config.plugins.push( | ||
// new webpack.NormalModuleReplacementPlugin( | ||
// /^tippy\.js$/, | ||
// 'tippy.js/dist/tippy-bundle.umd.min.js', | ||
// ), | ||
// ) | ||
|
||
return config | ||
} |
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,21 @@ | ||
{ | ||
"extends": "@strapi/typescript-utils/tsconfigs/server", | ||
"compilerOptions": { | ||
"outDir": "dist", | ||
"rootDir": ".", | ||
}, | ||
"include": [ | ||
"./", | ||
"src/**/*.json" | ||
], | ||
"exclude": [ | ||
"node_modules/", | ||
"build/", | ||
"dist/", | ||
".cache/", | ||
".tmp/", | ||
"src/admin/", | ||
"**/*.test.ts", | ||
"src/plugins/**" | ||
] | ||
} |