@nextnode-solutions/standards 1.2.1 → 1.3.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,102 +1,103 @@
|
|
|
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.3.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/core#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/NextNodeSolutions/core/issues"
|
|
17
|
+
},
|
|
18
|
+
"license": "MIT",
|
|
19
|
+
"author": "NextNode Solutions",
|
|
20
|
+
"files": [
|
|
21
|
+
"README.md",
|
|
22
|
+
"src"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/NextNodeSolutions/core.git"
|
|
27
|
+
},
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "echo 'No build step needed for config package'",
|
|
30
|
+
"format": "oxfmt --write .",
|
|
31
|
+
"format:check": "oxfmt --check .",
|
|
32
|
+
"lint": "oxlint",
|
|
33
|
+
"prepare": "husky",
|
|
34
|
+
"test": "echo 'Configuration package — no tests needed'"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@commitlint/cli": "^19.8.1",
|
|
38
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
39
|
+
"better-sort-package-json": "^1.1.1",
|
|
40
|
+
"husky": "^9.0.11",
|
|
41
|
+
"lint-staged": "^15.2.2",
|
|
42
|
+
"oxfmt": "^0.28.0",
|
|
43
|
+
"oxlint": "^1.43.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@commitlint/cli": "^19.0.0",
|
|
47
|
+
"@commitlint/config-conventional": "^19.0.0",
|
|
48
|
+
"oxfmt": ">=0.7.0",
|
|
49
|
+
"oxlint": ">=0.16.0",
|
|
50
|
+
"tailwindcss": "^4.0.0",
|
|
51
|
+
"vitest": "^3.0.0 || ^4.0.0"
|
|
52
|
+
},
|
|
53
|
+
"peerDependenciesMeta": {
|
|
54
|
+
"@commitlint/cli": {
|
|
55
|
+
"optional": true
|
|
56
|
+
},
|
|
57
|
+
"@commitlint/config-conventional": {
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
"oxfmt": {
|
|
61
|
+
"optional": false
|
|
62
|
+
},
|
|
63
|
+
"oxlint": {
|
|
64
|
+
"optional": false
|
|
65
|
+
},
|
|
66
|
+
"tailwindcss": {
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
"vitest": {
|
|
70
|
+
"optional": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"engines": {
|
|
74
|
+
"node": ">=24.0.0"
|
|
75
|
+
},
|
|
76
|
+
"publishConfig": {
|
|
77
|
+
"access": "public",
|
|
78
|
+
"registry": "https://registry.npmjs.org/"
|
|
79
|
+
},
|
|
80
|
+
"packageManager": "pnpm@10.11.0",
|
|
81
|
+
"type": "module",
|
|
82
|
+
"exports": {
|
|
83
|
+
"./oxlint": "./src/oxlint/base.json",
|
|
84
|
+
"./oxfmt": "./src/oxfmt/base.json",
|
|
85
|
+
"./typescript/library": "./src/typescript/tsconfig.library.json",
|
|
86
|
+
"./typescript/nextjs": "./src/typescript/tsconfig.nextjs.json",
|
|
87
|
+
"./typescript/astro": "./src/typescript/tsconfig.astro.json",
|
|
88
|
+
"./tailwind": "./src/tailwind/theme.css",
|
|
89
|
+
"./vitest/frontend": {
|
|
90
|
+
"types": "./src/vitest/vitest.frontend.d.ts",
|
|
91
|
+
"default": "./src/vitest/vitest.frontend.js"
|
|
92
|
+
},
|
|
93
|
+
"./vitest/backend": {
|
|
94
|
+
"types": "./src/vitest/vitest.backend.d.ts",
|
|
95
|
+
"default": "./src/vitest/vitest.backend.js"
|
|
96
|
+
},
|
|
97
|
+
"./commitlint": "./src/commitlint/base.js",
|
|
98
|
+
"./editorconfig": "./src/editorconfig/base.editorconfig",
|
|
99
|
+
"./npmrc": "./src/npmrc/base.npmrc",
|
|
100
|
+
"./lint-staged": "./src/lint-staged/base.js",
|
|
101
|
+
"./semantic-release": "./src/semantic-release/base.js"
|
|
102
|
+
}
|
|
102
103
|
}
|
package/src/lint-staged/base.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
'package.json': ['better-sort-package-json'],
|
|
3
|
-
'
|
|
4
|
-
|
|
3
|
+
'*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,svelte,astro}': [
|
|
4
|
+
'oxlint',
|
|
5
|
+
'oxfmt --write',
|
|
6
|
+
],
|
|
7
|
+
'*.json': ['oxfmt --write'],
|
|
5
8
|
}
|
package/src/oxfmt/base.json
CHANGED
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
"experimentalTailwindcss": {},
|
|
14
14
|
"experimentalSortImports": {
|
|
15
15
|
"groups": [
|
|
16
|
-
["side-effect"],
|
|
17
16
|
["builtin"],
|
|
18
17
|
["external", "type-external"],
|
|
19
18
|
["internal", "type-internal"],
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
["sibling", "type-sibling"],
|
|
22
21
|
["index", "type-index"]
|
|
23
22
|
],
|
|
24
|
-
"newlinesBetween":
|
|
23
|
+
"newlinesBetween": true
|
|
25
24
|
},
|
|
26
25
|
"overrides": [
|
|
27
26
|
{
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
plugins: [
|
|
3
|
+
'@semantic-release/commit-analyzer',
|
|
4
|
+
'@semantic-release/release-notes-generator',
|
|
5
|
+
'@semantic-release/npm',
|
|
6
|
+
[
|
|
7
|
+
'@semantic-release/git',
|
|
8
|
+
{
|
|
9
|
+
assets: ['package.json'],
|
|
10
|
+
message: 'chore(release): ${nextRelease.gitTag} [skip ci]',
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
'@semantic-release/github',
|
|
15
|
+
{
|
|
16
|
+
successComment: false,
|
|
17
|
+
failTitle: false,
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
],
|
|
21
|
+
}
|