create-atom.io 0.0.3 → 0.0.4

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.
Files changed (49) hide show
  1. package/dist/{create-atom-BDzJIQOb.js → create-atom-C0gh5ath.js} +2 -2
  2. package/dist/create-atom-C0gh5ath.js.map +1 -0
  3. package/dist/create-atom.js +1 -1
  4. package/dist/create-atom.x.js +1 -1
  5. package/package.json +7 -8
  6. package/src/create-atom.ts +5 -1
  7. package/dist/create-atom-BDzJIQOb.js.map +0 -1
  8. package/templates/preact-svg-editor/_gitignore +0 -24
  9. package/templates/preact-svg-editor/eslint.config.ts +0 -179
  10. package/templates/preact-svg-editor/eslint.d.ts +0 -31
  11. package/templates/preact-svg-editor/index.html +0 -14
  12. package/templates/preact-svg-editor/node_modules/.bin/vite +0 -21
  13. package/templates/preact-svg-editor/package.json +0 -24
  14. package/templates/preact-svg-editor/public/preact.svg +0 -6
  15. package/templates/preact-svg-editor/src/BezierPlayground.tsx +0 -458
  16. package/templates/preact-svg-editor/src/index.tsx +0 -50
  17. package/templates/preact-svg-editor/src/msg.md +0 -105
  18. package/templates/preact-svg-editor/src/style.css +0 -126
  19. package/templates/preact-svg-editor/tsconfig.json +0 -21
  20. package/templates/preact-svg-editor/vite.config.ts +0 -10
  21. package/templates/react-node-backend/.turbo/turbo-build.log +0 -12
  22. package/templates/react-node-backend/README.md +0 -75
  23. package/templates/react-node-backend/_gitignore +0 -24
  24. package/templates/react-node-backend/dist/assets/index-By2j7w9s.css +0 -1
  25. package/templates/react-node-backend/dist/assets/index-DKQCwCeF.js +0 -9
  26. package/templates/react-node-backend/dist/index.html +0 -14
  27. package/templates/react-node-backend/dist/react.svg +0 -1
  28. package/templates/react-node-backend/dist/vite.svg +0 -1
  29. package/templates/react-node-backend/eslint.config.ts +0 -176
  30. package/templates/react-node-backend/eslint.d.ts +0 -31
  31. package/templates/react-node-backend/index.html +0 -13
  32. package/templates/react-node-backend/node/authenticator.ts +0 -47
  33. package/templates/react-node-backend/node/server.ts +0 -103
  34. package/templates/react-node-backend/node_modules/.bin/conc +0 -21
  35. package/templates/react-node-backend/node_modules/.bin/concurrently +0 -21
  36. package/templates/react-node-backend/node_modules/.bin/eslint +0 -21
  37. package/templates/react-node-backend/node_modules/.bin/tsc +0 -21
  38. package/templates/react-node-backend/node_modules/.bin/tsserver +0 -21
  39. package/templates/react-node-backend/node_modules/.bin/vite +0 -21
  40. package/templates/react-node-backend/package.json +0 -33
  41. package/templates/react-node-backend/public/react.svg +0 -1
  42. package/templates/react-node-backend/public/vite.svg +0 -1
  43. package/templates/react-node-backend/src/App.tsx +0 -69
  44. package/templates/react-node-backend/src/index.css +0 -145
  45. package/templates/react-node-backend/src/main.tsx +0 -12
  46. package/templates/react-node-backend/tsconfig.app.json +0 -28
  47. package/templates/react-node-backend/tsconfig.json +0 -7
  48. package/templates/react-node-backend/tsconfig.node.json +0 -26
  49. package/templates/react-node-backend/vite.config.ts +0 -13
