Skip to content

Commit 8c2fe67

Browse files
chore: add release-it and license
1 parent c56d941 commit 8c2fe67

File tree

3 files changed

+1275
-270
lines changed

3 files changed

+1275
-270
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Css Ninja
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

package.json

+22-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
{
2-
"name": "stylo-nuxt",
2+
"name": "@cssninja/stylo",
33
"type": "module",
44
"version": "0.0.1",
5+
"license": "MIT",
56
"main": "./nuxt.config.ts",
7+
"packageManager": "pnpm@8.5.1",
68
"scripts": {
79
"dev": "nuxi prepare & nuxi dev .blog",
810
"dev:starter": "nuxi prepare & nuxi dev .starter",
@@ -14,16 +16,17 @@
1416
"preview": "nuxi preview .blog",
1517
"test:tsc": "vue-tsc --noEmit",
1618
"test:lint": "eslint --ext .ts,.vue .",
17-
"lint": "eslint --fix --ext .ts,.vue ."
19+
"lint": "eslint --fix --ext .ts,.vue .",
20+
"release": "release-it"
1821
},
1922
"dependencies": {
2023
"@nuxt/content": "^2.9.0",
2124
"@nuxthq/studio": "^1.0.5",
2225
"@nuxtjs/color-mode": "^3.3.2",
2326
"@nuxtjs/tailwindcss": "^6.10.1",
24-
"@tailwindcss/aspect-ratio": "0.4.2",
25-
"@tailwindcss/forms": "0.5.7",
26-
"@tailwindcss/typography": "0.5.10",
27+
"@tailwindcss/aspect-ratio": "^0.4.2",
28+
"@tailwindcss/forms": "^0.5.7",
29+
"@tailwindcss/typography": "^0.5.10",
2730
"@vueuse/nuxt": "^10.6.1",
2831
"chroma-js": "^2.4.2",
2932
"date-fns": "^2.30.0",
@@ -32,7 +35,7 @@
3235
"mdast-util-to-string": "^4.0.0",
3336
"nuxt-icon": "^0.6.6",
3437
"nuxt-seo-kit": "^1.3.13",
35-
"pinceau": "0.20.1",
38+
"pinceau": "^0.20.1",
3639
"reading-time": "^1.5.0"
3740
},
3841
"devDependencies": {
@@ -45,6 +48,19 @@
4548
"eslint-plugin-vuejs-accessibility": "^2.2.0",
4649
"nuxt": "^3.8.2",
4750
"prettier": "^3.1.0",
51+
"release-it": "^16.3.0",
4852
"typescript": "^5.3.2"
53+
},
54+
"release-it": {
55+
"npm": {
56+
"access": "public"
57+
},
58+
"git": {
59+
"commitMessage": "chore(release): release v${version}"
60+
},
61+
"github": {
62+
"release": true,
63+
"releaseName": "v${version}"
64+
}
4965
}
5066
}

0 commit comments

Comments
 (0)