create-nextly-app 0.0.2-alpha.60 → 0.0.2-alpha.62

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/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from 'module';
2
- export { createNextly } from './chunk-SEU6FVET.mjs';
2
+ export { createNextly } from './chunk-CTBK76CF.mjs';
3
3
 
4
4
  createRequire(import.meta.url);
5
5
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-nextly-app",
3
- "version": "0.0.2-alpha.60",
3
+ "version": "0.0.2-alpha.62",
4
4
  "description": "CLI to scaffold Nextly in your Next.js project",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,6 +34,7 @@
34
34
  "@types/fs-extra": "^11.0.4",
35
35
  "@types/node": "^20.19.17",
36
36
  "@types/tar": "^6.1.13",
37
+ "@typescript-eslint/parser": "^8.59.0",
37
38
  "@vitest/coverage-v8": "^4.1.0",
38
39
  "@vitest/ui": "^4.1.0",
39
40
  "eslint": "^9.39.1",
@@ -41,9 +42,10 @@
41
42
  "typescript": "^5.9.3",
42
43
  "vite-tsconfig-paths": "^5.1.4",
43
44
  "vitest": "^4.1.0",
44
- "@nextlyhq/eslint-config": "0.0.2-alpha.60",
45
- "@nextlyhq/telemetry": "0.0.2-alpha.60",
46
- "@nextlyhq/tsconfig": "0.0.2-alpha.60"
45
+ "@nextlyhq/eslint-config": "0.0.2-alpha.62",
46
+ "@nextlyhq/eslint-plugin": "0.0.2-alpha.62",
47
+ "@nextlyhq/telemetry": "0.0.2-alpha.62",
48
+ "@nextlyhq/tsconfig": "0.0.2-alpha.62"
47
49
  },
48
50
  "engines": {
49
51
  "node": "^20.19.0 || ^22.12.0 || >=24.0.0"
@@ -1,8 +1,19 @@
1
1
  import js from "@eslint/js";
2
+ import nextly from "@nextlyhq/eslint-plugin";
2
3
  import tseslint from "typescript-eslint";
3
4
 
5
+ /**
6
+ * `nextly.configs.recommended` carries the design-token rules the Nextly admin
7
+ * holds itself to: no fixed palette colours, no hardcoded colour literals, and
8
+ * no inline `style` object that a class could have expressed. Admin UI that
9
+ * follows them inherits light and dark mode and survives a retheme.
10
+ *
11
+ * Mark a genuine exception in place, with a reason, rather than switching a rule
12
+ * off: `// design-lint-ok: <why>` on the line or the line above.
13
+ */
4
14
  export default tseslint.config(
5
15
  { ignores: ["dist", "dev/.next", "node_modules"] },
6
16
  js.configs.recommended,
7
- ...tseslint.configs.recommended
17
+ ...tseslint.configs.recommended,
18
+ ...nextly.configs.recommended
8
19
  );