@nextnode-solutions/standards 1.0.1 → 1.2.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextnode-solutions/standards",
3
- "version": "1.0.1",
3
+ "version": "1.2.0",
4
4
  "description": "Centralized development standards for NextNode projects: oxlint, oxfmt, TypeScript, Tailwind, Vitest, commitlint",
5
5
  "keywords": [
6
6
  "commitlint",
@@ -32,7 +32,7 @@
32
32
  "./typescript/library": "./src/typescript/tsconfig.library.json",
33
33
  "./typescript/nextjs": "./src/typescript/tsconfig.nextjs.json",
34
34
  "./typescript/astro": "./src/typescript/tsconfig.astro.json",
35
- "./tailwind": "./src/tailwind/preset.js",
35
+ "./tailwind": "./src/tailwind/theme.css",
36
36
  "./vitest/frontend": {
37
37
  "types": "./src/vitest/vitest.frontend.d.ts",
38
38
  "default": "./src/vitest/vitest.frontend.js"
@@ -42,6 +42,8 @@
42
42
  "default": "./src/vitest/vitest.backend.js"
43
43
  },
44
44
  "./commitlint": "./src/commitlint/base.js",
45
+ "./editorconfig": "./src/editorconfig/base.editorconfig",
46
+ "./npmrc": "./src/npmrc/base.npmrc",
45
47
  "./lint-staged": "./src/lint-staged/base.js"
46
48
  },
47
49
  "publishConfig": {
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = tab
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [*.md]
12
+ trim_trailing_whitespace = false
@@ -1,4 +1,4 @@
1
1
  export default {
2
2
  'package.json': ['better-sort-package-json'],
3
- '*': ['oxlint', 'oxfmt --write'],
3
+ '*': ['oxlint', 'oxfmt --no-error-on-unmatched-pattern --write'],
4
4
  }
@@ -0,0 +1,3 @@
1
+ strict-peer-dependencies=false
2
+ auto-install-peers=true
3
+ shamefully-hoist=false
@@ -0,0 +1,13 @@
1
+ /*
2
+ * NextNode Tailwind CSS v4 Theme
3
+ * Brand-agnostic defaults for all NextNode projects
4
+ *
5
+ * Usage in consuming project's CSS:
6
+ *
7
+ * @import "tailwindcss";
8
+ * @import "@nextnode-solutions/standards/tailwind";
9
+ */
10
+
11
+ @theme {
12
+ --breakpoint-xs: 30rem;
13
+ }
@@ -1,23 +0,0 @@
1
- /**
2
- * NextNode Tailwind CSS Preset
3
- * Brand-agnostic defaults for all NextNode projects
4
- */
5
- export default {
6
- theme: {
7
- container: {
8
- center: true,
9
- padding: {
10
- DEFAULT: '1rem',
11
- sm: '2rem',
12
- lg: '4rem',
13
- xl: '5rem',
14
- '2xl': '6rem',
15
- },
16
- },
17
- extend: {
18
- screens: {
19
- xs: '475px',
20
- },
21
- },
22
- },
23
- }