@designsystemsinternational/cloudflare 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/README.md +60 -0
- package/cli/index.ts +196 -0
- package/package.json +32 -0
- package/templates/dist/auth/assets/index-BqXcY2TH.css +1 -0
- package/templates/dist/auth/assets/index-TTeq04ep.js +9 -0
- package/templates/dist/auth/fonts/UniversNextPro-Medium.woff2 +0 -0
- package/templates/dist/auth/fonts/UniversNextPro-Regular.woff2 +0 -0
- package/templates/dist/auth/fonts/UniversNextTypewrtrPro-Rg.woff2 +0 -0
- package/templates/dist/auth/index.html +14 -0
- package/templates/dist/index.html +6 -0
- package/templates/eslint.config.js +23 -0
- package/templates/index.html +12 -0
- package/templates/package-lock.json +5394 -0
- package/templates/package.json +33 -0
- package/templates/postcss.config.cjs +19 -0
- package/templates/public/fonts/UniversNextPro-Medium.woff2 +0 -0
- package/templates/public/fonts/UniversNextPro-Regular.woff2 +0 -0
- package/templates/public/fonts/UniversNextTypewrtrPro-Rg.woff2 +0 -0
- package/templates/src/App.module.css +116 -0
- package/templates/src/App.tsx +116 -0
- package/templates/src/assets/Cloudflare_Logo.svg +51 -0
- package/templates/src/assets/react.svg +1 -0
- package/templates/src/main.tsx +16 -0
- package/templates/src/styles/breakpoints.css +9 -0
- package/templates/src/styles/fonts.css +17 -0
- package/templates/src/styles/globals.css +14 -0
- package/templates/src/styles/reset.css +438 -0
- package/templates/src/styles/textStyles.css +19 -0
- package/templates/src/styles/utilities.css +5 -0
- package/templates/src/styles/variables.css +195 -0
- package/templates/src/vite-env.d.ts +1 -0
- package/templates/tsconfig.app.json +28 -0
- package/templates/tsconfig.json +7 -0
- package/templates/tsconfig.node.json +26 -0
- package/templates/vite.config.ts +15 -0
- package/tsconfig.json +10 -0
- package/worker-configuration.d.ts +10851 -0
- package/workers/password/index.ts +67 -0
- package/workers/password/lib/constants.ts +1 -0
- package/workers/password/lib/schema.ts +8 -0
- package/workers/password/lib/util.ts +28 -0
- package/wrangler.jsonc +16 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.node.tsbuildinfo",
|
|
4
|
+
"target": "ES2023",
|
|
5
|
+
"lib": ["ES2023"],
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"types": ["node"],
|
|
8
|
+
"skipLibCheck": true,
|
|
9
|
+
|
|
10
|
+
/* Bundler mode */
|
|
11
|
+
"moduleResolution": "bundler",
|
|
12
|
+
"allowImportingTsExtensions": true,
|
|
13
|
+
"verbatimModuleSyntax": true,
|
|
14
|
+
"moduleDetection": "force",
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
|
|
17
|
+
/* Linting */
|
|
18
|
+
"strict": true,
|
|
19
|
+
"noUnusedLocals": true,
|
|
20
|
+
"noUnusedParameters": true,
|
|
21
|
+
"erasableSyntaxOnly": true,
|
|
22
|
+
"noFallthroughCasesInSwitch": true,
|
|
23
|
+
"noUncheckedSideEffectImports": true
|
|
24
|
+
},
|
|
25
|
+
"include": ["vite.config.ts"]
|
|
26
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineConfig } from "vite";
|
|
2
|
+
import react from "@vitejs/plugin-react";
|
|
3
|
+
|
|
4
|
+
export default defineConfig({
|
|
5
|
+
base: "/auth",
|
|
6
|
+
plugins: [react()],
|
|
7
|
+
css: {
|
|
8
|
+
modules: {
|
|
9
|
+
localsConvention: "camelCase",
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
build: {
|
|
13
|
+
outDir: "dist/auth",
|
|
14
|
+
},
|
|
15
|
+
});
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"tsBuildInfoFile": "./node_modules/.tmp/tsconfig.worker.tsbuildinfo",
|
|
4
|
+
"types": ["./worker-configuration.d.ts"],
|
|
5
|
+
"lib": ["ES2020"],
|
|
6
|
+
"esModuleInterop": true,
|
|
7
|
+
"noEmit": true
|
|
8
|
+
},
|
|
9
|
+
"include": ["./worker-configuration.d.ts", "./workers"]
|
|
10
|
+
}
|