@toptal/davinci-bootstrap 3.3.8 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/commands/new.js +11 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-bootstrap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Creates application from davinci template",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"url": "https://github.com/toptal/davinci/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@toptal/davinci-cli-shared": "1.
|
|
38
|
-
"@toptal/davinci-skeleton": "8.0
|
|
39
|
-
"@toptal/davinci-skeleton-lib": "0.
|
|
40
|
-
"@toptal/davinci-skeleton-sub-app": "1.
|
|
37
|
+
"@toptal/davinci-cli-shared": "1.7.0",
|
|
38
|
+
"@toptal/davinci-skeleton": "8.1.0",
|
|
39
|
+
"@toptal/davinci-skeleton-lib": "0.2.0",
|
|
40
|
+
"@toptal/davinci-skeleton-sub-app": "1.3.0",
|
|
41
41
|
"find-yarn-workspace-root": "^2.0.0",
|
|
42
42
|
"fs-extra": "^9.0.1",
|
|
43
43
|
"lodash.kebabcase": "^4.1.1",
|
package/src/commands/new.js
CHANGED
|
@@ -106,7 +106,11 @@ const installDependencies = async destDir => {
|
|
|
106
106
|
]
|
|
107
107
|
|
|
108
108
|
const devDependencies = [
|
|
109
|
-
'@toptal/davinci',
|
|
109
|
+
'@toptal/davinci-qa',
|
|
110
|
+
'@toptal/davinci-engine',
|
|
111
|
+
'@toptal/davinci-syntax',
|
|
112
|
+
'@toptal/davinci-code',
|
|
113
|
+
'@toptal/davinci-ci',
|
|
110
114
|
'@types/react',
|
|
111
115
|
'@types/react-dom',
|
|
112
116
|
'@toptal/davinci-storybook',
|
|
@@ -115,8 +119,12 @@ const installDependencies = async destDir => {
|
|
|
115
119
|
]
|
|
116
120
|
|
|
117
121
|
try {
|
|
118
|
-
await run('yarn', ['add', '-D', ...devDependencies], {
|
|
119
|
-
|
|
122
|
+
await run('yarn', ['add', '--prefer-offline', '-D', ...devDependencies], {
|
|
123
|
+
cwd: destDir,
|
|
124
|
+
})
|
|
125
|
+
await run('yarn', ['add', '--prefer-offline', ...dependencies], {
|
|
126
|
+
cwd: destDir,
|
|
127
|
+
})
|
|
120
128
|
spinner.succeed('Dependencies installed!')
|
|
121
129
|
} catch (err) {
|
|
122
130
|
spinner.fail()
|