Commit Graph

1200 Commits

Author SHA1 Message Date
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
Guillaume Chau
5984a0d3ad fix(ui): bail access denied folders 2018-06-10 13:46:43 +02:00
Evan You
60de7c460c fix: fix custom mode NODE_ENV regression
close #1528
2018-06-09 15:05:16 -04:00
ULIVZ
eb709ea887 docs: fix broken link (#1530) 2018-06-09 11:03:49 -04:00
Evan You
c074459e25 refactor: clean babel config when invoking 2018-06-08 18:59:23 -04:00
Evan You
79ee90b024 refactor: generator internal tweaks
- avoid hitting the disk again when extracting / extending config files
- normalize paths when reading files before invoking
2018-06-08 18:52:38 -04:00
Evan You
65d5d36d39 fix: transform es modules syntax for Jest when not using Babel
close #1524
2018-06-08 18:41:14 -04:00
PiEgg
dd39866cad docs: fix word error (#1517) 2018-06-08 11:25:54 +02:00
Evan You
d31cc13f17 chore: make docs more prominent in readme 2018-06-08 01:03:32 -04:00
Evan You
8ce28b08b3 chore: update link to docs in readme 2018-06-08 00:55:42 -04:00
Evan You
d9b6230a23 chore: 3.0.0-beta.16 changelog 2018-06-08 00:52:45 -04:00
Evan You
2a8391d3c2 v3.0.0-beta.16 v3.0.0-beta.16 2018-06-08 00:51:12 -04:00
Evan You
85306c82ef chore: pre release sync 2018-06-08 00:51:04 -04:00
Evan You
486ca1805b docs: basic deployment notes 2018-06-08 00:48:34 -04:00
Evan You
445d96e0df chore: remove temp file 2018-06-08 00:11:46 -04:00
Evan You
fb97646ee5 docs: more content 2018-06-08 00:10:35 -04:00
Payton Burdette
252fa363c3 docs: fixed broken plugin dev link on contributing guide (#1510) 2018-06-07 23:22:27 -04:00
Evan You
726aebdda5 docs: wip 2018-06-07 23:20:51 -04:00
Evan You
999cbe4cde docs: wip 2018-06-07 15:39:34 -04:00
Evan You
97787947b9 docs: wip 2018-06-07 13:24:59 -04:00
Evan You
0b9c837108 ci: bump appveyor node version 2018-06-07 11:28:10 -04:00
Craig Morris
7c1ef24460 fix(env): preserve existing env vars so load in reverse order. (#1503) 2018-06-07 10:56:30 -04:00
Evan You
c1074beb9e ci: bump timeouts 2018-06-07 10:51:04 -04:00
Evan You
7b90fdc7d5 feat: bump TypeScript to 2.9 2018-06-07 10:48:44 -04:00
Evan You
5b4df14278 fix: resolve.symlinks to false so that node_modules exclusion works
properly on linked modules
2018-06-07 10:28:32 -04:00