@financial-times/n-myft-ui 27.1.0 → 28.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.circleci/config.yml +1 -1
- package/Makefile +2 -6
- package/bower.json +0 -3
- package/build-state/npm-shrinkwrap.json +1874 -2160
- package/components/save-for-later/save-for-later.html +2 -1
- package/components/unread-articles-indicator/date-fns.js +6 -6
- package/karma.conf.js +0 -7
- package/myft/main.scss +145 -0
- package/myft/ui/lists.js +22 -0
- package/myft/ui/save-article-to-list-variant.js +369 -0
- package/package.json +16 -5
- package/webpack.config.js +23 -0
- package/page-kit.config.js +0 -21
- package/scripts/prevent-npm-deps.js +0 -8
package/.circleci/config.yml
CHANGED
package/Makefile
CHANGED
@@ -10,9 +10,6 @@ run:
|
|
10
10
|
cp -rf $(shell cat _test-server/template-copy-list.txt) bower_components/n-ui
|
11
11
|
node _test-server/app
|
12
12
|
|
13
|
-
prevent-npm-dependencies:
|
14
|
-
@node scripts/prevent-npm-deps.js
|
15
|
-
|
16
13
|
# copy project files into bower components so that we can reference component partials
|
17
14
|
# in the same way that apps that use the components do
|
18
15
|
demo-build:
|
@@ -20,7 +17,7 @@ demo-build:
|
|
20
17
|
@mkdir bower_components/n-myft-ui
|
21
18
|
@mkdir bower_components/n-myft-ui/myft
|
22
19
|
@cp -r components bower_components/n-myft-ui/components/
|
23
|
-
@
|
20
|
+
@sass demos/src/demo.scss public/main.css --load-path bower_components --load-path node_modules
|
24
21
|
@$(DONE)
|
25
22
|
|
26
23
|
demo: demo-build
|
@@ -30,7 +27,7 @@ static-demo: demo-build
|
|
30
27
|
@scripts/make-static-demo.sh
|
31
28
|
|
32
29
|
test-build:
|
33
|
-
|
30
|
+
webpack --mode=development
|
34
31
|
|
35
32
|
test-unit:
|
36
33
|
karma start karma.conf.js
|
@@ -41,7 +38,6 @@ a11y: demo-build
|
|
41
38
|
@$(DONE)
|
42
39
|
|
43
40
|
test:
|
44
|
-
make prevent-npm-dependencies
|
45
41
|
make verify
|
46
42
|
make test-unit
|
47
43
|
make test-build
|
package/bower.json
CHANGED
@@ -21,9 +21,6 @@
|
|
21
21
|
"form-serialize": "^0.7.2",
|
22
22
|
"js-cookie": "^2.2.0",
|
23
23
|
"n-notification": "^7.0.0",
|
24
|
-
"n-ui-foundations": "^6.0.0",
|
25
|
-
"next-myft-client": "^7.8.0",
|
26
|
-
"next-session-client": "^3.0.1",
|
27
24
|
"o-editorial-typography": "^1.0.1",
|
28
25
|
"o-errors": "^4.0.2",
|
29
26
|
"o-forms": "^8.0.0",
|