xs-dev 0.22.0 → 0.22.2

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.
Files changed (1) hide show
  1. package/package.json +49 -20
package/package.json CHANGED
@@ -1,11 +1,32 @@
1
1
  {
2
2
  "name": "xs-dev",
3
- "version": "0.22.0",
3
+ "version": "0.22.2",
4
4
  "description": "CLI for automating the setup and usage of Moddable XS tools",
5
5
  "types": "build/types/types.d.ts",
6
6
  "bin": {
7
7
  "xs-dev": "bin/xs-dev"
8
8
  },
9
+ "scripts": {
10
+ "format": "prettier --write **/*.{js,ts,json}",
11
+ "lint": "eslint src/",
12
+ "clean-build": "rm -rf ./build",
13
+ "compile": "tsc -p .",
14
+ "copy-templates": "if [ -e ./src/templates ]; then cp -a ./src/templates ./build/; fi",
15
+ "build": "pnpm run format && pnpm run lint && pnpm run clean-build && pnpm run compile && pnpm run copy-templates",
16
+ "prepublishOnly": "pnpm run build",
17
+ "test": "jest",
18
+ "watch": "jest --watch",
19
+ "snapupdate": "jest --updateSnapshot",
20
+ "coverage": "jest --coverage",
21
+ "start:docs": "astro dev --root ./docs",
22
+ "build:docs": "astro build --root ./docs",
23
+ "preview:docs": "astro preview --root ./docs",
24
+ "ci:version:changeset": "changeset version",
25
+ "ci:version": "pnpm ci:version:changeset && pnpm ci:version:install",
26
+ "ci:version:install": "pnpm install --frozen-lockfile=false",
27
+ "ci:publish": "changeset publish",
28
+ "release": "release-it"
29
+ },
9
30
  "files": [
10
31
  "tsconfig.json",
11
32
  "build",
@@ -37,6 +58,7 @@
37
58
  "@astrojs/sitemap": "^1.0.1",
38
59
  "@astrojs/tailwind": "^3.0.1",
39
60
  "@changesets/cli": "^2.19.0",
61
+ "@release-it/conventional-changelog": "^5.1.1",
40
62
  "@types/jest": "^27.4.0",
41
63
  "@types/node": "^18.11.19",
42
64
  "@types/serve-handler": "^6.1.1",
@@ -58,6 +80,7 @@
58
80
  "preact": "^10.7.3",
59
81
  "preact-render-to-string": "^5.2.0",
60
82
  "prettier": "^2.5.1",
83
+ "release-it": "^15.6.0",
61
84
  "rollup": "^2.78.1",
62
85
  "tailwindcss": "^3.0.24",
63
86
  "ts-jest": "^27.1.2",
@@ -75,23 +98,29 @@
75
98
  "semi": false,
76
99
  "singleQuote": true
77
100
  },
78
- "scripts": {
79
- "format": "prettier --write **/*.{js,ts,json}",
80
- "lint": "eslint src/",
81
- "clean-build": "rm -rf ./build",
82
- "compile": "tsc -p .",
83
- "copy-templates": "if [ -e ./src/templates ]; then cp -a ./src/templates ./build/; fi",
84
- "build": "pnpm run format && pnpm run lint && pnpm run clean-build && pnpm run compile && pnpm run copy-templates",
85
- "test": "jest",
86
- "watch": "jest --watch",
87
- "snapupdate": "jest --updateSnapshot",
88
- "coverage": "jest --coverage",
89
- "start:docs": "astro dev --root ./docs",
90
- "build:docs": "astro build --root ./docs",
91
- "preview:docs": "astro preview --root ./docs",
92
- "ci:version:changeset": "changeset version",
93
- "ci:version": "pnpm ci:version:changeset && pnpm ci:version:install",
94
- "ci:version:install": "pnpm install --frozen-lockfile=false",
95
- "ci:publish": "changeset publish"
101
+ "pnpm": {
102
+ "overrides": {
103
+ "minimist@<1.2.6": ">=1.2.6",
104
+ "follow-redirects@<1.14.8": ">=1.14.8",
105
+ "node-fetch@>=3.0.0 <3.2.10": ">=3.2.10",
106
+ "ejs@<3.1.7": ">=3.1.7",
107
+ "ansi-regex@>=3.0.0 <3.0.1": ">=3.0.1",
108
+ "ansi-regex@>=4.0.0 <4.1.1": ">=4.1.1",
109
+ "minimatch@<3.0.5": ">=3.0.5"
110
+ }
111
+ },
112
+ "release-it": {
113
+ "git": {
114
+ "commitMessage": "chore: release v${version} [skip ci]"
115
+ },
116
+ "github": {
117
+ "release": true
118
+ },
119
+ "plugins": {
120
+ "@release-it/conventional-changelog": {
121
+ "preset": "conventionalcommits",
122
+ "infile": "CHANGELOG.md"
123
+ }
124
+ }
96
125
  }
97
- }
126
+ }