@spaced-out/ui-design-system 0.0.1-alpha.1 → 0.0.1-beta.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.
@@ -6,11 +6,15 @@ dismissable
6
6
  Fennimore
7
7
  flowtype
8
8
  fontawesome
9
+ Gaurav
9
10
  Lipsey
10
11
  Neue
11
12
  Nishant
12
13
  OPACITYS
13
14
  partialformat
15
+ premajor
16
+ preminor
17
+ prepatch
14
18
  rgba
15
19
  sbdocs
16
20
  testid
@@ -0,0 +1,70 @@
1
+ name: Release Genesis to NPM
2
+ on:
3
+ workflow_dispatch:
4
+ inputs:
5
+ release-type:
6
+ description: 'Release type (one of): patch, minor, major, prepatch, preminor, premajor, prerelease'
7
+ required: true
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ # Checkout project repository
13
+ - name: Checkout
14
+ uses: actions/checkout@v2.3.4
15
+ with:
16
+ token: ${{ secrets.NPM_PUBLISH_USER_ACCESS_TOKEN }}
17
+
18
+ # Setup Node.js environment
19
+ - name: Setup Node.js
20
+ uses: actions/setup-node@v2
21
+ with:
22
+ registry-url: https://registry.npmjs.org/
23
+ node-version: '16'
24
+
25
+ # Install dependencies (required by Run tests step)
26
+ - name: Install dependencies
27
+ run: yarn install
28
+
29
+ # ToDo(Nishant): Activate this once we have tests ready. Tests
30
+ #- name: Run tests
31
+ # run: yarn test
32
+
33
+ # Configure Git
34
+ - name: Git configuration
35
+ run: |
36
+ git config --global user.email "86281150+superrover@users.noreply.github.com"
37
+ git config --global user.name "Nishant Gaurav"
38
+
39
+ # Bump package version
40
+ # Use tag latest
41
+ - name: Bump release version
42
+ if: startsWith(github.event.inputs.release-type, 'pre') != true
43
+ run: |
44
+ yarn build:changelog -- --release-as $RELEASE_TYPE
45
+ echo "RELEASE_TAG=latest" >> $GITHUB_ENV
46
+ env:
47
+ RELEASE_TYPE: ${{ github.event.inputs.release-type }}
48
+
49
+ # Bump package pre-release version
50
+ # Use tag beta for pre-release versions
51
+ - name: Bump pre-release version
52
+ if: startsWith(github.event.inputs.release-type, 'pre')
53
+ run: |
54
+ yarn build:changelog -- --$RELEASE_TYPE beta
55
+ echo "RELEASE_TAG=beta" >> $GITHUB_ENV
56
+ env:
57
+ RELEASE_TYPE: ${{ github.event.inputs.release-type }}
58
+
59
+ # Push changes
60
+ - name: Push CHANGELOG.md and created release tag
61
+ run: |
62
+ git push
63
+ env:
64
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
65
+
66
+ # Publish version to public repository
67
+ - name: Publish
68
+ run: yarn publish --verbose --access public --tag ${{ env.RELEASE_TAG }}
69
+ env:
70
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### 0.0.1-beta.0 (2022-11-16)
6
+
5
7
  ### [0.0.1-alpha.1](https://github.com/Spaced-Out/ui-design-system/compare/v0.0.1-alpha.0...v0.0.1-alpha.1) (2022-11-16)
6
8
 
7
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaced-out/ui-design-system",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "0.0.1-beta.0",
4
4
  "main": "index.js",
5
5
  "description": "Sense UI components library",
6
6
  "author": {