Skip to content

Commit

Permalink
chore: bump version to 1.1.17
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenkhoi2806 committed Jan 2, 2025
1 parent abab183 commit 545e68a
Show file tree
Hide file tree
Showing 10 changed files with 3,281 additions and 9,979 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ testem.log
# System Files
.DS_Store
Thumbs.db
pnpm-lock-error.yaml
pnpm-lock-error.yaml

# Unit test coverage
coverage
5 changes: 0 additions & 5 deletions apps/nt-stylesheet/bin/sim.spec.js

This file was deleted.

8 changes: 5 additions & 3 deletions apps/nt-stylesheet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nashtech/nt-stylesheet",
"version": "1.1.16",
"version": "1.1.17",
"description": "Style sheet for the NT Design System",
"packageManager": "[email protected]",
"scripts": {
Expand Down Expand Up @@ -38,16 +38,18 @@
"@types/node": "20.4.9",
"nx": "^20.2.2",
"typescript": "^5.7.2",
"vite": "^6.0.3",
"vite": "^5.4.11",
"vite-plugin-sass-dts": "^1.3.29",
"vitest": "2.0.0"
},
"dependencies": {
"@nx/vite": "^20.3.0",
"autoprefixer": "^10.4.20",
"postcss": "^8.4.49",
"postcss-import": "^16.1.0",
"postcss-nesting": "^13.0.1",
"tailwindcss": "^3.4.16"
"tailwindcss": "^3.4.16",
"vite-plugin-dts": "^4.4.0"
},
"publishConfig": {
"access": "public"
Expand Down
2,949 changes: 2,551 additions & 398 deletions apps/nt-stylesheet/pnpm-lock.yaml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions apps/nt-stylesheet/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@
}
],
"compilerOptions": {
"module": "commonjs",
"module": "es2015",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true
"noFallthroughCasesInSwitch": true,
"noEmit": false,
"rootDirs": ["src", "themes"]
}
}
1 change: 1 addition & 0 deletions apps/nt-stylesheet/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"compilerOptions": {
"types": ["vite/client"]
},
"include": ["src/**/*", "themes/**/*"],
"exclude": [
"vite.config.ts",
"vite.config.mts",
Expand Down
3 changes: 2 additions & 1 deletion apps/nt-stylesheet/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "es2015",
"types": [
"vitest/globals",
"vitest/importMeta",
Expand All @@ -11,7 +12,7 @@
]
},
"include": [
"vite.config.ts",
"vite.config.js",
"vite.config.mts",
"vitest.config.ts",
"vitest.config.mts",
Expand Down
12 changes: 4 additions & 8 deletions apps/nt-stylesheet/vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/// <reference types='vitest' />
import { defineConfig } from 'vite'
import { defineConfig } from 'vitest/config'
import dts from 'vite-plugin-dts'
import * as path from 'path'
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin'
Expand Down Expand Up @@ -29,14 +29,13 @@ export default defineConfig({
name: 'nt-stylesheet',
fileName: 'nt-stylesheet',
formats: ['cjs'],
cssFileName: 'nt-stylesheet',
},
rollupOptions: {
output: {
assetFileNames: (assetInfo) => {
if (assetInfo?.name === 'style.css')
return 'nt-stylesheet.css'
return assetInfo?.name
return assetInfo?.name || 'default.css'
},
},
},
Expand All @@ -49,13 +48,10 @@ export default defineConfig({
test: {
watch: false,
globals: true,
environment: 'jsdom',
include: [
'**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}',
],
include: ['**/*.{test,spec}.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
reporters: ['default'],
coverage: {
reportsDirectory: '../../coverage/apps/nt-stylesheet',
reportsDirectory: './coverage',
provider: 'v8',
},
},
Expand Down
38 changes: 1 addition & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,46 +13,10 @@
"devDependencies": {
"@nrwl/eslint-plugin-nx": "^19.8.4",
"@nrwl/linter": "^19.8.4",
"@nx/devkit": "20.2.2",
"@nx/jest": "20.2.2",
"@nx/js": "20.2.2",
"@nx/next": "20.2.2",
"@nx/playwright": "20.2.2",
"@nx/react": "20.2.2",
"@nx/vite": "20.2.2",
"@nx/web": "20.2.2",
"@playwright/test": "^1.36.0",
"@swc-node/register": "~1.9.1",
"@swc/core": "~1.5.7",
"@swc/helpers": "~0.5.11",
"@testing-library/react": "15.0.6",
"@types/jest": "^29.5.12",
"@types/node": "18.16.9",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.0",
"@vitest/coverage-v8": "2.0.0",
"@vitest/ui": "2.0.0",
"autoprefixer": "10.4.13",
"babel-jest": "^29.7.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest@latest": "link:@nx/react/plugins/jest@latest",
"jsdom": "~22.1.0",
"lint-staged": "13.2.3",
"next:application@latest": "link:@nx/next:application@latest",
"nx": "^20.0.1",
"postcss": "8.4.38",
"prettier": "3.0.1",
"tailwindcss": "3.4.3",
"ts-jest": "^29.2.5",
"ts-node": "10.9.1",
"tslib": "^2.3.0",
"typescript": "~5.6.2",
"vite": "5.1.6",
"vite-plugin-dts": "~3.8.1",
"vite:build@latest": "link:@nx/vite:build@latest",
"vitest": "2.0.0"
"prettier": "3.0.1"
},
"pnpm": {
"overrides": {
Expand Down
Loading

0 comments on commit 545e68a

Please sign in to comment.