setup basic locker app
This commit is contained in:
parent
c2191515ee
commit
4ae36c34df
13
apps/locker/.eslintrc.js
Normal file
13
apps/locker/.eslintrc.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
module.exports = {
|
||||
// When root is set to true, ESLint will stop looking for configuration files in parent directories.
|
||||
// This is required here to ensure desktop picks the right eslint config, where this app is
|
||||
// packaged as a submodule.
|
||||
root: true,
|
||||
extends: ['@ente/eslint-config'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
tsconfigRootDir: __dirname,
|
||||
project: './tsconfig.json',
|
||||
},
|
||||
ignorePatterns: ['.eslintrc.js'],
|
||||
};
|
5
apps/locker/next-env.d.ts
vendored
Normal file
5
apps/locker/next-env.d.ts
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
/// <reference types="next" />
|
||||
/// <reference types="next/image-types/global" />
|
||||
|
||||
// NOTE: This file should not be edited
|
||||
// see https://nextjs.org/docs/basic-features/typescript for more information.
|
3
apps/locker/next.config.js
Normal file
3
apps/locker/next.config.js
Normal file
|
@ -0,0 +1,3 @@
|
|||
const nextConfigBase = require('@ente/shared/next/next.config.base.js');
|
||||
|
||||
module.exports = nextConfigBase;
|
10
apps/locker/package.json
Normal file
10
apps/locker/package.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"name": "locker",
|
||||
"version": "0.0.1",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"lint": "next lint"
|
||||
}
|
||||
}
|
3
apps/locker/sentry.client.config.ts
Normal file
3
apps/locker/sentry.client.config.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { setupSentry } from '@ente/shared/sentry/config/sentry.config.base';
|
||||
|
||||
setupSentry();
|
3
apps/locker/sentry.properties
Normal file
3
apps/locker/sentry.properties
Normal file
|
@ -0,0 +1,3 @@
|
|||
defaults.url=https://sentry.ente.io/
|
||||
defaults.org=ente
|
||||
defaults.project=locker-web
|
0
apps/locker/sentry.server.config.ts
Normal file
0
apps/locker/sentry.server.config.ts
Normal file
9
apps/locker/src/pages/index.tsx
Normal file
9
apps/locker/src/pages/index.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
const IndexPage = () => {
|
||||
return (
|
||||
<div>
|
||||
<h1>Locker</h1>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default IndexPage;
|
24
apps/locker/tsconfig.json
Normal file
24
apps/locker/tsconfig.json
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"baseUrl": "./src",
|
||||
"downlevelIteration": true,
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "@emotion/react",
|
||||
"lib": ["dom", "dom.iterable", "esnext", "webworker"],
|
||||
"noImplicitAny": false,
|
||||
"noUnusedLocals": false,
|
||||
"noUnusedParameters": false,
|
||||
"strictNullChecks": false,
|
||||
"target": "es5",
|
||||
"useUnknownInCatchVariables": false
|
||||
},
|
||||
"include": [
|
||||
"next-env.d.ts",
|
||||
"**/*.ts",
|
||||
"**/*.tsx",
|
||||
"**/*.js",
|
||||
"../../packages/shared/themes/mui-theme.d.ts"
|
||||
],
|
||||
"exclude": ["node_modules", "out", ".next", "thirdparty"]
|
||||
}
|
Loading…
Reference in a new issue