Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cnamts/vue-cli-plugin-vue-dash

Package Overview
Dependencies
Maintainers
2
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cnamts/vue-cli-plugin-vue-dash - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

73

generator/functions/extendPackage.js

@@ -33,7 +33,13 @@ const { devDependencies } = require('../../package.json');

* @param {object} options The plugin options
* @param {string} pm The package manager
* @returns {void}
*/
function extendPackage(api, options) {
function extendPackage(api, options, pm) {
const newPackageProperties = {
scripts: {},
scripts: {
'serve': 'vue-cli-service serve',
'build': 'vue-cli-service build',
'lint': 'vue-cli-service lint',
'test:unit': 'vue-cli-service test:unit'
},
dependencies: {

@@ -43,42 +49,42 @@ '@cnamts/design-tokens': DesignTokensVersion,

'@cnamts/vue-dot': VueDotVersion,
'axios': '^0.21.1',
'core-js': '^3.16.4',
'axios': '^0.24.0',
'core-js': '^3.19.0',
'custom-event-polyfill': '^1.0.7',
'dayjs': '^1.10.6',
'dayjs': '^1.10.7',
'languages': '^0.1.3',
'vue': '^2.6.14',
'vue-input-facade': '^1.3.6',
'vue-input-facade': '^1.3.7',
'vue-meta': '^2.4.0',
'vue-router': '^3.5.2',
'vuetify': '^2.5.8',
'vuetify': '^2.5.10',
'vuex': '^3.6.2'
},
devDependencies: {
'@babel/core': '^7.15.0',
'@mdi/js': '^5.9.55',
'@babel/core': '^7.15.8',
'@mdi/js': '^6.4.95',
'@types/jest': '^26.0.24',
'@types/webfontloader': '^1.6.33',
'@typescript-eslint/eslint-plugin': '^4.29.3',
'@typescript-eslint/parser': '^4.29.3',
'@vue/cli-plugin-babel': '~4.5.13',
'@vue/cli-plugin-eslint': '~4.5.13',
'@vue/cli-plugin-router': '~4.5.13',
'@vue/cli-plugin-typescript': '~4.5.13',
'@vue/cli-plugin-unit-jest': '~4.5.13',
'@vue/cli-plugin-vuex': '~4.5.13',
'@vue/cli-service': '~4.5.13',
'@typescript-eslint/eslint-plugin': '^5.1.0',
'@typescript-eslint/parser': '^5.1.0',
'@vue/cli-plugin-babel': '~4.5.14',
'@vue/cli-plugin-eslint': '~4.5.14',
'@vue/cli-plugin-router': '~4.5.14',
'@vue/cli-plugin-typescript': '~4.5.14',
'@vue/cli-plugin-unit-jest': '~4.5.14',
'@vue/cli-plugin-vuex': '~4.5.14',
'@vue/cli-service': '~4.5.14',
'@vue/eslint-config-standard': '^6.1.0',
'@vue/eslint-config-typescript': '^7.0.0',
'@vue/eslint-config-typescript': '^8.0.0',
'@vue/test-utils': '^1.2.2',
'eslint': '^7.32.0',
'eslint-plugin-import': '^2.24.2',
'eslint-plugin-import': '^2.25.2',
'eslint-plugin-node': '^11.1.0',
'eslint-plugin-promise': '^5.1.0',
'eslint-plugin-vue': '^7.17.0',
'eslint-plugin-promise': '^5.1.1',
'eslint-plugin-vue': '^7.20.0',
'jest-serializer-vue': '^2.0.2',
'sass': '1.32.13', // @see https://github.com/vuetifyjs/vuetify/issues/13694
'sass': '1.32.13', /** @see https://github.com/vuetifyjs/vuetify/issues/13694 */
'sass-loader': '^10.2.0',
'typescript': '~4.4.2',
'typescript': '~4.4.4',
'vue-class-component': '^7.2.6',
'vue-cli-plugin-vuetify': '^2.4.2',
'vue-cli-plugin-vuetify': '^2.4.3',
'vue-template-compiler': '^2.6.14',

@@ -95,9 +101,15 @@ 'vuetify-loader': '^1.7.3',

engines: {
'node': '^12 || ^14',
'yarn': '^1.12'
'node': '^12 || ^14'
}
};
if (pm === 'npm') {
newPackageProperties.devDependencies['deepmerge'] = '^4.2.2'; /** @see https://github.com/assurance-maladie-digital/vue-cli-preset/issues/5 */
newPackageProperties.engines['npm'] = '^7.20.6';
} else if (pm === 'yarn') {
newPackageProperties.engines['yarn'] = '^1.12';
}
if (options.i18n) {
newPackageProperties.dependencies['vue-i18n'] = '^8.25.0';
newPackageProperties.dependencies['vue-i18n'] = '^8.26.5';
}

@@ -113,9 +125,8 @@

if (options.cypress) {
newPackageProperties.devDependencies['@vue/cli-plugin-e2e-cypress'] = '~4.5.13';
newPackageProperties.devDependencies['@vue/cli-plugin-e2e-cypress'] = '~4.5.14';
newPackageProperties.scripts = {};
newPackageProperties.scripts['test:e2e'] = 'vue-cli-service test:e2e --headless';
newPackageProperties.scripts['test:e2e:gui'] = 'vue-cli-service test:e2e';
newPackageProperties.resolutions['cypress'] = '^8.3.1';
newPackageProperties.resolutions['cypress'] = '^8.6.0';
}

@@ -122,0 +133,0 @@

@@ -14,2 +14,3 @@ const { getFooterDate } = require('./functions/getFooterDate');

const projectName = api.rootOptions.projectName;
const pm = api.generator.pm.bin;

@@ -25,3 +26,3 @@ // By default, do not render template when invoking

footerDate: getFooterDate(),
pm: 'yarn',
pm,
// Functions

@@ -34,3 +35,3 @@ capitalizeFirstLetter

// Update package.json
extendPackage(api, options);
extendPackage(api, options, pm);

@@ -37,0 +38,0 @@ // Delete old ressources and parse public/index.html

@@ -25,2 +25,3 @@ module.exports = {

'!**/decorators.ts',
'!**/constants/**',
'!**/router/**',

@@ -27,0 +28,0 @@ '!**/main.ts',

import AppFooter from './AppFooter.vue';
import AppHeader from './AppHeader.vue';
import AppToolbar from './AppToolbar.vue';
export {
AppFooter,
AppHeader,
AppToolbar
AppHeader
};

@@ -9,3 +9,3 @@ import Vue from 'vue';

let wrapper: Wrapper<Vue>;
let wrapper: Wrapper<Vue>;<% if (i18n) { %>

@@ -20,3 +20,3 @@ const links = [

}
];
];<% } %>

@@ -23,0 +23,0 @@ // Tests

import axios, { AxiosError, AxiosResponse } from 'axios';
import { store } from '@/store';
import { store } from '@/store';<% if (i18n) { %>
<% if (i18n) { %>
import common from '@/translations/fr/common';
<% } %>
import common from '@/translations/fr/common';<% } %>

@@ -9,0 +7,0 @@ /** The axios instance */

@@ -7,5 +7,5 @@ import WebFontLoader from 'webfontloader';

families: [
'Open Sans:100,300,400,500,700,900&display=swap'
'Open Sans:n1,n3,n4,n5,n7,n9,i1,i3,i4,i5,i7,i9&display=swap'
]
}
});
export default {
logoBtn: {
label: 'Accueil',
alt: 'l\'Assurance Maladie'
},
title: 'Projet <%= name %>'
title: 'Projet <%= name %>',
navigationItems: [
{
label: 'Accueil',
to: {
name: 'home'
}
},
{
label: 'À propos',
to: {
name: 'about'
}
}
]
};

