@syncify/cli 0.3.0-beta → 1.0.0-alpha.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.
Files changed (41) hide show
  1. package/LICENSE +10 -6
  2. package/dist/index.d.cts +1815 -0
  3. package/dist/index.d.ts +1815 -0
  4. package/package.json +101 -103
  5. package/pnpm-lock.yaml +16312 -4430
  6. package/readme.md +76 -2184
  7. package/scripts/hot.js.liquid +25 -0
  8. package/dist/api.js +0 -16
  9. package/dist/cjs.js +0 -236
  10. package/dist/cli.js +0 -11
  11. package/dist/index.js +0 -18
  12. package/hot.js.liquid +0 -3
  13. package/schema/syncify.config.json +0 -676
  14. package/schema/syncify.env.json +0 -58
  15. package/schema/syncify.package.json +0 -11
  16. package/types/api.d.ts +0 -319
  17. package/types/bundle/cache.d.ts +0 -101
  18. package/types/bundle/commands.d.ts +0 -396
  19. package/types/bundle/errors.d.ts +0 -101
  20. package/types/bundle/file.d.ts +0 -285
  21. package/types/bundle/filters.d.ts +0 -81
  22. package/types/bundle/hot.d.ts +0 -185
  23. package/types/bundle/index.d.ts +0 -603
  24. package/types/bundle/plugin.d.ts +0 -127
  25. package/types/bundle/processors.d.ts +0 -54
  26. package/types/bundle/reports.d.ts +0 -123
  27. package/types/bundle/requests.d.ts +0 -374
  28. package/types/bundle/shared.d.ts +0 -124
  29. package/types/cli.d.ts +0 -547
  30. package/types/config/index.d.ts +0 -550
  31. package/types/config/terser.d.ts +0 -319
  32. package/types/config/views.d.ts +0 -191
  33. package/types/index.d.ts +0 -55
  34. package/types/modules/html-minifier-terser.d.ts +0 -218
  35. package/types/stores.d.ts +0 -11
  36. package/types/transforms/image.d.ts +0 -15
  37. package/types/transforms/json.d.ts +0 -51
  38. package/types/transforms/pages.d.ts +0 -254
  39. package/types/transforms/script.d.ts +0 -308
  40. package/types/transforms/style.d.ts +0 -219
  41. package/types/transforms/svg.d.ts +0 -189
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@syncify/cli",
3
- "description": "The next generation build tool for Shopify theme development.",
4
- "version": "0.3.0-beta",
5
- "license": "MIT",
3
+ "description": "The new generation build tool for Shopify theme development.",
4
+ "version": "1.0.0-alpha.1",
5
+ "access": "restricted",
6
+ "license": "Apache-2.0",
6
7
  "homepage": "https://github.com/panoply/syncify",
7
8
  "bugs": "https://github.com/panoply/syncify/issues",
8
9
  "repository": {
@@ -10,7 +11,7 @@
10
11
  "url": "git://github.com/panoply/syncify.git"
11
12
  },
12
13
  "author": {
13
- "name": "ΝΙΚΟΛΑΣ ΣΑΒΒΙΔΗΣ",
14
+ "name": "Νικολας Σαββιδης",
14
15
  "url": "https://github.com/panoply",
15
16
  "email": "n.savvidis@gmx.com"
16
17
  },
@@ -18,7 +19,8 @@
18
19
  "dist",
19
20
  "types",
20
21
  "schema",
21
- "hot.js.liquid",
22
+ "scripts",
23
+ "hot",
22
24
  "LICENCE",
23
25
  "package.json",
24
26
  "pnpm-lock.yaml"
@@ -36,128 +38,124 @@
36
38
  "shopify cli"
37
39
  ],
38
40
  "engines": {
39
- "pnpm": ">=7",
40
- "node": ">=14",
41
+ "pnpm": ">=9",
42
+ "node": ">=20",
41
43
  "vscode": "^1.22.0"
42
44
  },
43
- "types": "./types/index.d.ts",
44
- "main": "./dist/index.js",
45
45
  "bin": {
46
- "syncify": "dist/cli.js",
47
- "sy": "dist/cli.js"
46
+ "sy": "./dist/cli.cjs",
47
+ "syncify": "./dist/cli.cjs"
48
48
  },
