@@ -20,7 +20,7 @@ function printHelp() {
2020 process . stdout . write (
2121 [
2222 'Usage:' ,
23- ' devextreme-license-verify --out <path> [options]' ,
23+ ' devextreme-license --out <path> [options]' ,
2424 '' ,
2525 'Options:' ,
2626 ' --out <path> Output file path (optional)' ,
@@ -31,8 +31,8 @@ function printHelp() {
3131 ' -h, --help Show help' ,
3232 '' ,
3333 'Examples:' ,
34- ' "prebuild": "devextreme-license-verify --out src/.devextreme/license-key.ts"' ,
35- ' "prebuild": "devextreme-license-verify --non-modular --out src/.devextreme/license-key.js"' ,
34+ ' "prebuild": "devextreme-license --out src/.devextreme/license-key.ts"' ,
35+ ' "prebuild": "devextreme-license --non-modular --out src/.devextreme/license-key.js"' ,
3636 '' ,
3737 ] . join ( '\n' )
3838 ) ;
@@ -56,15 +56,15 @@ function parseArgs(argv) {
5656 else if ( a === '--out' ) {
5757 const next = args [ i + 1 ] ;
5858 if ( ! next || next . startsWith ( '-' ) ) {
59- process . stderr . write ( '[devextreme-license-verify ] Warning: --out requires a path argument but none was provided. Ignoring --out.\n' ) ;
59+ process . stderr . write ( '[devextreme-license] Warning: --out requires a path argument but none was provided. Ignoring --out.\n' ) ;
6060 } else {
6161 out . outPath = args [ ++ i ] ;
6262 }
6363 }
6464 else if ( a . startsWith ( '--out=' ) ) {
6565 const val = a . slice ( '--out=' . length ) ;
6666 if ( ! val ) {
67- process . stderr . write ( '[devextreme-license-verify ] Warning: --out requires a path argument but none was provided. Ignoring --out.\n' ) ;
67+ process . stderr . write ( '[devextreme-license] Warning: --out requires a path argument but none was provided. Ignoring --out.\n' ) ;
6868 } else {
6969 out . outPath = val ;
7070 }
@@ -74,7 +74,7 @@ function parseArgs(argv) {
7474 else if ( a === '--force' ) out . force = true ;
7575 else if ( a === '--cwd' ) out . cwd = args [ ++ i ] || process . cwd ( ) ;
7676 else if ( a . startsWith ( '--cwd=' ) ) out . cwd = a . slice ( '--cwd=' . length ) ;
77- else fail ( `Unknown argument: ${ a } \nRun devextreme-license-verify --help` ) ;
77+ else fail ( `Unknown argument: ${ a } \nRun devextreme-license --help` ) ;
7878 }
7979
8080 return out ;
@@ -128,7 +128,7 @@ function addToGitignore(projectRoot, outAbsPath) {
128128
129129function renderFile ( lcpKey ) {
130130 return [
131- '// Auto-generated by devextreme-license-verify .' ,
131+ '// Auto-generated by devextreme-license.' ,
132132 '// Do not commit this file to source control.' ,
133133 '' ,
134134 `export const ${ EXPORT_NAME } = ${ JSON . stringify ( lcpKey ) } ;` ,
@@ -138,7 +138,7 @@ function renderFile(lcpKey) {
138138
139139function renderNonModularFile ( lcpKey ) {
140140 return [
141- '// Auto-generated by devextreme-license-verify .' ,
141+ '// Auto-generated by devextreme-license.' ,
142142 '// Do not commit this file to source control.' ,
143143 '' ,
144144 `DevExpress.config({ licenseKey: ${ JSON . stringify ( lcpKey ) } });` ,
0 commit comments