@mchp-mcc/scf-pic8-pwm-v2 4.2.9 → 4.2.10

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@mchp-mcc/scf-pic8-pwm-v2",
3
- "version": "4.2.9",
3
+ "version": "4.2.10",
4
4
  "scf": {
5
5
  "reducer": "auto",
6
6
  "creator": "output/creator.js",
@@ -105,8 +105,8 @@
105
105
  "profile": "jest profile",
106
106
  "build-run-dir-future": "node config/extract-run-directory-future.js",
107
107
  "release": "yarn build && yarn test && node -e 'require(\"./config/scf-project-scripts\").releaseProject()'",
108
- "test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16LF1566|PIC16LF1567\"",
109
- "test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16LF1566\"",
108
+ "test:itf:all": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16F1773|PIC16F1779\"",
109
+ "test:itf:dev": "node ./node_modules/@microchip/ccl-itf/lib/index.js --sp=./tests/itf --rd=./run --sf=pwmV2.major.test.ts --df=\"PIC16F1509\"",
110
110
  "postprocess": "node config/appendPrototype.js"
111
111
  },
112
112
  "husky": {
@@ -121,8 +121,7 @@
121
121
  },
122
122
  "files": [
123
123
  "output/**/*",
124
- "config.json",
125
- "src/**/*"
124
+ "config.json"
126
125
  ],
127
126
  "jest": {
128
127
  "testPathIgnorePatterns": [
@@ -137,6 +136,9 @@
137
136
  ],
138
137
  "preset": "ts-jest",
139
138
  "collectCoverage": true,
139
+ "collectCoverageFrom": [
140
+ "src/**/*.{ts,tsx}"
141
+ ],
140
142
  "coverageThreshold": {
141
143
  "./src": {
142
144
  "branches": 80,
@@ -169,12 +171,11 @@
169
171
  "@babel/preset-env": "^7.9.6",
170
172
  "@babel/preset-react": "^7.9.4",
171
173
  "@babel/preset-typescript": "^7.9.0",
172
- "@mchp-mcc/pic-8bit": "^5.19.1-dev.2",
173
- "@mchp-mcc/pic-8bit-types": "^5.19.1-dev.2",
174
+ "@mchp-mcc/pic-8bit": "^5.19.1-dev.6",
175
+ "@mchp-mcc/pic-8bit-types": "^5.19.1-dev.6",
174
176
  "@microchip/ccl-itf": "^1.6.0",
175
177
  "@microchip/initializer-system": "^0.5.5",
176
178
  "@microchip/melody-automodule-interface": "^1.10.3",
177
- "@microchip/pic-8bit-types": "^5.0.1",
178
179
  "@microchip/run-directory": "^4.2.3",
179
180
  "@microchip/scf-automodule": "^5.10.4",
180
181
  "@microchip/scf-automodule-impl": "^1.12.3",
@@ -1,17 +0,0 @@
1
- import { CreatorFunctions } from "@microchip/melody-automodule-interface/lib/src/CreatorFunctions";
2
- import { State } from "../generated_module/src/types/State";
3
-
4
- export const getCreatorFunctions = (): CreatorFunctions => {
5
- return {
6
- shouldImport: shouldImport,
7
- getCreatorImportArgs: getCreatorImportArgs,
8
- };
9
- };
10
-
11
- const shouldImport = (importKey: string, state: State): boolean => {
12
- return true;
13
- };
14
-
15
- const getCreatorImportArgs = (importKey: string, state: State): any | undefined => {
16
- return undefined;
17
- };