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 CHANGED
@@ -1 +1 @@
1
- v18.17.1
1
+ v22.14.0
@@ -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
+ # Install the dependencies
7
+ npm i
8
+
9
+ # Create assets
10
+ npm run build
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
@@ -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.0.0",
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.65.1",
41
+ "sass": "1.85.0",
42
42
  "sass-mq": "6.0.0"
43
43
  },
44
44
  "dependencies": {
45
- "gel-sass-tools": "3.0.1"
45
+ "gel-sass-tools": "3.3.0"
46
46
  }
47
47
  }