@financial-times/n-myft-ui 33.0.0 → 33.1.1-alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.circleci/config.yml +98 -179
- package/.toolkitrc.yml +31 -0
- package/.toolkitstate/ci.json +6 -0
- package/README.md +29 -3
- package/components/jsx/preferences-modal/index.js +6 -6
- package/components/unread-articles-indicator/initialise-feed-start-time.js +1 -1
- package/karma.conf.js +2 -1
- package/myft/ui/lists.js +12 -0
- package/package.json +25 -10
- package/scripts/build-demo.sh +53 -0
- package/scripts/deploy-gh-pages.sh +5 -2
- package/scripts/make-static-demo.sh +6 -2
- package/scripts/transpile-jsx.sh +3 -0
- package/toolkit/demoScripts/.toolkitrc.yml +0 -0
- package/toolkit/demoScripts/index.js +77 -0
- package/toolkit/karma/.toolkitrc.yml +0 -0
- package/toolkit/karma/index.js +16 -0
- package/.circleci/shared-helpers/.github/settings.yml +0 -1
- package/.circleci/shared-helpers/CODEOWNERS +0 -3
- package/.circleci/shared-helpers/Makefile +0 -5
- package/.circleci/shared-helpers/README.md +0 -72
- package/.circleci/shared-helpers/helper-check-service-ready +0 -37
- package/.circleci/shared-helpers/helper-configure-awscli +0 -20
- package/.circleci/shared-helpers/helper-generate-build-state-artifacts +0 -29
- package/.circleci/shared-helpers/helper-install-awscli +0 -14
- package/.circleci/shared-helpers/helper-install-puppeteer-deps +0 -25
- package/.circleci/shared-helpers/helper-npm-install-peer-deps +0 -40
- package/.circleci/shared-helpers/helper-npm-store-auth-token +0 -14
- package/.circleci/shared-helpers/helper-npm-update +0 -26
- package/.circleci/shared-helpers/helper-npm-version-and-publish-public +0 -19
- package/.circleci/shared-helpers/helper-publish-github-pages +0 -43
- package/.circleci/shared-helpers/helper-setup-heroku-cli +0 -46
- package/.circleci/shared-helpers/helper-setup-s3-upload +0 -17
- package/.circleci/shared-helpers/helper-upload-assets-to-s3 +0 -69
- package/.circleci/shared-helpers/helper.example +0 -13
- package/.circleci/shared-helpers/secret-squirrel.js +0 -25
- package/Makefile +0 -48
- package/build-state/npm-shrinkwrap.json +0 -52320
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
|