@spaced-out/ui-design-system 0.0.1-alpha.1 → 0.0.1-beta.1

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