-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #428 from xylabs/feature/esm-only
ESM Only
- Loading branch information
Showing
87 changed files
with
2,229 additions
and
1,062 deletions.
There are no files selected for viewing
348 changes: 174 additions & 174 deletions
348
.yarn/releases/yarn-4.4.0.cjs → .yarn/releases/yarn-4.4.1.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
// eslint.config.mjs | ||
|
||
import { config as xylabsConfig } from '@xylabs/eslint-config-flat' | ||
import { | ||
typescriptConfig, | ||
unicornConfig, | ||
workspacesConfig, | ||
rulesConfig, | ||
importConfig, | ||
} from '@xylabs/eslint-config-flat' | ||
|
||
export default [ | ||
{ ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'coverage', 'scripts', 'node_modules/**', 'puppeteer', '.*', 'eslint.config.mjs', 'load.mjs'] }, | ||
unicornConfig, | ||
workspacesConfig, | ||
rulesConfig, | ||
{ | ||
ignores: ['.yarn/**', 'jest.config.cjs', '**/dist/**', 'dist', 'build/**', 'coverage', 'node_modules/**', 'puppeteer', '.*'], | ||
...typescriptConfig, | ||
rules: { | ||
...typescriptConfig.rules, | ||
'@typescript-eslint/consistent-type-imports': ['warn'], | ||
}, | ||
}, | ||
...xylabsConfig, | ||
{ | ||
rules: {}, | ||
...importConfig, | ||
rules: { | ||
...importConfig.rules, | ||
'import-x/no-cycle': ['warn', { maxDepth: 5 }], | ||
}, | ||
}, | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,66 @@ | ||
{ | ||
"name": "@xylabs/meta-server", | ||
"version": "4.0.14", | ||
"description": "Meta Server - adjusts meta data on index.html for served static site", | ||
"keywords": [ | ||
"xylabs", | ||
"nodejs", | ||
"static", | ||
"utility", | ||
"typescript", | ||
"react" | ||
], | ||
"homepage": "https://xylabs.com", | ||
"bugs": { | ||
"url": "https://github.com/xylabs/sdk-meta-server-nodejs/issues", | ||
"email": "[email protected]" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/xylabs/sdk-meta-server-nodejs.git" | ||
}, | ||
"license": "LGPL-3.0-or-later", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "XY Labs Development Team", | ||
"email": "[email protected]", | ||
"url": "https://xylabs.com" | ||
}, | ||
"bugs": { | ||
"email": "[email protected]", | ||
"url": "https://github.com/xylabs/sdk-meta-server-nodejs/issues" | ||
"sideEffects": false, | ||
"type": "module", | ||
"exports": { | ||
".": { | ||
"node": { | ||
"import": { | ||
"types": "./dist/node/index.d.ts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"module": "dist/node/index.mjs", | ||
"types": "dist/node/index.d.ts", | ||
"bin": { | ||
"docker-build": "dist/node/bin/docker-build.mjs", | ||
"generate-dotenv": "dist/node/bin/generate-dotenv.mjs", | ||
"start-meta": "dist/node/bin/start-meta.mjs" | ||
}, | ||
"scripts": { | ||
"coverage": "yarn jest --coverage", | ||
"start": "nodemon", | ||
"start-esm": "node ./dist/node/bin/start-meta.mjs", | ||
"test": "vitest run" | ||
}, | ||
"dependencies": { | ||
"@aws-sdk/client-s3": "^3.627.0", | ||
"@xylabs/assert": "^3.6.12", | ||
"@xylabs/delay": "^3.6.12", | ||
"@xylabs/exists": "^3.6.12", | ||
"@xylabs/forget": "^3.6.12", | ||
"@xylabs/promise": "^3.6.12", | ||
"@aws-sdk/client-s3": "^3.637.0", | ||
"@xylabs/assert": "^4.0.5", | ||
"@xylabs/delay": "^4.0.5", | ||
"@xylabs/exists": "^4.0.5", | ||
"@xylabs/forget": "^4.0.5", | ||
"@xylabs/promise": "^4.0.5", | ||
"@xylabs/sdk-api-express-ecs": "^2.0.4", | ||
"@xyo-network/axios": "^2.91.3", | ||
"@xyo-network/sdk-meta": "^2.11.5", | ||
"@xyo-network/sdk-meta": "^3.0.1", | ||
"async-mutex": "^0.5.0", | ||
"date-fns": "^3.6.0", | ||
"dotenv": "^16.4.5", | ||
|
@@ -32,100 +70,54 @@ | |
"lru-cache": "^11.0.0", | ||
"mime": "^4.0.4", | ||
"minimatch": "^10.0.1", | ||
"puppeteer": "^23.0.2", | ||
"puppeteer": "^23.2.0", | ||
"serve-static": "^1.15.0", | ||
"yargs": "^17.7.2" | ||
}, | ||
"description": "Meta Server - adjusts meta data on index.html for served static site", | ||
"devDependencies": { | ||
"@babel/core": "^7.25.2", | ||
"@babel/preset-env": "^7.25.3", | ||
"@babel/preset-env": "^7.25.4", | ||
"@types/express": "^4.17.21", | ||
"@types/he": "^1.2.3", | ||
"@types/jest": "^29.5.12", | ||
"@types/jest-image-snapshot": "^6.4.0", | ||
"@types/node": "^22.2.0", | ||
"@types/node": "^22.5.0", | ||
"@types/serve-static": "^1.15.7", | ||
"@types/supertest": "^6.0.2", | ||
"@xylabs/eslint-config": "^3.15.16", | ||
"@xylabs/eslint-config-flat": "^3.15.16", | ||
"@xylabs/eslint-config-flat": "^4.0.7", | ||
"@xylabs/eslint-config-react": "^3.15.16", | ||
"@xylabs/jest-helpers": "^3.6.12", | ||
"@xylabs/ts-scripts-yarn3": "^3.15.16", | ||
"@xylabs/tsconfig": "^3.15.16", | ||
"@xylabs/tsconfig-dom": "^3.15.16", | ||
"@xylabs/tsconfig-dom-jest": "^3.15.16", | ||
"@xylabs/tsconfig-jest": "^3.15.16", | ||
"axios": "^1.7.3", | ||
"@xylabs/jest-helpers": "^4.0.5", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.7", | ||
"@xylabs/tsconfig": "^4.0.7", | ||
"@xylabs/tsconfig-dom": "^4.0.7", | ||
"@xylabs/tsconfig-dom-jest": "^4.0.7", | ||
"@xylabs/tsconfig-jest": "^4.0.7", | ||
"axios": "^1.7.5", | ||
"babel-jest": "^29.7.0", | ||
"dotenv": "^16.4.5", | ||
"eslint": "^9.9.0", | ||
"jest": "^29.7.0", | ||
"eslint": "^9.9.1", | ||
"jest-extended": "^4.0.2", | ||
"jest-image-snapshot": "^6.4.0", | ||
"jest-serializer-html": "^7.1.0", | ||
"nodemon": "^3.1.4", | ||
"supertest": "^7.0.0", | ||
"ts-jest": "^29.2.4", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.5.4" | ||
"typescript": "^5.5.4", | ||
"vitest": "^2.0.5" | ||
}, | ||
"docs": "dist/docs.json", | ||
"exports": { | ||
".": { | ||
"node": { | ||
"require": { | ||
"types": "./dist/node/index.d.cts", | ||
"default": "./dist/node/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.mts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
} | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "dist/node/index.cjs", | ||
"module": "dist/node/index.mjs", | ||
"types": "dist/node/index.d.ts", | ||
"homepage": "https://xylabs.com", | ||
"keywords": [ | ||
"xylabs", | ||
"nodejs", | ||
"static", | ||
"utility", | ||
"typescript", | ||
"react" | ||
], | ||
"license": "LGPL-3.0-or-later", | ||
"name": "@xylabs/meta-server", | ||
"peerDependencies": { | ||
"axios": "^1" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/xylabs/sdk-meta-server-nodejs.git" | ||
}, | ||
"scripts": { | ||
"coverage": "yarn jest --coverage", | ||
"start": "nodemon", | ||
"start-cjs": "node ./dist/node/bin/start-meta.cjs", | ||
"start-esm": "node ./dist/node/bin/start-meta.mjs", | ||
"test": "yarn jest --forceExit" | ||
}, | ||
"sideEffects": false, | ||
"version": "4.0.14", | ||
"packageManager": "[email protected]", | ||
"engines": { | ||
"node": ">=22" | ||
}, | ||
"volta": { | ||
"node": "22.5.1", | ||
"yarn": "4.4.0" | ||
}, | ||
"packageManager": "[email protected]", | ||
"type": "module" | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"docs": "dist/docs.json" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/modules/metaServer/contentHandlers/debug/configureDebug.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 5 additions & 1 deletion
6
...erver/contentHandlers/dynamicShare/lib/image/spec/__snapshots__/getImageMeta.spec.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
src/modules/metaServer/contentHandlers/dynamicShare/lib/image/spec/getImageMeta.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.