@@ -10,6 +10,5 @@ export default {

name: 'home'
},
disabled: false
}
}
]
};
import appFooter from './appFooter';
import appHeader from './appHeader';
import appToolbar from './appToolbar';
import headerMenu from './headerMenu';

@@ -9,4 +8,3 @@

appHeader,
appToolbar,
headerMenu
};

@@ -9,3 +9,3 @@ export default {

block1: 'Vous venez de créer une nouvelle application front-end avec Vue Dash.',
block2: 'Tout est prêt, vous pouvez dès à présent commencer à développer !'
block2: 'Tout est prêt, vous pouvez commencer à développer\xa0!'
},

@@ -12,0 +12,0 @@ about: {

export default {
title: 'Maintenance en cours',
message: 'L\'application n\'est pas disponible pour le moment, veuillez nous excuser pour la gêne occasionnée.'
message: 'L’application n’est pas disponible pour le moment, veuillez nous excuser pour la gêne occasionnée.'
};

@@ -8,4 +8,4 @@ export default {

error: 'Page non trouvée',
message: 'Il semblerait qu\'il y ait eu une erreur !',
cta: 'Retour à la page d\'accueil'
message: 'Il semblerait qu’il y ait eu une erreur !',
cta: 'Retour à la page d’accueil'
};

@@ -9,3 +9,3 @@ import Vue from 'vue';

let wrapper: Wrapper<Vue>;
let wrapper: Wrapper<Vue>;<% if (i18n) { %>

@@ -23,3 +23,3 @@ const links = [

}
];
];<% } %>

