@terrymooreii/sia 2.3.3 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,39 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ - master
8
+
9
+ permissions:
10
+ contents: write
11
+ issues: write
12
+ pull-requests: write
13
+
14
+ jobs:
15
+ release:
16
+ name: Release
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - name: Checkout
20
+ uses: actions/checkout@v4
21
+ with:
22
+ fetch-depth: 0
23
+ token: ${{ secrets.GITHUB_TOKEN }}
24
+
25
+ - name: Setup Node.js
26
+ uses: actions/setup-node@v4
27
+ with:
28
+ node-version: '20'
29
+ cache: 'npm'
30
+
31
+ - name: Install dependencies
32
+ run: npm ci
33
+
34
+ - name: Release
35
+ env:
36
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
38
+ run: npx semantic-release
39
+
@@ -0,0 +1,38 @@
1
+ {
2
+ "branches": [
3
+ "main",
4
+ "master",
5
+ {
6
+ "name": "beta",
7
+ "prerelease": true
8
+ },
9
+ {
10
+ "name": "alpha",
11
+ "prerelease": true
12
+ }
13
+ ],
14
+ "plugins": [
15
+ "@semantic-release/commit-analyzer",
16
+ "@semantic-release/release-notes-generator",
17
+ "@semantic-release/changelog",
18
+ [
19
+ "@semantic-release/npm",
20
+ {
21
+ "npmPublish": false
22
+ }
23
+ ],
24
+ [
25
+ "@semantic-release/git",
26
+ {
27
+ "assets": [
28
+ "CHANGELOG.md",
29
+ "package.json",
30
+ "package-lock.json"
31
+ ],
32
+ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
33
+ }
34
+ ],
35
+ "@semantic-release/github"
36
+ ]
37
+ }
38
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@terrymooreii/sia",
3
- "version": "2.3.3",
3
+ "version": "3.0.0",
4
4
  "description": "A simple, powerful static site generator with markdown, front matter, and Nunjucks templates",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
@@ -10,7 +10,8 @@
10
10
  "scripts": {
11
11
  "dev": "node bin/cli.js dev",
12
12
  "build": "node bin/cli.js build",
13
- "new": "node bin/cli.js new"
13
+ "new": "node bin/cli.js new",
14
+ "semantic-release": "semantic-release"
14
15
  },
15
16
  "keywords": [
16
17
  "static-site-generator",
@@ -20,13 +21,13 @@
20
21
  "blog"
21
22
  ],
22
23
  "author": "Terry Moore II",
23
- "homepage": "https://github.com/terrymooreii/sia",
24
+ "homepage": "https://github.com/sia-ssg/sia",
24
25
  "repository": {
25
26
  "type": "git",
26
- "url": "https://github.com/terrymooreii/sia.git"
27
+ "url": "https://github.com/sia-ssg/sia.git"
27
28
  },
28
29
  "bugs": {
29
- "url": "https://github.com/terrymooreii/sia/issues"
30
+ "url": "https://github.com/sia-ssg/sia/issues"
30
31
  },
31
32
  "license": "MIT",
32
33
  "dependencies": {
@@ -50,5 +51,12 @@
50
51
  },
51
52
  "engines": {
52
53
  "node": ">=18.0.0"
54
+ },
55
+ "devDependencies": {
56
+ "@semantic-release/changelog": "^6.0.3",
57
+ "@semantic-release/git": "^10.0.1",
58
+ "@semantic-release/github": "^9.0.3",
59
+ "@semantic-release/npm": "^11.0.2",
60
+ "semantic-release": "^22.0.12"
53
61
  }
54
62
  }