@digital-ai/dot-illustrations 1.0.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.
package/LICENSE.md ADDED
@@ -0,0 +1 @@
1
+ Reach out to Digital.ai for questions about licensing.
package/README.md ADDED
@@ -0,0 +1,2 @@
1
+ # dot-illustrations
2
+ A central place for the design team to keep illustrations and for dev teams to find them.
package/index.css ADDED
File without changes
package/package.json ADDED
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "@digital-ai/dot-illustrations",
3
+ "version": "1.0.0",
4
+ "description": "A central place for the design team to keep illustrations and for dev teams to find them.",
5
+ "main": "./index.css",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/digital-ai/dot-illustrations.git"
12
+ },
13
+ "author": "",
14
+ "license": "SEE LICENSE IN <LICENSE.md>",
15
+ "bugs": {
16
+ "url": "https://github.com/digital-ai/dot-illustrations/issues"
17
+ },
18
+ "homepage": "https://github.com/digital-ai/dot-illustrations/"
19
+ }
@@ -0,0 +1,86 @@
1
+ name: Continuous Release
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
+
9
+ jobs:
10
+ # https://github.com/marketplace/actions/automated-version-bump
11
+ bump-version:
12
+ name: Bump Version & Create GitHub Tag
13
+ runs-on: ubuntu-latest
14
+ outputs:
15
+ new-version: ${{ steps.version-bump.outputs.newTag }}
16
+
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v3
20
+
21
+ - name: Setup Node.js
22
+ uses: actions/setup-node@v3
23
+ with:
24
+ node-version: 16
25
+
26
+ # Wording ONLY looks at the commit message, not the PR title
27
+ # Settings > pull requests > allow merge commits > default to pull request title
28
+ - name: Automated Version Bump
29
+ id: version-bump
30
+ uses: phips28/gh-action-bump-version@master
31
+ env:
32
+ GITHUB_TOKEN: ${{ github.token }}
33
+ with:
34
+ commit-message: "CI: bumps version to {{version}} [skip ci]"
35
+ major-wording: "MAJOR"
36
+ minor-wording: "MINOR"
37
+ target-branch: "main"
38
+
39
+ # https://github.com/ncipollo/release-action
40
+ create-release:
41
+ name: Create GitHub Release
42
+ runs-on: ubuntu-latest
43
+ needs: [bump-version]
44
+ if: needs.bump-version.outputs.new-version != ''
45
+
46
+ steps:
47
+ - name: Checkout code
48
+ uses: actions/checkout@v3
49
+ with:
50
+ fetch-depth: 0 # necessary to get newly created tag above
51
+ ref: 'main'
52
+
53
+ - name: New Version
54
+ env:
55
+ NEW_VERSION: ${{ steps.bump-version.outputs.new-version }}
56
+ run: echo "new version $NEW_VERSION"
57
+
58
+ - name: Create tag and release
59
+ uses: ncipollo/release-action@v1
60
+ with:
61
+ commit: 'main'
62
+ name: ${{ needs.bump-version.outputs.new-version }}
63
+ tag: ${{ needs.bump-version.outputs.new-version }}
64
+
65
+ # https://github.com/marketplace/actions/npm-publish
66
+ npm-publish:
67
+ name: Publish Latest to NPM
68
+ runs-on: ubuntu-latest
69
+ needs: [bump-version, create-release]
70
+ if: needs.bump-version.outputs.new-version != ''
71
+
72
+ steps:
73
+ - name: Checkout code
74
+ uses: actions/checkout@v3
75
+ with:
76
+ fetch-depth: 0 # necessary to get newly created tag above
77
+ ref: 'main'
78
+
79
+ # https://github.com/JS-DevTools/npm-publish
80
+ - name: Publish to NPM
81
+ uses: JS-DevTools/npm-publish@v1
82
+ with:
83
+ access: public
84
+ check-version: true
85
+ greater-version-only: true
86
+ token: ${{ secrets.NPM_TOKEN }}