mac-helper 0.0.1 → 0.0.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 +5 -1
- package/.editorconfig +0 -13
- package/.eslintignore +0 -4
- package/.eslintrc.yml +0 -18
- package/.github/workflows/ci.yml +0 -27
- package/.husky/pre-commit +0 -4
- package/.mocharc.yml +0 -4
- package/.prettierignore +0 -4
- package/CHANGELOG.md +0 -5
- package/prettier.config.js +0 -1
- package/test/.gitkeep +0 -0
- package/tsconfig.json +0 -19
package/package.json
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mac-helper",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "useful helper for macOS",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib/",
|
|
9
|
+
"src/"
|
|
10
|
+
],
|
|
7
11
|
"scripts": {
|
|
8
12
|
"test": "mocha",
|
|
9
13
|
"prepare": "husky install",
|
package/.editorconfig
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
# EditorConfig is awesome: https://EditorConfig.org
|
|
2
|
-
|
|
3
|
-
# top-most EditorConfig file
|
|
4
|
-
root = true
|
|
5
|
-
|
|
6
|
-
# Unix-style newlines with a newline ending every file
|
|
7
|
-
[*]
|
|
8
|
-
end_of_line = lf
|
|
9
|
-
insert_final_newline = true
|
|
10
|
-
charset = utf-8
|
|
11
|
-
indent_style = space
|
|
12
|
-
indent_size = 2
|
|
13
|
-
trim_trailing_whitespace = true
|
package/.eslintignore
DELETED
package/.eslintrc.yml
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
# root
|
|
2
|
-
root: true
|
|
3
|
-
parser: '@typescript-eslint/parser'
|
|
4
|
-
plugins: ['@typescript-eslint']
|
|
5
|
-
|
|
6
|
-
env:
|
|
7
|
-
mocha: true
|
|
8
|
-
node: true
|
|
9
|
-
|
|
10
|
-
extends:
|
|
11
|
-
- 'eslint:recommended'
|
|
12
|
-
- 'plugin:@typescript-eslint/recommended'
|
|
13
|
-
- 'prettier'
|
|
14
|
-
|
|
15
|
-
rules:
|
|
16
|
-
'@typescript-eslint/ban-ts-comment': off
|
|
17
|
-
'@typescript-eslint/no-unused-vars': off
|
|
18
|
-
'@typescript-eslint/no-non-null-assertion': off
|
package/.github/workflows/ci.yml
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
name: ci
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
- push
|
|
5
|
-
- pull_request
|
|
6
|
-
|
|
7
|
-
jobs:
|
|
8
|
-
unit-test:
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- uses: actions/checkout@v3
|
|
12
|
-
|
|
13
|
-
- uses: pnpm/action-setup@v2
|
|
14
|
-
with: { version: 7 }
|
|
15
|
-
|
|
16
|
-
- uses: actions/setup-node@v3
|
|
17
|
-
with:
|
|
18
|
-
node-version: 16
|
|
19
|
-
cache: 'pnpm'
|
|
20
|
-
|
|
21
|
-
- run: pnpm install
|
|
22
|
-
|
|
23
|
-
# test
|
|
24
|
-
- run: pnpm test-cover
|
|
25
|
-
|
|
26
|
-
# test:report
|
|
27
|
-
- uses: codecov/codecov-action@v3
|
package/.husky/pre-commit
DELETED
package/.mocharc.yml
DELETED
package/.prettierignore
DELETED
package/CHANGELOG.md
DELETED
package/prettier.config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
module.exports = require('@magicdawn/prettier-config')
|
package/test/.gitkeep
DELETED
|
File without changes
|
package/tsconfig.json
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"include": ["src/**/*"],
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"rootDir": "src",
|
|
5
|
-
"outDir": "lib",
|
|
6
|
-
"allowSyntheticDefaultImports": true,
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"moduleResolution": "node",
|
|
9
|
-
"resolveJsonModule": true,
|
|
10
|
-
"target": "ES2020",
|
|
11
|
-
"module": "CommonJS",
|
|
12
|
-
"strictNullChecks": true,
|
|
13
|
-
"skipLibCheck": true,
|
|
14
|
-
"declaration": true
|
|
15
|
-
},
|
|
16
|
-
"ts-node": {
|
|
17
|
-
"swc": true
|
|
18
|
-
}
|
|
19
|
-
}
|