updebe 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/updebe.js ADDED
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const command = process.argv[2];
4
+ if (command === "upgrade:head") {
5
+ console.log("Hey! I'm working");
6
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const command = process.argv[2];
4
+ if (command === "upgrade:head") {
5
+ console.log("Hey! I'm working");
6
+ }
package/package.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "updebe",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "description": "Schema migration tool",
6
+ "main": "dist/updebe.js",
7
+ "type": "commonjs",
8
+ "scripts": {
9
+ "build": "tsc",
10
+ "preupdebe": "npm run build",
11
+ "updebe": "node dist/updebe.js"
12
+ },
13
+ "devDependencies": {
14
+ "@types/node": "^24.13.3",
15
+ "typescript": "^7.0.2"
16
+ }
17
+ }
package/src/updebe.ts ADDED
@@ -0,0 +1,5 @@
1
+ const command = process.argv[2];
2
+
3
+ if (command === "upgrade:head") {
4
+ console.log("Hey! I'm working");
5
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "NodeNext",
5
+ "moduleResolution": "NodeNext",
6
+ "rootDir": "src",
7
+ "outDir": "dist",
8
+ "strict": true,
9
+ "esModuleInterop": true,
10
+ "forceConsistentCasingInFileNames": true,
11
+ "skipLibCheck": true,
12
+ "types": [
13
+ "node"
14
+ ]
15
+ },
16
+ "include": [
17
+ "src/**/*.ts"
18
+ ],
19
+ "exclude": [
20
+ "dist",
21
+ "node_modules"
22
+ ]
23
+ }