@aas-dev/stack 0.0.0-stage → 0.1.0
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/bin/aas.js +2 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +15 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +75 -0
- package/dist/cursor-hook.d.ts +1 -0
- package/dist/cursor-hook.js +28 -0
- package/dist/errors.d.ts +12 -0
- package/dist/errors.js +5 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/policy.d.ts +1 -0
- package/dist/policy.js +124 -0
- package/dist/program.d.ts +3 -0
- package/dist/program.js +35 -0
- package/dist/run.d.ts +18 -0
- package/dist/run.js +99 -0
- package/dist/scaffold.d.ts +5 -0
- package/dist/scaffold.js +55 -0
- package/dist/templates.d.ts +6 -0
- package/dist/templates.js +37 -0
- package/dist/verify.d.ts +3 -0
- package/dist/verify.js +166 -0
- package/package.json +54 -3
- package/plugin/aas.d.mts +8 -0
- package/plugin/aas.mjs +567 -0
- package/templates/AGENTS.md +132 -0
- package/templates/hooks.json +11 -0
- package/templates/pnpm-workspace.yaml +12 -0
- package/templates/pre-commit +3 -0
- package/templates/tsconfig.json +8 -0
- package/templates/verify.yml +20 -0
- package/templates/vite.config.ts +3 -0
- package/tsconfig.base.json +71 -0
- package/README.md +0 -3
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
packages:
|
|
2
|
+
- "packages/*"
|
|
3
|
+
|
|
4
|
+
verifyDepsBeforeRun: error
|
|
5
|
+
|
|
6
|
+
# Exact versions are the pin. The release-age gate would refuse the Effect 4
|
|
7
|
+
# and oxlint versions this stack just chose, so it stays off.
|
|
8
|
+
minimumReleaseAge: 0
|
|
9
|
+
|
|
10
|
+
overrides:
|
|
11
|
+
"vite@*": "npm:@voidzero-dev/vite-plus-core@1.4.0"
|
|
12
|
+
"vitest@*": "5.0.5"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: verify
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
pull_request:
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
verify:
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
- uses: pnpm/action-setup@v4
|
|
13
|
+
with:
|
|
14
|
+
version: 11.3.0
|
|
15
|
+
- uses: actions/setup-node@v4
|
|
16
|
+
with:
|
|
17
|
+
node-version: 22
|
|
18
|
+
cache: pnpm
|
|
19
|
+
- run: pnpm install --frozen-lockfile
|
|
20
|
+
- run: pnpm exec aas verify
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"target": "ES2023",
|
|
4
|
+
"lib": ["ES2023"],
|
|
5
|
+
"module": "NodeNext",
|
|
6
|
+
"moduleResolution": "NodeNext",
|
|
7
|
+
"moduleDetection": "force",
|
|
8
|
+
"esModuleInterop": true,
|
|
9
|
+
"strict": true,
|
|
10
|
+
"noUncheckedIndexedAccess": true,
|
|
11
|
+
"exactOptionalPropertyTypes": true,
|
|
12
|
+
"noImplicitOverride": true,
|
|
13
|
+
"noImplicitReturns": true,
|
|
14
|
+
"noFallthroughCasesInSwitch": true,
|
|
15
|
+
"noUnusedLocals": true,
|
|
16
|
+
"noUnusedParameters": true,
|
|
17
|
+
"allowUnreachableCode": false,
|
|
18
|
+
"allowUnusedLabels": false,
|
|
19
|
+
"forceConsistentCasingInFileNames": true,
|
|
20
|
+
"verbatimModuleSyntax": true,
|
|
21
|
+
"isolatedModules": true,
|
|
22
|
+
"erasableSyntaxOnly": true,
|
|
23
|
+
"resolveJsonModule": true,
|
|
24
|
+
"skipLibCheck": true,
|
|
25
|
+
"types": ["node"],
|
|
26
|
+
"noEmit": true,
|
|
27
|
+
"plugins": [
|
|
28
|
+
{
|
|
29
|
+
"name": "@effect/language-service",
|
|
30
|
+
"namespaceImportPackages": ["effect"],
|
|
31
|
+
"diagnosticSeverity": {
|
|
32
|
+
"anyUnknownInErrorContext": "error",
|
|
33
|
+
"unsafeEffectTypeAssertion": "error",
|
|
34
|
+
"floatingEffect": "error",
|
|
35
|
+
"floatingEffectInVitest": "error",
|
|
36
|
+
"missingEffectContext": "error",
|
|
37
|
+
"missingEffectError": "error",
|
|
38
|
+
"missingLayerContext": "error",
|
|
39
|
+
"leakingRequirements": "error",
|
|
40
|
+
"globalErrorInEffectCatch": "error",
|
|
41
|
+
"globalErrorInEffectFailure": "error",
|
|
42
|
+
"unknownInEffectCatch": "error",
|
|
43
|
+
"tryCatchInEffectGen": "error",
|
|
44
|
+
"returnEffectInGen": "error",
|
|
45
|
+
"runEffectInsideEffect": "error",
|
|
46
|
+
"schemaSyncInEffect": "error",
|
|
47
|
+
"instanceOfSchema": "error",
|
|
48
|
+
"newPromise": "error",
|
|
49
|
+
"asyncFunction": "error",
|
|
50
|
+
"globalConsole": "error",
|
|
51
|
+
"globalConsoleInEffect": "error",
|
|
52
|
+
"globalDate": "error",
|
|
53
|
+
"globalDateInEffect": "error",
|
|
54
|
+
"globalFetch": "error",
|
|
55
|
+
"globalFetchInEffect": "error",
|
|
56
|
+
"globalRandom": "error",
|
|
57
|
+
"globalRandomInEffect": "error",
|
|
58
|
+
"globalTimers": "error",
|
|
59
|
+
"globalTimersInEffect": "error",
|
|
60
|
+
"cryptoRandomUUID": "error",
|
|
61
|
+
"cryptoRandomUUIDInEffect": "error",
|
|
62
|
+
"nodeBuiltinImport": "error",
|
|
63
|
+
"strictEffectProvide": "off",
|
|
64
|
+
"lazyEffect": "off",
|
|
65
|
+
"strictBooleanExpressions": "off",
|
|
66
|
+
"unstableApiUsage": "off"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
package/README.md
DELETED