comic-vine-sdk 1.2.6 → 1.2.7

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/.projenrc.ts CHANGED
@@ -6,8 +6,6 @@ const project = new TypeScriptNpmPackage({
6
6
  name: 'comic-vine',
7
7
  packageName: 'comic-vine-sdk',
8
8
  description: 'A JS/TS client for the Comic Vine API',
9
- authorName: 'Ally Murray',
10
- authorEmail: 'allymurray88@gmail.com',
11
9
  defaultReleaseBranch: 'main',
12
10
  deps: ['axios', 'clone-deep', 'zod'],
13
11
  devDeps: [
@@ -21,21 +19,6 @@ const project = new TypeScriptNpmPackage({
21
19
  'vitest',
22
20
  ],
23
21
  minMajorVersion: 1,
24
- projenrcTs: true,
25
- tsconfig: {
26
- compilerOptions: {
27
- module: 'Node16',
28
- target: 'ES2020',
29
- // @ts-expect-error types is missing from compilerOptions
30
- types: ['vitest/globals'],
31
- skipLibCheck: true,
32
- },
33
- },
34
- gitignore: ['.DS_Store', '*yalc*', 'test-reports'],
35
- jest: false,
36
- repository: `${repository}.git`,
37
- bugsUrl: `${repository}/issues`,
38
- homepage: `${repository}#readme`,
39
22
  keywords: [
40
23
  'comic-metadata',
41
24
  'comic-vine-api',
@@ -52,25 +35,16 @@ const project = new TypeScriptNpmPackage({
52
35
  'comics',
53
36
  'metadata',
54
37
  ],
55
- });
56
-
57
- project.npmrc.addConfig('save-exact', 'true');
58
-
59
- project.testTask.prependExec('vitest --dir=src', { receiveArgs: true });
60
-
61
- project.eslint?.addOverride({
62
- files: ['*.test.ts'],
63
- rules: {
64
- 'dot-notation': 'off',
65
- 'import/no-extraneous-dependencies': [
66
- 'error',
67
- {
68
- devDependencies: true,
69
- },
70
- ],
38
+ repository,
39
+ tsconfig: {
40
+ compilerOptions: {
41
+ module: 'Node16',
42
+ target: 'ES2020',
43
+ // @ts-expect-error types is missing from compilerOptions
44
+ types: ['vitest/globals'],
45
+ skipLibCheck: true,
46
+ },
71
47
  },
72
48
  });
73
49
 
74
50
  project.synth();
75
-
76
- // TODO: Sort out version number
@@ -0,0 +1,90 @@
1
+ {
2
+ "name": "comic-vine-sdk",
3
+ "version": "1.2.4",
4
+ "description": "A JS/TS client for the Comic Vine API",
5
+ "keywords": [
6
+ "comic",
7
+ "comics",
8
+ "comic-vine",
9
+ "metadata"
10
+ ],
11
+ "homepage": "https://github.com/AllyMurray/comic-vine#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/AllyMurray/comic-vine/issues"
14
+ },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/AllyMurray/comic-vine.git"
18
+ },
19
+ "license": "MIT",
20
+ "author": "Ally Murray",
21
+ "main": "dist/cjs/index.cjs.js",
22
+ "module": "dist/mjs/index.js",
23
+ "types": "dist/mjs/index.d.ts",
24
+ "exports": {
25
+ ".": {
26
+ "import": "./dist/mjs/index.js",
27
+ "require": "./dist/cjs/index.cjs.js"
28
+ }
29
+ },
30
+ "files": [
31
+ "dist/**"
32
+ ],
33
+ "scripts": {
34
+ "build": "run-s build:**",
35
+ "build:clean": "rimraf dist",
36
+ "build:esm": "tsc -p tsconfig.build.json",
37
+ "build:cjs": "tsc -p tsconfig.cjs.build.json",
38
+ "build:package-json": "bash ./scripts/create-package-json",
39
+ "test": "jest",
40
+ "format": "prettier ./src --write",
41
+ "lint": "eslint src --fix",
42
+ "prepare": "husky install",
43
+ "prepack": "npm run build",
44
+ "commit": "cz",
45
+ "semantic-release": "semantic-release"
46
+ },
47
+ "dependencies": {
48
+ "axios": "1.3.4",
49
+ "clone-deep": "4.0.1",
50
+ "zod": "3.21.4"
51
+ },
52
+ "devDependencies": {
53
+ "@semantic-release/changelog": "6.0.2",
54
+ "@semantic-release/git": "10.0.1",
55
+ "@types/clone-deep": "4.0.1",
56
+ "@types/jest": "29.5.0",
57
+ "@types/node": "16.11.59",
58
+ "@typescript-eslint/eslint-plugin": "5.55.0",
59
+ "@typescript-eslint/parser": "5.55.0",
60
+ "commitizen": "4.3.0",
61
+ "cz-conventional-changelog": "3.3.0",
62
+ "eslint": "8.36.0",
63
+ "eslint-config-prettier": "8.7.0",
64
+ "husky": "8.0.3",
65
+ "jest": "29.5.0",
66
+ "lint-staged": "13.2.0",
67
+ "nock": "13.3.0",
68
+ "npm-run-all": "4.1.5",
69
+ "prettier": "2.8.4",
70
+ "rimraf": "3.0.2",
71
+ "semantic-release": "^19.0.5",
72
+ "ts-jest": "29.0.5",
73
+ "typescript": "5.0.2"
74
+ },
75
+ "engines": {
76
+ "node": ">=14"
77
+ },
78
+ "lint-staged": {
79
+ "*.{ts,json,md}": "npm run format",
80
+ "*.ts": "npm run lint"
81
+ },
82
+ "publishConfig": {
83
+ "access": "public"
84
+ },
85
+ "config": {
86
+ "commitizen": {
87
+ "path": "./node_modules/cz-conventional-changelog"
88
+ }
89
+ }
90
+ }
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "organization": false
31
31
  },
32
32
  "devDependencies": {
33
- "@ally-murray/projen-modules": "^0.0.9",
33
+ "@ally-murray/projen-modules": "^0.0.11",
34
34
  "@types/clone-deep": "^4.0.2",
35
35
  "@types/node": "^16",
36
36
  "@typescript-eslint/eslint-plugin": "^6",
@@ -48,7 +48,7 @@
48
48
  "nock": "^13.3.3",
49
49
  "npm-check-updates": "^16",
50
50
  "prettier": "^3.0.3",
51
- "projen": "0.73.9",
51
+ "projen": "0.73.15",
52
52
  "rimraf": "^5.0.1",
53
53
  "standard-version": "^9",
54
54
  "ts-node": "^10.9.1",
@@ -80,11 +80,12 @@
80
80
  "main": "lib/cjs/index.js",
81
81
  "license": "MIT",
82
82
  "homepage": "https://github.com/AllyMurray/comic-vine#readme",
83
- "version": "1.2.6",
83
+ "version": "1.2.7",
84
84
  "bugs": {
85
85
  "url": "https://github.com/AllyMurray/comic-vine/issues"
86
86
  },
87
87
  "types": "lib/cjs/index.d.ts",
88
+ "type": "module",
88
89
  "module": "lib/esm/index.js",
89
90
  "exports": {
90
91
  ".": {
@@ -98,6 +99,5 @@
98
99
  }
99
100
  }
100
101
  },
101
- "type": "module",
102
102
  "//": "~~ Generated by projen. To modify, edit .projenrc.ts and run \"npx projen\"."
103
103
  }