@microsoft/fast-router 1.0.0-alpha.27 → 1.0.0-alpha.29
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 +56 -0
- package/CHANGELOG.md +19 -1
- package/README.md +1 -5
- package/dist/dts/contributors.d.ts +2 -2
- package/dist/dts/phases.d.ts +4 -4
- package/dist/dts/recognizer.d.ts +1 -1
- package/dist/dts/routes.d.ts +25 -25
- package/dist/dts/tsdoc-metadata.json +1 -1
- package/dist/dts/view.d.ts +1 -1
- package/dist/esm/process.js +6 -6
- package/dist/esm/query-string.js +8 -7
- package/dist/esm/recognizer.js +12 -12
- package/dist/fast-router.api.json +499 -159
- package/karma.conf.cjs +1 -1
- package/package.json +27 -18
- /package/docs/{api-report.md → api-report.api.md} +0 -0
package/karma.conf.cjs
CHANGED
|
@@ -121,7 +121,7 @@ module.exports = function (config) {
|
|
|
121
121
|
options.webpack.module.rules.push({
|
|
122
122
|
enforce: "post",
|
|
123
123
|
exclude: /(__tests__|testing|node_modules|\.spec\.[tj]s$)/,
|
|
124
|
-
loader:
|
|
124
|
+
loader: '@jsdevtools/coverage-istanbul-loader',
|
|
125
125
|
options: { esModules: true },
|
|
126
126
|
test: /\.[tj]s$/,
|
|
127
127
|
});
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@microsoft/fast-router",
|
|
3
3
|
"description": "A web-components-based router.",
|
|
4
4
|
"sideEffects": false,
|
|
5
|
-
"version": "1.0.0-alpha.
|
|
5
|
+
"version": "1.0.0-alpha.29",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Microsoft",
|
|
8
8
|
"url": "https://discord.gg/FcSNfg4"
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"clean:dist": "node ../../../build/clean.js dist",
|
|
26
26
|
"doc": "api-extractor run --local",
|
|
27
27
|
"doc:ci": "api-extractor run",
|
|
28
|
-
"build": "tsc -p ./tsconfig.json &&
|
|
28
|
+
"build": "tsc -p ./tsconfig.json && npm run doc",
|
|
29
29
|
"dev": "tsc -p ./tsconfig.json -w",
|
|
30
|
-
"tdd": "
|
|
31
|
-
"
|
|
30
|
+
"tdd": "npm run dev & npm run test-chrome:watch",
|
|
31
|
+
"prepublishOnly": "npm run clean:dist && npm run build",
|
|
32
32
|
"prettier": "prettier --config ../../../.prettierrc --write \"**/*.ts\"",
|
|
33
33
|
"prettier:diff": "prettier --config ../../../.prettierrc \"**/*.ts\" --list-different",
|
|
34
34
|
"eslint": "eslint . --ext .ts",
|
|
35
35
|
"eslint:fix": "eslint . --ext .ts --fix",
|
|
36
|
-
"test": "
|
|
36
|
+
"test": "npm run eslint && npm run test-chrome:verbose && npm run doc:ci",
|
|
37
37
|
"test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
|
|
38
38
|
"test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
|
|
39
39
|
"test-chrome": "karma start karma.conf.cjs --browsers=ChromeHeadlessOpt --single-run --coverage",
|
|
@@ -46,7 +46,9 @@
|
|
|
46
46
|
"test-firefox:verbose": "karma start karma.conf.cjs --browsers=FirefoxHeadless --single-run --coverage --reporter=mocha"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@
|
|
49
|
+
"@jsdevtools/coverage-istanbul-loader": "^3.0.5",
|
|
50
|
+
"@microsoft/api-extractor": "^7.47.0",
|
|
51
|
+
"@microsoft/fast-element": "^2.0.1",
|
|
50
52
|
"@types/chai": "^4.2.11",
|
|
51
53
|
"@types/karma": "^6.3.3",
|
|
52
54
|
"@types/mocha": "^7.0.2",
|
|
@@ -55,7 +57,6 @@
|
|
|
55
57
|
"esm": "^3.2.25",
|
|
56
58
|
"ignore-loader": "^0.1.2",
|
|
57
59
|
"istanbul": "^0.4.5",
|
|
58
|
-
"istanbul-instrumenter-loader": "^3.0.1",
|
|
59
60
|
"jsdom": "^16.2.2",
|
|
60
61
|
"jsdom-global": "3.0.2",
|
|
61
62
|
"karma": "^6.4.1",
|
|
@@ -67,20 +68,28 @@
|
|
|
67
68
|
"karma-mocha-reporter": "^2.2.5",
|
|
68
69
|
"karma-source-map-support": "^1.4.0",
|
|
69
70
|
"karma-sourcemap-loader": "^0.3.7",
|
|
70
|
-
"karma-webpack": "^5.0.
|
|
71
|
-
"mocha": "^
|
|
71
|
+
"karma-webpack": "^5.0.1",
|
|
72
|
+
"mocha": "^10.5.2",
|
|
72
73
|
"prettier": "2.8.8",
|
|
73
74
|
"source-map": "^0.7.3",
|
|
74
|
-
"source-map-loader": "^0.
|
|
75
|
-
"ts-loader": "^
|
|
76
|
-
"ts-node": "^
|
|
75
|
+
"source-map-loader": "^5.0.0",
|
|
76
|
+
"ts-loader": "^9.3.0",
|
|
77
|
+
"ts-node": "^10.9.2",
|
|
77
78
|
"tsconfig-paths": "^3.9.0",
|
|
78
|
-
"tslib": "^2.
|
|
79
|
-
"typescript": "
|
|
80
|
-
"webpack": "^5.
|
|
81
|
-
"webpack-cli": "^
|
|
79
|
+
"tslib": "^2.6.3",
|
|
80
|
+
"typescript": "~4.7.0",
|
|
81
|
+
"webpack": "^5.92.1",
|
|
82
|
+
"webpack-cli": "^5.1.4"
|
|
82
83
|
},
|
|
83
|
-
"
|
|
84
|
-
"@microsoft/fast-element": "^2.0.
|
|
84
|
+
"peerDependencies": {
|
|
85
|
+
"@microsoft/fast-element": "^2.0.1"
|
|
86
|
+
},
|
|
87
|
+
"beachball": {
|
|
88
|
+
"disallowedChangeTypes": [
|
|
89
|
+
"major",
|
|
90
|
+
"minor",
|
|
91
|
+
"patch"
|
|
92
|
+
],
|
|
93
|
+
"tag": "alpha"
|
|
85
94
|
}
|
|
86
95
|
}
|
|
File without changes
|