From e750f66215bfd8f70dfa3c926989a59c311026b5 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Wed, 22 Dec 2021 20:54:18 +0100 Subject: [PATCH] chore: update repository --- packages/ui-templates/README.md | 4 + packages/ui-templates/package.json | 18 +++-- .../templates/error-404/index.html | 73 ++++++++----------- .../templates/error-500/index.html | 2 +- 4 files changed, 47 insertions(+), 50 deletions(-) diff --git a/packages/ui-templates/README.md b/packages/ui-templates/README.md index 457515b537..36bb1fafc4 100644 --- a/packages/ui-templates/README.md +++ b/packages/ui-templates/README.md @@ -10,3 +10,7 @@ Pre-compiled html templates used for Nuxt. - Open `http://localhost:3000/` for a list of all the templates To add a new template, simply create a new file: `./templates//index.html`. + +# License + +Creative Commons License
Nuxt UI by Nuxt Team is licensed under a Creative Commons Attribution-NoDerivatives 4.0 International License.
Based on a work at https://github.com/nuxt/ui. diff --git a/packages/ui-templates/package.json b/packages/ui-templates/package.json index 2e9e94f212..177580329d 100644 --- a/packages/ui-templates/package.json +++ b/packages/ui-templates/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt/ui-templates", - "version": "0.1.5", + "version": "0.0.0", "repository": "nuxt/ui", "license": "CC-BY-ND-4.0", "exports": { @@ -15,28 +15,30 @@ "dist/index.*" ], "scripts": { - "dev": "vite", "build": "vite build", + "dev": "vite", "lint": "eslint --ext .ts,.js .", - "test": "yarn lint && yarn build", - "prepack": "yarn build", - "release": "yarn test && standard-version && npm publish && git push --follow-tags", "optimize-assets": "npx svgo public/assets/**/*.svg", - "prerender": "yarn build && jiti ./lib/prerender" + "prepack": "yarn build", + "prerender": "yarn build && jiti ./lib/prerender", + "test": "yarn lint && yarn build" }, "devDependencies": { - "@nuxt/ui-assets": "^0.1.0", + "@nuxt/ui-assets": "*", "@types/html-minifier": "^4.0.1", "@types/lodash.template": "^4.5.0", "critters": "^0.0.14", "globby": "^11.0.4", "html-minifier": "^4.0.0", + "jiti": "^1.12.9", "lodash.template": "^4.5.0", "scule": "^0.2.1", - "standard-version": "^9.3.2", "upath": "^2.0.1", "vite": "^2.6.14", "vite-plugin-windicss": "^1.5.1", "windicss": "^3.2.1" + }, + "publishConfig": { + "access": "public" } } diff --git a/packages/ui-templates/templates/error-404/index.html b/packages/ui-templates/templates/error-404/index.html index 7bd1def561..01734da310 100644 --- a/packages/ui-templates/templates/error-404/index.html +++ b/packages/ui-templates/templates/error-404/index.html @@ -1,47 +1,40 @@ - - {{ messages.statusCode }} - {{ messages.statusMessage }} | {{ messages.appName }} - - - - - + + + + + + "> -
-
-
-
- {{ messages.statusCode }} -
-
-

+

+
+
+ {{ messages.statusCode }} +
+
+

- {{ messages.description }} -

- + {{ messages.description }} +

+
- {{ messages.backHome }} - -
+ "> + {{ messages.backHome }} +
-
- -
+ "> +
- +
+ + diff --git a/packages/ui-templates/templates/error-500/index.html b/packages/ui-templates/templates/error-500/index.html index 6f769a7d17..cb49c8ce32 100644 --- a/packages/ui-templates/templates/error-500/index.html +++ b/packages/ui-templates/templates/error-500/index.html @@ -41,7 +41,7 @@ pb-full md:flex md:pb-0 md:min-h-screen md:w-1/2 "> - +