@gkucmierz/utils 1.1.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,25 @@
1
+ name: npm-publish
2
+ on:
3
+ push:
4
+ branches:
5
+ - main # Change this to your default branch
6
+ jobs:
7
+ npm-publish:
8
+ name: npm-publish
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout repository
12
+ uses: actions/checkout@v2
13
+ - name: Publish if version has been updated
14
+ uses: pascalgn/npm-publish-action@1.3.9
15
+ with: # All of theses inputs are optional
16
+ tag_name: "v%s"
17
+ tag_message: "v%s"
18
+ create_tag: "true"
19
+ commit_pattern: "^Release (\\S+)"
20
+ workspace: "."
21
+ publish_command: "yarn"
22
+ publish_args: "--non-interactive --access public"
23
+ env: # More info about the environment variables in the README
24
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Leave this as is, it's automatically generated
25
+ NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} # You need to set this in your repo settings
package/README.md ADDED
@@ -0,0 +1,6 @@
1
+
2
+ ### Install
3
+
4
+ ```bash
5
+ npm i @gkucmierz/utils
6
+ ```
package/package.json ADDED
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "@gkucmierz/utils",
3
+ "version": "1.1.0",
4
+ "description": "",
5
+ "main": "src/main.mjs",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "author": "Grzegorz Kućmierz",
10
+ "license": "MIT"
11
+ }
package/src/main.mjs ADDED
@@ -0,0 +1,2 @@
1
+
2
+ console.log('hello world!');