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

Dependency major version updates #1722

Merged
merged 10 commits into from
Dec 5, 2024
Merged
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: 1 addition & 1 deletion .github/workflows/build_ubi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
# cache: "yarn"
# cache-dependency-path: "**/yarn.lock"
- name: login to ironbank
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
# cache: "yarn"
# cache-dependency-path: "**/yarn.lock"
- name: openc3.sh build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
working-directory: openc3
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
registry-url: "https://registry.npmjs.org"
- name: Set up Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion openc3-cosmos-init/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ COPY ./plugins/packages/openc3-cosmos-demo/*.json packages/openc3-cosmos-demo/
ARG NPM_URL=https://registry.npmjs.org
RUN yarn config set registry $NPM_URL && yarn --network-timeout 600000

COPY ./plugins/docker-package-build.sh ./plugins/.eslintrc.cjs ./plugins/.nycrc ./
COPY ./plugins/docker-package-build.sh ./plugins/eslint.config.mjs ./plugins/.nycrc ./
RUN chmod +x ./docker-package-build.sh
COPY ./plugins/packages/openc3-tool-base/ packages/openc3-tool-base/
RUN ["/openc3/plugins/docker-package-build.sh", "openc3-tool-base"]
Expand Down
42 changes: 0 additions & 42 deletions openc3-cosmos-init/plugins/.eslintrc.cjs

This file was deleted.

Binary file modified openc3-cosmos-init/plugins/.yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions openc3-cosmos-init/plugins/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
54 changes: 54 additions & 0 deletions openc3-cosmos-init/plugins/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends(
"plugin:vue/vue3-essential",
"plugin:prettier/recommended",
"@vue/prettier",
), {
plugins: {
prettier,
},

languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 5,
sourceType: "commonjs",
},

rules: {
"no-console": "error",
"no-debugger": "error",

"prettier/prettier": ["warn", {
endOfLine: "auto",
}],

"vue/valid-v-slot": ["error", {
allowModifiers: true,
}],
},
}, {
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],

languageOptions: {
globals: {
...globals.jest,
},
},
}];
3 changes: 2 additions & 1 deletion openc3-cosmos-init/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"private": true,
"workspaces": [
"packages/*"
]
],
"packageManager": "[email protected]"
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends("plugin:prettier/recommended"), {
plugins: {
prettier,
},

languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 5,
sourceType: "commonjs",

parserOptions: {
parser: "@babel/eslint-parser",
},
},

rules: {
"no-console": "error",
"no-debugger": "error",

"prettier/prettier": ["warn", {
endOfLine: "auto",
}],
},
}];
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@webpack-cli/generators": "^3.0.7",
"babel-loader": "^9.2.1",
"babel-plugin-istanbul": "7.0.0",
"eslint": "8.56.0",
"eslint": "9.16.0",
"file-loader": "^6.2.0",
"prettier": "3.3.3",
"sass": "1.80.4",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import prettier from "eslint-plugin-prettier";
import globals from "globals";
import parser from "vue-eslint-parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default [...compat.extends(
"plugin:vue/vue3-essential",
"plugin:prettier/recommended",
"@vue/prettier",
), {
plugins: {
prettier,
},

languageOptions: {
globals: {
...globals.node,
},

parser: parser,
ecmaVersion: 5,
sourceType: "commonjs",

parserOptions: {
parser: "@babel/eslint-parser",
},
},

rules: {
"no-console": "error",
"no-debugger": "error",

"prettier/prettier": ["warn", {
endOfLine: "auto",
}],

"vue/multi-word-component-names": "off",

"vue/valid-v-slot": ["error", {
allowModifiers: true,
}],
},
}, {
files: ["**/__tests__/*.{j,t}s?(x)", "**/tests/unit/**/*.spec.{j,t}s?(x)"],

languageOptions: {
globals: {
...globals.jest,
},
},
}];
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"@rushstack/eslint-patch": "1.10.4",
"@vitejs/plugin-vue": "5.1.5",
"@vue/eslint-config-prettier": "9.0.0",
"eslint": "8.56.0",
"eslint": "9.16.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-vue": "9.30.0",
Expand Down

This file was deleted.

Loading
Loading