pgflow 0.2.5 → 0.3.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.
@@ -91,15 +91,15 @@ export default (program) => {
91
91
  fs.mkdirSync(migrationsDir, { recursive: true });
92
92
  log.success(`Created migrations directory: ${migrationsDir}`);
93
93
  }
94
- // Generate timestamp for migration file in format YYYYMMDDHHMMSS
94
+ // Generate timestamp for migration file in format YYYYMMDDHHMMSS using UTC
95
95
  const now = new Date();
96
96
  const timestamp = [
97
- now.getFullYear(),
98
- String(now.getMonth() + 1).padStart(2, '0'),
99
- String(now.getDate()).padStart(2, '0'),
100
- String(now.getHours()).padStart(2, '0'),
101
- String(now.getMinutes()).padStart(2, '0'),
102
- String(now.getSeconds()).padStart(2, '0'),
97
+ now.getUTCFullYear(),
98
+ String(now.getUTCMonth() + 1).padStart(2, '0'),
99
+ String(now.getUTCDate()).padStart(2, '0'),
100
+ String(now.getUTCHours()).padStart(2, '0'),
101
+ String(now.getUTCMinutes()).padStart(2, '0'),
102
+ String(now.getUTCSeconds()).padStart(2, '0'),
103
103
  ].join('');
104
104
  // Run the compilation
105
105
  log.info(`Compiling flow: ${path.basename(resolvedFlowPath)}`);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgflow",
3
- "version": "0.2.5",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pgflow",
3
- "version": "0.2.5",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "typings": "./dist/index.d.ts",
@@ -24,7 +24,7 @@
24
24
  "chalk": "^5.4.1",
25
25
  "commander": "^13.1.0",
26
26
  "toml-patch": "^0.2.3",
27
- "@pgflow/core": "0.2.5"
27
+ "@pgflow/core": "0.3.0"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"