@ossy/app 1.6.0 → 1.8.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/cli/build.js CHANGED
@@ -247,6 +247,13 @@ export function copyOssyAppRuntime ({ scriptDir, buildPath }) {
247
247
  for (const name of ['server.js', 'proxy-internal.js']) {
248
248
  fs.copyFileSync(path.join(scriptDir, name), path.join(buildPath, name))
249
249
  }
250
+ const taskRuntimeFiles = fs
251
+ .readdirSync(scriptDir, { withFileTypes: true })
252
+ .filter((ent) => ent.isFile() && ent.name.endsWith('.task.js'))
253
+ .map((ent) => ent.name)
254
+ for (const name of taskRuntimeFiles) {
255
+ fs.copyFileSync(path.join(scriptDir, name), path.join(buildPath, name))
256
+ }
250
257
  fs.copyFileSync(path.join(scriptDir, 'worker-entry.js'), path.join(buildPath, 'worker.js'))
251
258
  fs.copyFileSync(path.join(scriptDir, 'worker-runtime.js'), path.join(buildPath, 'worker-runtime.js'))
252
259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/app",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "",
5
5
  "source": "./src/index.js",
6
6
  "main": "./src/index.js",
@@ -27,14 +27,14 @@
27
27
  "@babel/eslint-parser": "^7.15.8",
28
28
  "@babel/preset-react": "^7.26.3",
29
29
  "@babel/register": "^7.25.9",
30
- "@ossy/connected-components": "^1.6.0",
31
- "@ossy/design-system": "^1.6.0",
32
- "@ossy/pages": "^1.6.0",
33
- "@ossy/router": "^1.6.0",
34
- "@ossy/router-react": "^1.6.0",
35
- "@ossy/sdk": "^1.6.0",
36
- "@ossy/sdk-react": "^1.6.0",
37
- "@ossy/themes": "^1.6.0",
30
+ "@ossy/connected-components": "^1.8.0",
31
+ "@ossy/design-system": "^1.8.0",
32
+ "@ossy/pages": "^1.8.0",
33
+ "@ossy/router": "^1.8.0",
34
+ "@ossy/router-react": "^1.8.0",
35
+ "@ossy/sdk": "^1.8.0",
36
+ "@ossy/sdk-react": "^1.8.0",
37
+ "@ossy/themes": "^1.8.0",
38
38
  "@rollup/plugin-alias": "^6.0.0",
39
39
  "@rollup/plugin-babel": "6.1.0",
40
40
  "@rollup/plugin-commonjs": "^29.0.0",
@@ -67,5 +67,5 @@
67
67
  "README.md",
68
68
  "tsconfig.json"
69
69
  ],
70
- "gitHead": "a1c29650f72ec23bd397d3c9e1c42387461acf8e"
70
+ "gitHead": "4587756b973bce942950c710c7b8a8b0c52a7786"
71
71
  }
package/cli/tasks.js DELETED
@@ -1,2 +0,0 @@
1
- /** Stub when no `*.task.js` / `src/tasks.js` — replaced at build time when tasks exist. */
2
- export default []
package/cli/temp.js DELETED
@@ -1,3 +0,0 @@
1
- import path from 'path';
2
-
3
- console.log(path.resolve('./', 'client.js'))