@colisweb/rescript-toolkit 2.46.1 → 2.46.3

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/.gitlab-ci.yml CHANGED
@@ -35,6 +35,7 @@ publish rescript-toolkit:
35
35
  script:
36
36
  - export NPM_TOKEN=${NPM_TOKEN:-undefined}
37
37
  - npm --no-git-tag-version version $(echo $CI_COMMIT_TAG | sed -e 's/^v//')
38
+ - yarn
38
39
  - npm publish
39
40
  cache:
40
41
  key: "yarn-$CI_COMMIT_REF_SLUG"
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ yarn intl:extract && yarn intl:check
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colisweb/rescript-toolkit",
3
- "version": "2.46.1",
3
+ "version": "2.46.3",
4
4
  "scripts": {
5
5
  "clean": "rescript clean",
6
6
  "build": "rescript build -with-deps",
@@ -11,7 +11,8 @@
11
11
  "storybook": "STORYBOOK=true start-storybook -p 6006 --no-manager-cache",
12
12
  "build-storybook": "TAILWIND_MODE=build STORYBOOK=true build-storybook",
13
13
  "intl:check": "node src/intl/check.js",
14
- "intl:extract": "node src/intl/extract.js"
14
+ "intl:extract": "node src/intl/extract.js",
15
+ "prepare": "is-ci || husky install"
15
16
  },
16
17
  "keywords": [
17
18
  "ReScript",
@@ -41,6 +42,7 @@
41
42
  "@reach/tooltip": "0.17.0",
42
43
  "@reach/visually-hidden": "0.17.0",
43
44
  "@rescript/react": "0.10.3",
45
+ "@tailwindcss/line-clamp": "0.4.0",
44
46
  "autoprefixer": "10.4.7",
45
47
  "axios": "0.24.0",
46
48
  "bs-axios": "0.0.43",
@@ -77,8 +79,7 @@
77
79
  "rescript-react-update": "5.0.0",
78
80
  "sanitize-html": "2.7.0",
79
81
  "swr": "1.3.0",
80
- "tailwindcss": "3.1.4",
81
- "@tailwindcss/line-clamp": "0.4.0"
82
+ "tailwindcss": "3.1.4"
82
83
  },
83
84
  "devDependencies": {
84
85
  "@babel/core": "7.18.6",
@@ -92,6 +93,8 @@
92
93
  "@storybook/theming": "6.1.21",
93
94
  "babel-loader": "8.2.5",
94
95
  "highlight.js": "11.3.1",
96
+ "husky": "8.0.0",
97
+ "is-ci": "3.0.1",
95
98
  "raw-loader": "4.0.2",
96
99
  "react-is": "17.0.2",
97
100
  "sass": "1.45.0"