From c85bfdbe1433f3cc869e56c3d9ed4c5bc953e8f1 Mon Sep 17 00:00:00 2001 From: Alban Mouton Date: Tue, 5 Nov 2024 14:05:39 +0100 Subject: [PATCH] chore: small stuff --- .gitignore | 4 +++- CONTRIBUTE.md | 4 +++- doc/package.json | 2 +- lib/package.json | 6 +++--- markdown/LICENSE | 21 --------------------- package-lock.json | 17 +++++++++-------- package.json | 2 +- 7 files changed, 20 insertions(+), 36 deletions(-) delete mode 100644 markdown/LICENSE diff --git a/.gitignore b/.gitignore index db24e4c5..08711495 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ node_modules /doc/pages/compiled .idea/ /lib/README.md -/lib/LICENSE \ No newline at end of file +/lib/LICENSE +/markdown/README.md +/markdown/LICENSE \ No newline at end of file diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index 99e8a895..da3e901b 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -70,8 +70,10 @@ npm -w lib version preminor --preid=beta # use prerelease instead of preminor to npm -w lib publish --tag=next ``` -To publish the latest documentation after a release: +To publish the latest documentation after a release, first update doc/package.json, then: ``` +rm -rf doc/node_modules +npm -w doc install npm run publish:latest ``` \ No newline at end of file diff --git a/doc/package.json b/doc/package.json index 3ad9be5b..b81fee13 100644 --- a/doc/package.json +++ b/doc/package.json @@ -12,7 +12,7 @@ "compile-examples": "node scripts/compile-examples.mjs" }, "dependencies": { - "@koumoul/vjsf": "3.0.0-beta.46", + "@koumoul/vjsf": "3.0.0-beta.47", "@koumoul/vjsf-markdown": "0.2.3", "@mdi/font": "^7.2.96", "ajv-formats": "^2.1.1", diff --git a/lib/package.json b/lib/package.json index c5a48a12..519f18ed 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,12 +1,12 @@ { "name": "@koumoul/vjsf", - "version": "3.0.0-beta.46", + "version": "3.0.0-beta.47", "description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.", "scripts": { "test": "vitest", "build": "vue-tsc", "watch:build": "vue-tsc --watch", - "prepublishOnly": "cp ../README.md README.md && cp ../LICENSE LICENSE" + "prepublishOnly": "npm run build && cp ../README.md README.md && cp ../LICENSE LICENSE" }, "author": "Alban Mouton ", "license": "MIT", @@ -70,7 +70,7 @@ "vuetify": "^3.6.13" }, "dependencies": { - "@json-layout/core": "0.33.0", + "@json-layout/core": "0.33.1", "@vueuse/core": "^10.5.0", "debug": "^4.3.4", "ejs": "^3.1.9" diff --git a/markdown/LICENSE b/markdown/LICENSE deleted file mode 100644 index 8ef7ea8b..00000000 --- a/markdown/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2018 Alban Mouton - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/package-lock.json b/package-lock.json index 1a8f3eae..ca8949e7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ ], "devDependencies": { "@commitlint/config-conventional": "^17.7.0", - "@json-layout/core": "0.33.0", + "@json-layout/core": "0.33.1", "@json-layout/examples": "0.21.0", "@json-layout/vocabulary": "0.23.2", "@koumoul/gh-pages-multi": "^0.7.2", @@ -31,7 +31,7 @@ "version": "2.21.3", "license": "MIT", "dependencies": { - "@koumoul/vjsf": "3.0.0-beta.46", + "@koumoul/vjsf": "3.0.0-beta.47", "@koumoul/vjsf-markdown": "0.2.3", "@mdi/font": "^7.2.96", "ajv-formats": "^2.1.1", @@ -63,10 +63,10 @@ }, "lib": { "name": "@koumoul/vjsf", - "version": "3.0.0-beta.46", + "version": "3.0.0-beta.47", "license": "MIT", "dependencies": { - "@json-layout/core": "0.33.0", + "@json-layout/core": "0.33.1", "@vueuse/core": "^10.5.0", "debug": "^4.3.4", "ejs": "^3.1.9" @@ -91,12 +91,13 @@ "easymde": "^2.18.0" }, "devDependencies": { + "@koumoul/vjsf": ">=3.0.0-beta.47", "vitest": "^1.1.1", "vue": "^3.4.2", "vue-tsc": "^1.8.27" }, "peerDependencies": { - "@koumoul/vjsf": ">=3.0.0-beta.45", + "@koumoul/vjsf": ">=3.0.0-beta.47", "vue": "^3.4.2", "vuetify": "^3.6.8" } @@ -1620,9 +1621,9 @@ } }, "node_modules/@json-layout/core": { - "version": "0.33.0", - "resolved": "https://registry.npmjs.org/@json-layout/core/-/core-0.33.0.tgz", - "integrity": "sha512-gLIG1Uq2kgiYVhy+jZIeIRW+vg5JNWz7ekS+3ST6pwqiALpAB9QxnDUGaxDx/HiRCtfCkRhlthij2D6hx4eRbw==", + "version": "0.33.1", + "resolved": "https://registry.npmjs.org/@json-layout/core/-/core-0.33.1.tgz", + "integrity": "sha512-AhsgHJpVBtYt6sFmu8EonDMnz1S08ZKfORnUVp26KQSfcODIOt8DtdCcjfYuuTsjRyd5ybdv3bOCUQqckmVt0Q==", "license": "MIT", "dependencies": { "@json-layout/vocabulary": "^0.23.2", diff --git a/package.json b/package.json index 90229a9c..a7f2ec0f 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ }, "homepage": "https://github.com/koumoul-dev/vuetify-jsonschema-form#readme", "devDependencies": { - "@json-layout/core": "0.33.0", + "@json-layout/core": "0.33.1", "@json-layout/vocabulary": "0.23.2", "@json-layout/examples": "0.21.0", "@commitlint/config-conventional": "^17.7.0",