@syncify/cli 0.2.4-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 (40) 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 -101
  5. package/pnpm-lock.yaml +16526 -4200
  6. package/readme.md +77 -2017
  7. package/scripts/hot.js.liquid +25 -0
  8. package/dist/api.js +0 -16
  9. package/dist/cjs.js +0 -221
  10. package/dist/cli.js +0 -12
  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/cli.d.ts +0 -541
  18. package/types/config/index.d.ts +0 -530
  19. package/types/config/terser.d.ts +0 -267
  20. package/types/config/views.d.ts +0 -234
  21. package/types/index.d.ts +0 -55
  22. package/types/internal/cache.d.ts +0 -97
  23. package/types/internal/commands.d.ts +0 -396
  24. package/types/internal/errors.d.ts +0 -101
  25. package/types/internal/file.d.ts +0 -285
  26. package/types/internal/filters.d.ts +0 -81
  27. package/types/internal/hot.d.ts +0 -161
  28. package/types/internal/index.d.ts +0 -513
  29. package/types/internal/markdown.d.ts +0 -104
  30. package/types/internal/plugin.d.ts +0 -127
  31. package/types/internal/processors.d.ts +0 -54
  32. package/types/internal/reports.d.ts +0 -123
  33. package/types/internal/requests.d.ts +0 -288
  34. package/types/internal/shared.d.ts +0 -124
  35. package/types/modules/html-minifier-terser.d.ts +0 -211
  36. package/types/transforms/image.d.ts +0 -15
  37. package/types/transforms/json.d.ts +0 -42
  38. package/types/transforms/script.d.ts +0 -308
  39. package/types/transforms/style.d.ts +0 -219
  40. 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.2.4-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,126 +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
- "sync": "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
- "anymatch": "^3.1.3",
65
- "axios": "^1.4.0",
66
- "chokidar": "^3.5.3",
67
- "clean-css": "^5.3.2",
68
- "cross-spawn": "^7.0.3",
69
- "dotenv": "^16.3.1",
70
- "fast-glob": "^3.2.12",
71
- "finalhandler": "^1.2.0",
72
- "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",
73
77
  "gray-matter": "^4.0.3",
74
78
  "html-minifier-terser": "7.2.0",
75
- "html-to-image": "^1.11.11",
76
- "load-tsconfig": "^0.2.5",
77
- "markdown-it": "^13.0.1",
78
- "mime-types": "^2.1.35",
79
- "minimist": "^1.2.8",
80
- "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",
81
83
  "node-notifier": "^10.0.1",
82
- "p-map": "^6.0.0",
83
- "prompts": "^2.4.2",
84
- "serve-static": "^1.15.0",
85
- "turndown": "^7.1.2",
86
- "turndown-plugin-gfm": "^1.0.2",
87
- "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"
88
92
  },
89
93
  "devDependencies": {
90
- "@sissel/eslint-config": "^1.1.0",
91
- "@sissel/prettier-config": "^1.1.0",
92
- "@types/finalhandler": "^1.2.0",
93
- "@types/fs-extra": "^11.0.1",
94
- "@types/mime-types": "^2.1.1",
95
- "@types/minimist": "^1.2.2",
96
- "@types/serve-static": "^1.15.2",
97
- "@types/svg-sprite": "^0.0.34",
98
- "@types/ws": "^8.5.5",
99
- "ansis": "^1.5.5",
100
- "ava": "^5.3.1",
101
- "clean-stack": "^5.2.0",
102
- "esbuild": "^0.18.10",
103
- "eslint": "^8.43.0",
104
- "log-update": "^5.0.1",
105
- "mergerino": "^0.4.0",
106
- "mithril": "^2.2.2",
107
- "p-queue": "^7.3.4",
108
- "postcss": "^8.4.24",
109
- "prettier": "^2.8.8",
110
- "rambdax": "^9.1.1",
111
- "sass": "^1.63.6",
112
- "sharp": "^0.32.1",
113
- "strip-json-comments": "^5.0.0",
114
- "svg-sprite": "^2.0.2",
115
- "svgo": "^3.0.2",
116
- "tailwindcss": "^3.3.2",
117
- "tiny-spinner": "^2.0.0",
118
- "tsconfig-type": "^1.27.0",
119
- "tsup": "^7.1.0",
120
- "type-fest": "^3.12.0",
121
- "typescript": "^5.1.3",
122
- "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"
123
127
  },
124
128
  "peerDependencies": {
125
- "esbuild": "^0.18.10",
126
- "postcss": "^8.4.24",
127
- "sass": "^1.63.6",
128
- "sharp": "^0.32.1",
129
- "svg-sprite": "^2.0.2",
130
- "svgo": "^3.0.2",
131
- "tailwindcss": "^3.3.2"
129
+ "sass": "^1.81.0",
130
+ "tailwindcss": "^3.4.15"
132
131
  },
133
132
  "peerDependenciesMeta": {
134
- "esbuild": {
135
- "optional": true
136
- },
137
- "postcss": {
138
- "optional": true
139
- },
140
133
  "sass": {
141
134
  "optional": true
142
135
  },
143
- "sharp": {
144
- "optional": true
145
- },
146
- "svgo": {
147
- "optional": true
148
- },
149
- "svgo-sprite": {
150
- "optional": true
151
- },
152
136
  "tailwindcss": {
153
137
  "optional": true
154
138
  }
155
139
  },
156
140
  "scripts": {
141
+ "sy": "./dist/cli.js",
157
142
  "dev": "tsup --watch",
158
- "build": "tsup --minify",
159
- "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"
160
160
  }
161
161
  }