gel-typography 5.0.0 → 5.1.2
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/.nvmrc +1 -1
- package/actions/build.sh +10 -0
- package/actions/npm.sh +15 -0
- package/actions/watch.sh +10 -0
- package/package.json +3 -3
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v22.14.0
|
package/actions/build.sh
ADDED
package/actions/npm.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
# Ensure abort if any command fails (returns non zero status code $?)
|
|
4
|
+
set -e +x
|
|
5
|
+
|
|
6
|
+
BASEDIR=$(dirname $(dirname $(readlink -f "$0")))
|
|
7
|
+
|
|
8
|
+
# Create .npmrc to ensure NPM uses the token
|
|
9
|
+
echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' >> $BASEDIR/.npmrc
|
|
10
|
+
|
|
11
|
+
# Publish the package using the token for authenication
|
|
12
|
+
npm publish
|
|
13
|
+
|
|
14
|
+
# Remove the npmrc file as action completed
|
|
15
|
+
rm $BASEDIR/.npmrc
|
package/actions/watch.sh
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
# Ensure abort if any command fails (returns non zero status code $?)
|
|
4
|
+
set -e +x
|
|
5
|
+
|
|
6
|
+
# Extract the tag/release number
|
|
7
|
+
echo "VERSION=${GIT_BRANCH##*/}" >> actions/jenkins.properties
|
|
8
|
+
|
|
9
|
+
# Source the properties file
|
|
10
|
+
. actions/jenkins.properties
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gel-typography",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.2",
|
|
4
4
|
"description": "A flexible code implementation of the GEL Typography",
|
|
5
5
|
"main": "_typography.scss",
|
|
6
6
|
"scripts": {
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
},
|
|
39
39
|
"homepage": "https://github.com/bbc/gel-typography",
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"sass": "1.
|
|
41
|
+
"sass": "1.85.0",
|
|
42
42
|
"sass-mq": "6.0.0"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"gel-sass-tools": "3.0
|
|
45
|
+
"gel-sass-tools": "3.3.0"
|
|
46
46
|
}
|
|
47
47
|
}
|