@quilted/create 0.2.1 → 0.2.3

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 (42) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/esm/app.mjs +32 -61
  3. package/build/esm/module.mjs +5 -7
  4. package/build/esm/package.mjs +4 -6
  5. package/build/esm/server.mjs +38 -72
  6. package/build/esnext/app.esnext +54 -80
  7. package/build/esnext/module.esnext +8 -10
  8. package/build/esnext/package.esnext +8 -10
  9. package/build/esnext/server.esnext +55 -87
  10. package/build/tsconfig.tsbuildinfo +1 -1
  11. package/build/typescript/app.d.ts.map +1 -1
  12. package/build/typescript/module.d.ts.map +1 -1
  13. package/build/typescript/package.d.ts.map +1 -1
  14. package/build/typescript/server.d.ts.map +1 -1
  15. package/build/typescript/shared.d.ts +1 -1
  16. package/build/typescript/shared.d.ts.map +1 -1
  17. package/package.json +1 -1
  18. package/source/app.ts +66 -109
  19. package/source/module.ts +9 -11
  20. package/source/package.ts +8 -10
  21. package/source/server.ts +66 -116
  22. package/source/shared.ts +0 -1
  23. package/templates/app-basic/tsconfig.json +2 -2
  24. package/templates/app-empty/tsconfig.json +2 -2
  25. package/templates/app-graphql/package.json +5 -5
  26. package/templates/app-graphql/tsconfig.json +2 -2
  27. package/templates/app-trpc/package.json +10 -10
  28. package/templates/app-trpc/tsconfig.json +2 -2
  29. package/templates/module/tsconfig.json +1 -1
  30. package/templates/package/tsconfig.json +1 -1
  31. package/templates/server-basic/rollup.config.js +3 -0
  32. package/templates/server-basic/tsconfig.json +1 -1
  33. package/templates/workspace/_gitignore +1 -2
  34. package/templates/workspace/_prettierignore +1 -2
  35. package/templates/workspace/package.json +22 -26
  36. package/templates/workspace/tsconfig.json +2 -7
  37. package/tsconfig.json +1 -1
  38. package/templates/workspace-simple/_gitignore +0 -12
  39. package/templates/workspace-simple/_nvmrc +0 -1
  40. package/templates/workspace-simple/_prettierignore +0 -8
  41. package/templates/workspace-simple/package.json +0 -32
  42. package/templates/workspace-simple/tsconfig.json +0 -8
@@ -1,8 +1,7 @@
1
1
  # Dependencies
2
2
  node_modules/
3
3
 
4
- # Quilt build outputs
5
- .quilt/
4
+ # Build outputs
6
5
  build/
7
6
  bin/
8
7
 
@@ -1,9 +1,8 @@
1
1
  # Dependencies
2
2
  node_modules/
3
3
  pnpm-lock.yaml
4
- package-lock.json
5
4
 
6
- # Quilt build outputs
5
+ # Build outputs
7
6
  .quilt/
8
7
  build/
9
8
  bin/
