@hyperupcall/npm-package-json-lint-config 0.2.0 → 0.2.2

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,29 +1,34 @@
1
1
  {
2
- "name": "@hyperupcall/npm-package-json-lint-config",
3
- "type": "module",
4
- "main": "index.cjs",
5
- "version": "0.2.0",
6
- "private": false,
7
- "devDependencies": {
8
- "@hyperupcall/scripts-nodejs": "0.13.0"
9
- },
10
- "markdownlint-cli2": {
11
- "extends": "./node_modules/@hyperupcall/markdownlint-config/.markdownlint.json"
12
- },
13
- "prettier": "@hyperupcall/scripts-nodejs/config-prettier.js",
14
- "author": "Edwin Kofler <edwin@kofler.dev> (https://edwinkofler.com)",
15
- "bugs": {
16
- "url": "https://github.com/hyperupcall-projects/npm-package-json-lint-config/issues"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "https://github.com/hyperupcall-projects/npm-package-json-lint-config"
21
- },
22
- "npmpackagejsonlint": {
23
- "extends": "npm-package-json-lint-config-default"
24
- },
25
- "scripts": {
26
- "format": "hyperupcall-scripts-nodejs format",
27
- "lint": "hyperupcall-scripts-nodejs lint"
28
- }
29
- }
2
+ "name": "@hyperupcall/npm-package-json-lint-config",
3
+ "type": "module",
4
+ "main": "index.cjs",
5
+ "version": "0.2.2",
6
+ "private": false,
7
+ "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
8
+ "scripts": {
9
+ "format": "hyperupcall-scripts-nodejs format",
10
+ "lint": "hyperupcall-scripts-nodejs lint"
11
+ },
12
+ "devDependencies": {
13
+ "@hyperupcall/scripts-nodejs": "0.13.0"
14
+ },
15
+ "markdownlint-cli2": {
16
+ "extends": "./node_modules/@hyperupcall/markdownlint-config/.markdownlint.json"
17
+ },
18
+ "files": [
19
+ "index.cjs",
20
+ "npmpackagejsonlint.config.js"
21
+ ],
22
+ "prettier": "@hyperupcall/scripts-nodejs/config-prettier.js",
23
+ "author": "Edwin Kofler <edwin@kofler.dev> (https://edwinkofler.com)",
24
+ "bugs": {
25
+ "url": "https://github.com/hyperupcall-projects/npm-package-json-lint-config/issues"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "https://github.com/hyperupcall-projects/npm-package-json-lint-config"
30
+ },
31
+ "npmpackagejsonlint": {
32
+ "extends": "npm-package-json-lint-config-default"
33
+ }
34
+ }
@@ -1,2 +0,0 @@
1
- rules:
2
- header-trim: [2, 'always']
package/.config/hk.pkl DELETED
@@ -1,17 +0,0 @@
1
- amends "package://github.com/jdx/hk/releases/download/v2.13.0/hk@2.13.0#/Config.pkl"
2
- import "package://github.com/jdx/hk/releases/download/v2.13.0/hk@2.13.0#/Builtins.pkl"
3
-
4
- // To override this, create a ".config/hk.local.pkl" file.
5
- // See: https://hk.jdx.dev/configuration.html#hk-local-pkl.
6
- local linters = new Mapping {
7
- ["prettier"] = Builtins.prettier
8
- ["eslint"] = Builtins.eslint
9
- ["publint"] = new Step {
10
- glob = "package.json"
11
- // Does not include suggestion (info) messages.
12
- check = "publint --level warning --strict"
13
- }
14
- ["tsc"] = Builtins.tsc
15
- }
16
-
17
- steps = linters
package/.cz.toml DELETED
@@ -1,7 +0,0 @@
1
- [tool.commitizen]
2
- name = "cz_customize"
3
- tag_format = "v$version"
4
- version_scheme = "semver2"
5
- version_provider = "scm"
6
- update_changelog_on_bump = true
7
- major_version_zero = true
package/.editorconfig DELETED
@@ -1,12 +0,0 @@
1
- root = true
2
-
3
- [*]
4
- indent_style = tab
5
- end_of_line = lf
6
- charset = utf-8
7
- trim_trailing_whitespace = true
8
- insert_final_newline = true
9
-
10
- [*.{md,yaml,yml}]
11
- indent_style = space
12
- indent_size = 2
@@ -1,58 +0,0 @@
1
- name: 'Website'
2
-
3
- on:
4
- push:
5
- branches: ['main']
6
- workflow_dispatch:
7
- workflow_call:
8
-
9
- permissions:
10
- contents: read
11
- pages: write
12
- id-token: write
13
-
14
- concurrency:
15
- group: 'pages'
16
-
17
- jobs:
18
- deploy:
19
- runs-on: 'ubuntu-latest'
20
- environment:
21
- name: 'github-pages'
22
- url: '${{ steps.deployment.outputs.page_url }}'
23
- steps:
24
- - uses: 'actions/checkout@v6'
25
- - uses: 'actions/configure-pages@v5'
26
- id: pages
27
- - name: 'Prepare docs if missing'
28
- shell: bash
29
- run: |
30
- if [ ! -d docs ]; then
31
- mkdir -p docs/content docs/templates
32
- printf '%s\n' 'base_url = "https://example.org"' > docs/config.toml
33
- printf '+++\n+++\n\n' > docs/content/_index.md
34
- cat README.md >> docs/content/_index.md
35
- printf '%s\n' \
36
- '<!doctype html><meta charset="utf-8">' \
37
- '<main>{{ section.content | safe }}</main>' \
38
- > docs/templates/index.html
39
- fi
40
- - name: 'Download Zola'
41
- shell: bash
42
- run: |
43
- curl -fsSL \
44
- 'https://github.com/getzola/zola/releases/download/v0.23.0/zola-v0.23.0-x86_64-unknown-linux-gnu.tar.gz' \
45
- -o "$RUNNER_TEMP/zola.tar.gz"
46
- tar -xzf "$RUNNER_TEMP/zola.tar.gz" -C "$RUNNER_TEMP" zola
47
- - name: 'Build site with Zola'
48
- shell: bash
49
- working-directory: 'docs'
50
- env:
51
- PAGES_BASE_URL: '${{ steps.pages.outputs.base_url }}'
52
- run: |
53
- "$RUNNER_TEMP/zola" build --base-url "$PAGES_BASE_URL" --output-dir public
54
- - uses: 'actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b'
55
- with:
56
- path: 'docs/public'
57
- - uses: 'actions/deploy-pages@v4'
58
- id: deployment
package/.ls-lint.yml DELETED
@@ -1,31 +0,0 @@
1
- ls:
2
- .vscode:
3
- .*: 'exists:0'
4
- .json: 'regex:(settings|launch|tasks|extensions|keybindings)'
5
-
6
- assets:
7
- .*: 'exists:0'
8
- .png: 'kebab-case'
9
- .jpg: 'kebab-case'
10
- .jpeg: 'kebab-case'
11
- .svg: 'kebab-case'
12
- .ico: 'kebab-case'
13
-
14
- docs:
15
- .*: 'exists:0'
16
- .md: 'kebab-case'
17
-
18
- language-configuration:
19
- .*: 'exists:0'
20
- .language-configuration.json: 'kebab-case'
21
-
22
- scripts:
23
- .js: 'kebab-case'
24
-
25
- syntaxes:
26
- .*: 'exists:0'
27
- .tmLanguage.json: 'kebab-case'
28
-
29
- ignore:
30
- - 'node_modules'
31
- - '.git'
package/eslint.config.js DELETED
@@ -1 +0,0 @@
1
- export { default } from '@hyperupcall/scripts-nodejs/config-eslint.js'
@@ -1,4 +0,0 @@
1
- allowBuilds:
2
- unrs-resolver: true
3
- publicHoistPattern:
4
- - 'prettier'