49
- "prettier": "@sissel/prettier-config",
50
- "eslintConfig": {
51
- "extends": "@sissel/eslint-config",
52
- "ignorePatterns": [
53
- "docs",
54
- "dist",
55
- "test/e2e/theme"
56
- ],
57
- "rules": {
58
- "object-curly-newline": "off",
59
- "no-import-assign": "off",
60
- "no-new-func": "off"
49
+ "type": "module",
50
+ "main": "./dist/index.cjs",
51
+ "types": "./dist/index.d.cts",
52
+ "module": "./dist/index.js",
53
+ "exports": {
54
+ "./package.json": "./package.json",
55
+ ".": {
56
+ "types": "./dist/index.d.ts",
57
+ "import": "./dist/index.js",
58
+ "require": "./dist/index.cjs"
61
59
  }
62
60
  },
61
+ "publishConfig": {
62
+ "access": "public"
63
+ },
64
+ "prettier": "@syncify/prettier-config",
63
65
  "dependencies": {
64
- "@liquify/highlight": "^0.1.0",
65
- "anymatch": "^3.1.3",
66
- "axios": "^1.5.0",
67
- "chokidar": "^3.5.3",
68
- "clean-css": "^5.3.2",
69
- "cross-spawn": "^7.0.3",
70
- "dotenv": "^16.3.1",
71
- "fast-glob": "^3.3.1",
72
- "finalhandler": "^1.2.0",
73
- "fs-extra": "^11.1.1",
66
+ "@parcel/watcher": "^2.5.0",
67
+ "adm-zip": "^0.5.16",
68
+ "axios": "^1.7.8",
69
+ "cbor": "^10.0.3",
70
+ "clean-css": "^5.3.3",
71
+ "dotenv": "^16.4.7",
72
+ "enquirer": "^2.4.1",
73
+ "esbuild": "^0.24.0",
74
+ "fast-glob": "^3.3.2",
75
+ "form-data": "^4.0.1",
76
+ "fs-extra": "^11.2.0",
74
77
  "gray-matter": "^4.0.3",
75
78
  "html-minifier-terser": "7.2.0",
76
- "load-tsconfig": "^0.2.5",
77
- "markdown-it": "^13.0.1",
78
- "minimist": "^1.2.8",
79
- "morphdom": "^2.7.0",
79
+ "js-yaml": "^4.1.0",
80
+ "keytar": "^7.9.0",
81
+ "localtunnel": "^2.0.2",
82
+ "markdown-it": "^14.1.0",
80
83
  "node-notifier": "^10.0.1",
81
- "open-editor": "^4.1.1",
82
- "p-map": "^6.0.0",
83
- "pathe": "^1.1.1",
84
- "prompts": "^2.4.2",
85
- "serve-static": "^1.15.0",
86
- "tree-kill": "^1.2.2",
87
- "turndown": "^7.1.2",
88
- "ws": "^8.13.0"
84
+ "postcss": "^8.4.49",
85
+ "postcss-load-config": "^6.0.1",
86
+ "svg-sprite": "^2.0.4",
87
+ "svgo": "^3.3.2",
88
+ "write-file-atomic": "^6.0.0",
89
+ "@syncify/json": "^0.0.6",
90
+ "@syncify/turndown": "^0.2.1",
91
+ "@syncify/uws": "^0.1.2"
89
92
  },
90
93
  "devDependencies": {
91
- "@sissel/eslint-config": "^1.1.0",
92
- "@sissel/prettier-config": "^1.1.0",
93
- "@types/finalhandler": "^1.2.0",
94
- "@types/fs-extra": "^11.0.1",
95
- "@types/mime-types": "^2.1.1",
96
- "@types/minimist": "^1.2.2",
97
- "@types/prompts": "^2.4.4",
98
- "@types/serve-static": "^1.15.2",
99
- "@types/svg-sprite": "^0.0.34",
100
- "@types/ws": "^8.5.5",
101
- "ansis": "^1.5.5",
102
- "ava": "^5.3.1",
103
- "clean-stack": "^5.2.0",
104
- "esbuild": "^0.19.2",
105
- "eslint": "^8.48.0",
106
- "log-update": "^5.0.1",
107
- "mergerino": "^0.4.0",
108
- "mithril": "^2.2.2",
109
- "p-queue": "^7.4.1",
110
- "postcss": "^8.4.29",
111
- "prettier": "^3.0.3",
112
- "rambdax": "^10.0.0",
113
- "sass": "^1.66.1",
114
- "sharp": "^0.32.5",
115
- "strip-json-comments": "^5.0.1",
116
- "svg-sprite": "^2.0.2",
117
- "svgo": "^3.0.2",
118
- "tailwindcss": "^3.3.3",
119
- "tiny-spinner": "^2.0.3",
120
- "tsconfig-type": "^1.27.0",
121
- "tsup": "^7.2.0",
122
- "type-fest": "^4.3.1",
123
- "typescript": "^5.2.2",
124
- "wrap-ansi": "^8.1.0"
94
+ "@changesets/cli": "^2.27.10",
95
+ "@liquify/schema": "^0.9.5",
96
+ "@types/adm-zip": "^0.5.7",
97
+ "@types/fs-extra": "^11.0.4",
98
+ "@types/html-minifier-terser": "^7.0.2",
99
+ "@types/node": "^22.10.1",
100
+ "@types/node-notifier": "^8.0.5",
101
+ "@types/write-file-atomic": "^4.0.3",
102
+ "anymatch": "^3.1.3",
103
+ "ava": "^6.2.0",
104
+ "eslint": "^9.16.0",
105
+ "p-map": "^7.0.2",
106
+ "p-queue": "^8.0.1",
107
+ "prettier": "^3.4.1",
108
+ "rambdax": "^11.2.0",
109
+ "read-pkg": "^9.0.1",
110
+ "sass": "^1.81.1",
111
+ "tailwindcss": "^3.4.16",
112
+ "tree-kill": "^1.2.2",
113
+ "tsconfig-type": "^1.29.0",
114
+ "tsup": "8.3.0",
115
+ "type-fest": "^4.30.0",
116
+ "typescript": "^5.7.2",
117
+ "write-package": "^7.1.0",
118
+ "@syncify/acquire": "^0.0.1",
119
+ "@syncify/ansi": "^0.2.1",
120
+ "@syncify/config": "^0.0.4",
121
+ "@syncify/eslint-config": "^0.1.1",
122
+ "@syncify/prettier-config": "^0.1.0",
123
+ "@syncify/kill": "^0.0.1",
124
+ "@syncify/types": "^0.0.4",
125
+ "@syncify/update": "^0.0.2",
126
+ "@syncify/timer": "^0.0.2"
125
127
  },
126
128
  "peerDependencies": {
127
- "esbuild": "^0.19.2",
128
- "postcss": "^8.4.29",
129
- "sass": "^1.66.1",
130
- "sharp": "^0.32.5",
131
- "svg-sprite": "^2.0.2",
132
- "svgo": "^3.0.2",
133
- "tailwindcss": "^3.3.3"
129
+ "sass": "^1.81.0",
130
+ "tailwindcss": "^3.4.15"
134
131
  },
135
132
  "peerDependenciesMeta": {
136
- "esbuild": {
137
- "optional": true
138
- },
139
- "postcss": {
140
- "optional": true
141
- },
142
133
  "sass": {
143
134
  "optional": true
144
135
  },
145
- "sharp": {
146
- "optional": true
147
- },
148
- "svgo": {
149
- "optional": true
150
- },
151
- "svgo-sprite": {
152
- "optional": true
153
- },
154
136
  "tailwindcss": {
155
137
  "optional": true
156
138
  }
157
139
  },
158
140
  "scripts": {
141
+ "sy": "./dist/cli.js",
159
142
  "dev": "tsup --watch",
160
- "build": "tsup --minify",
161
- "syncify": "dist/cli.js"
143
+ "build": "pnpm --shell-mode \"./build.sh\"",
144
+ "@cli": "tsup",
145
+ "@utils": "pnpm -F @syncify/utils",
146
+ "@acquire": "pnpm -F @syncify/acquire",
147
+ "@kill": "pnpm -F @syncify/kill",
148
+ "@docs": "pnpm -F @syncify/docs",
149
+ "@update": "pnpm -F @syncify/update",
150
+ "@config": "pnpm -F @syncify/config",
151
+ "@hot": "pnpm -F @syncify/hot",
152
+ "@ansi": "pnpm -F @syncify/ansi",
153
+ "@turndown": "pnpm -F @syncify/turndown",
154
+ "@json": "pnpm -F @syncify/json",
155
+ "@timer": "pnpm -F @syncify/timer",
156
+ "@uws": "pnpm -F @syncify/uws",
157
+ "publish:stable": "pnpm publish --tag latest",
158
+ "publish:next": "pnpm version prerelease --preid next && pnpm publish --tag next",
159
+ "publish:unstable": "pnpm version prerelease --preid unstable && pnpm publish --tag unstable"
162
160
  }
163
161
  }