@@ -1,36 +1,32 @@
1
1
  {
2
- "name": "template-workspace",
2
+ "name": "template-workspace-simple",
3
3
  "type": "module",
4
4
  "version": "0.0.0",
5
5
  "private": true,
6
6
  "scripts": {
7
- "lint": "quilt lint",
8
- "test": "quilt test",
9
- "type-check": "quilt type-check",
10
- "develop": "quilt develop",
11
- "build": "quilt build"
7
+ "build": "pnpm -r run build",
8
+ "format": "prettier --write --cache .",
9
+ "lint": "prettier --check --cache .",
10
+ "test": "vitest",
11
+ "type-check": "tsc --build --pretty",
12
+ "typescript:run": "tsx --conditions quilt:source",
13
+ "typescript:watch": "tsx watch --conditions quilt:source"
12
14
  },
13
- "workspaces": [
14
- "./app",
15
- "./packages/*"
16
- ],
17
15
  "devDependencies": {
18
- "@quilted/browserslist-config": "^0.1.0",
19
- "@quilted/craft": "^0.1.0",
20
- "@quilted/eslint-config": "^0.2.0",
21
- "@quilted/prettier": "^0.2.0",
22
- "@quilted/stylelint-config": "^0.2.0",
16
+ "@quilted/rollup": "^0.2.0",
17
+ "@quilted/vite": "^0.1.0",
23
18
  "@quilted/typescript": "^0.2.0",
24
- "typescript": "^5.2.0"
19
+ "rollup": "^4.1.0",
20
+ "prettier": "^3.0.0",
21
+ "tsx": "^3.14.0",
22
+ "typescript": "^5.2.0",
23
+ "vite": "^4.5.0",
24
+ "vitest": "^0.34.0"
25
25
  },
26
- "prettier": "@quilted/prettier",
27
- "eslintConfig": {
28
- "extends": "@quilted/eslint-config/workspace"
29
- },
30
- "stylelint": {
31
- "extends": "@quilted/stylelint-config"
32
- },
33
- "browserslist": [
34
- "extends @quilted/browserslist-config/defaults"
35
- ]
26
+ "prettier": {
27
+ "arrowParens": "always",
28
+ "bracketSpacing": false,
29
+ "singleQuote": true,
30
+ "trailingComma": "all"
31
+ }
36
32
  }
@@ -1,13 +1,8 @@
1
1
  {
2
- "extends": "@quilted/typescript/workspace.json",
2
+ "extends": "@quilted/craft/typescript/workspace.json",
3
3
  "compilerOptions": {
4
4
  "outDir": "build/typescript"
5
5
  },
6
- "include": [
7
- "quilt.workspace.ts",
8
- "**/quilt.project.ts",
9
- "**/*.test.ts",
10
- "**/*.test.tsx"
11
- ],
6
+ "include": [],
12
7
  "references": []
13
8
  }
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "@quilted/typescript/project.json",
2
+ "extends": "@quilted/craft/typescript/project.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": "source",
5
5
  "outDir": "build/typescript"
@@ -1,12 +0,0 @@
1
- # Dependencies
2
- node_modules/
3
-
4
- # Build outputs
5
- build/
6
- bin/
7
-
8
- # Special operating system files
9
- .DS_STORE
10
-
11
- # Temporary files
12
- *.log
@@ -1 +0,0 @@
1
- 20.9.0
@@ -1,8 +0,0 @@
1
- # Dependencies
2
- node_modules/
3
- pnpm-lock.yaml
4
-
5
- # Build outputs
6
- .quilt/
7
- build/
8
- bin/
@@ -1,32 +0,0 @@
1
- {
2
- "name": "template-workspace-simple",
3
- "type": "module",
4
- "version": "0.0.0",
5
- "private": true,
6
- "scripts": {
7
- "build": "pnpm -r run build",
8
- "format": "prettier --write --cache .",
9
- "lint": "prettier --check --cache .",
10
- "test": "vitest",
11
- "type-check": "tsc --build --pretty",
12
- "typescript:run": "tsx --conditions quilt:source",
13
- "typescript:watch": "tsx watch --conditions quilt:source"
14
- },
15
- "devDependencies": {
16
- "@quilted/rollup": "^0.2.0",
17
- "@quilted/vite": "^0.1.0",
18
- "@quilted/typescript": "^0.2.0",
19
- "rollup": "^4.1.0",
20
- "prettier": "^3.0.0",
21
- "tsx": "^3.14.0",
22
- "typescript": "^5.2.0",
23
- "vite": "^4.5.0",
24
- "vitest": "^0.34.0"
25
- },
26
- "prettier": {
27
- "arrowParens": "always",
28
- "bracketSpacing": false,
29
- "singleQuote": true,
30
- "trailingComma": "all"
31
- }
32
- }
@@ -1,8 +0,0 @@
1
- {
2
- "extends": "@quilted/typescript/workspace.json",
3
- "compilerOptions": {
4
- "outDir": "build/typescript"
5
- },
6
- "include": [],
7
- "references": []
8
- }