@financial-times/n-myft-ui 33.1.0 → 34.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/.circleci/config.yml +109 -179
  2. package/.pa11yci.js +1 -0
  3. package/.toolkitrc.yml +32 -0
  4. package/.toolkitstate/ci.json +6 -0
  5. package/README.md +29 -4
  6. package/components/jsx/preferences-modal/index.js +0 -14
  7. package/components/unread-articles-indicator/initialise-feed-start-time.js +1 -1
  8. package/karma.conf.js +4 -1
  9. package/package.json +24 -9
  10. package/scripts/build-demo.sh +53 -0
  11. package/scripts/deploy-gh-pages.sh +5 -2
  12. package/scripts/make-static-demo.sh +6 -2
  13. package/scripts/transpile-jsx.sh +3 -0
  14. package/toolkit/demoScripts/.toolkitrc.yml +0 -0
  15. package/toolkit/demoScripts/index.js +77 -0
  16. package/toolkit/karma/.toolkitrc.yml +0 -0
  17. package/toolkit/karma/index.js +16 -0
  18. package/.circleci/shared-helpers/.github/settings.yml +0 -1
  19. package/.circleci/shared-helpers/CODEOWNERS +0 -3
  20. package/.circleci/shared-helpers/Makefile +0 -5
  21. package/.circleci/shared-helpers/README.md +0 -72
  22. package/.circleci/shared-helpers/helper-check-service-ready +0 -37
  23. package/.circleci/shared-helpers/helper-configure-awscli +0 -20
  24. package/.circleci/shared-helpers/helper-generate-build-state-artifacts +0 -29
  25. package/.circleci/shared-helpers/helper-install-awscli +0 -14
  26. package/.circleci/shared-helpers/helper-install-puppeteer-deps +0 -25
  27. package/.circleci/shared-helpers/helper-npm-install-peer-deps +0 -40
  28. package/.circleci/shared-helpers/helper-npm-store-auth-token +0 -14
  29. package/.circleci/shared-helpers/helper-npm-update +0 -26
  30. package/.circleci/shared-helpers/helper-npm-version-and-publish-public +0 -19
  31. package/.circleci/shared-helpers/helper-publish-github-pages +0 -43
  32. package/.circleci/shared-helpers/helper-setup-heroku-cli +0 -46
  33. package/.circleci/shared-helpers/helper-setup-s3-upload +0 -17
  34. package/.circleci/shared-helpers/helper-upload-assets-to-s3 +0 -69
  35. package/.circleci/shared-helpers/helper.example +0 -13
  36. package/.circleci/shared-helpers/secret-squirrel.js +0 -25
  37. package/Makefile +0 -48
  38. package/build-state/npm-shrinkwrap.json +0 -52417
package/Makefile DELETED
@@ -1,48 +0,0 @@
1
- node_modules/@financial-times/n-gage/index.mk:
2
- npm install @financial-times/n-gage
3
- touch $@
4
-
5
- -include node_modules/@financial-times/n-gage/index.mk
6
-
7
- NODE_VERSION := $(shell node --version)
8
- NODE_MAJOR_VERSION := $(shell echo $(NODE_VERSION) | cut -c2-3)
9
- ifeq ($(NODE_MAJOR_VERSION),18)
10
- NODE_OPTS := "--openssl-legacy-provider --dns-result-order=ipv4first"
11
- endif
12
-
13
- run:
14
- node _test-server/app
15
-
16
- demo-build:
17
- @rm -rf node_modules/@financial-times/n-myft-ui
18
- @mkdir node_modules/@financial-times/n-myft-ui
19
- @mkdir node_modules/@financial-times/n-myft-ui/myft
20
- @cp -r components node_modules/@financial-times/n-myft-ui/components/
21
- @sass demos/src/demo.scss public/main.css --load-path node_modules
22
- @$(DONE)
23
-
24
- demo: demo-build
25
- @node demos/app
26
-
27
- static-demo: demo-build
28
- @scripts/make-static-demo.sh
29
-
30
- test-build:
31
- @NODE_OPTIONS=$(NODE_OPTS) webpack --mode=development
32
-
33
- test-unit:
34
- @NODE_OPTIONS=$(NODE_OPTS) karma start
35
-
36
- a11y: demo-build
37
- @node .pa11yci.js
38
- @PA11Y=true node demos/app
39
- @$(DONE)
40
-
41
- test:
42
- make verify
43
- make test-unit
44
- make test-build
45
- make a11y
46
-
47
- transpile-jsx:
48
- @npx cross-env BABEL_ENV=custom babel components/jsx --out-dir dist --extensions .jsx