From 09cc5aafe920c1c7d314e681fade26153d39c93e Mon Sep 17 00:00:00 2001 From: smilerz Date: Tue, 7 Dec 2021 15:38:03 -0600 Subject: [PATCH] fix package.json --- cookbook/serializer.py | 2 +- vue/package.json | 164 ++++++++++++++++++++--------------------- 2 files changed, 83 insertions(+), 83 deletions(-) diff --git a/cookbook/serializer.py b/cookbook/serializer.py index c7405fae..20c6fec2 100644 --- a/cookbook/serializer.py +++ b/cookbook/serializer.py @@ -137,7 +137,7 @@ class UserNameSerializer(WritableNestedModelSerializer): class UserPreferenceSerializer(serializers.ModelSerializer): - plan_share = UserNameSerializer(many=True) + plan_share = UserNameSerializer(many=True, read_only=True) def create(self, validated_data): if validated_data['user'] != self.context['request'].user: diff --git a/vue/package.json b/vue/package.json index 4511c321..f0b1f8c2 100644 --- a/vue/package.json +++ b/vue/package.json @@ -1,87 +1,87 @@ { - "name": "vue", - "version": "0.1.0", - "private": true, - "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint" - }, - "dependencies": { - "@babel/eslint-parser": "^7.16.0", - "@kangc/v-md-editor": "^1.7.7", - "@kevinfaguiar/vue-twemoji-picker": "^5.7.4", - "@popperjs/core": "^2.10.1", - "@riophae/vue-treeselect": "^0.4.0", - "axios": "^0.24.0", - "bootstrap-vue": "^2.21.2", - "core-js": "^3.19.0", - "lodash": "^4.17.21", - "moment": "^2.29.1", - "prismjs": "^1.25.0", - "vue": "^2.6.14", - "vue-class-component": "^7.2.3", - "vue-click-outside": "^1.1.0", - "vue-clickaway": "^2.2.2", - "vue-cookies": "^1.7.4", - "vue-i18n": "^8.26.5", - "vue-infinite-loading": "^2.4.5", - "vue-multiselect": "^2.1.6", - "vue-property-decorator": "^9.1.2", - "vue-simple-calendar": "^6.0.3", - "vue-template-compiler": "^2.6.14", - "vue2-touch-events": "^3.2.2", - "vuedraggable": "^2.24.3", - "vuex": "^3.6.0", - "workbox-webpack-plugin": "^6.3.0" - }, - "devDependencies": { - "@kazupon/vue-i18n-loader": "^0.5.0", - "@typescript-eslint/eslint-plugin": "^4.33.0", - "@typescript-eslint/parser": "^4.32.0", - "@vue/cli-plugin-babel": "~4.5.13", - "@vue/cli-plugin-eslint": "~4.5.15", - "@vue/cli-plugin-pwa": "~4.5.13", - "@vue/cli-plugin-typescript": "^4.5.15", - "@vue/cli-service": "~4.5.13", - "@vue/compiler-sfc": "^3.2.20", - "@vue/eslint-config-typescript": "^9.1.0", - "babel-eslint": "^10.1.0", - "eslint": "^8.3.0", - "eslint-plugin-vue": "^8.0.3", - "typescript": "~4.5.2", - "vue-cli-plugin-i18n": "^2.1.1", - "webpack-bundle-tracker": "1.4.0", - "workbox-expiration": "^6.3.0", - "workbox-navigation-preload": "^6.0.2", - "workbox-precaching": "^6.3.0", - "workbox-routing": "^6.3.0", - "workbox-strategies": "^6.2.4" - }, - "eslintConfig": { - "root": true, - "env": { - "node": true + "name": "vue", + "version": "0.1.0", + "private": true, + "scripts": { + "serve": "vue-cli-service serve", + "build": "vue-cli-service build", + "lint": "vue-cli-service lint" }, - "extends": [ - "plugin:vue/vue3-essential", - "eslint:recommended", - "@vue/typescript" + "dependencies": { + "@babel/eslint-parser": "^7.16.0", + "@kangc/v-md-editor": "^1.7.7", + "@kevinfaguiar/vue-twemoji-picker": "^5.7.4", + "@popperjs/core": "^2.10.1", + "@riophae/vue-treeselect": "^0.4.0", + "axios": "^0.24.0", + "bootstrap-vue": "^2.21.2", + "core-js": "^3.19.0", + "lodash": "^4.17.21", + "moment": "^2.29.1", + "prismjs": "^1.25.0", + "vue": "^2.6.14", + "vue-class-component": "^7.2.3", + "vue-click-outside": "^1.1.0", + "vue-clickaway": "^2.2.2", + "vue-cookies": "^1.7.4", + "vue-i18n": "^8.26.5", + "vue-infinite-loading": "^2.4.5", + "vue-multiselect": "^2.1.6", + "vue-property-decorator": "^9.1.2", + "vue-simple-calendar": "^5.0.1", + "vue-template-compiler": "^2.6.14", + "vue2-touch-events": "^3.2.2", + "vuedraggable": "^2.24.3", + "vuex": "^3.6.0", + "workbox-webpack-plugin": "^6.3.0" + }, + "devDependencies": { + "@kazupon/vue-i18n-loader": "^0.5.0", + "@typescript-eslint/eslint-plugin": "^4.33.0", + "@typescript-eslint/parser": "^4.32.0", + "@vue/cli-plugin-babel": "~4.5.13", + "@vue/cli-plugin-eslint": "~4.5.15", + "@vue/cli-plugin-pwa": "~4.5.13", + "@vue/cli-plugin-typescript": "^4.5.15", + "@vue/cli-service": "~4.5.13", + "@vue/compiler-sfc": "^3.2.20", + "@vue/eslint-config-typescript": "^9.1.0", + "babel-eslint": "^10.1.0", + "eslint": "^7.28.0", + "eslint-plugin-vue": "^8.0.3", + "typescript": "~4.5.2", + "vue-cli-plugin-i18n": "^2.1.1", + "webpack-bundle-tracker": "1.4.0", + "workbox-expiration": "^6.3.0", + "workbox-navigation-preload": "^6.0.2", + "workbox-precaching": "^6.3.0", + "workbox-routing": "^6.3.0", + "workbox-strategies": "^6.2.4" + }, + "eslintConfig": { + "root": true, + "env": { + "node": true + }, + "extends": [ + "plugin:vue/vue3-essential", + "eslint:recommended", + "@vue/typescript" + ], + "parserOptions": { + "parser": "@typescript-eslint/parser" + }, + "rules": { + "no-unused-vars": "off" + } + }, + "browserslist": [ + "> 1%", + "last 2 versions", + "not dead" ], - "parserOptions": { - "parser": "@typescript-eslint/parser" - }, - "rules": { - "no-unused-vars": "off" + "resolutions": { + "@vue/cli-plugin-pwa/workbox-webpack-plugin": "^5.1.3", + "coa": "2.0.2" } - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ], - "resolutions": { - "@vue/cli-plugin-pwa/workbox-webpack-plugin": "^5.1.3", - "coa": "2.0.2" - } }