Skip to content

Commit

Permalink
Update vue-cli to 5.0.8 (#82)
Browse files Browse the repository at this point in the history
* Upgrade to vue cli 5.0.8
  • Loading branch information
glounder authored Oct 28, 2022
1 parent 1abbd07 commit 0fa36aa
Show file tree
Hide file tree
Showing 8 changed files with 21,696 additions and 30,395 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
restore-keys: ${{ runner.os }}-build-${{env.INSTALL_CACHE_NAME}}-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
run: npm install --force
lint:
needs: install
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
restore-keys: ${{ runner.os }}-build-${{env.INSTALL_CACHE_NAME}}-
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
run: npm install --force
- name: Testing
run: npm run test:unit
- name: Sending to Code Climate
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
node-version: 16
- name: Install
run: npm ci
run: npm ci --force
- name: Test
run: npm run test:unit

Expand All @@ -30,7 +30,7 @@ jobs:
node-version: 16
registry-url: https://registry.npmjs.org
- name: Install
run: npm ci
run: npm ci --force
- name: build
run: npm run build
- name: Publish
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: ['@vue/babel-preset-app'],
presets: ['@vue/cli-plugin-babel/preset'],
};
52,065 changes: 21,683 additions & 30,382 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@vue/babel-preset-app": "^4.5.19",
"@vue/cli-plugin-babel": "^4.5.19",
"@vue/cli-plugin-eslint": "^4.5.19",
"@vue/cli-service": "^4.5.19",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8",
"@vue/cli-service": "~5.0.8",
"@vue/composition-api": "^1.7.1",
"@vue/eslint-config-airbnb": "^5.1.0",
"@vue/eslint-config-airbnb": "^6.0.0",
"@vue/test-utils": "^1.3.0",
"@vue/test-utils3": "npm:@vue/test-utils@^2.0.0-0",
"@vue/vue2-jest": "^29.1.1",
Expand All @@ -49,7 +48,6 @@
"babel-jest": "^29.1.1",
"core-js": "^3.25.5",
"cross-env": "^7.0.3",
"eslint": "^7.9.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^6.2.2",
Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
babelrc: false,
presets: [
[
'@vue/babel-preset-app',
'@vue/cli-plugin-babel/preset',
{
debug: true,
targets: { browsers: ['> 1%', 'last 2 versions', 'ie > 9'] },
Expand Down
4 changes: 3 additions & 1 deletion tests/unit/ld-route-guard.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ describe('LDRouteGuard', () => {
flags.myFlag.value = false;
server.respondWith([200, { 'Content-Type': 'application/json' }, JSON.stringify(flags)]);

const dynamicEmptyComponent = new Promise((resolve) => resolve(EmptyComponent));
const dynamicEmptyComponent = new Promise((resolve) => {
resolve(EmptyComponent)
});
const wrapper = await createComponent(dynamicEmptyComponent);
expect(wrapper.vm.$router.push).toHaveBeenCalled();
});
Expand Down

0 comments on commit 0fa36aa

Please sign in to comment.