@@ -26,0 +26,0 @@ // Tests

@@ -11,4 +11,4 @@ // Global test configuration

Wrapper,
VueClass,
config
VueClass<% if (i18n) { %>,
config<% } %>
} from '@vue/test-utils';

@@ -15,0 +15,0 @@

{
"name": "@cnamts/vue-cli-plugin-vue-dash",
"version": "2.0.0",
"version": "2.1.0",
"description": "Vue CLI plugin to scaffold front-end projects",

@@ -14,8 +14,8 @@ "keywords": [

"url": "https://github.com/assurance-maladie-digital/design-system/issues",
"email": "me@deraw.dev"
"email": "digital_TL.cnam@assurance-maladie.fr"
},
"license": "MIT",
"author": {
"name": "Dylan Broussard",
"email": "me@deraw.dev"
"name": "CNAM",
"email": "digital_TL.cnam@assurance-maladie.fr"
},

@@ -27,3 +27,3 @@ "main": "index.js",

"dependencies": {
"@cnamts/cli-helpers": "^2.0.0",
"@cnamts/cli-helpers": "^2.1.0",
"dayjs": "^1.8.34",

@@ -34,5 +34,5 @@ "fs-extra": "^10.0.0",

"devDependencies": {
"@cnamts/design-tokens": "^2.0.0",
"@cnamts/form-builder": "^2.0.0",
"@cnamts/vue-dot": "^2.0.0"
"@cnamts/design-tokens": "^2.1.0",
"@cnamts/form-builder": "^2.1.0",
"@cnamts/vue-dot": "^2.1.0"
},

@@ -42,3 +42,3 @@ "publishConfig": {

},
"gitHead": "41bc442357bbb2807f4b252b58669226ce57200e"
"gitHead": "313cd5f7ca21a439ca0c0f1d6b8c76fcc8d8bc16"
}

@@ -12,2 +12,3 @@ // Vue CLI configuration

HeaderLoading: 'elements',
Logo: 'elements',
PageContainer: 'elements',

@@ -19,2 +20,3 @@ // Patterns

FooterWrapper: 'patterns',
HeaderBar: 'patterns',
LangBtn: 'patterns',

@@ -21,0 +23,0 @@ NotificationBar: 'patterns',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc