From 8bf819d4a9947a10309f79edcaef0df2d700432b Mon Sep 17 00:00:00 2001 From: Yousan_O Date: Tue, 7 May 2019 13:47:03 +0900 Subject: [PATCH] http into https --- README.md | 6 +++--- docs/commands.md | 2 +- docs/e2e.md | 10 +++++----- docs/pre-processors.md | 2 +- docs/proxy.md | 6 +++--- docs/structure.md | 2 +- docs/unit.md | 6 +++--- template/README.md | 2 +- template/build/webpack.prod.conf.js | 4 ++-- template/config/index.js | 2 +- template/src/components/HelloWorld.vue | 8 ++++---- template/test/e2e/custom-assertions/elementCount.js | 2 +- template/test/e2e/nightwatch.conf.js | 2 +- template/test/e2e/runner.js | 2 +- template/test/e2e/specs/test.js | 2 +- template/test/unit/karma.conf.js | 4 ++-- 16 files changed, 31 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 6b4fea47e6..76a9f4d150 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ Feel free to fork this template if you want to keep it alive. ## Documentation -- [For this template](http://vuejs-templates.github.io/webpack): common questions specific to this template are answered and each part is described in greater detail -- [For Vue 2.0](http://vuejs.org/guide/): general information about how to work with Vue, not specific to this template +- [For this template](https://vuejs-templates.github.io/webpack): common questions specific to this template are answered and each part is described in greater detail +- [For Vue 2.0](https://vuejs.org/guide/): general information about how to work with Vue, not specific to this template ## Usage @@ -62,7 +62,7 @@ The development server will run on port 8080 by default. If that port is already - Supports ES2015+ in test files. - Easy mocking. -- `npm run e2e`: End-to-end tests with [Nightwatch](http://nightwatchjs.org/). +- `npm run e2e`: End-to-end tests with [Nightwatch](https://nightwatchjs.org/). - Run tests in multiple browsers in parallel. - Works with one command out of the box: - Selenium and chromedriver dependencies automatically handled. diff --git a/docs/commands.md b/docs/commands.md index 7a8d48963b..324ca9f83f 100644 --- a/docs/commands.md +++ b/docs/commands.md @@ -30,7 +30,7 @@ All build commands are executed via [NPM Scripts](https://docs.npmjs.com/misc/sc ### `npm run e2e` -> Run end-to-end tests with [Nightwatch](http://nightwatchjs.org/). See [End-to-end Testing](e2e.md) for more details. +> Run end-to-end tests with [Nightwatch](https://nightwatchjs.org/). See [End-to-end Testing](e2e.md) for more details. - Run tests in multiple browsers in parallel. - Works with one command out of the box: diff --git a/docs/e2e.md b/docs/e2e.md index 2c2f17341d..2b4d603900 100644 --- a/docs/e2e.md +++ b/docs/e2e.md @@ -1,6 +1,6 @@ # End-to-end Testing -This boilerplate uses [Nightwatch.js](http://nightwatchjs.org) for e2e tests. Nightwatch.js is a highly integrated e2e test runner built on top of Selenium. This boilerplate comes with Selenium server and chromedriver binaries pre-configured for you, so you don't have to mess with these yourself. +This boilerplate uses [Nightwatch.js](https://nightwatchjs.org) for e2e tests. Nightwatch.js is a highly integrated e2e test runner built on top of Selenium. This boilerplate comes with Selenium server and chromedriver binaries pre-configured for you, so you don't have to mess with these yourself. Let's take a look at the files in the `test/e2e` directory: @@ -10,16 +10,16 @@ Let's take a look at the files in the `test/e2e` directory: - `nightwatch.conf.js` - Nightwatch configuration file. See [Nightwatch's docs on configuration](http://nightwatchjs.org/gettingstarted#settings-file) for more details. + Nightwatch configuration file. See [Nightwatch's docs on configuration](https://nightwatchjs.org/gettingstarted#settings-file) for more details. - `custom-assertions/` - Custom assertions that can be used in Nightwatch tests. See [Nightwatch's docs on writing custom assertions](http://nightwatchjs.org/guide#writing-custom-assertions) for more details. + Custom assertions that can be used in Nightwatch tests. See [Nightwatch's docs on writing custom assertions](https://nightwatchjs.org/guide#writing-custom-assertions) for more details. - `specs/` - Your actual tests! See [Nightwatch's docs on writing tests](http://nightwatchjs.org/guide#writing-tests) and [API reference](http://nightwatchjs.org/api) for more details. + Your actual tests! See [Nightwatch's docs on writing tests](https://nightwatchjs.org/guide#writing-tests) and [API reference](https://nightwatchjs.org/api) for more details. ### Running Tests in More Browsers -To configure which browsers to run the tests in, add an entry under "test_settings" in [`test/e2e/nightwatch.conf.js`](https://github.com/vuejs-templates/webpack/blob/master/template/test/e2e/nightwatch.conf.js#L17-L39) , and also the `--env` flag in [`test/e2e/runner.js`](https://github.com/vuejs-templates/webpack/blob/master/template/test/e2e/runner.js#L15). If you wish to configure remote testing on services like SauceLabs, you can either make the Nightwatch config conditional based on environment variables, or use a separate config file altogether. Consult [Nightwatch's docs on Selenium](http://nightwatchjs.org/guide#selenium-settings) for more details. +To configure which browsers to run the tests in, add an entry under "test_settings" in [`test/e2e/nightwatch.conf.js`](https://github.com/vuejs-templates/webpack/blob/master/template/test/e2e/nightwatch.conf.js#L17-L39) , and also the `--env` flag in [`test/e2e/runner.js`](https://github.com/vuejs-templates/webpack/blob/master/template/test/e2e/runner.js#L15). If you wish to configure remote testing on services like SauceLabs, you can either make the Nightwatch config conditional based on environment variables, or use a separate config file altogether. Consult [Nightwatch's docs on Selenium](https://nightwatchjs.org/guide#selenium-settings) for more details. diff --git a/docs/pre-processors.md b/docs/pre-processors.md index c99604e5a5..bc42542adc 100644 --- a/docs/pre-processors.md +++ b/docs/pre-processors.md @@ -41,7 +41,7 @@ module.exports = { } ``` -See [vue-loader's related documentation](http://vuejs.github.io/vue-loader/en/features/postcss.html) for more details. +See [vue-loader's related documentation](https://vuejs.github.io/vue-loader/en/features/postcss.html) for more details. ### Standalone CSS Files diff --git a/docs/proxy.md b/docs/proxy.md index 60b5151c2f..7cf5110e78 100644 --- a/docs/proxy.md +++ b/docs/proxy.md @@ -12,7 +12,7 @@ module.exports = { proxyTable: { // proxy all requests starting with /api to jsonplaceholder '/api': { - target: 'http://jsonplaceholder.typicode.com', + target: 'https://jsonplaceholder.typicode.com', changeOrigin: true, pathRewrite: { '^/api': '' @@ -23,7 +23,7 @@ module.exports = { } ``` -The above example will proxy the request `/api/posts/1` to `http://jsonplaceholder.typicode.com/posts/1`. +The above example will proxy the request `/api/posts/1` to `https://jsonplaceholder.typicode.com/posts/1`. ## URL Matching @@ -32,7 +32,7 @@ In addition to static urls you can also use glob patterns to match URLs, e.g. `/ ``` js proxyTable: { '**': { - target: 'http://jsonplaceholder.typicode.com', + target: 'https://jsonplaceholder.typicode.com', filter: function (pathname, req) { return pathname.match('^/api') && req.method === 'GET' } diff --git a/docs/structure.md b/docs/structure.md index 341a51614b..25ab6dc453 100644 --- a/docs/structure.md +++ b/docs/structure.md @@ -49,7 +49,7 @@ This is the main configuration file that exposes some of the most common configu ### `src/` -This is where most of your application code will live in. How to structure everything inside this directory is largely up to you; if you are using Vuex, you can consult the [recommendations for Vuex applications](http://vuex.vuejs.org/en/structure.html). +This is where most of your application code will live in. How to structure everything inside this directory is largely up to you; if you are using Vuex, you can consult the [recommendations for Vuex applications](https://vuex.vuejs.org/en/structure.html). ### `static/` diff --git a/docs/unit.md b/docs/unit.md index c14c46b4f9..8b0bdccb9c 100644 --- a/docs/unit.md +++ b/docs/unit.md @@ -25,8 +25,8 @@ The Jest boilerplate comes with the ability to mock dependencies. See the [mock - [Karma](https://karma-runner.github.io/): the test runner that launches browsers, runs the tests and reports the results to us. - [karma-webpack](https://github.com/webpack/karma-webpack): the plugin for Karma that bundles our tests using Webpack. - [Mocha](https://mochajs.org/): the test framework that we write test specs with. -- [Chai](http://chaijs.com/): test assertion library that provides better assertion syntax. -- [Sinon](http://sinonjs.org/): test utility library that provides spies, stubs and mocks. +- [Chai](https://chaijs.com/): test assertion library that provides better assertion syntax. +- [Sinon](https://sinonjs.org/): test utility library that provides spies, stubs and mocks. Chai and Sinon are integrated using [karma-sinon-chai](https://github.com/kmees/karma-sinon-chai), so all Chai interfaces (`should`, `expect`, `assert`) and `sinon` are globally available in test files. @@ -50,4 +50,4 @@ You can run the tests in multiple real browsers by installing more [karma launch ### Mocking Dependencies -The Karma unit test boilerplate comes with [inject-loader](https://github.com/plasticine/inject-loader) installed by default. For usage with `*.vue` components, see [vue-loader docs on testing with mocks](http://vue-loader.vuejs.org/en/workflow/testing-with-mocks.html). +The Karma unit test boilerplate comes with [inject-loader](https://github.com/plasticine/inject-loader) installed by default. For usage with `*.vue` components, see [vue-loader docs on testing with mocks](https://vue-loader.vuejs.org/en/workflow/testing-with-mocks.html). diff --git a/template/README.md b/template/README.md index 4b0258a35b..e8b80936bb 100644 --- a/template/README.md +++ b/template/README.md @@ -33,4 +33,4 @@ npm test {{/if_or}} ``` -For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). +For a detailed explanation on how things work, check out the [guide](https://vuejs-templates.github.io/webpack/) and [docs for vue-loader](https://vuejs.github.io/vue-loader). diff --git a/template/build/webpack.prod.conf.js b/template/build/webpack.prod.conf.js index fc5d53fa3d..27f37b1af3 100644 --- a/template/build/webpack.prod.conf.js +++ b/template/build/webpack.prod.conf.js @@ -30,7 +30,7 @@ const webpackConfig = merge(baseWebpackConfig, { chunkFilename: utils.assetsPath('js/[id].[chunkhash].js') }, plugins: [ - // http://vuejs.github.io/vue-loader/en/workflow/production.html + // https://vuejs.github.io/vue-loader/en/workflow/production.html new webpack.DefinePlugin({ 'process.env': env }), @@ -48,7 +48,7 @@ const webpackConfig = merge(baseWebpackConfig, { filename: utils.assetsPath('css/[name].[contenthash].css'), // Setting the following option to `false` will not extract CSS from codesplit chunks. // Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack. - // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, + // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, // increasing file size: https://github.com/vuejs-templates/webpack/issues/1110 allChunks: true, }), diff --git a/template/config/index.js b/template/config/index.js index 820109957f..012d6ef66a 100644 --- a/template/config/index.js +++ b/template/config/index.js @@ -1,6 +1,6 @@ 'use strict' // Template version: {{ template_version }} -// see http://vuejs-templates.github.io/webpack for documentation. +// see https://vuejs-templates.github.io/webpack for documentation. const path = require('path') diff --git a/template/src/components/HelloWorld.vue b/template/src/components/HelloWorld.vue index ce0edd8ac1..333441dc06 100644 --- a/template/src/components/HelloWorld.vue +++ b/template/src/components/HelloWorld.vue @@ -38,7 +38,7 @@
  • Docs for This Template @@ -49,7 +49,7 @@