effer 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.codesandbox/icon.png +0 -0
- package/.codesandbox/tasks.json +12 -0
- package/.codesandbox/template.json +7 -0
- package/.devcontainer/devcontainer.json +22 -0
- package/.eslintrc.json +12 -0
- package/.tsbuildinfo/build.tsbuildinfo +1 -0
- package/LICENSE +21 -0
- package/README.md +274 -0
- package/build/cjs/index.js +208 -0
- package/build/cjs/index.js.map +1 -0
- package/build/dts/index.d.ts +169 -0
- package/build/dts/index.d.ts.map +1 -0
- package/build/esm/index.js +195 -0
- package/build/esm/index.js.map +1 -0
- package/eslint.config.mjs +121 -0
- package/package.json +77 -0
- package/setupTests.ts +3 -0
- package/src/index.ts +239 -0
- package/test/index.test.ts +3 -0
- package/tsconfig.base.json +40 -0
- package/tsconfig.build.json +11 -0
- package/tsconfig.json +8 -0
- package/tsconfig.src.json +11 -0
- package/tsconfig.test.json +14 -0
- package/vitest.config.ts +17 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"strict": true,
|
|
4
|
+
"exactOptionalPropertyTypes": true,
|
|
5
|
+
"moduleDetection": "force",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"downlevelIteration": true,
|
|
8
|
+
"resolveJsonModule": true,
|
|
9
|
+
"esModuleInterop": false,
|
|
10
|
+
"declaration": true,
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"emitDecoratorMetadata": true,
|
|
13
|
+
"experimentalDecorators": true,
|
|
14
|
+
"moduleResolution": "bundler",
|
|
15
|
+
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
|
16
|
+
"types": ["dom-navigation"],
|
|
17
|
+
"isolatedModules": true,
|
|
18
|
+
"sourceMap": true,
|
|
19
|
+
"declarationMap": true,
|
|
20
|
+
"noImplicitReturns": false,
|
|
21
|
+
"noUnusedParameters": false,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noEmitOnError": false,
|
|
24
|
+
"noErrorTruncation": false,
|
|
25
|
+
"allowJs": false,
|
|
26
|
+
"checkJs": false,
|
|
27
|
+
"forceConsistentCasingInFileNames": true,
|
|
28
|
+
"noImplicitAny": true,
|
|
29
|
+
"noImplicitThis": true,
|
|
30
|
+
"noUncheckedIndexedAccess": false,
|
|
31
|
+
"strictNullChecks": true,
|
|
32
|
+
"baseUrl": ".",
|
|
33
|
+
"target": "ES2022",
|
|
34
|
+
"module": "esnext",
|
|
35
|
+
"incremental": true,
|
|
36
|
+
"removeComments": false,
|
|
37
|
+
"plugins": [{ "name": "@effect/language-service" }],
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "./tsconfig.base.json",
|
|
3
|
+
"include": ["test"],
|
|
4
|
+
"references": [
|
|
5
|
+
{ "path": "tsconfig.src.json" }
|
|
6
|
+
],
|
|
7
|
+
"compilerOptions": {
|
|
8
|
+
"types": ["node","dom-navigation"],
|
|
9
|
+
"tsBuildInfoFile": ".tsbuildinfo/test.tsbuildinfo",
|
|
10
|
+
"rootDir": "test",
|
|
11
|
+
"noEmit": true
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import path from "path"
|
|
2
|
+
import { defineConfig } from "vitest/config"
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
plugins: [],
|
|
6
|
+
test: {
|
|
7
|
+
setupFiles: [path.join(__dirname, "setupTests.ts")],
|
|
8
|
+
include: ["./test/**/*.test.ts"],
|
|
9
|
+
globals: true
|
|
10
|
+
},
|
|
11
|
+
resolve: {
|
|
12
|
+
alias: {
|
|
13
|
+
"@template/basic/test": path.join(__dirname, "test"),
|
|
14
|
+
"@template/basic": path.join(__dirname, "src")
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
})
|