@financial-times/n-myft-ui 28.0.0 → 28.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,7 +67,7 @@ jobs:
67
67
  steps:
68
68
  - checkout
69
69
  - node/install-npm:
70
- version: "7.20.2"
70
+ version: "^7"
71
71
  - run:
72
72
  name: Checkout next-ci-shared-helpers
73
73
  command: git clone --depth 1
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 bower_components/n-myft-ui
17
- @mkdir bower_components/n-myft-ui
18
- @mkdir bower_components/n-myft-ui/myft
19
- @cp -r components bower_components/n-myft-ui/components/
20
- @sass demos/src/demo.scss public/main.css --load-path bower_components --load-path node_modules
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 karma.conf.js
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 bower.json and package.json files for the above apps. For minor and patch updates, you can rebuild without cache from CircleCI.
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