@saasquatch/mint-components 2.1.11-1 → 2.1.12
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/cjs/{ShadowViewAddon-c97e80de.js → ShadowViewAddon-229dd1c1.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field-view.js +1 -1
- package/dist/collection/components/sqm-checkbox-field/sqm-checkbox-field.js +2 -3
- package/dist/esm/{ShadowViewAddon-33f1a8f7.js → ShadowViewAddon-cc32bca2.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-33f1a8f7.js → ShadowViewAddon-cc32bca2.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-dd12c32a.system.entry.js → p-7a673f14.system.entry.js} +1 -1
- package/dist/mint-components/{p-08930b83.js → p-8300e806.js} +1 -1
- package/dist/mint-components/{p-8784539d.entry.js → p-a3eefe38.entry.js} +1 -1
- package/dist/mint-components/{p-76271ec4.entry.js → p-b3f18de4.entry.js} +1 -1
- package/dist/mint-components/p-ca098be1.system.js +1 -1
- package/dist/mint-components/{p-78b40f71.system.js → p-e846e3bb.system.js} +1 -1
- package/dist/mint-components/{p-c3c8d4ee.system.entry.js → p-f611c11a.system.entry.js} +1 -1
- package/dist/types/components/sqm-checkbox-field/sqm-checkbox-field.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +14 -2
- package/readme.md +60 -1
- package/docs/stats.json +0 -122783
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saasquatch/mint-components",
|
|
3
3
|
"title": "Mint Components",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.12",
|
|
5
5
|
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
|
|
6
6
|
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
|
|
7
7
|
"raisins": "docs/raisins.json",
|
|
@@ -14,6 +14,11 @@
|
|
|
14
14
|
"jsnext:main": "dist/esm/index.js",
|
|
15
15
|
"collection": "dist/collection/collection-manifest.json",
|
|
16
16
|
"collection:main": "dist/collection/index.js",
|
|
17
|
+
"private": false,
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public",
|
|
20
|
+
"provenance": true
|
|
21
|
+
},
|
|
17
22
|
"files": [
|
|
18
23
|
"dist/",
|
|
19
24
|
"grapesjs/",
|
|
@@ -33,9 +38,16 @@
|
|
|
33
38
|
"specs": "picklesdoc xlsx src docs --testers=2",
|
|
34
39
|
"serve:package": "serve . --cors -l 5000",
|
|
35
40
|
"start:raisins": "run-p start serve:package",
|
|
36
|
-
"postinstall": "patch-package"
|
|
41
|
+
"postinstall": "patch-package",
|
|
42
|
+
"prepack": "npm run build",
|
|
43
|
+
"changeset": "changeset",
|
|
44
|
+
"version": "changeset version && npm install",
|
|
45
|
+
"release": "changeset publish",
|
|
46
|
+
"prepublishOnly": "if [ \"$CI\" != \"true\" ]; then echo 'Error: Direct npm publish is disabled for @saasquatch/mint-components. Publish via the Mint Components Release (stable) or Publish Package (prerelease) GitHub Actions workflow.' && exit 1; fi"
|
|
37
47
|
},
|
|
38
48
|
"devDependencies": {
|
|
49
|
+
"@changesets/changelog-github": "^0.5.2",
|
|
50
|
+
"@changesets/cli": "^2.29.7",
|
|
39
51
|
"@formatjs/intl": "^3.1.8",
|
|
40
52
|
"@formatjs/intl-pluralrules": "^1.5.8",
|
|
41
53
|
"@formatjs/intl-relativetimeformat": "4.5.15",
|
package/readme.md
CHANGED
|
@@ -4,7 +4,66 @@
|
|
|
4
4
|
|
|
5
5
|
Mint components for the SaaSquatch content platform. Built with Stencil.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Contributing
|
|
8
|
+
|
|
9
|
+
### Version Management with Changesets
|
|
10
|
+
|
|
11
|
+
This project uses [Changesets](https://github.com/changesets/changesets) to manage versioning and changelogs.
|
|
12
|
+
|
|
13
|
+
#### Adding a Changeset
|
|
14
|
+
|
|
15
|
+
When you make changes that should be included in the next release, create a changeset:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
npm run changeset
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Follow the prompts to:
|
|
22
|
+
|
|
23
|
+
1. Select the type of change (major, minor, or patch)
|
|
24
|
+
2. Provide a summary of your changes
|
|
25
|
+
|
|
26
|
+
This will create a new file in the `.changeset` directory that will be used to automatically update the version and changelog when the changes are released.
|
|
27
|
+
|
|
28
|
+
#### Releasing a New Version
|
|
29
|
+
|
|
30
|
+
When changesets are merged to the `master` branch, the mint-components release workflow will automatically:
|
|
31
|
+
|
|
32
|
+
1. Create or update a "Version Packages" pull request that:
|
|
33
|
+
- Bumps the version in `package.json`
|
|
34
|
+
- Updates `package-lock.json`
|
|
35
|
+
- Updates `CHANGELOG.md` with all changeset summaries
|
|
36
|
+
- Removes the processed changeset files
|
|
37
|
+
|
|
38
|
+
2. When you're ready to release, simply **merge the "Version Packages" PR** to `master`
|
|
39
|
+
|
|
40
|
+
3. The workflow will then automatically:
|
|
41
|
+
- Publish the new version to npm
|
|
42
|
+
- Deploy the production Stencilbook site for mint-components
|
|
43
|
+
- Create a git tag for the release
|
|
44
|
+
|
|
45
|
+
mint-components stable releases use the mint-specific **Mint Components Release** workflow (Changesets), and prereleases use the shared **Publish Package** workflow.
|
|
46
|
+
|
|
47
|
+
**Local `npm publish` is blocked.** A `prepublishOnly` script in `package.json` aborts publishes that aren't running in CI (where `CI=true`). All publishes must go through the GitHub Actions workflows below.
|
|
48
|
+
|
|
49
|
+
#### Manual Development Releases (Prereleases)
|
|
50
|
+
|
|
51
|
+
For development and testing purposes, use the shared **Publish Package** GitHub Actions workflow:
|
|
52
|
+
|
|
53
|
+
1. Run the workflow from the branch you want to publish.
|
|
54
|
+
2. Set `package` to `mint-components`.
|
|
55
|
+
3. Set `increment-type` to `prerelease`. The workflow rejects `patch` / `minor` / `major` for mint-components — stable releases must go through the **Mint Components Release** (Changesets) workflow.
|
|
56
|
+
|
|
57
|
+
The workflow will:
|
|
58
|
+
|
|
59
|
+
- Compute the next semver from `package.json` (e.g. `2.1.8` → `2.1.9-0` for `prerelease`)
|
|
60
|
+
- Build mint-components automatically via the `prepack` lifecycle script
|
|
61
|
+
- Publish to npm with `--access public --provenance`, tagged `next` for prereleases or `latest` for stable
|
|
62
|
+
- Commit the version bump and create a signed `@saasquatch/mint-components@<version>` git tag via `saasquatch/git-commit-action`
|
|
63
|
+
|
|
64
|
+
Stable releases should still flow through `master` via the Changesets "Version Packages" PR. When the next stable Changesets release runs, `changeset version` will compute the next stable version from changesets and overwrite any manual prerelease version in `package.json` — that is intentional.
|
|
65
|
+
|
|
66
|
+
## About Stencil
|
|
8
67
|
|
|
9
68
|
Stencil is a compiler for building fast web apps using Web Components.
|
|
10
69
|
|