@financial-times/n-myft-ui 28.0.0 → 28.0.1
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 +6 -11
- package/README.md +1 -1
- package/build-state/npm-shrinkwrap.json +288 -1976
- package/components/button/main.scss +1 -1
- package/components/instant-alert/index.js +1 -1
- package/components/pin-button/index.js +1 -1
- package/components/unread-articles-indicator/device-session.js +1 -3
- package/components/unread-articles-indicator/index.js +3 -3
- package/components/unread-articles-indicator/initialise-feed-start-time.js +22 -12
- package/components/unread-articles-indicator/storage.js +10 -8
- package/karma.conf.js +2 -4
- package/myft/README.md +1 -1
- package/myft/main.scss +10 -10
- package/myft/ui/lists.js +3 -3
- package/myft/ui/myft-buttons/init.js +1 -1
- package/myft/ui/save-article-to-list-variant.js +1 -1
- package/package.json +15 -5
- package/scripts/deploy-gh-pages.sh +0 -1
- package/styles.css +1 -0
- package/test/unread-articles-indicator/device-session.spec.js +2 -2
- package/test/unread-articles-indicator/initialise-feed-start-time.spec.js +1 -1
- package/webpack.config.js +5 -9
- package/bower.json +0 -33
package/.circleci/config.yml
CHANGED
package/Makefile
CHANGED
@@ -5,19 +5,14 @@ node_modules/@financial-times/n-gage/index.mk:
|
|
5
5
|
-include node_modules/@financial-times/n-gage/index.mk
|
6
6
|
|
7
7
|
run:
|
8
|
-
rm -rf bower_components/n-ui
|
9
|
-
mkdir bower_components/n-ui
|
10
|
-
cp -rf $(shell cat _test-server/template-copy-list.txt) bower_components/n-ui
|
11
8
|
node _test-server/app
|
12
9
|
|
13
|
-
# copy project files into bower components so that we can reference component partials
|
14
|
-
# in the same way that apps that use the components do
|
15
10
|
demo-build:
|
16
|
-
@rm -rf
|
17
|
-
@mkdir
|
18
|
-
@mkdir
|
19
|
-
@cp -r components
|
20
|
-
@sass demos/src/demo.scss public/main.css --load-path
|
11
|
+
@rm -rf node_modules/@financial-times/n-myft-ui
|
12
|
+
@mkdir node_modules/@financial-times/n-myft-ui
|
13
|
+
@mkdir node_modules/@financial-times/n-myft-ui/myft
|
14
|
+
@cp -r components node_modules/@financial-times/n-myft-ui/components/
|
15
|
+
@sass demos/src/demo.scss public/main.css --load-path node_modules
|
21
16
|
@$(DONE)
|
22
17
|
|
23
18
|
demo: demo-build
|
@@ -30,7 +25,7 @@ test-build:
|
|
30
25
|
webpack --mode=development
|
31
26
|
|
32
27
|
test-unit:
|
33
|
-
karma start
|
28
|
+
node_modules/karma/bin/karma start
|
34
29
|
|
35
30
|
a11y: demo-build
|
36
31
|
@node .pa11yci.js
|
package/README.md
CHANGED
@@ -27,7 +27,7 @@ As of August 2017, The following apps use n-myft-ui:
|
|
27
27
|
|
28
28
|
When you merge to main, you should make a new release and then roll it out to the apps, plus n-topic-card which contains a reference to this so that there aren't missing dependencies.
|
29
29
|
|
30
|
-
If you are making a major change, you will need to update the
|
30
|
+
If you are making a major change, you will need to update the package.json files for the above apps. For minor and patch updates, you can rebuild without cache from CircleCI.
|
31
31
|
|
32
32
|
## Running locally
|
33
33
|
|