Commit Graph

976 Commits

Author SHA1 Message Date
Evan You
d65a251c34 fix: fix invoke output 2018-06-05 16:36:24 -04:00
Evan You
1ddeefc2ee refactor: avoid version check affecting startup time 2018-06-05 15:48:22 -04:00
Evan You
a81f7ad800 feat(e2e-cypress): upgrade cypress to 3.0
close #1477

BREAKING CHANGE: Cypress has been upgraded to 3.0. See changelog at
https://docs.cypress.io/guides/references/changelog.html
2018-06-05 14:46:20 -04:00
JK
2cbe373c11 fix(serve): make sockjs url fixed with host (#1476) 2018-06-05 14:15:33 -04:00
Evan You
d786289bff ci: bump timeout 2018-06-05 13:29:19 -04:00
Evan You
586c8aabfc fix: avoid injecting polyfills when targeting node 2018-06-05 13:21:06 -04:00
Evan You
1dc47eb955 feat(build): support named exports when building --target lib with js/ts entry
close #1436

BREAKING CHANGE: When building a js/ts entry file with --target lib, the
library now exposes a Module with both default and named exports. This means
in the UMD build, the default export now needs to be accessed as
`window.yourLib.default`, and in the CommonJS build as
`const yourLib = require('yourLib').default`. If you don't have named exports
and want to retain the previous behavior, you can configure webpack to use
`output.libraryExport: 'default'` in `vue.config.js`.
2018-06-05 11:58:17 -04:00
Evan You
b832ff2c22 chore: bump ts-loader 2018-06-05 11:11:40 -04:00
JK
838f6a2b66 feat(lint): default to lint tsx files (#1460) 2018-06-05 10:34:51 -04:00
Arthur Denner
c19bbff79e feat(cli-service): support --no-clean flag (#1457)
close #1446
2018-06-05 10:34:30 -04:00
Tristan Partin
ec87266fe0 feat(xdg-compliance): rc file location hierarchy (#1326)
`vue-cli` now uses the following hierarchy for hosting its rc file:

* `VUE_CLI_CONFIG_PATH
* `XDG_CONFIG_HOME/vue/.vuerc`
* `HOME/.config/vue/.vuerc`
* `HOME/.vuerc`

closes #1325
2018-06-05 10:33:20 -04:00
Evan You
89a0e6561c fix: avoid util.promisify when resolving webpack.config.js
The file may be required by an IDE which uses an older version of Node.

close #1473
2018-06-05 09:47:36 -04:00
Guillaume Chau
98b6d268e3 feat(ui): update all plugin to wanted version button (#1456) 2018-06-05 10:59:28 +02:00
Guillaume Chau
f42632bee4 feat(ui): Display cli-service in plugins view (so it can be upgraded) (#1422)
* feat(ui): display cli-service in plugins view (so it can be upgraded)

* test: fix plugins list

* fix(ui): mark cli-service as official
2018-06-05 10:59:02 +02:00
Guillaume Chau
1c8f1953e7 refactor(ui): Config & task icons (#1450)
BREAKING CHANGE:

- `file-icon` for the configurations is removed
- Configuration objects `icon` option changed and is now working differently: you can either use a material icon code or a custom image (see Public static files in the UI Plugin docs).
- Task objects have a new `icon` option wich works exactly the same
- By default, if no icon is provided for either the config or the task, the corresponding vue-cli plugin logo will be used instead (if any).
2018-06-05 10:58:00 +02:00
Evan You
0ba111eed8 feat: allow configuring postcss-loader via css.loaderOptions.postcss 2018-06-05 00:39:20 -04:00
Evan You
62649965eb test: fix baseUrl normalization 2018-06-05 00:30:04 -04:00
Evan You
dc382111d9 feat: allow using relative baseUrl 2018-06-05 00:22:20 -04:00
Guillaume Chau
bfebc6d934 fix(ui): tests 2018-06-04 17:08:50 +02:00
Guillaume Chau
cd88b47edc fix(ui): top bar children margin 2018-06-04 02:46:53 +02:00
Guillaume Chau
145492b2d9 fix(ui): yarn link @vue/ui 2018-06-04 02:30:31 +02:00
Guillaume Chau
251509c63c fix(ui): check current project still exists 2018-06-03 18:06:22 +02:00
Guillaume Chau
588ad75a2e fix(ui): limit description length in plugin search 2018-06-03 17:30:34 +02:00
kazuya kawaguchi
bf87ded24f chore(cli-plugin-typescript): fix typo (#1447) 2018-06-03 13:13:58 +02:00
Doma
dc0731525f fix(ui): correct i18n mistake (#1445)
* chore(ui): fix typo

* chore(ui): fix another typo
2018-06-03 13:13:24 +02:00
Caleb Kester
165f82319d Changing tabs to tab (#1441) 2018-06-03 13:08:56 +02:00
ziga
3193b0dc3b fix(build): default to development mode in build --watch (#1430) 2018-06-01 13:41:35 -04:00
Evan You
7e38f98ec8 feat: upgrade jest to 23.1.0
BREAKING CHANGE: jest is upgraded to 23.1.0 with minor breaking changes
but should not affect normal test cases
2018-06-01 12:42:24 -04:00
Evan You
a91d022d42 fix: should not inject babel-core shim if babel plugin is not used
close #1424
2018-06-01 12:41:23 -04:00
Evan You
be5526ed6c fix: bail when registry ping fails
close #1427
2018-06-01 11:45:14 -04:00
Guillaume Chau
68f273a988 fix(ui): int loading z-index 2018-06-01 09:28:47 +02:00
Guillaume Chau
0366ec3d6d fix(ui): progress screen z-index 2018-05-31 20:51:07 +02:00
Evan You
fb55ce4308 ci: bump timeouts 2018-05-31 14:22:13 -04:00
Guillaume Chau
73545252e0 feat: ui tweaks & fixes (#1409)
* refactor(ui): use fetchPolic: 'cache-and-network' by default

* feat(ui): don't display loader if cached data

* fix(ui): eslint errors

* feat(ui): new top bar design

* fix(ui): remove work icon in top bar

* fix(ui): logger view item hover background

* feat(ui): Projects list show open project

* feat(ui): top bar: responsive + no favorites message

* fix(ui): Cannot set property consoleLogLast of #<a> which has only a getter

* fix(ui): loading prompts folder when installing plugin

* feat(ui): help translating button + docs

* docs(ui): fix local. docs

* fix(ui): Help translate button

* docs(ui): plugin ui dev docs improvements

* docs(ui): typo

* docs(ui): typo

* docs(ui): typo

* feat(ui): auto locale now tries full code + short code

* docs(ui): fix missing ref locale link
2018-05-31 14:10:05 -04:00
Craig Morris
af1151a494 fix: only provide baseUrl fix if baseUrl provided (#1421) 2018-05-31 14:03:46 -04:00
Evan You
9a2898c1bc v3.0.0-beta.15 2018-05-30 13:42:19 -04:00
Evan You
9aeaf9b7ce chore: pre release sync 2018-05-30 13:41:57 -04:00
Evan You
05391b6e9e fix: e2e runner args passing
close #1393
2018-05-30 13:39:19 -04:00
Evan You
60f0a0afbb perf: use importHelpers: true in tsconfig.json 2018-05-30 13:39:18 -04:00
Evan You
4d00161d6f fix(typescript): avoid including router file when router is not selected 2018-05-30 13:39:18 -04:00
Guillaume Chau
970eee7511 Merge branch 'dev' of github.com:vuejs/vue-cli into dev 2018-05-30 17:53:40 +02:00
Guillaume Chau
352b1667ea refactor(ui): webpack-dashboard: simplify open-app 2018-05-30 17:53:32 +02:00
Evan You
e17f78c6c5 fix(unit-mocha): ensure correct mode for webpack config
close #1389
2018-05-30 11:37:30 -04:00
Guillaume Chau
7d98d697c1 fix: remove console.log 2018-05-30 17:08:11 +02:00
Evan You
a9e12865b5 feat: respect baseUrl during development
BREAKING CHANGE: `devBaseUrl` option has been removed. `baseUrl` now works for
both development and production. To use different paths for prod/dev, use
conditional values based on `process.env.NODE_ENV` in `vue.config.js`.
2018-05-30 11:01:16 -04:00
JK
04600e6362 fix(cli-service): make devBaseUrl work properly in serve command (#1405) 2018-05-30 10:53:11 -04:00
Evan You
7ce91c89f2 workflow: enable eslint node/no-extraneous-require 2018-05-30 10:25:33 -04:00
Guillaume Chau
ef2ecf5a8e fix: require.resolve fallback on node < 8.10.0 (#1404)
close #1369
2018-05-30 09:44:08 -04:00
Guillaume Chau
4f39461c30 fix: UI fixes (#1397)
* fix:  ERROR  AssertionError [ERR_ASSERTION]: missing path

* refactor(ui): export portfinder and graphql-server from @vue/cli-ui and new VUE_CLI_UI_DEV env var

* fix(ui): invoke: force load package.json
2018-05-29 15:49:27 -04:00
Evan You
5f1f986d4d v3.0.0-beta.14 2018-05-29 13:27:16 -04:00