@shopify/klint 0.0.4
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/README.md +36 -0
- package/dist/index.cjs +1179 -0
- package/dist/index.d.ts +810 -0
- package/dist/index.js +1135 -0
- package/dist/plugins/index.cjs +1180 -0
- package/dist/plugins/index.d.ts +731 -0
- package/dist/plugins/index.js +1146 -0
- package/package.json +80 -0
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Klint
|
|
2
|
+
|
|
3
|
+
A modern creative coding library
|
|
4
|
+
|
|
5
|
+
## Release Process
|
|
6
|
+
|
|
7
|
+
This package uses GitHub Actions for automated releases. Here's how to create a new release:
|
|
8
|
+
|
|
9
|
+
1. Make your changes and commit them to the repository
|
|
10
|
+
2. Update the version in package.json:
|
|
11
|
+
```bash
|
|
12
|
+
cd lib
|
|
13
|
+
yarn version --new-version [patch|minor|major]
|
|
14
|
+
```
|
|
15
|
+
This will:
|
|
16
|
+
- Update the version in package.json
|
|
17
|
+
- Create a git commit with the new version
|
|
18
|
+
- Create a git tag with the new version (e.g., v1.0.0)
|
|
19
|
+
|
|
20
|
+
3. Push the changes and the tag:
|
|
21
|
+
```bash
|
|
22
|
+
git push && git push --tags
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
4. The GitHub Action will automatically:
|
|
26
|
+
- Run tests
|
|
27
|
+
- Build the package
|
|
28
|
+
- Publish to npm
|
|
29
|
+
- Create a GitHub release with auto-generated release notes
|
|
30
|
+
|
|
31
|
+
## Required Secrets
|
|
32
|
+
|
|
33
|
+
The workflow requires an NPM_TOKEN secret to be set in the GitHub repository:
|
|
34
|
+
|
|
35
|
+
1. Create an npm access token with publish permissions
|
|
36
|
+
2. Add it as a secret named NPM_TOKEN in your GitHub repository settings
|