dlintr 0.0.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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2021-present UnTS
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,75 @@
1
+ # dlintr
2
+
3
+ [![GitHub Actions](https://github.com/wasmio/dlintr/workflows/CI/badge.svg)](https://github.com/wasmio/dlintr/actions/workflows/ci.yml)
4
+ [![Codecov](https://img.shields.io/codecov/c/github/wasmio/dlintr.svg)](https://codecov.io/gh/wasmio/dlintr)
5
+ [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/wasmio/dlintr.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/wasmio/dlintr/context:javascript)
6
+ [![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2Fun-ts%2Flib-boilerplate%2Fmain%2Fpackage.json)](https://github.com/plantain-00/type-coverage)
7
+ [![npm](https://img.shields.io/npm/v/dlintr.svg)](https://www.npmjs.com/package/dlintr)
8
+ [![GitHub Release](https://img.shields.io/github/release/wasmio/dlintr)](https://github.com/wasmio/dlintr/releases)
9
+
10
+ [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
11
+ [![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com)
12
+ [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
13
+ [![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
14
+ [![changesets](https://img.shields.io/badge/maintained%20with-changesets-176de3.svg)](https://github.com/changesets/changesets)
15
+
16
+ A simple library boilerplate.
17
+
18
+ ## TOC <!-- omit in toc -->
19
+
20
+ - [Usage](#usage)
21
+ - [Install](#install)
22
+ - [API](#api)
23
+ - [Sponsors](#sponsors)
24
+ - [Backers](#backers)
25
+ - [Changelog](#changelog)
26
+ - [License](#license)
27
+
28
+ ## Usage
29
+
30
+ ### Install
31
+
32
+ ```sh
33
+ # pnpm
34
+ pnpm add dlintr
35
+
36
+ # yarn
37
+ yarn add dlintr
38
+
39
+ # npm
40
+ npm i dlintr
41
+ ```
42
+
43
+ ### API
44
+
45
+ ```js
46
+ import echo from 'dlintr'
47
+
48
+ echo()
49
+ ```
50
+
51
+ ## Sponsors
52
+
53
+ | 1stG | RxTS | UnTS |
54
+ | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
55
+ | [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/organizations.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/organizations.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/organizations.svg)](https://opencollective.com/unts) |
56
+
57
+ ## Backers
58
+
59
+ [![Backers](https://raw.githubusercontent.com/1stG/static/master/sponsors.svg)](https://github.com/sponsors/JounQin)
60
+
61
+ | 1stG | RxTS | UnTS |
62
+ | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
63
+ | [![1stG Open Collective backers and sponsors](https://opencollective.com/1stG/individuals.svg)](https://opencollective.com/1stG) | [![RxTS Open Collective backers and sponsors](https://opencollective.com/rxts/individuals.svg)](https://opencollective.com/rxts) | [![UnTS Open Collective backers and sponsors](https://opencollective.com/unts/individuals.svg)](https://opencollective.com/unts) |
64
+
65
+ ## Changelog
66
+
67
+ Detailed changes for each release are documented in [CHANGELOG.md](./CHANGELOG.md).
68
+
69
+ ## License
70
+
71
+ [MIT][] © [JounQin][]@[1stG.me][]
72
+
73
+ [1stg.me]: https://www.1stg.me
74
+ [jounqin]: https://GitHub.com/JounQin
75
+ [mit]: http://opensource.org/licenses/MIT
package/lib/index.cjs ADDED
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ var index = () => "Hello World!";
4
+
5
+ module.exports = index;
package/lib/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ declare const _default: () => string;
2
+ export default _default;
package/lib/index.js ADDED
@@ -0,0 +1,2 @@
1
+ export default () => 'Hello World!';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,eAAe,GAAG,EAAE,CAAC,cAAc,CAAA"}
package/package.json ADDED
@@ -0,0 +1,94 @@
1
+ {
2
+ "name": "dlintr",
3
+ "version": "0.0.0",
4
+ "type": "module",
5
+ "description": "Dockerfile linter, validate inline bash, powered by hadolint with WASM",
6
+ "repository": "git+https://github.com/wasmio/dlintr.git",
7
+ "author": "JounQin (https://www.1stG.me) <admin@1stg.me>",
8
+ "funding": "https://opencollective.com/unts",
9
+ "license": "MIT",
10
+ "packageManager": "pnpm@7.11.0",
11
+ "engines": {
12
+ "node": "^12.20.0 || ^14.18.0 || >=16.0.0"
13
+ },
14
+ "exports": {
15
+ "types": "./lib/index.d.ts",
16
+ "import": "./lib/index.js",
17
+ "require": "./lib/index.cjs"
18
+ },
19
+ "files": [
20
+ "lib",
21
+ "!**/*.tsbuildinfo"
22
+ ],
23
+ "dependencies": {
24
+ "tslib": "^2.4.0"
25
+ },
26
+ "devDependencies": {
27
+ "@1stg/app-config": "^7.2.1",
28
+ "@1stg/lib-config": "^10.2.1",
29
+ "@changesets/changelog-github": "^0.4.6",
30
+ "@changesets/cli": "^2.24.4",
31
+ "@pkgr/webpack": "^3.4.0",
32
+ "@pkgr/webpack-mdx": "^2.2.0",
33
+ "@size-limit/preset-small-lib": "^8.1.0",
34
+ "@types/mdx": "^2.0.2",
35
+ "@types/node": "^18.7.16",
36
+ "@types/react": "^18.0.19",
37
+ "@types/react-dom": "^18.0.6",
38
+ "@types/web": "^0.0.72",
39
+ "@vitest/coverage-istanbul": "^0.23.2",
40
+ "dlintr": "link:.",
41
+ "github-markdown-css": "^5.1.0",
42
+ "react": "^18.2.0",
43
+ "react-dom": "^18.2.0",
44
+ "react-router-dom": "^6.3.0",
45
+ "sirv-cli": "^2.0.2",
46
+ "size-limit": "^8.1.0",
47
+ "type-coverage": "^2.22.0",
48
+ "typescript": "~4.7.4",
49
+ "unplugin-auto-import": "^0.11.2",
50
+ "vitest": "^0.23.2"
51
+ },
52
+ "resolutions": {
53
+ "typescript": "~4.7.4"
54
+ },
55
+ "size-limit": [
56
+ {
57
+ "path": "lib/index.js"
58
+ }
59
+ ],
60
+ "typeCoverage": {
61
+ "atLeast": 100,
62
+ "cache": true,
63
+ "detail": true,
64
+ "ignoreAsAssertion": true,
65
+ "ignoreNonNullAssertion": true,
66
+ "showRelativePath": true,
67
+ "strict": true,
68
+ "update": true
69
+ },
70
+ "scripts": {
71
+ "build": "run-p build:*",
72
+ "build:r": "r -f cjs",
73
+ "build:tsc": "tsc -p src",
74
+ "codesandbox:install": "yarn",
75
+ "dev": "vitest",
76
+ "docs:build": "w -e docs -p --publicPath /",
77
+ "docs:dev": "w -e docs",
78
+ "lint": "run-p lint:*",
79
+ "lint:es": "eslint . --cache -f friendly --max-warnings 10",
80
+ "lint:style": "stylelint . --cache",
81
+ "lint:tsc": "tsc --noEmit",
82
+ "postversion": "pnpm i --no-frozen-lockfile",
83
+ "prerelease": "pnpm build",
84
+ "release": "changeset publish",
85
+ "serve": "sirv dist -s",
86
+ "test": "vitest run --coverage",
87
+ "typecov": "type-coverage",
88
+ "vercel-build": "pnpm docs:build",
89
+ "version": "changeset version"
90
+ },
91
+ "main": "./lib/index.cjs",
92
+ "module": "./lib/index.js",
93
+ "types": "./lib/index.d.ts"
94
+ }