@mrshmllw/campfire 1.1.0-crumbs-feature-testing-configs.1 → 2.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.
- package/dist/configs/release.config.js +9 -0
- package/package.json +12 -12
|
@@ -33,9 +33,18 @@ const repositoryUrl = getRepositoryUrl();
|
|
|
33
33
|
const config = {
|
|
34
34
|
branches: [
|
|
35
35
|
'main',
|
|
36
|
+
'next',
|
|
37
|
+
{
|
|
38
|
+
// These branches are used for patches and hotfixes of previous major versions.
|
|
39
|
+
// e.g v1.x, v1.1.x, etc.
|
|
40
|
+
name: 'v+([0-9])?(.{+([0-9]),x}).x',
|
|
41
|
+
range: "${name.replace(/^v/g, '')}",
|
|
42
|
+
},
|
|
36
43
|
{
|
|
37
44
|
name: '(feature|fix|chore)/*',
|
|
38
45
|
// The prerelease name uses a dynamic expression to replace '/' with '-'
|
|
46
|
+
// Will result in something like 'crumbs-feature-name' or 'crumbs-fix-name'
|
|
47
|
+
channel: 'beta',
|
|
39
48
|
prerelease: 'crumbs-${name.replace(/\\//g, "-")}',
|
|
40
49
|
},
|
|
41
50
|
],
|
package/package.json
CHANGED
|
@@ -1,10 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mrshmllw/campfire",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Collection of toasty utils and configs used by Marshmallow Technology",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"clean": "rimraf ./dist",
|
|
10
|
+
"test": "node --test",
|
|
11
|
+
"test:watch": "node --test --watch",
|
|
12
|
+
"check-types": "tsc --noEmit",
|
|
13
|
+
"build": "npm run clean && tsc --p tsconfig.build.json",
|
|
14
|
+
"prepublishOnly": "npm run build",
|
|
15
|
+
"prepare": "husky",
|
|
16
|
+
"pre-commit-lint": "npm run check-types && lint-staged",
|
|
17
|
+
"commitlint": "commitlint --edit"
|
|
18
|
+
},
|
|
8
19
|
"exports": {
|
|
9
20
|
".": {
|
|
10
21
|
"types": "./dist/index.d.ts",
|
|
@@ -62,17 +73,6 @@
|
|
|
62
73
|
"optional": true
|
|
63
74
|
}
|
|
64
75
|
},
|
|
65
|
-
"scripts": {
|
|
66
|
-
"clean": "rimraf ./dist",
|
|
67
|
-
"test": "node --test",
|
|
68
|
-
"test:watch": "node --test --watch",
|
|
69
|
-
"check-types": "tsc --noEmit",
|
|
70
|
-
"build": "npm run clean && tsc --p tsconfig.build.json",
|
|
71
|
-
"prepublishOnly": "npm run build",
|
|
72
|
-
"prepare": "husky",
|
|
73
|
-
"pre-commit-lint": "npm run check-types && lint-staged",
|
|
74
|
-
"commitlint": "commitlint --edit"
|
|
75
|
-
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@commitlint/cli": "^19.8.1",
|
|
78
78
|
"@commitlint/types": "^19.8.0",
|