Skip to content

Commit

Permalink
Add outline-repl env setup (facebook#1017)
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm authored and acywatson committed Apr 9, 2022
1 parent 42fec0d commit 547ce80
Show file tree
Hide file tree
Showing 11 changed files with 3,188 additions and 247 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ packages/playwright-core
packages/babel-plugin-transform-stylex
packages/eslint-plugin-stylex
packages/stylex
packages/**/vite.config.js
**/node_modules
scripts/**
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module.exports = {
{
// We apply these settings to the source files that get compiled.
// They can use all features including JSX (but shouldn't use `var`).
files: 'packages/*/src/**/*.js',
files: ['packages/*/src/**/*.js', 'packages/*/src/**/*.jsx'],
parser: 'babel-eslint',
parserOptions: {
ecmaVersion: 8,
Expand Down
1,231 changes: 985 additions & 246 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"scripts": {
"start": "concurrently \"npm:build\" \"npm:collab\" \"npm run start --prefix packages/outline-playground\"",
"dev": "concurrently \"npm:watch\" \"npm run start --prefix packages/outline-playground\"",
"dev-repl": "concurrently \"npm:watch\" \"npm run dev --prefix packages/outline-repl\"",
"build": "node scripts/build.js --clean",
"build-prod": "node scripts/build.js --prod --clean",
"build-www": "node scripts/build.js --clean --www && node scripts/build.js --www --prod",
Expand Down
13 changes: 13 additions & 0 deletions packages/outline-repl/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/src/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Outline REPL</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
Loading

0 comments on commit 547ce80

Please sign in to comment.