Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add outline-repl env setup #1017

Merged
merged 1 commit into from
Dec 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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