viqueen / confluence-static-site Goto Github PK
View Code? Open in Web Editor NEWturn your confluence space into a static site
License: Apache License 2.0
turn your confluence space into a static site
License: Apache License 2.0
we have a new npm org, let's release this package under @labset scope.
package needs to be public, and the build script needs to run
npm public --access public
see details https://docs.npmjs.com/creating-and-publishing-scoped-public-packages
I successfully used extract
space commands to extract space pages and blogs. I've verified this extraction via building and serving the static content later.
However, after blogs are extracted I am getting a long error message that ends with
data: { code: 401, message: 'Unauthorized' }
Other parts of this error message indicate it is related to emojis:
_currentUrl: 'https://admin.atlassian.com/gateway/api/emoji/undefined/site',
I believe it is related to the code on line 19 in this file
To confirm env settings, is there a difference between?
CONFLUENCE_API_TOKEN=
CONFLUENCE_CLOUD_TOKEN=
I am setting both values to my users Atlassian API token. If one is from a different source it might be the culprit here.
I can provide more of error message but it needs to be scrubbed of some session data.
Any thoughts on how to troubleshoot?
Thank you!
Awesome work on the confluence static site generator @viqueen!
I wanted to reach out to see if you would consider adding a license file to the project. This would be consistent with good community practices and would allow others to build upon your work with a clear set of rules for what is permissible.
To ensure maximum compatibility with other software projects, consider the use of the MIT license. Of course, remember to replace the copyright statement with your own copyright information.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These branches will be created by Renovate only once you click their checkbox below.
@atlaskit/breadcrumbs
, @atlaskit/date
, @atlaskit/link-provider
, @atlaskit/media-core
, @types/lodash
, @types/prompt
, @types/react
, @types/react-dom
, style-loader
, ts-node
, url
, webpack-dev-server
)@wdio/cli
, @wdio/local-runner
, @wdio/mocha-framework
, @wdio/selenium-standalone-service
, @wdio/spec-reporter
)@atlaskit/atlassian-navigation
, @atlaskit/breadcrumbs
, @atlaskit/page-layout
, @atlaskit/renderer
)@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
).github/workflows/build-and-test.yml
actions/checkout v3
actions/setup-node v3
actions/upload-artifact v3
ubuntu 20.04
.github/workflows/create-release.yml
actions/checkout v3
actions/setup-node v3
actions/upload-artifact v3
ubuntu 20.04
modules/cli-oauth-client/package.json
modules/cli/commands/extract/package.json
modules/cli/package.json
modules/configuration/package.json
modules/external/atlassian-api/package.json
modules/external/confluence-api/package.json
package.json
@atlaskit/atlassian-navigation ^2.6.2
@atlaskit/breadcrumbs ^11.7.12
@atlaskit/date ^0.10.0
@atlaskit/link-provider ^1.5.1
@atlaskit/media-core ^34.0.2
@atlaskit/page ^12.3.4
@atlaskit/page-layout ^1.3.10
@atlaskit/renderer ^107.0.0
@labset/fs-directory ^1.1.0
axios ^1.6.0
copy-webpack-plugin ^11.0.0
crypto-browserify ^3.12.0
css-loader ^6.7.3
dotenv ^16.1.4
html-webpack-plugin ^5.5.0
lodash ^4.17.21
os-browserify ^0.3.0
path-browserify ^1.0.1
prompt ^1.3.0
react ^18.2.0
react-dom ^18.2.0
sharp ^0.32.1
stream-browserify ^3.0.0
style-loader ^3.3.2
url ^0.11.0
webpack ^5.85.1
webpack-dev-server ^4.13.1
yet-another-react-lightbox ^2.6.2
@types/lodash ^4.14.194
@types/prompt ^1.1.5
@types/react ^18.0.28
@types/react-dom ^18.0.11
@typescript-eslint/eslint-plugin ^5.59.6
@typescript-eslint/parser ^5.59.6
@wdio/cli ^8.6.5
@wdio/local-runner ^8.6.3
@wdio/mocha-framework ^8.6.1
@wdio/selenium-standalone-service ^8.6.2
@wdio/spec-reporter ^8.4.0
eslint ^8.40.0
eslint-plugin-import ^2.27.5
eslint-plugin-license-notice ^1.0.0
eslint-plugin-react ^7.32.2
prettier ^2.8.4
ts-loader ^9.4.2
ts-node ^10.9.1
typescript ^5.0.2
wdio-image-comparison-service ^5.0.2
.nvmrc
node 18
Question: is npm install --legacy-peer-deps
the correct install step for `npm install'?
My steps:
โ
Successfully ran nvm install
โ Running npm install
Returns error with fix of:
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution`
Complete error in screenshot
Running
npm install --legacy-peer-deps
does seem to install correctly.
โ Is this correct way for install to include --legacy-peer-deps?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.