diff --git a/commands/application.angular.js b/commands/application.angular.js index 78350ae2c..2f2192098 100644 --- a/commands/application.angular.js +++ b/commands/application.angular.js @@ -7,7 +7,7 @@ const minNgCliVersion = new semver('7.2.0'); function runSchematicCommand(schematicCommand, options, evaluatingOptions) { const collectionName = 'devextreme-schematics'; - let collectionPath = `${collectionName}@next`; + let collectionPath = collectionName; if(options['c']) { collectionPath = `"${path.join(process.cwd(), options['c'])}"`; diff --git a/commands/application.react.js b/commands/application.react.js index e4175d34f..000bbd03f 100644 --- a/commands/application.react.js +++ b/commands/application.react.js @@ -34,7 +34,7 @@ const preparePackageJsonForTemplate = (packagePath, appName) => { { name: 'react-router-dom', version: '^5.0.0' } ]; const devDepends = [ - { name: 'devextreme-cli', version: 'next' } + { name: 'devextreme-cli', version: 'latest' } ]; const scripts = [ { name: 'build-themes', value: 'devextreme build' }, @@ -121,7 +121,7 @@ const install = (options, appPath, styles) => { appPath = appPath ? appPath : process.cwd(); const pathToMainComponent = path.join(appPath, 'src', 'App.js'); addStylesToApp(pathToMainComponent, styles || defaultStyles); - addDevextremeToPackageJson(appPath, options.dxversion || '19.1-next'); + addDevextremeToPackageJson(appPath, options.dxversion || 'latest'); runCommand('npm', ['install'], { cwd: appPath }); }; diff --git a/commands/application.vue.js b/commands/application.vue.js index 32c82d560..b9ad9b14a 100644 --- a/commands/application.vue.js +++ b/commands/application.vue.js @@ -34,7 +34,7 @@ const preparePackageJsonForTemplate = (packagePath, appName) => { { name: 'vue-router', version: '^3.0.1' } ]; const devDepends = [ - { name: 'devextreme-cli', version: 'next' }, + { name: 'devextreme-cli', version: 'latest' }, { name: 'sass-loader', version: '^7.1.0' } ]; const scripts = [ @@ -117,7 +117,7 @@ const install = (options, appPath, styles) => { appPath = appPath ? appPath : process.cwd(); const mainModulePath = path.join(appPath, 'src', 'main.js'); addStylesToApp(mainModulePath, styles || defaultStyles); - addDevextremeToPackageJson(appPath, options.dxversion || '19.1-next'); + addDevextremeToPackageJson(appPath, options.dxversion || 'latest'); runCommand('npm', ['install'], { cwd: appPath }); }; diff --git a/package.json b/package.json index 575063e66..533593b98 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "devextreme-cli", - "version": "1.1.0-beta.4", + "version": "1.1.0", "description": "DevExtreme CLI", "keywords": [ "devexpress", @@ -20,7 +20,7 @@ "repository": "https://github.com/DevExpress/devextreme-cli", "license": "MIT", "dependencies": { - "devextreme-themebuilder": "19.1-next", + "devextreme-themebuilder": "^19.1.3", "less": "^3.8.1", "minimist": "^1.2.0", "mustache": "^3.0.1",