Commit Graph

1224 Commits

Author SHA1 Message Date
Evan You
d8eaae0262 test: fix unhandled Promise 2018-06-13 00:34:16 -04:00
Evan You
204d8f07de feat: modern mode 2018-06-12 23:51:19 -04:00
Evan You
e15fa20bb6 fix: runtimeCompiler default 2018-06-11 17:48:58 -04:00
Evan You
460c200d28 fix(unit-mocha): node externals are unnecessary for testing client code
close #1548
2018-06-11 16:27:17 -04:00
Evan You
9e0a393008 chore: bump lockfile 2018-06-11 16:09:25 -04:00
Evan You
1195aee341 fix: asset output relative check
close #1545
2018-06-11 15:33:34 -04:00
Guillaume Chau
e57e74926a feat(ui): pwa open vue config/manifest suggestions 2018-06-11 21:14:14 +02:00
Guillaume Chau
a26669c25f feat(ui): open eslintrc suggestion 2018-06-11 21:14:14 +02:00
ULIVZ
d1480e32e8 docs: bump vuepress (#1529) 2018-06-11 15:04:26 -04:00
Adrian B. Danieli
f0498f6698 fix: use devServer.public to build sockjsUrl, if defined. (#1526) 2018-06-11 15:04:01 -04:00
Guillaume Chau
e7e2fb2ea6 fix(ui): Suggestions API fixes 2018-06-11 21:00:36 +02:00
Guillaume Chau
692d4638d8 feat(ui): jest task 2018-06-11 20:43:53 +02:00
kazuya kawaguchi
bc59637308 chore: fix links (#1540) 2018-06-11 12:28:51 -04:00
Guillaume Chau
182f3b7887 fix: check more files for links 2018-06-11 17:35:48 +02:00
Guillaume Chau
99b030a8f0 fix(ui): nav button custom image align 2018-06-11 17:26:23 +02:00
Evan You
c427314858 workflow: move link check to CI 2018-06-11 11:14:20 -04:00
Evan You
b4770d0fcb ci: temporarily disable Cypress tests on windows 2018-06-11 11:12:27 -04:00
Guillaume Chau
cfd05557a9 docs(ui): suggestion screenshot 2018-06-11 16:54:59 +02:00
Guillaume Chau
3da7427c11 refactor(ui): Suggestion from modal to dropdown 2018-06-11 16:54:49 +02:00
Guillermo Peralta Scura
29c1ce5491 feat(ui): git commit message + disable git (#1541)
* feat: Allow git commit message through UI

* refactor: fix git initialization on UI variable naming and behaviour

* fix(ui): condition, text, variable names

* fix(ui): polish
2018-06-11 16:05:30 +02:00
Meet Zaveri
57ff03b782 docs(ui): Typo ui-api.md (#1543)
Spelling mistake
2018-06-11 10:50:12 +02:00
Guillaume Chau
1f3dc547e8 docs(ui): suggestion + progress screen 2018-06-11 04:32:10 +02:00
Guillaume Chau
9b068b1b60 feat(ui): suggestion and progress PluginAPI + add vue-router/vuex suggestions 2018-06-11 04:16:53 +02:00
Guillaume Chau
9426f38054 fix(ui): task command too long 2018-06-11 02:02:55 +02:00
Guillaume Chau
8ba6bcfe7b feat(ui): new hooks for plugins 2018-06-11 01:53:01 +02:00
Guillaume Chau
8fae98e7ce feat(ui): api.hasPlugin(id) 2018-06-11 00:42:53 +02:00
Guillaume Chau
be3d538d24 fix(ui): reload plugin api after plugin update 2018-06-11 00:33:30 +02:00
Guillaume Chau
0ba3920e99 fix(ui): dark mode nav button badge counters 2018-06-11 00:27:06 +02:00
Guillaume Chau
aee5c936b1 fix(ui): nav button bullet border color 2018-06-10 21:37:59 +02:00
Guillaume Chau
9aec563fe5 feat(ui): status color bullet on tasks with image icon 2018-06-10 21:34:00 +02:00
Guillaume Chau
1fcd2d0d76 fix(ui): IPC conflict 2018-06-10 21:21:08 +02:00
Evan You
323a38c2cf fix(build): --target app should respect inline entry as well
close #1533
2018-06-10 14:59:00 -04:00
Evan You
55e2c3eeea test: fix NODE_ENV for tests 2018-06-10 14:42:16 -04:00
Guillaume Chau
292c35fed3 fix(ui): increase terminal output scrollback 2018-06-10 20:17:51 +02:00
Guillaume Chau
47c835e3ab chore(ui): update @vue/ui 2018-06-10 18:28:29 +02:00
Guillaume Chau
6e1f7357a3 fix(ui): save db in user home 2018-06-10 17:59:45 +02:00
Evan You
a938008a99 workflow: do not log if link check is successful 2018-06-10 11:37:24 -04:00
Evan You
9ca73ccb0a ci: bust cache 2018-06-10 11:36:50 -04:00
Evan You
e8815caa49 workflow: fix checkLinks script 2018-06-10 11:36:16 -04:00
Guillaume Chau
2b12c81998 test(ui): fix e2e 2018-06-10 17:16:39 +02:00
Guillaume Chau
317f362a10 Merge branch 'dev' of github.com:vuejs/vue-cli into dev 2018-06-10 17:06:35 +02:00
Guillaume Chau
503e308c43 chore: check links 2018-06-10 17:06:22 +02:00
Pierre-Alexandre
9527dc86bd docs: provided the GitLab Pages platform guide (#1536) 2018-06-10 10:14:28 -04:00
Guillaume Chau
caf31a17d0 fix(ui): reset apollo store on reconnect 2018-06-10 15:54:45 +02:00
Guillaume Chau
54ad175e08 docs(ui): refactor (#1535)
* docs(ui): refactor

* docs(ui): polish

* docs(ui): remove empty localization section
2018-06-10 15:46:49 +02:00
Pierre-Alexandre
919bcbb2ce fix(ui): CSS Pre-processors "More info" link leads to 404 (#1534) 2018-06-10 15:15:58 +02:00
Guillaume Chau
e35ee2500d feat(ui): PluginApi: notify 2018-06-10 15:03:39 +02:00
Guillaume Chau
dbef5e9fed feat(ui): config improvements (#1487)
BREAKING CHANGES:

- The configuration API has changed.
- The `files` options now accept an object of different config files:

```js
api.describeConfig({
  /* ... */
  // All possible files for this config
  files: {
    // eslintrc.js
    eslint: {
      js: ['.eslintrc.js'],
      json: ['.eslintrc', '.eslintrc.json'],
      // Will read from `package.json`
      package: 'eslintConfig'
    },
    // vue.config.js
    vue: {
      js: ['vue.config.js']
    }
  },
})
```

- The `onWrite` api has changed: `setData` and `assignData` have now `fileId` as the first argument:

```js
api.describeConfig({
  onWrite: async ({ api, prompts }) => {
    const eslintData = {}
    const vueData = {}
    for (const prompt of prompts) {
      // eslintrc
      if (prompt.id.indexOf('vue/') === 0) {
        eslintData[`rules.${prompt.id}`] = await api.getAnswer(prompt.id, JSON.parse)
      } else {
        // vue.config.js
        vueData[prompt.id] = await api.getAnswer(prompt.id)
      }
    }
    api.setData('eslint', eslintData)
    api.setData('vue', vueData)
  }
})
```

Other changes

- Config tabs (optional):

```js
api.describeConfig({
  /* ... */
  onRead: ({ data, cwd }) => ({
    tabs: [
      {
        id: 'tab1',
        label: 'My tab',
        // Optional
        icon: 'application_settings',
        prompts: [
          // Prompt objects
        ]
      },
      {
        id: 'tab2',
        label: 'My other tab',
        prompts: [
          // Prompt objects
        ]
      }
    ]
  })
})
```
2018-06-10 14:01:45 +02:00
Guillaume Chau
e258f5a3c9 feat(ui): dark mode (#1512)
* feat(ui): dark mode

* fix(ui): ansi colors in dark mode

* refactor(ui): dark mode in apollo state

* feat(ui): xterm dark mode

* feat(ui): custom srcrollbar (chrome/safari)

* fix(ui): lower density

* feat(ui): client state mixin

* feat(ui): webpack analyzer dark-mode support

* fix(ui): status bar
2018-06-10 13:59:43 +02:00
Guillaume Chau
b361473e7e fix(ui): create: first feature removed if 'use config files' not checked 2018-06-10 13:58:21 +02:00