Commit Graph

1030 Commits

Author SHA1 Message Date
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
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
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
99b030a8f0 fix(ui): nav button custom image align 2018-06-11 17:26:23 +02:00
Evan You
b4770d0fcb ci: temporarily disable Cypress tests on windows 2018-06-11 11:12:27 -04: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
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
6e1f7357a3 fix(ui): save db in user home 2018-06-10 17:59:45 +02:00
Guillaume Chau
2b12c81998 test(ui): fix e2e 2018-06-10 17:16:39 +02:00
Guillaume Chau
503e308c43 chore: check links 2018-06-10 17:06:22 +02:00
Guillaume Chau
caf31a17d0 fix(ui): reset apollo store on reconnect 2018-06-10 15:54:45 +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
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
Evan You
2a8391d3c2 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
726aebdda5 docs: wip 2018-06-07 23:20:51 -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
Evan You
85e6e5ea6c fix: pwa plugin should be ignored when target is not app
close #1497
2018-06-07 10:12:22 -04:00
Evan You
7d06f09425 feat: allow configuring css-loader options via css.loaderOptions.css
close #1484

BREAKING CHANGE: css.localIdentName has been deprecated. Use
css.loaderOptions.css.localIdentName instead.
2018-06-07 10:10:33 -04:00
Evan You
f46dc4ca1c chore: bump inquirer module 2018-06-07 09:35:46 -04:00
Kite
6e32164df5 fix: Remove duplicated "the" (#1493) 2018-06-07 10:33:33 +02:00