@@ -1,145 +0,0 @@
1
- :root {
2
- font-family: Charter, serif;
3
- line-height: 1.5;
4
- font-weight: 400;
5
-
6
- color-scheme: light dark;
7
- color: rgba(255, 255, 255, 0.87);
8
- background-color: #242424;
9
-
10
- font-synthesis: none;
11
- text-rendering: optimizeLegibility;
12
- -webkit-font-smoothing: antialiased;
13
- -moz-osx-font-smoothing: grayscale;
14
- }
15
-
16
- a {
17
- font-weight: 500;
18
- color: #646cff;
19
- text-decoration: inherit;
20
- }
21
- a:hover {
22
- color: #535bf2;
23
- }
24
-
25
- body {
26
- margin: 0;
27
- display: flex;
28
- place-items: center;
29
- min-width: 320px;
30
- min-height: 100vh;
31
- #root {
32
- display: flex;
33
- width: 100%;
34
- > main {
35
- display: flex;
36
- width: 100%;
37
- place-items: center;
38
- flex-direction: column;
39
- > header {
40
- position: fixed;
41
- top: 0;
42
- left: 0;
43
- display: flex;
44
- width: 100%;
45
- box-sizing: border-box;
46
- padding: 20px;
47
- justify-content: flex-end;
48
- gap: 10px;
49
- > .pfp {
50
- position: relative;
51
- display: flex;
52
- place-items: center;
53
- place-content: center;
54
- border: 1px solid #ccc3;
55
- width: 40px;
56
- height: 40px;
57
- border-radius: 50%;
58
- &.signed-in::before {
59
- content: "👤";
60
- }
61
- }
62
- }
63
- > .data {
64
- font-size: 30px;
65
- position: relative;
66
- border: 1px solid #ccc3;
67
- width: 60px;
68
- text-align: center;
69
- &.loading {
70
- color: #ccc3;
71
- }
72
- }
73
-
74
- > .takeover {
75
- z-index: 100;
76
- position: fixed;
77
- top: 0;
78
- left: 0;
79
- width: 100svw;
80
- height: 100svh;
81
- background-color: rgba(0, 0, 0, 0.5);
82
- display: flex;
83
- place-items: center;
84
- place-content: center;
85
- box-sizing: border-box;
86
- padding-bottom: 60px;
87
- > main.card {
88
- display: flex;
89
- flex-direction: column;
90
- place-items: center;
91
- gap: 10px;
92
- background-color: #444;
93
- @media (prefers-color-scheme: light) {
94
- background-color: #fff;
95
- }
96
- width: 100%;
97
- max-width: 200px;
98
- padding: 20px;
99
- border-radius: 8px;
100
- }
101
- }
102
- }
103
- }
104
- }
105
-
106
- .loading::after {
107
- content: "⏳";
108
- position: absolute;
109
- top: -5px;
110
- right: -5px;
111
- font-size: 10px;
112
- color: #fff;
113
- }
114
-
115
- button {
116
- border-radius: 8px;
117
- border: 1px solid transparent;
118
- padding: 0.6em 1.2em;
119
- font-size: 1em;
120
- font-weight: 500;
121
- font-family: inherit;
122
- background-color: #1a1a1a;
123
- cursor: pointer;
124
- transition: border-color 0.25s;
125
- &:hover {
126
- border-color: #646cff;
127
- }
128
- &:focus,
129
- &:focus-visible {
130
- outline: 4px auto -webkit-focus-ring-color;
131
- }
132
- }
133
-
134
- @media (prefers-color-scheme: light) {
135
- :root {
136
- color: #213547;
137
- background-color: #ffffff;
138
- }
139
- a:hover {
140
- color: #747bff;
141
- }
142
- button {
143
- background-color: #f9f9f9;
144
- }
145
- }
@@ -1,12 +0,0 @@
1
- import "./index.css"
2
-
3
- import { StrictMode } from "react"
4
- import { createRoot } from "react-dom/client"
5
-
6
- import App from "./App.tsx"
7
-
8
- createRoot(document.getElementById(`root`)!).render(
9
- <StrictMode>
10
- <App />
11
- </StrictMode>,
12
- )
@@ -1,28 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
4
- "target": "ES2022",
5
- "useDefineForClassFields": true,
6
- "lib": ["ES2022", "DOM", "DOM.Iterable"],
7
- "module": "ESNext",
8
- "types": ["vite/client"],
9
- "skipLibCheck": true,
10
-
11
- /* Bundler mode */
12
- "moduleResolution": "bundler",
13
- "allowImportingTsExtensions": true,
14
- "verbatimModuleSyntax": true,
15
- "moduleDetection": "force",
16
- "noEmit": true,
17
- "jsx": "react-jsx",
18
-
19
- /* Linting */
20
- "strict": true,
21
- "noUnusedLocals": true,
22
- "noUnusedParameters": true,
23
- "erasableSyntaxOnly": true,
24
- "noFallthroughCasesInSwitch": true,
25
- "noUncheckedSideEffectImports": true
26
- },
27
- "include": ["src"]
28
- }
@@ -1,7 +0,0 @@
1
- {
2
- "files": [],
3
- "references": [
4
- { "path": "./tsconfig.app.json" },
5
- { "path": "./tsconfig.node.json" }
6
- ]
7
- }
@@ -1,26 +0,0 @@
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", "eslint.config.ts", "eslint.d.ts", "node"]
26
- }
@@ -1,13 +0,0 @@
1
- import react from "@vitejs/plugin-react"
2
- import { defineConfig } from "vite"
3
-
4
- // https://vite.dev/config/
5
- export default defineConfig({
6
- plugins: [
7
- react({
8
- babel: {
9
- plugins: [[`babel-plugin-react-compiler`]],
10
- },
11
- }),
12
- ],
13
- })