@ossy/app 1.0.6 → 1.0.8

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.
Files changed (3) hide show
  1. package/cli/build.js +10 -13
  2. package/cli/dev.js +0 -2
  3. package/package.json +11 -11
package/cli/build.js CHANGED
@@ -153,7 +153,6 @@ export function createOssyRollupPlugins ({
153
153
  middlewareSourcePath,
154
154
  configSourcePath,
155
155
  nodeEnv,
156
- nodeExternals: useNodeExternals = false,
157
156
  preferBuiltins = true,
158
157
  copyPublicFrom,
159
158
  buildPath,
@@ -185,16 +184,16 @@ export function createOssyRollupPlugins ({
185
184
  }),
186
185
  json(),
187
186
  ]
188
- if (useNodeExternals) {
189
- plugins.push(
190
- nodeExternals({
191
- deps: true,
192
- devDeps: false,
193
- peerDeps: true,
194
- packagePath: path.join(process.cwd(), 'package.json'),
195
- })
196
- )
197
- }
187
+
188
+ plugins.push(
189
+ nodeExternals({
190
+ deps: true,
191
+ devDeps: false,
192
+ peerDeps: true,
193
+ packagePath: path.join(process.cwd(), 'package.json'),
194
+ })
195
+ )
196
+
198
197
  plugins.push(
199
198
  resolveCommonJsDependencies(),
200
199
  resolveDependencies({ preferBuiltins }),
@@ -724,7 +723,6 @@ export const build = async (cliArgs) => {
724
723
 
725
724
  const serverPlugins = createOssyRollupPlugins({
726
725
  ...sharedPluginOpts,
727
- nodeExternals: true,
728
726
  preferBuiltins: true,
729
727
  copyPublicFrom: publicDir,
730
728
  })
@@ -747,7 +745,6 @@ export const build = async (cliArgs) => {
747
745
 
748
746
  const clientPlugins = createOssyRollupPlugins({
749
747
  ...sharedPluginOpts,
750
- nodeExternals: false,
751
748
  preferBuiltins: false,
752
749
  })
753
750
 
package/cli/dev.js CHANGED
@@ -95,14 +95,12 @@ export const dev = async (cliArgs) => {
95
95
 
96
96
  const serverPlugins = createOssyRollupPlugins({
97
97
  ...sharedPluginOpts,
98
- nodeExternals: true,
99
98
  preferBuiltins: true,
100
99
  copyPublicFrom: publicDir,
101
100
  })
102
101
 
103
102
  const clientPlugins = createOssyRollupPlugins({
104
103
  ...sharedPluginOpts,
105
- nodeExternals: false,
106
104
  preferBuiltins: false,
107
105
  })
108
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ossy/app",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
5
  "source": "./src/index.js",
6
6
  "main": "./src/index.js",
@@ -18,20 +18,20 @@
18
18
  "jest": "^30.2.0",
19
19
  "typescript": "^5.9.3"
20
20
  },
21
- "peerDependencies": {
21
+ "dependencies": {
22
22
  "@babel/cli": "^7.26.4",
23
23
  "@babel/core": "^7.26.0",
24
24
  "@babel/eslint-parser": "^7.15.8",
25
25
  "@babel/preset-react": "^7.26.3",
26
26
  "@babel/register": "^7.25.9",
27
- "@ossy/connected-components": ">=1.0.0 <2.0.0",
28
- "@ossy/design-system": ">=1.0.0 <2.0.0",
29
- "@ossy/pages": ">=1.0.0 <2.0.0",
30
- "@ossy/router": ">=1.0.0 <2.0.0",
31
- "@ossy/router-react": ">=1.0.0 <2.0.0",
32
- "@ossy/sdk": ">=1.0.0 <2.0.0",
33
- "@ossy/sdk-react": ">=1.0.0 <2.0.0",
34
- "@ossy/themes": ">=1.0.0 <2.0.0",
27
+ "@ossy/connected-components": "^1.0.8",
28
+ "@ossy/design-system": "^1.0.8",
29
+ "@ossy/pages": "^1.0.8",
30
+ "@ossy/router": "^1.0.8",
31
+ "@ossy/router-react": "^1.0.8",
32
+ "@ossy/sdk": "^1.0.8",
33
+ "@ossy/sdk-react": "^1.0.8",
34
+ "@ossy/themes": "^1.0.8",
35
35
  "@rollup/plugin-alias": "^6.0.0",
36
36
  "@rollup/plugin-babel": "6.1.0",
37
37
  "@rollup/plugin-commonjs": "^29.0.0",
@@ -64,5 +64,5 @@
64
64
  "README.md",
65
65
  "tsconfig.json"
66
66
  ],
67
- "gitHead": "6bb83b5ee6ec4f6629b6906cd60741fd90a0f7ae"
67
+ "gitHead": "1a757e16ac932fbf234e8257e2393be1e2a80c60"
68
68
  }