Skip to content

Commit

Permalink
Update to 1.1.0 (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
dxvladislavvolkov authored May 20, 2019
1 parent fe7b514 commit 96eb5ea
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion commands/application.angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'])}"`;
Expand Down
4 changes: 2 additions & 2 deletions commands/application.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
Expand Down Expand Up @@ -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 });
};
Expand Down
4 changes: 2 additions & 2 deletions commands/application.vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -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 });
};
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "devextreme-cli",
"version": "1.1.0-beta.4",
"version": "1.1.0",
"description": "DevExtreme CLI",
"keywords": [
"devexpress",
Expand All @@ -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",
Expand Down

0 comments on commit 96eb5ea

Please sign in to comment.