Skip to content

Commit

Permalink
chore: remove samples from v2-lts branch (#3343)
Browse files Browse the repository at this point in the history
* remove samples folder from v2-lts

Signed-off-by: Trae Yelovich <[email protected]>

* remove samples workflow

Signed-off-by: Trae Yelovich <[email protected]>

* use script for Secrets SDK prebuilds

Signed-off-by: Trae Yelovich <[email protected]>

---------

Signed-off-by: Trae Yelovich <[email protected]>
  • Loading branch information
traeok authored Dec 6, 2024
1 parent 1cfeaf9 commit 935129e
Show file tree
Hide file tree
Showing 51 changed files with 13 additions and 12,105 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/zowe-explorer-samples.yml

This file was deleted.

6 changes: 3 additions & 3 deletions packages/zowe-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@
]
},
"scripts": {
"build": "gulp build && yarn license && webpack --mode development",
"build": "yarn copy-secrets && gulp build && yarn license && webpack --mode development",
"build:integration": "yarn createTestProfileData && yarn license && tsc --pretty --project tsconfig-tests.json",
"test:unit": "jest \".*__tests__.*\\.unit\\.test\\.ts\" --coverage",
"test:theia": "mocha ./out/__tests__/__theia__/*.theia.test.js --timeout 50000 --reporter mocha-multi-reporters --reporter-options configFile=.mocharc.json",
Expand All @@ -2085,7 +2085,8 @@
"fresh-clone": "yarn clean && rimraf node_modules",
"pretty": "prettier --write .",
"createTestProfileData": "ts-node ./scripts/createTestProfileData.ts",
"createDemoNodes": "ts-node ./scripts/createDemoNodes.ts"
"createDemoNodes": "ts-node ./scripts/createDemoNodes.ts",
"copy-secrets": "ts-node ./scripts/getSecretsPrebuilds.ts"
},
"engines": {
"vscode": "^1.53.2"
Expand All @@ -2101,7 +2102,6 @@
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"chalk": "^2.4.1",
"copy-webpack-plugin": "^6.4.1",
"cross-env": "^5.2.0",
"del": "^4.1.1",
"eslint-plugin-zowe-explorer": "2.19.0-SNAPSHOT",
Expand Down
9 changes: 1 addition & 8 deletions packages/zowe-explorer/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ const path = require("path");
var webpack = require("webpack");
var fs = require("fs");

const CopyPlugin = require("copy-webpack-plugin");

/**@type {import('webpack').Configuration}*/
const config = {
target: "node", // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/
Expand Down Expand Up @@ -101,12 +99,7 @@ const config = {
},
],
},
plugins: [
new webpack.BannerPlugin(fs.readFileSync("../../scripts/LICENSE_HEADER", "utf-8")),
new CopyPlugin({
patterns: [{ from: "../../node_modules/@zowe/secrets-for-zowe-sdk/prebuilds", to: "../../prebuilds/" }],
}),
],
plugins: [new webpack.BannerPlugin(fs.readFileSync("../../scripts/LICENSE_HEADER", "utf-8"))],
};

module.exports = config;
27 changes: 0 additions & 27 deletions samples/README.md

This file was deleted.

15 changes: 0 additions & 15 deletions samples/menu-item-sample/.eslintrc.js

This file was deleted.

4 changes: 0 additions & 4 deletions samples/menu-item-sample/.gitignore

This file was deleted.

18 changes: 0 additions & 18 deletions samples/menu-item-sample/.vscode/launch.json

This file was deleted.

20 changes: 0 additions & 20 deletions samples/menu-item-sample/.vscode/tasks.json

This file was deleted.

14 changes: 0 additions & 14 deletions samples/menu-item-sample/README.md

This file was deleted.

59 changes: 0 additions & 59 deletions samples/menu-item-sample/package.json

This file was deleted.

23 changes: 0 additions & 23 deletions samples/menu-item-sample/src/extension.ts

This file was deleted.

13 changes: 0 additions & 13 deletions samples/menu-item-sample/tsconfig.json

This file was deleted.

Loading

0 comments on commit 935129e

Please sign in to comment.