Skip to content

Commit

Permalink
chore(release): v1.0.2
Browse files Browse the repository at this point in the history
This release includes the following updates:

- Updated Nx dependencies to 18.3.5
- Updated various other dependencies
- Added type: "module" to package.json files
- Updated README files with links to documentation
- Added vite-plugin-static-copy to copy README files to dist
- Updated test-utils/.eslintrc.json to extend from the root .eslintrc.base.json file

These changes improve the developer experience and ensure compatibility with the latest tools and libraries.
  • Loading branch information
samavati committed Sep 10, 2024
1 parent 55db2ec commit c8fe582
Show file tree
Hide file tree
Showing 12 changed files with 2,976 additions and 1,633 deletions.
4,517 changes: 2,922 additions & 1,595 deletions package-lock.json

Large diffs are not rendered by default.

59 changes: 30 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,61 +25,62 @@
"private": true,
"dependencies": {
"next": "14.0.4",
"nextra": "^2.13.4",
"nextra-theme-docs": "^2.13.4",
"nextra": "2.13.4",
"nextra-theme-docs": "2.13.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-router-dom": "6.11.2",
"tslib": "^2.3.0"
"tslib": "2.3.0"
},
"devDependencies": {
"@babel/core": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@nx/devkit": "18.2.4",
"@nx/eslint": "18.2.4",
"@nx/eslint-plugin": "18.2.4",
"@nx/js": "18.2.4",
"@nx/next": "^18.2.4",
"@nx/playwright": "18.2.4",
"@nx/react": "^18.2.4",
"@nx/rollup": "18.2.4",
"@nx/vite": "18.2.4",
"@nx/web": "18.2.4",
"@playwright/test": "^1.36.0",
"@babel/core": "7.14.5",
"@babel/preset-react": "7.14.5",
"@nx/devkit": "18.3.5",
"@nx/eslint": "18.3.5",
"@nx/eslint-plugin": "18.3.5",
"@nx/js": "18.3.5",
"@nx/next": "18.3.5",
"@nx/playwright": "18.3.5",
"@nx/react": "18.3.5",
"@nx/rollup": "18.3.5",
"@nx/vite": "18.3.5",
"@nx/web": "18.3.5",
"@playwright/test": "1.36.0",
"@swc-node/register": "~1.8.0",
"@swc/cli": "~0.1.62",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@testing-library/react": "^15.0.4",
"@testing-library/react": "15.0.4",
"@types/node": "18.16.9",
"@types/react": "18.2.33",
"@types/react-dom": "18.2.14",
"@typescript-eslint/eslint-plugin": "^7.3.0",
"@typescript-eslint/parser": "^7.3.0",
"@vitejs/plugin-react": "^4.2.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1",
"@typescript-eslint/eslint-plugin": "7.3.0",
"@typescript-eslint/parser": "7.3.0",
"@vitejs/plugin-react": "4.2.0",
"@vitest/coverage-v8": "1.0.4",
"@vitest/ui": "1.5.1",
"autoprefixer": "10.4.13",
"eslint": "~8.57.0",
"eslint-config-next": "14.0.4",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-playwright": "^0.15.3",
"eslint-plugin-playwright": "0.15.3",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"jsdom": "~22.1.0",
"nx": "18.2.4",
"nx": "18.3.5",
"postcss": "8.4.21",
"prettier": "^2.6.2",
"sass": "^1.75.0",
"prettier": "2.6.2",
"sass": "1.75.0",
"swc-loader": "0.1.15",
"tailwindcss": "3.2.7",
"typescript": "~5.4.2",
"verdaccio": "^5.0.4",
"verdaccio": "5.0.4",
"vite": "~5.0.0",
"vite-plugin-dts": "~3.8.1",
"vitest": "^1.3.1"
"vite-plugin-static-copy": "^1.0.6",
"vitest": "1.5.1"
},
"nx": {
"includedScripts": []
Expand Down
2 changes: 1 addition & 1 deletion packages/swiperia-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ console.log('Swipe Movement:', swipeData);
```

## Documentation
For detailed documentation, including API references and advanced usage examples, please visit the Swiperia Documentation.
For detailed documentation, including API references and advanced usage examples, please visit the [Swiperia Documentation](https://samavati.github.io/swiperia/).

## Contributing
We welcome contributions from the community! If you'd like to contribute to Swiperia Core, please read our Contributing Guide for more information.
Expand Down
3 changes: 2 additions & 1 deletion packages/swiperia-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "swiperia-core",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"description": "Swiperia Core: The foundational engine for handling swipe gestures in JavaScript. Provides platform-agnostic utilities to detect swipe direction, calculate distance and velocity, and analyze swipe movement data.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/swiperia-core/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { viteStaticCopy } from 'vite-plugin-static-copy';

export default defineConfig({
root: __dirname,
cacheDir: '../../node_modules/.vite/packages/swiperia-core',

plugins: [
nxViteTsPaths(),
viteStaticCopy({
targets: [{ src: path.join(__dirname, '*.md'), dest: '' }],
}),
dts({
entryRoot: 'src',
tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
Expand Down
2 changes: 1 addition & 1 deletion packages/swiperia-js/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ swiper.listen((event) => {
```

## Documentation
For detailed documentation, including API references, advanced usage examples, and guides on creating custom swipe detectors, please visit the Swiperia Documentation.
For detailed documentation, including API references, advanced usage examples, and guides on creating custom swipe detectors, please visit the [Swiperia Documentation](https://samavati.github.io/swiperia/).

## Contributing
We welcome contributions from the community! If you'd like to contribute to Swiperia JS, please read our Contributing Guide for more information.
Expand Down
3 changes: 2 additions & 1 deletion packages/swiperia-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "swiperia-js",
"version": "1.0.1",
"version": "1.0.2",
"type": "module",
"description": "Swiperia JS: A powerful suite of JavaScript libraries for building intuitive swipe-driven user interfaces. Provides core gesture handling, web-specific implementations, and React components for seamless integration.",
"license": "MIT",
"repository": {
Expand Down
4 changes: 4 additions & 0 deletions packages/swiperia-js/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@ import { defineConfig } from 'vite';
import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { viteStaticCopy } from 'vite-plugin-static-copy';

export default defineConfig({
root: __dirname,
cacheDir: '../../node_modules/.vite/packages/swiperia-js',

plugins: [
nxViteTsPaths(),
viteStaticCopy({
targets: [{ src: path.join(__dirname, '*.md'), dest: '' }],
}),
dts({
entryRoot: 'src',
tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
Expand Down
2 changes: 1 addition & 1 deletion packages/swiperia-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const MyComponent = () => {


## Documentation
For detailed documentation, including API references, advanced usage examples, and guides on using the useSwiperia hook, please visit the Swiperia Documentation.
For detailed documentation, including API references, advanced usage examples, and guides on using the useSwiperia hook, please visit the [Swiperia Documentation](https://samavati.github.io/swiperia/).

## Contributing
We welcome contributions from the community! If you'd like to contribute to Swiperia React, please read our Contributing Guide for more information.
Expand Down
7 changes: 4 additions & 3 deletions packages/swiperia-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "swiperia-react",
"version": "1.0.3",
"version": "1.0.4",
"type": "module",
"description": "Swiperia React: A powerful suite of JavaScript libraries for building intuitive swipe-driven user interfaces. Provides core gesture handling, web-specific implementations, and React components for seamless integration.",
"license": "MIT",
"repository": {
Expand All @@ -22,8 +23,8 @@
"interaction"
],
"dependencies": {
"swiperia-core": "1.0.1",
"swiperia-js": "1.0.1"
"swiperia-core": "1.0.2",
"swiperia-js": "1.0.2"
},
"main": "./index.umd.js",
"module": "./index.mjs",
Expand Down
4 changes: 4 additions & 0 deletions packages/swiperia-react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import react from '@vitejs/plugin-react';
import dts from 'vite-plugin-dts';
import * as path from 'path';
import { nxViteTsPaths } from '@nx/vite/plugins/nx-tsconfig-paths.plugin';
import { viteStaticCopy } from 'vite-plugin-static-copy';

export default defineConfig({
root: __dirname,
Expand All @@ -12,6 +13,9 @@ export default defineConfig({
plugins: [
react(),
nxViteTsPaths(),
viteStaticCopy({
targets: [{ src: path.join(__dirname, '*.md'), dest: '' }],
}),
dts({
entryRoot: 'src',
tsconfigPath: path.join(__dirname, 'tsconfig.lib.json'),
Expand Down
2 changes: 1 addition & 1 deletion utils/test-utils/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": ["../.eslintrc.base.json"],
"extends": ["./../../.eslintrc.base.json"],
"ignorePatterns": ["!**/*"],
"overrides": [
{
Expand Down

0 comments on commit c8fe582

Please sign in to comment.