Skip to content

Commit

Permalink
build: add plugin framework from old Frontend Platform branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnwesson authored Dec 7, 2023
2 parents aef75b9 + 685151d commit 527e322
Show file tree
Hide file tree
Showing 15 changed files with 1,201 additions and 392 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ transifex_input = $(i18n)/transifex_input.json
# This directory must match .babelrc .
transifex_temp = ./temp/babel-plugin-formatjs

build:
rm -rf ./dist
./node_modules/.bin/fedx-scripts babel src --out-dir dist --source-maps --ignore **/*.test.jsx,**/*.test.js,**/setupTest.js --copy-files
@# --copy-files will bring in everything else that wasn't processed by babel. Remove what we don't want.
@find dist -name '*.test.js*' -delete
rm ./dist/setupTest.js
cp ./package.json ./dist/package.json
cp ./LICENSE ./dist/LICENSE
cp ./README.md ./dist/README.md

precommit:
npm run lint
npm audit
Expand Down
259 changes: 0 additions & 259 deletions README-template-frontend-app.rst

This file was deleted.

Loading

0 comments on commit 527e322

Please sign in to comment.