@langri-sha/projen-lint-staged 0.2.0 → 0.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/CHANGELOG.json +67 -1
- package/CHANGELOG.md +22 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -6
- package/src/index.ts +4 -4
- /package/{readme → readme.md} +0 -0
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,73 @@
|
|
|
2
2
|
"name": "@langri-sha/projen-lint-staged",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Fri, 26 Jul 2024 20:58:04 GMT",
|
|
6
|
+
"version": "0.3.0",
|
|
7
|
+
"tag": "@langri-sha/projen-lint-staged_v0.3.0",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "filip.dupanovic@gmail.com",
|
|
12
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
13
|
+
"commit": "d58e2b444358fb65166d0878c185220c6e0a7bb0",
|
|
14
|
+
"comment": "feat(workspace): Migrate documentation pathnames"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "filip.dupanovic@gmail.com",
|
|
18
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
19
|
+
"commit": "d58e2b444358fb65166d0878c185220c6e0a7bb0",
|
|
20
|
+
"comment": "feat(projen): Add Git ignore patterns"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"patch": [
|
|
24
|
+
{
|
|
25
|
+
"author": "email not defined",
|
|
26
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
27
|
+
"commit": "d58e2b444358fb65166d0878c185220c6e0a7bb0",
|
|
28
|
+
"comment": "chore(deps): chore(deps): update dependency projen to v0.84.6"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"minor": [
|
|
32
|
+
{
|
|
33
|
+
"author": "filip.dupanovic@gmail.com",
|
|
34
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
35
|
+
"commit": "d58e2b444358fb65166d0878c185220c6e0a7bb0",
|
|
36
|
+
"comment": "feat(workspace): Harden Projen component types"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"date": "Wed, 17 Jul 2024 10:48:16 GMT",
|
|
43
|
+
"version": "0.2.1",
|
|
44
|
+
"tag": "@langri-sha/projen-lint-staged_v0.2.1",
|
|
45
|
+
"comments": {
|
|
46
|
+
"patch": [
|
|
47
|
+
{
|
|
48
|
+
"author": "filip.dupanovic@gmail.com",
|
|
49
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
50
|
+
"commit": "c4b7573f367c165d7c67ed5f259ad53ec9ea5672",
|
|
51
|
+
"comment": "fix(workspace): Use correct GitHub directory"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"none": [
|
|
55
|
+
{
|
|
56
|
+
"author": "filip.dupanovic@gmail.com",
|
|
57
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
58
|
+
"commit": "c4b7573f367c165d7c67ed5f259ad53ec9ea5672",
|
|
59
|
+
"comment": "feat(root): Migrate to ESM"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"author": "filip.dupanovic@gmail.com",
|
|
63
|
+
"package": "@langri-sha/projen-lint-staged",
|
|
64
|
+
"commit": "c4b7573f367c165d7c67ed5f259ad53ec9ea5672",
|
|
65
|
+
"comment": "feat(eslint-config): Add `import/order` rule"
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"date": "Mon, 08 Jul 2024 21:43:05 GMT",
|
|
6
72
|
"version": "0.2.0",
|
|
7
73
|
"tag": "@langri-sha/projen-lint-staged_v0.2.0",
|
|
8
74
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,32 @@
|
|
|
1
1
|
# Change Log - @langri-sha/projen-lint-staged
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 26 Jul 2024 20:58:04 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## 0.3.0
|
|
8
|
+
|
|
9
|
+
Fri, 26 Jul 2024 20:58:04 GMT
|
|
10
|
+
|
|
11
|
+
### Minor changes
|
|
12
|
+
|
|
13
|
+
- feat(workspace): Harden Projen component types (filip.dupanovic@gmail.com)
|
|
14
|
+
|
|
15
|
+
### Patches
|
|
16
|
+
|
|
17
|
+
- chore(deps): chore(deps): update dependency projen to v0.84.6 (email not defined)
|
|
18
|
+
|
|
19
|
+
## 0.2.1
|
|
20
|
+
|
|
21
|
+
Wed, 17 Jul 2024 10:48:16 GMT
|
|
22
|
+
|
|
23
|
+
### Patches
|
|
24
|
+
|
|
25
|
+
- fix(workspace): Use correct GitHub directory (filip.dupanovic@gmail.com)
|
|
26
|
+
|
|
7
27
|
## 0.2.0
|
|
8
28
|
|
|
9
|
-
Mon, 08 Jul 2024 21:
|
|
29
|
+
Mon, 08 Jul 2024 21:43:05 GMT
|
|
10
30
|
|
|
11
31
|
### Minor changes
|
|
12
32
|
|
package/dist/index.d.ts
CHANGED
|
@@ -9,15 +9,15 @@ export interface LintStagedOptions {
|
|
|
9
9
|
*
|
|
10
10
|
* @default 'lint-staged.config.js'
|
|
11
11
|
*/
|
|
12
|
-
filename?: string;
|
|
12
|
+
readonly filename?: string;
|
|
13
13
|
/**
|
|
14
14
|
* Name of the `lint-staged` configuration package to extend from.
|
|
15
15
|
*/
|
|
16
|
-
extends?: string;
|
|
16
|
+
readonly extends?: string;
|
|
17
17
|
/**
|
|
18
18
|
* `lint-staged` configuration.
|
|
19
19
|
*/
|
|
20
|
-
config?: Config;
|
|
20
|
+
readonly config?: Config;
|
|
21
21
|
}
|
|
22
22
|
export declare class LintStaged extends FileBase {
|
|
23
23
|
#private;
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACtC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGrD;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;IAE1B;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;IAEzB;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,qBAAa,UAAW,SAAQ,QAAQ;;IAEtC,MAAM,EAAE,MAAM,CAAA;gBAEF,OAAO,EAAE,OAAO,EAAE,OAAO,GAAE,iBAAsB;cAY1C,iBAAiB,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,SAAS;CAmBvE"}
|
package/dist/index.js
CHANGED
|
@@ -10,8 +10,8 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
10
10
|
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
11
11
|
};
|
|
12
12
|
var _LintStaged_extends;
|
|
13
|
-
import serialize from 'serialize-javascript';
|
|
14
13
|
import { FileBase } from 'projen';
|
|
14
|
+
import serialize from 'serialize-javascript';
|
|
15
15
|
export class LintStaged extends FileBase {
|
|
16
16
|
constructor(project, options = {}) {
|
|
17
17
|
const filename = options.filename ?? 'lint-staged.config.js';
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,OAAO,EAAE,QAAQ,EAAsB,MAAM,QAAQ,CAAA;AACrD,OAAO,SAAS,MAAM,sBAAsB,CAAA;AAwB5C,MAAM,OAAO,UAAW,SAAQ,QAAQ;IAItC,YAAY,OAAgB,EAAE,UAA6B,EAAE;QAC3D,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,IAAI,uBAAuB,CAAA;QAE5D,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE;YACvB,QAAQ,EAAE,IAAI;YACd,MAAM,EAAE,IAAI;SACb,CAAC,CAAA;QATJ,sCAAiB;QAWf,uBAAA,IAAI,uBAAY,OAAO,CAAC,OAAO,MAAA,CAAA;QAC/B,IAAI,CAAC,MAAM,GAAG,OAAO,CAAC,MAAM,IAAI,EAAE,CAAA;IACpC,CAAC;IAEkB,iBAAiB,CAAC,CAAY;QAC/C,MAAM,MAAM,GAAW;YACrB,GAAG,IAAI,CAAC,MAAM;SACf,CAAA;QAED,MAAM,UAAU,GAAG,SAAS,CAAC,MAAM,EAAE;YACnC,MAAM,EAAE,IAAI;SACb,CAAC,CAAA;QAEF,OAAO,GACL,uBAAA,IAAI,2BAAS,CAAC,CAAC,CAAC,yBAAyB,uBAAA,IAAI,2BAAS,OAAO,CAAC,CAAC,CAAC,EAClE;;QAEI,uBAAA,IAAI,2BAAS,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE;QACnC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;;;KAGtB,CAAA;IACH,CAAC;CACF"}
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@langri-sha/projen-lint-staged",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/langri-sha/langri-sha.com/issues"
|
|
6
6
|
},
|
|
7
7
|
"repository": {
|
|
8
|
+
"type": "git",
|
|
8
9
|
"url": "git+https://github.com/langri-sha/langri-sha.com.git",
|
|
9
|
-
"
|
|
10
|
+
"directory": "packages/projen-lint-staged"
|
|
10
11
|
},
|
|
11
12
|
"license": "MIT",
|
|
12
13
|
"author": {
|
|
@@ -24,17 +25,17 @@
|
|
|
24
25
|
"serialize-javascript": "6.0.2"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
|
-
"@langri-sha/tsconfig": "0.10.
|
|
28
|
-
"@langri-sha/vitest": "0.1.
|
|
28
|
+
"@langri-sha/tsconfig": "0.10.1",
|
|
29
|
+
"@langri-sha/vitest": "0.1.1",
|
|
29
30
|
"@types/serialize-javascript": "5.0.4"
|
|
30
31
|
},
|
|
31
32
|
"peerDependencies": {
|
|
32
33
|
"lint-staged": "^15.0.0",
|
|
33
|
-
"projen": "^0.
|
|
34
|
+
"projen": "^0.84.0"
|
|
34
35
|
},
|
|
35
36
|
"publishConfig": {
|
|
36
37
|
"access": "public"
|
|
37
38
|
},
|
|
38
|
-
"//": "~~ Generated by projen. To modify, edit .projenrc.
|
|
39
|
+
"//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\".",
|
|
39
40
|
"types": "dist/index.d.ts"
|
|
40
41
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import serialize from 'serialize-javascript'
|
|
2
1
|
import type { Config } from 'prettier'
|
|
3
2
|
import { FileBase, IResolver, Project } from 'projen'
|
|
3
|
+
import serialize from 'serialize-javascript'
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Options for configuring Prettier.
|
|
@@ -11,17 +11,17 @@ export interface LintStagedOptions {
|
|
|
11
11
|
*
|
|
12
12
|
* @default 'lint-staged.config.js'
|
|
13
13
|
*/
|
|
14
|
-
filename?: string
|
|
14
|
+
readonly filename?: string
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
17
|
* Name of the `lint-staged` configuration package to extend from.
|
|
18
18
|
*/
|
|
19
|
-
extends?: string
|
|
19
|
+
readonly extends?: string
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* `lint-staged` configuration.
|
|
23
23
|
*/
|
|
24
|
-
config?: Config
|
|
24
|
+
readonly config?: Config
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export class LintStaged extends FileBase {
|
/package/{readme → readme.md}
RENAMED
|
File without changes
|