@financial-times/n-conversion-forms 39.3.0 → 40.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/.circleci/config.yml +13 -44
- package/.toolkitrc.yml +19 -14
- package/.toolkitstate/ci.json +3 -2
- package/.toolkitstate/install.json +5 -0
- package/components/__snapshots__/debug.spec.js.snap +1303 -10
- package/components/debug.jsx +53 -6
- package/components/debug.stories.js +7 -0
- package/components/payment-term.jsx +1 -11
- package/components/payment-term.stories.js +0 -11
- package/dist/debug.jsx +28 -4
- package/dist/payment-term.jsx +0 -9
- package/main.scss +4 -0
- package/package.json +10 -11
- package/toolkit/run-storybook/.toolkitrc.yml +4 -1
- package/toolkit/run-storybook/index.js +2 -4
package/.circleci/config.yml
CHANGED
|
@@ -5,7 +5,7 @@ orbs:
|
|
|
5
5
|
executors:
|
|
6
6
|
node:
|
|
7
7
|
docker:
|
|
8
|
-
- image: cimg/node:22.
|
|
8
|
+
- image: cimg/node:22.11-browsers
|
|
9
9
|
jobs:
|
|
10
10
|
checkout:
|
|
11
11
|
docker:
|
|
@@ -26,50 +26,31 @@ workflows:
|
|
|
26
26
|
filters:
|
|
27
27
|
tags:
|
|
28
28
|
only: /^v\d+\.\d+\.\d+(-.+)?/
|
|
29
|
-
- waiting-for-approval:
|
|
30
|
-
type: approval
|
|
31
|
-
filters:
|
|
32
|
-
branches:
|
|
33
|
-
only: /(^renovate-.*|^nori/.*)/
|
|
34
29
|
- tool-kit/setup:
|
|
35
|
-
|
|
30
|
+
executor: node
|
|
36
31
|
requires:
|
|
37
32
|
- checkout
|
|
38
|
-
- waiting-for-approval
|
|
39
|
-
matrix:
|
|
40
|
-
parameters:
|
|
41
|
-
executor:
|
|
42
|
-
- node
|
|
43
33
|
filters:
|
|
44
34
|
tags:
|
|
45
35
|
only: /^v\d+\.\d+\.\d+(-.+)?/
|
|
46
36
|
- tool-kit/build:
|
|
47
|
-
|
|
37
|
+
executor: node
|
|
48
38
|
requires:
|
|
49
|
-
- tool-kit/setup
|
|
50
|
-
matrix:
|
|
51
|
-
parameters:
|
|
52
|
-
executor:
|
|
53
|
-
- node
|
|
39
|
+
- tool-kit/setup
|
|
54
40
|
filters:
|
|
55
41
|
tags:
|
|
56
42
|
only: /^v\d+\.\d+\.\d+(-.+)?/
|
|
57
43
|
- tool-kit/test:
|
|
58
|
-
|
|
44
|
+
executor: node
|
|
59
45
|
requires:
|
|
60
|
-
- tool-kit/build
|
|
61
|
-
matrix:
|
|
62
|
-
parameters:
|
|
63
|
-
executor:
|
|
64
|
-
- node
|
|
46
|
+
- tool-kit/build
|
|
65
47
|
filters:
|
|
66
48
|
tags:
|
|
67
49
|
only: /^v\d+\.\d+\.\d+(-.+)?/
|
|
68
50
|
- tool-kit/publish-tag:
|
|
69
|
-
requires:
|
|
70
|
-
- tool-kit/test-node
|
|
71
|
-
name: tool-kit/publish-tag-node
|
|
72
51
|
executor: node
|
|
52
|
+
requires:
|
|
53
|
+
- tool-kit/test
|
|
73
54
|
filters:
|
|
74
55
|
tags:
|
|
75
56
|
only: /^v\d+\.\d+\.\d+(-.+)?/
|
|
@@ -88,26 +69,14 @@ workflows:
|
|
|
88
69
|
jobs:
|
|
89
70
|
- checkout
|
|
90
71
|
- tool-kit/setup:
|
|
91
|
-
|
|
72
|
+
executor: node
|
|
92
73
|
requires:
|
|
93
74
|
- checkout
|
|
94
|
-
matrix:
|
|
95
|
-
parameters:
|
|
96
|
-
executor:
|
|
97
|
-
- node
|
|
98
75
|
- tool-kit/build:
|
|
99
|
-
|
|
76
|
+
executor: node
|
|
100
77
|
requires:
|
|
101
|
-
- tool-kit/setup
|
|
102
|
-
matrix:
|
|
103
|
-
parameters:
|
|
104
|
-
executor:
|
|
105
|
-
- node
|
|
78
|
+
- tool-kit/setup
|
|
106
79
|
- tool-kit/test:
|
|
107
|
-
|
|
80
|
+
executor: node
|
|
108
81
|
requires:
|
|
109
|
-
- tool-kit/build
|
|
110
|
-
matrix:
|
|
111
|
-
parameters:
|
|
112
|
-
executor:
|
|
113
|
-
- node
|
|
82
|
+
- tool-kit/build
|
package/.toolkitrc.yml
CHANGED
|
@@ -7,24 +7,29 @@ plugins:
|
|
|
7
7
|
- "@dotcom-tool-kit/lint-staged-npm"
|
|
8
8
|
- "@dotcom-tool-kit/husky-npm"
|
|
9
9
|
- "./toolkit/run-storybook"
|
|
10
|
-
|
|
10
|
+
commands:
|
|
11
11
|
test:local:
|
|
12
12
|
- Eslint
|
|
13
|
-
-
|
|
13
|
+
- Jest
|
|
14
14
|
test:ci:
|
|
15
15
|
- Eslint
|
|
16
|
-
-
|
|
16
|
+
- Jest:
|
|
17
|
+
- ci: true
|
|
17
18
|
run:local:
|
|
18
19
|
- RunStorybook
|
|
19
20
|
options:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
plugins:
|
|
22
|
+
"@dotcom-tool-kit/circleci":
|
|
23
|
+
cimgNodeVersions: [22.11-browsers]
|
|
24
|
+
"@dotcom-tool-kit/lint-staged-npm":
|
|
25
|
+
testGlob: "**/*.{js,jsx,json,scss}"
|
|
26
|
+
formatGlob: "**/*.{js,jsx,json,scss}"
|
|
27
|
+
tasks:
|
|
28
|
+
Babel:
|
|
29
|
+
files: "components/{*.jsx,index.js}"
|
|
30
|
+
outputPath: dist
|
|
31
|
+
envName: 'production'
|
|
32
|
+
Prettier:
|
|
33
|
+
files: ["**/*.{js,jsx,json,scss}"]
|
|
34
|
+
configFile: ".prettierrc.js"
|
|
35
|
+
|
package/.toolkitstate/ci.json
CHANGED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
{
|
|
2
|
+
".toolkitrc.yml": "XiiIocllEaT8xqKRCTpTbJ+yUyduDo5aEHARUQ3vJFfSe187Ci13PEs3bWL272GFJyNz2QgRQhdov2/+LFRKuw==",
|
|
3
|
+
"package.json": "Or39bD7+0aRIUCealkxIwU9bZKt+MC9MGSiMCbScS+oU3bCrLld+sy7mq9xS0mkAbUmWYG5FxdbWSAgYajF/nA==",
|
|
4
|
+
".circleci/config.yml": "eph42EF3EsL7jvhiiC7D7vG3vGBAGBFVC+Ncmy4Dj4rUNzK8Rls0/cr+bEF/ttMN3J6iSL1xtCXKIJVrtZ4OSQ=="
|
|
5
|
+
}
|