@nextnode-solutions/standards 1.1.0 → 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 +100 -100
- package/src/tailwind/theme.css +13 -0
- package/src/tailwind/preset.js +0 -23
package/package.json
CHANGED
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
2
|
+
"name": "@nextnode-solutions/standards",
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "Centralized development standards for NextNode projects: oxlint, oxfmt, TypeScript, Tailwind, Vitest, commitlint",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"commitlint",
|
|
7
|
+
"formatting",
|
|
8
|
+
"linting",
|
|
9
|
+
"nextnode",
|
|
10
|
+
"oxfmt",
|
|
11
|
+
"oxlint",
|
|
12
|
+
"standards"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/NextNodeSolutions/standards#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/NextNodeSolutions/standards/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "NextNode Solutions",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/NextNodeSolutions/standards.git"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"README.md",
|
|
26
|
+
"src"
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"exports": {
|
|
30
|
+
"./oxlint": "./src/oxlint/base.json",
|
|
31
|
+
"./oxfmt": "./src/oxfmt/base.json",
|
|
32
|
+
"./typescript/library": "./src/typescript/tsconfig.library.json",
|
|
33
|
+
"./typescript/nextjs": "./src/typescript/tsconfig.nextjs.json",
|
|
34
|
+
"./typescript/astro": "./src/typescript/tsconfig.astro.json",
|
|
35
|
+
"./tailwind": "./src/tailwind/theme.css",
|
|
36
|
+
"./vitest/frontend": {
|
|
37
|
+
"types": "./src/vitest/vitest.frontend.d.ts",
|
|
38
|
+
"default": "./src/vitest/vitest.frontend.js"
|
|
39
|
+
},
|
|
40
|
+
"./vitest/backend": {
|
|
41
|
+
"types": "./src/vitest/vitest.backend.d.ts",
|
|
42
|
+
"default": "./src/vitest/vitest.backend.js"
|
|
43
|
+
},
|
|
44
|
+
"./commitlint": "./src/commitlint/base.js",
|
|
45
|
+
"./editorconfig": "./src/editorconfig/base.editorconfig",
|
|
46
|
+
"./npmrc": "./src/npmrc/base.npmrc",
|
|
47
|
+
"./lint-staged": "./src/lint-staged/base.js"
|
|
48
|
+
},
|
|
49
|
+
"publishConfig": {
|
|
50
|
+
"access": "public",
|
|
51
|
+
"registry": "https://registry.npmjs.org/"
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "echo 'No build step needed for config package'",
|
|
55
|
+
"format": "oxfmt --write .",
|
|
56
|
+
"format:check": "oxfmt --check .",
|
|
57
|
+
"lint": "oxlint",
|
|
58
|
+
"prepare": "husky",
|
|
59
|
+
"test": "echo 'Configuration package — no tests needed'"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@commitlint/cli": "^19.8.1",
|
|
63
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
64
|
+
"better-sort-package-json": "^1.1.1",
|
|
65
|
+
"husky": "^9.0.11",
|
|
66
|
+
"lint-staged": "^15.2.2",
|
|
67
|
+
"oxfmt": "^0.28.0",
|
|
68
|
+
"oxlint": "^1.43.0"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@commitlint/cli": "^19.0.0",
|
|
72
|
+
"@commitlint/config-conventional": "^19.0.0",
|
|
73
|
+
"oxfmt": ">=0.7.0",
|
|
74
|
+
"oxlint": ">=0.16.0",
|
|
75
|
+
"tailwindcss": "^4.0.0",
|
|
76
|
+
"vitest": "^3.0.0 || ^4.0.0"
|
|
77
|
+
},
|
|
78
|
+
"peerDependenciesMeta": {
|
|
79
|
+
"@commitlint/cli": {
|
|
80
|
+
"optional": true
|
|
81
|
+
},
|
|
82
|
+
"@commitlint/config-conventional": {
|
|
83
|
+
"optional": true
|
|
84
|
+
},
|
|
85
|
+
"oxfmt": {
|
|
86
|
+
"optional": false
|
|
87
|
+
},
|
|
88
|
+
"oxlint": {
|
|
89
|
+
"optional": false
|
|
90
|
+
},
|
|
91
|
+
"tailwindcss": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"vitest": {
|
|
95
|
+
"optional": true
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"engines": {
|
|
99
|
+
"node": ">=24.0.0"
|
|
100
|
+
},
|
|
101
|
+
"packageManager": "pnpm@10.11.0"
|
|
102
102
|
}
|
|
@@ -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
|
+
}
|
package/src/tailwind/preset.js
DELETED
|
@@ -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
|
-
}
|