This commit is contained in:
Manav Rathi
2024-06-02 12:37:10 +05:30
parent 3ff5b2f18f
commit 781a99aa42
6 changed files with 28 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
"private": true,
"dependencies": {
"@/media": "*",
"@/new": "*",
"@/next": "*",
"@date-io/date-fns": "^2.14.0",
"@ente/accounts": "*",

View File

@@ -0,0 +1,3 @@
module.exports = {
extends: ["@/build-config/eslintrc-base"],
};

View File

@@ -0,0 +1,11 @@
## @/new
This package only exists so that we can write code that works with TypeScript
strict mode. This provides a gradual way of migrating the existing code in the
old packages to strict mode. Once there is sufficient gravity here, we can flip
the switch on the original packages and move these back to where they came from.
### Packaging
This (internal) package exports a vanilla TypeScript library. We rely on the
importing project to transpile and bundle it.

View File

@@ -0,0 +1,7 @@
{
"name": "@/new",
"version": "0.0.0",
"private": true,
"dependencies": {},
"devDependencies": {}
}

View File

@@ -0,0 +1,2 @@
/** Dummy function to get the package to behave. */
export const hello = (ms: number) => ms;

View File

@@ -0,0 +1,4 @@
{
"extends": "@/build-config/tsconfig-typecheck.json",
"include": ["."]
}