Skip to content

Commit

Permalink
fix: align packages
Browse files Browse the repository at this point in the history
  • Loading branch information
agerard-godaddy committed Nov 26, 2024
1 parent f82bc05 commit ce2c22b
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 22 deletions.
4 changes: 2 additions & 2 deletions packages/create-gasket-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict --experimental-vm-modules' jest",
"test:watch": "npm run test -- --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint && npm run typecheck",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch",
"posttest": "npm run lint && npm run typecheck"
"typecheck:watch": "tsc --watch"
},
"repository": {
"type": "git",
Expand Down
5 changes: 2 additions & 3 deletions packages/gasket-plugin-command/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
"version": "7.1.0-canary.1",
"description": "Plugin to enable other plugins to inject new gasket commands",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"exports": {
".": {
"import": "./lib/index.js"
},
".": "./lib/index.js",
"./package.json": "./package.json"
},
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions packages/gasket-plugin-https-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@gasket/plugin-https-proxy",
"version": "7.1.0-canary.1",
"description": "Adds support for running an https proxy",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"type": "module",
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
Expand Down Expand Up @@ -55,10 +55,12 @@
"eslintConfig": {
"extends": [
"godaddy",
"plugin:jest/recommended"
"plugin:jest/recommended",
"plugin:jsdoc/recommended-typescript-flavor"
],
"plugins": [
"unicorn"
"unicorn",
"jsdoc"
],
"rules": {
"unicorn/filename-case": "error"
Expand Down
2 changes: 1 addition & 1 deletion packages/gasket-plugin-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "@gasket/plugin-metadata",
"version": "7.1.0-canary.1",
"description": "Adds metadata to gasket lifecycles",
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"type": "module",
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
Expand Down
6 changes: 3 additions & 3 deletions packages/gasket-request/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"typecheck:watch": "tsc --watch",
"build": "swc lib -d cjs --delete-dir-on-start --strip-leading-paths --out-file-extension cjs",
"build:watch": "npm run build -- --watch",
"postbuild:replace": "replace '.js' '.cjs' cjs/*",
"postbuild:package": "node -e \"require('fs').writeFileSync('cjs/package.json', '{}')\"",
"postbuild": "npm run postbuild:package && npm run postbuild:replace",
"prepublishOnly": "npm run build"
"prepublishOnly": "npm run build",
"postbuild:package": "node -e \"require('fs').writeFileSync('cjs/package.json', '{}')\"",
"postbuild:replace": "replace '.js' '.cjs' cjs/*"
},
"repository": {
"type": "git",
Expand Down
20 changes: 10 additions & 10 deletions packages/gasket-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@
"files": [
"lib"
],
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict' jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint && npm run typecheck",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
},
"exports": {
".": {
"types": "./lib/index.d.ts",
Expand All @@ -26,6 +16,16 @@
},
"./package.json": "./package.json"
},
"scripts": {
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"test": "cross-env NODE_OPTIONS='--unhandled-rejections=strict' jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"posttest": "npm run lint && npm run typecheck",
"typecheck": "tsc",
"typecheck:watch": "tsc --watch"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/godaddy/gasket.git"
Expand Down
1 change: 1 addition & 0 deletions scripts/align-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ const scriptsOrder = [
'typecheck:watch',
'build',
'build:watch',
'postbuild',
'prepack',
'postpack',
'prepublish',
Expand Down

0 comments on commit ce2c22b

Please sign in to comment.