@financial-times/n-myft-ui 27.2.1 → 28.0.2

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"
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,22 +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
- prevent-npm-dependencies:
14
- @node scripts/prevent-npm-deps.js
15
-
16
- # copy project files into bower components so that we can reference component partials
17
- # in the same way that apps that use the components do
18
10
  demo-build:
19
- @rm -rf bower_components/n-myft-ui
20
- @mkdir bower_components/n-myft-ui
21
- @mkdir bower_components/n-myft-ui/myft
22
- @cp -r components bower_components/n-myft-ui/components/
23
- @node-sass demos/src/demo.scss public/main.css --include-path bower_components 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
24
16
  @$(DONE)
25
17
 
26
18
  demo: demo-build
@@ -30,10 +22,10 @@ static-demo: demo-build
30
22
  @scripts/make-static-demo.sh
31
23
 
32
24
  test-build:
33
- page-kit build --development
25
+ webpack --mode=development
34
26
 
35
27
  test-unit:
36
- karma start karma.conf.js
28
+ node_modules/karma/bin/karma start
37
29
 
38
30
  a11y: demo-build
39
31
  @node .pa11yci.js
@@ -41,7 +33,6 @@ a11y: demo-build
41
33
  @$(DONE)
42
34
 
43
35
  test:
44
- make prevent-npm-dependencies
45
36
  make verify
46
37
  make test-unit
47
38
  make test-build
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