Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check spec timing on foundation update #2460

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ jobs:

# Validate (Lint and Test)
- run: npm run validate
- run: cat ./out.txt
working-directory: packages/nimble-components/

# Run Lighthouse audit (from any push)
- name: Performance Audit with Lighthouse CI
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update fast versions",
"packageName": "@ni/nimble-components",
"email": "rajsite@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Update fast versions",
"packageName": "@ni/spright-components",
"email": "rajsite@users.noreply.github.com",
"dependentChangeType": "patch"
}
38 changes: 19 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions packages/nimble-components/karma.conf.headless.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ module.exports = config => {
plugins: [...config.plugins, 'karma-spec-reporter'],
reporters: ['spec'],
specReporter: {
suppressPassed: true,
suppressSkipped: false,
suppressPassed: false,
suppressSkipped: true,
showSpecTiming: true
}
},
reportSlowerThan: 1000
};

config.set(options);
Expand Down
8 changes: 4 additions & 4 deletions packages/nimble-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ni/nimble-components",
"version": "32.6.0",
"description": "Styled web components for the NI Nimble Design System",
"description": "Styled web components for the NI Nimble Design System [trigger rebuild 7]",
"scripts": {
"build": "npm run generate-icons && npm run generate-workers && npm run build-components && npm run bundle-components && npm run generate-scss",
"lint-concurrent": "concurrently --pad-prefix --timings --group \"npm:eslint\" \"npm:prettier\"",
Expand Down Expand Up @@ -41,7 +41,7 @@
"test-webkit:debugger": "karma start karma.conf.js --browsers=WebkitDebugging --skip-tags SkipWebkit",
"test-webkit:watch": "karma start karma.conf.headless.js --browsers=WebkitHeadless --skip-tags SkipWebkit --watch-extensions js",
"test-webkit": "karma start karma.conf.headless.js --browsers=WebkitHeadless --single-run --skip-tags SkipWebkit",
"test-concurrent": "concurrently --pad-prefix --timings --group \"npm:test-chrome\" \"npm:test-firefox\" \"npm:test-webkit\""
"test-concurrent": "concurrently --pad-prefix --timings --group \"npm:test-chrome\" \"npm:test-firefox\" \"npm:test-webkit\" | tee -a out.txt"
},
"repository": {
"type": "git",
Expand All @@ -60,8 +60,8 @@
"homepage": "https://github.com/ni/nimble#readme",
"dependencies": {
"@microsoft/fast-colors": "^5.3.1",
"@microsoft/fast-element": "1.13.0",
"@microsoft/fast-foundation": "2.49.6",
"@microsoft/fast-element": "^1.14.0",
"@microsoft/fast-foundation": "^2.50.0",
"@microsoft/fast-web-utilities": "^6.0.0",
"@ni/nimble-tokens": "^8.4.0",
"@tanstack/table-core": "^8.19.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
console.error = (data: any): void => fail(data);
// eslint-disable-next-line no-console, @typescript-eslint/no-explicit-any
console.warn = (data: any): void => fail(data);
jasmine.DEFAULT_TIMEOUT_INTERVAL = 30000;
4 changes: 2 additions & 2 deletions packages/spright-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
},
"homepage": "https://github.com/ni/nimble#readme",
"dependencies": {
"@microsoft/fast-element": "1.13.0",
"@microsoft/fast-foundation": "2.49.6",
"@microsoft/fast-element": "^1.14.0",
"@microsoft/fast-foundation": "^2.50.0",
"@ni/nimble-components": "^32.6.0",
"tslib": "^2.2.0"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
},
"devDependencies": {
"@chromatic-com/storybook": "^2.0.2",
"@microsoft/fast-element": "1.13.0",
"@microsoft/fast-foundation": "2.49.6",
"@microsoft/fast-react-wrapper": "^0.3.22",
"@microsoft/fast-element": "^1.14.0",
"@microsoft/fast-foundation": "^2.50.0",
"@microsoft/fast-react-wrapper": "^0.3.25",
"@microsoft/fast-web-utilities": "^6.0.0",
"@ni/nimble-components": "*",
"@ni/spright-components": "*",
Expand Down