@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
- "name": "@nextnode-solutions/standards",
3
- "version": "1.2.1",
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"
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
  }
@@ -1,5 +1,8 @@
1
1
  export default {
2
2
  'package.json': ['better-sort-package-json'],
3
- '*': ['oxlint'],
4
- '*.{js,mjs,cjs,jsx,ts,mts,cts,tsx}': ['oxfmt --write'],
3
+ '*.{js,mjs,cjs,jsx,ts,mts,cts,tsx,vue,svelte,astro}': [
4
+ 'oxlint',
5
+ 'oxfmt --write',
6
+ ],
7
+ '*.json': ['oxfmt --write'],
5
8
  }
@@ -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": "always"
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
+ }
@@ -21,8 +21,6 @@
21
21
 
22
22
  // Compatibility
23
23
  "forceConsistentCasingInFileNames": true,
24
- "allowSyntheticDefaultImports": true,
25
- "esModuleInterop": true,
26
24
  "resolveJsonModule": true,
27
25
  "skipLibCheck": true,
28
26
  "allowJs": true,