Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit 606dc15

Browse files
committed
Fix missing dependencies
1 parent c49ba90 commit 606dc15

File tree

5 files changed

+152
-1516
lines changed

5 files changed

+152
-1516
lines changed

Diff for: .github/sereno/gulpfile.js

-32
This file was deleted.

Diff for: circle.yml

-13
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,16 @@
11
machine:
2-
php:
3-
version: 7.0.4
42
node:
53
version: 5.6.0
64

75
dependencies:
86
pre:
97
- curl -o- -s -L https://yarnpkg.com/install.sh | bash
10-
- export COMPOSER_HOME=$HOME/.composer
11-
- composer global require --no-progress sereno/installer
128
override:
139
- yarn --no-progress
1410
- npm rebuild node-sass
1511
cache_directories:
1612
- "~/.yarn-cache"
17-
- "~/.composer/cache"
1813

1914
test:
2015
override:
2116
- yarn test
22-
23-
deployment:
24-
publish:
25-
branch:
26-
- master
27-
- documentation
28-
commands:
29-
- sereno deploy

Diff for: config/build.js

+29-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,35 @@ rollup.rollup({
1818
entry: 'src/index.js',
1919
plugins: [
2020
babel({ runtimeHelpers: true })
21-
]
21+
],
22+
external (id) {
23+
if (/babel-runtime\/.*/i.test(id)) {
24+
return true
25+
}
26+
27+
return [
28+
'camelcase',
29+
'coffeescript-compiler',
30+
'de-indent',
31+
'debug',
32+
'fs',
33+
'html-minifier',
34+
'less',
35+
'magic-string',
36+
'merge-options',
37+
'node-sass',
38+
'parse5',
39+
'path',
40+
'postcss',
41+
'postcss-modules',
42+
'posthtml',
43+
'posthtml-attrs-parser',
44+
'pug',
45+
'rollup-pluginutils',
46+
'vue-template-es2015-compiler',
47+
'vue-template-validator',
48+
].indexOf(id) > -1
49+
}
2250
})
2351
.then(function (bundle) {
2452
bundle.write({

Diff for: package.json

+14-17
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
"lint:fix": "eslint --fix src/**",
1414
"coveralls": "NODE_ENV=production istanbul cover --default-excludes -x 'dist/**' -x 'config/**' ./node_modules/mocha/bin/_mocha --report lcovonly -- --slow=5000 --timeout=10000 test/test.js && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage",
1515
"prepublish": "npm run build",
16-
"docs": "php -S localhost:8080 -t .github/sereno/public",
17-
"sereno": "gulp --gulpfile .github/sereno/gulpfile.js watch",
18-
"sereno:build": "gulp --gulpfile .github/sereno/gulpfile.js --env default",
19-
"sereno:deploy": "sereno deploy"
16+
"docs": "php -S localhost:8080 -t .github/sereno/public"
2017
},
2118
"repository": {
2219
"type": "git",
@@ -38,18 +35,17 @@
3835
"homepage": "https://github.com/znck/rollup-plugin-vue#readme",
3936
"dependencies": {
4037
"babel-runtime": "^6.22.0",
38+
"camelcase": "^4.0.0",
4139
"de-indent": "^1.0.2",
4240
"debug": "^2.6.0",
4341
"html-minifier": "^3.2.3",
44-
"less": "^2.7.2",
4542
"magic-string": "^0.19.0",
46-
"node-sass": "^4.5.0",
47-
"parse5": "^3.0.1",
43+
"merge-options": "0.0.64",
44+
"parse5": "^2.1.0",
4845
"postcss": "^5.2.11",
4946
"postcss-modules": "^0.6.4",
5047
"posthtml": "^0.9.2",
5148
"posthtml-attrs-parser": "^0.1.1",
52-
"pug": "^2.0.0-beta10",
5349
"rollup-pluginutils": "^2.0.1",
5450
"vue-template-compiler": "^2.1.10",
5551
"vue-template-es2015-compiler": "^1.5.0",
@@ -65,25 +61,26 @@
6561
"eslint": "^3.14.0",
6662
"eslint-config-standard": "^6.2.1",
6763
"eslint-plugin-html": "^1.7.0",
68-
"eslint-plugin-import": "^2.2.0",
6964
"eslint-plugin-promise": "^3.4.0",
7065
"eslint-plugin-standard": "^2.0.1",
71-
"gulp": "^3.9.1",
7266
"istanbul": "^0.4.5",
73-
"laravel-elixir": "^6.0.0-15",
74-
"merge-options": "0.0.64",
7567
"mocha": "^3.2.0",
76-
"mocha-lcov-reporter": "^1.2.0",
7768
"rollup": "^0.41.4",
7869
"rollup-plugin-babel": "^2.7.1",
70+
"rollup-plugin-buble": "^0.15.0",
7971
"rollup-plugin-css-only": "^0.2.0",
8072
"rollup-plugin-replace": "^1.1.1",
81-
"uglify-js": "^2.7.5",
82-
"vue-hot-reload-api": "^2.0.8",
83-
"yargs": "^6.6.0"
73+
"uglify-js": "^2.7.5"
8474
},
8575
"optionalDependencies": {
8676
"coffee-script": "^1.12.4",
87-
"coffeescript-compiler": "^0.1.1"
77+
"coffeescript-compiler": "^0.1.1",
78+
"less": "^2.7.2",
79+
"node-sass": "^4.5.0",
80+
"pug": "^2.0.0-beta11",
81+
"stylus": "^0.54.5"
82+
},
83+
"peerDependencies": {
84+
"vue": "^2.2.1"
8885
}
8986
}

0 commit comments

Comments
 (0)